ethyca-fides 2.57.1b4__py2.py3-none-any.whl → 2.57.1b5__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (92) hide show
  1. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/METADATA +1 -1
  2. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/RECORD +92 -88
  3. fides/_version.py +3 -3
  4. fides/api/models/privacy_request/__init__.py +13 -7
  5. fides/api/models/privacy_request/consent.py +2 -4
  6. fides/api/models/privacy_request/execution_log.py +108 -0
  7. fides/api/models/privacy_request/privacy_request.py +15 -544
  8. fides/api/models/privacy_request/provided_identity.py +149 -0
  9. fides/api/models/privacy_request/request_task.py +284 -0
  10. fides/api/models/privacy_request/webhook.py +94 -0
  11. fides/api/oauth/jwt.py +18 -0
  12. fides/ui-build/static/admin/404.html +1 -1
  13. fides/ui-build/static/admin/add-systems/manual.html +1 -1
  14. fides/ui-build/static/admin/add-systems/multiple.html +1 -1
  15. fides/ui-build/static/admin/add-systems.html +1 -1
  16. fides/ui-build/static/admin/ant-poc.html +1 -1
  17. fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
  18. fides/ui-build/static/admin/consent/configure.html +1 -1
  19. fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
  20. fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
  21. fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
  22. fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
  23. fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
  24. fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
  25. fides/ui-build/static/admin/consent/properties.html +1 -1
  26. fides/ui-build/static/admin/consent/reporting.html +1 -1
  27. fides/ui-build/static/admin/consent.html +1 -1
  28. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
  29. fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
  30. fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
  31. fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
  32. fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
  33. fides/ui-build/static/admin/data-catalog.html +1 -1
  34. fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
  35. fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
  36. fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
  37. fides/ui-build/static/admin/data-discovery/activity.html +1 -1
  38. fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
  39. fides/ui-build/static/admin/data-discovery/detection.html +1 -1
  40. fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
  41. fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
  42. fides/ui-build/static/admin/datamap.html +1 -1
  43. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
  44. fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
  45. fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
  46. fides/ui-build/static/admin/dataset/new.html +1 -1
  47. fides/ui-build/static/admin/dataset.html +1 -1
  48. fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
  49. fides/ui-build/static/admin/datastore-connection/new.html +1 -1
  50. fides/ui-build/static/admin/datastore-connection.html +1 -1
  51. fides/ui-build/static/admin/index.html +1 -1
  52. fides/ui-build/static/admin/integrations/[id].html +1 -1
  53. fides/ui-build/static/admin/integrations.html +1 -1
  54. fides/ui-build/static/admin/lib/fides-headless.js +1 -1
  55. fides/ui-build/static/admin/lib/fides-tcf.js +3 -3
  56. fides/ui-build/static/admin/lib/fides.js +2 -2
  57. fides/ui-build/static/admin/login/[provider].html +1 -1
  58. fides/ui-build/static/admin/login.html +1 -1
  59. fides/ui-build/static/admin/messaging/[id].html +1 -1
  60. fides/ui-build/static/admin/messaging/add-template.html +1 -1
  61. fides/ui-build/static/admin/messaging.html +1 -1
  62. fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
  63. fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
  64. fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
  65. fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
  66. fides/ui-build/static/admin/privacy-requests.html +1 -1
  67. fides/ui-build/static/admin/properties/[id].html +1 -1
  68. fides/ui-build/static/admin/properties/add-property.html +1 -1
  69. fides/ui-build/static/admin/properties.html +1 -1
  70. fides/ui-build/static/admin/reporting/datamap.html +1 -1
  71. fides/ui-build/static/admin/settings/about.html +1 -1
  72. fides/ui-build/static/admin/settings/consent.html +1 -1
  73. fides/ui-build/static/admin/settings/custom-fields.html +1 -1
  74. fides/ui-build/static/admin/settings/domain-records.html +1 -1
  75. fides/ui-build/static/admin/settings/domains.html +1 -1
  76. fides/ui-build/static/admin/settings/email-templates.html +1 -1
  77. fides/ui-build/static/admin/settings/locations.html +1 -1
  78. fides/ui-build/static/admin/settings/organization.html +1 -1
  79. fides/ui-build/static/admin/settings/regulations.html +1 -1
  80. fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
  81. fides/ui-build/static/admin/systems/configure/[id].html +1 -1
  82. fides/ui-build/static/admin/systems.html +1 -1
  83. fides/ui-build/static/admin/taxonomy.html +1 -1
  84. fides/ui-build/static/admin/user-management/new.html +1 -1
  85. fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
  86. fides/ui-build/static/admin/user-management.html +1 -1
  87. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/LICENSE +0 -0
  88. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/WHEEL +0 -0
  89. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/entry_points.txt +0 -0
  90. {ethyca_fides-2.57.1b4.dist-info → ethyca_fides-2.57.1b5.dist-info}/top_level.txt +0 -0
  91. /fides/ui-build/static/admin/_next/static/{sDpAo7vHYkuZ5moMST2L3 → nO-B4awcqTzE1AwRkxKgF}/_buildManifest.js +0 -0
  92. /fides/ui-build/static/admin/_next/static/{sDpAo7vHYkuZ5moMST2L3 → nO-B4awcqTzE1AwRkxKgF}/_ssgManifest.js +0 -0
@@ -0,0 +1,149 @@
1
+ # pylint: disable=R0401, C0302
2
+
3
+ from __future__ import annotations
4
+
5
+ from enum import Enum as EnumType
6
+ from typing import TYPE_CHECKING
7
+
8
+ from sqlalchemy import Column, ForeignKey, String
9
+ from sqlalchemy.ext.mutable import MutableDict
10
+ from sqlalchemy.orm import relationship
11
+ from sqlalchemy_utils.types.encrypted.encrypted_type import (
12
+ AesGcmEngine,
13
+ StringEncryptedType,
14
+ )
15
+
16
+ from fides.api.cryptography.cryptographic_util import (
17
+ hash_credential_with_salt,
18
+ hash_value_with_salt,
19
+ )
20
+ from fides.api.cryptography.identity_salt import get_identity_salt
21
+ from fides.api.db.base_class import Base # type: ignore[attr-defined]
22
+ from fides.api.db.base_class import JSONTypeOverride
23
+ from fides.api.migrations.hash_migration_mixin import HashMigrationMixin
24
+ from fides.api.schemas.redis_cache import Identity, LabeledIdentity, MultiValue
25
+ from fides.config import CONFIG
26
+
27
+ if TYPE_CHECKING:
28
+ from fides.api.models.privacy_request.consent import Consent, ConsentRequest
29
+ from fides.api.models.privacy_request.privacy_request import PrivacyRequest
30
+
31
+
32
+ class ProvidedIdentityType(EnumType):
33
+ """Enum for privacy request identity types"""
34
+
35
+ email = "email"
36
+ phone_number = "phone_number"
37
+ ga_client_id = "ga_client_id"
38
+ ljt_readerID = "ljt_readerID"
39
+ fides_user_device_id = "fides_user_device_id"
40
+ external_id = "external_id"
41
+
42
+
43
+ class ProvidedIdentity(HashMigrationMixin, Base): # pylint: disable=R0904
44
+ """
45
+ A table for storing identity fields and values provided at privacy request
46
+ creation time.
47
+ """
48
+
49
+ privacy_request_id = Column(
50
+ String,
51
+ ForeignKey("privacyrequest.id", ondelete="CASCADE", onupdate="CASCADE"),
52
+ )
53
+ privacy_request = relationship(
54
+ "PrivacyRequest",
55
+ backref="provided_identities",
56
+ ) # Which privacy request this identity belongs to
57
+
58
+ field_name = Column(
59
+ String,
60
+ index=False,
61
+ nullable=False,
62
+ )
63
+ field_label = Column(
64
+ String,
65
+ index=False,
66
+ nullable=True,
67
+ )
68
+ hashed_value = Column(
69
+ String,
70
+ index=True,
71
+ unique=False,
72
+ nullable=True,
73
+ ) # This field is used as a blind index for exact match searches
74
+ encrypted_value = Column(
75
+ MutableDict.as_mutable(
76
+ StringEncryptedType(
77
+ JSONTypeOverride,
78
+ CONFIG.security.app_encryption_key,
79
+ AesGcmEngine,
80
+ "pkcs5",
81
+ )
82
+ ),
83
+ nullable=True,
84
+ ) # Type bytea in the db
85
+ consent = relationship(
86
+ "Consent", back_populates="provided_identity", cascade="delete, delete-orphan"
87
+ )
88
+ consent_request = relationship(
89
+ "ConsentRequest",
90
+ back_populates="provided_identity",
91
+ cascade="delete, delete-orphan",
92
+ )
93
+
94
+ @classmethod
95
+ def bcrypt_hash_value(
96
+ cls,
97
+ value: MultiValue,
98
+ encoding: str = "UTF-8",
99
+ ) -> str:
100
+ """
101
+ Temporary function used to hash values to the previously used bcrypt hashes.
102
+ This can be removed once the bcrypt to SHA-256 migration is complete.
103
+ """
104
+
105
+ SALT = "$2b$12$UErimNtlsE6qgYf2BrI1Du"
106
+ value_str = str(value)
107
+ hashed_value = hash_credential_with_salt(
108
+ value_str.encode(encoding),
109
+ SALT.encode(encoding),
110
+ )
111
+ return hashed_value
112
+
113
+ @classmethod
114
+ def hash_value(
115
+ cls,
116
+ value: MultiValue,
117
+ encoding: str = "UTF-8",
118
+ ) -> str:
119
+ """Utility function to hash the value with a generated salt"""
120
+ SALT = get_identity_salt()
121
+ value_str = str(value)
122
+ hashed_value = hash_value_with_salt(
123
+ value_str.encode(encoding),
124
+ SALT.encode(encoding),
125
+ )
126
+ return hashed_value
127
+
128
+ def migrate_hashed_fields(self) -> None:
129
+ if value := self.encrypted_value.get("value"):
130
+ self.hashed_value = self.hash_value(value)
131
+ self.is_hash_migrated = True
132
+
133
+ def as_identity_schema(self) -> Identity:
134
+ """Creates an Identity schema from a ProvidedIdentity record in the application DB."""
135
+
136
+ identity_dict = {}
137
+ if any(
138
+ [
139
+ not self.field_name,
140
+ not self.encrypted_value,
141
+ ]
142
+ ):
143
+ return Identity()
144
+
145
+ value = self.encrypted_value.get("value") # type:ignore
146
+ if self.field_label:
147
+ value = LabeledIdentity(label=self.field_label, value=value)
148
+ identity_dict[self.field_name] = value
149
+ return Identity(**identity_dict)
@@ -0,0 +1,284 @@
1
+ # pylint: disable=R0401, C0302
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import TYPE_CHECKING, List, Optional, Tuple
6
+
7
+ from loguru import logger
8
+ from sqlalchemy import Boolean, Column, ForeignKey, Integer, String
9
+ from sqlalchemy.dialects.postgresql import JSONB
10
+ from sqlalchemy.ext.mutable import MutableDict, MutableList
11
+ from sqlalchemy.orm import Query, Session, relationship
12
+ from sqlalchemy_utils.types.encrypted.encrypted_type import (
13
+ AesGcmEngine,
14
+ StringEncryptedType,
15
+ )
16
+
17
+ from fides.api.db.base_class import Base # type: ignore[attr-defined]
18
+ from fides.api.db.base_class import JSONTypeOverride
19
+ from fides.api.db.util import EnumColumn
20
+ from fides.api.graph.config import (
21
+ ROOT_COLLECTION_ADDRESS,
22
+ TERMINATOR_ADDRESS,
23
+ CollectionAddress,
24
+ )
25
+ from fides.api.models.privacy_request.execution_log import (
26
+ COMPLETED_EXECUTION_LOG_STATUSES,
27
+ )
28
+ from fides.api.schemas.base_class import FidesSchema
29
+ from fides.api.schemas.policy import ActionType
30
+ from fides.api.schemas.privacy_request import ExecutionLogStatus
31
+ from fides.api.util.cache import (
32
+ FidesopsRedis,
33
+ celery_tasks_in_flight,
34
+ get_async_task_tracking_cache_key,
35
+ get_cache,
36
+ )
37
+ from fides.api.util.collection_util import Row
38
+ from fides.config import CONFIG
39
+
40
+ if TYPE_CHECKING:
41
+ from fides.api.models.privacy_request.privacy_request import PrivacyRequest
42
+
43
+
44
+ class TraversalDetails(FidesSchema):
45
+ """Schema to format saving pre-calculated traversal details on RequestTask.traversal_details"""
46
+
47
+ dataset_connection_key: str
48
+ incoming_edges: List[Tuple[str, str]]
49
+ outgoing_edges: List[Tuple[str, str]]
50
+ input_keys: List[str]
51
+ skipped_nodes: Optional[List[Tuple[str, str]]] = None
52
+
53
+ # TODO: remove this method once we support custom request fields in DSR graph.
54
+ @classmethod
55
+ def create_empty_traversal(cls, connection_key: str) -> TraversalDetails:
56
+ """
57
+ Creates an "empty" TraversalDetails object that only has the dataset connection key set.
58
+ This is a bit of a hacky workaround needed to implement the Dynamic Erasure Emails feature,
59
+ but we should no longer need it once the custom_request_fields are included in our graph
60
+ traversal
61
+ """
62
+ return cls(
63
+ dataset_connection_key=connection_key,
64
+ incoming_edges=[],
65
+ outgoing_edges=[],
66
+ input_keys=[],
67
+ skipped_nodes=[],
68
+ )
69
+
70
+
71
+ class RequestTask(Base):
72
+ """
73
+ An individual Task for a Privacy Request.
74
+
75
+ When we execute a PrivacyRequest, we build a graph by combining the current datasets with the identity data
76
+ and we save the nodes (collections) in the graph as Request Tasks.
77
+
78
+ Currently, we build access, erasure, and consent Request Tasks.
79
+ """
80
+
81
+ privacy_request_id = Column(
82
+ String,
83
+ ForeignKey("privacyrequest.id", ondelete="SET NULL"),
84
+ nullable=True,
85
+ index=True,
86
+ )
87
+
88
+ # Identifiers of this request task
89
+ collection_address = Column(
90
+ String, nullable=False, index=True
91
+ ) # Of the format dataset_name:collection_name for convenience
92
+ dataset_name = Column(String, nullable=False, index=True)
93
+ collection_name = Column(String, nullable=False, index=True)
94
+ action_type = Column(EnumColumn(ActionType), nullable=False, index=True)
95
+
96
+ # Note that RequestTasks share statuses with ExecutionLogs. When a RequestTask changes state, an ExecutionLog
97
+ # is also created with that state. These are tied tightly together in GraphTask.
98
+ status = Column(
99
+ EnumColumn(
100
+ ExecutionLogStatus,
101
+ native_enum=False,
102
+ values_callable=lambda x: [
103
+ i.value for i in x
104
+ ], # Using ExecutionLogStatus values in database, even though app is using the names.
105
+ ), # character varying in database
106
+ index=True,
107
+ nullable=False,
108
+ )
109
+
110
+ upstream_tasks = Column(
111
+ MutableList.as_mutable(JSONB)
112
+ ) # List of collection address strings
113
+ downstream_tasks = Column(
114
+ MutableList.as_mutable(JSONB)
115
+ ) # List of collection address strings
116
+ all_descendant_tasks = Column(
117
+ MutableList.as_mutable(JSONB)
118
+ ) # All tasks that can be reached by the current task. This is useful when this task fails,
119
+ # and we can mark every single one of these as failed.
120
+
121
+ # Raw data retrieved from an access request is stored here. This contains all of the
122
+ # intermediate data we retrieved, needed for downstream tasks, but hasn't been filtered
123
+ # by data category for the end user.
124
+ access_data = Column( # An encrypted JSON String - saved as a list of Rows
125
+ StringEncryptedType(
126
+ type_in=JSONTypeOverride,
127
+ key=CONFIG.security.app_encryption_key,
128
+ engine=AesGcmEngine,
129
+ padding="pkcs5",
130
+ ),
131
+ )
132
+
133
+ # This is the raw access data saved in erasure format (with placeholders preserved) to perform a masking request.
134
+ # First saved on the access node, and then copied to the corresponding erasure node.
135
+ data_for_erasures = Column( # An encrypted JSON String - saved as a list of rows
136
+ StringEncryptedType(
137
+ type_in=JSONTypeOverride,
138
+ key=CONFIG.security.app_encryption_key,
139
+ engine=AesGcmEngine,
140
+ padding="pkcs5",
141
+ ),
142
+ )
143
+
144
+ # Written after an erasure is completed
145
+ rows_masked = Column(Integer)
146
+ # Written after a consent request is completed - not all consent
147
+ # connectors will end up sending a request
148
+ consent_sent = Column(Boolean)
149
+
150
+ # For async tasks awaiting callback
151
+ callback_succeeded = Column(Boolean)
152
+
153
+ # Stores a serialized collection that can be transformed back into a Collection to help
154
+ # execute the current task
155
+ collection = Column(MutableDict.as_mutable(JSONB))
156
+ # Stores key details from traversal.traverse in the format of TraversalDetails
157
+ traversal_details = Column(MutableDict.as_mutable(JSONB))
158
+
159
+ privacy_request = relationship(
160
+ "PrivacyRequest",
161
+ back_populates="request_tasks",
162
+ uselist=False,
163
+ )
164
+
165
+ @property
166
+ def request_task_address(self) -> CollectionAddress:
167
+ """Convert the collection_address into Collection Address format"""
168
+ return CollectionAddress.from_string(self.collection_address)
169
+
170
+ @property
171
+ def is_root_task(self) -> bool:
172
+ """Convenience helper for asserting whether the task is a root task"""
173
+ return self.request_task_address == ROOT_COLLECTION_ADDRESS
174
+
175
+ @property
176
+ def is_terminator_task(self) -> bool:
177
+ """Convenience helper for asserting whether the task is a terminator task"""
178
+ return self.request_task_address == TERMINATOR_ADDRESS
179
+
180
+ def get_cached_task_id(self) -> Optional[str]:
181
+ """Gets the cached celery task ID for this request task."""
182
+ cache: FidesopsRedis = get_cache()
183
+ task_id = cache.get(get_async_task_tracking_cache_key(self.id))
184
+ return task_id
185
+
186
+ def get_access_data(self) -> List[Row]:
187
+ """Helper to retrieve access data or default to empty list"""
188
+ return self.access_data or []
189
+
190
+ def get_data_for_erasures(self) -> List[Row]:
191
+ """Helper to retrieve erasure data needed to build masking requests or default to empty list"""
192
+ return self.data_for_erasures or []
193
+
194
+ def update_status(self, db: Session, status: ExecutionLogStatus) -> None:
195
+ """Helper method to update a task's status"""
196
+ self.status = status
197
+ self.save(db)
198
+
199
+ def get_tasks_with_same_action_type(
200
+ self, db: Session, collection_address_str: str
201
+ ) -> Query:
202
+ """Fetch task on the same privacy request and action type as current by collection address"""
203
+ return db.query(RequestTask).filter(
204
+ RequestTask.privacy_request_id == self.privacy_request_id,
205
+ RequestTask.action_type == self.action_type,
206
+ RequestTask.collection_address == collection_address_str,
207
+ )
208
+
209
+ def get_pending_downstream_tasks(self, db: Session) -> Query:
210
+ """Returns the immediate downstream task objects that are still pending"""
211
+ return db.query(RequestTask).filter(
212
+ RequestTask.privacy_request_id == self.privacy_request_id,
213
+ RequestTask.action_type == self.action_type,
214
+ RequestTask.collection_address.in_(self.downstream_tasks or []),
215
+ RequestTask.status == ExecutionLogStatus.pending,
216
+ )
217
+
218
+ def can_queue_request_task(self, db: Session, should_log: bool = False) -> bool:
219
+ """Returns True if upstream tasks are complete and the current Request Task
220
+ is not running in another celery task.
221
+
222
+ This check ignores its database status - that is checked elsewhere.
223
+ """
224
+ return self.upstream_tasks_complete(
225
+ db, should_log
226
+ ) and not self.request_task_running(should_log)
227
+
228
+ def upstream_tasks_complete(self, db: Session, should_log: bool = False) -> bool:
229
+ """Determines if all of the upstream tasks of the current task are complete"""
230
+ upstream_tasks: Query = self.upstream_tasks_objects(db)
231
+ tasks_complete: bool = all(
232
+ upstream_task.status in COMPLETED_EXECUTION_LOG_STATUSES
233
+ for upstream_task in upstream_tasks
234
+ ) and upstream_tasks.count() == len(self.upstream_tasks or [])
235
+
236
+ if not tasks_complete and should_log:
237
+ logger.debug(
238
+ "Upstream tasks incomplete for {} task {}.",
239
+ self.action_type.value,
240
+ self.collection_address,
241
+ )
242
+
243
+ return tasks_complete
244
+
245
+ def upstream_tasks_objects(self, db: Session) -> Query:
246
+ """Returns Request Task objects that are upstream of the current Request Task"""
247
+ upstream_tasks: Query = db.query(RequestTask).filter(
248
+ RequestTask.privacy_request_id == self.privacy_request_id,
249
+ RequestTask.collection_address.in_(self.upstream_tasks or []),
250
+ RequestTask.action_type == self.action_type,
251
+ )
252
+ return upstream_tasks
253
+
254
+ def request_task_running(self, should_log: bool = False) -> bool:
255
+ """Returns a rough measure if the Request Task is already running -
256
+ not 100% accurate.
257
+
258
+ This is further only applicable if you are running workers and
259
+ CONFIG.execution.task_always_eager=False. This is just an extra check to reduce possible
260
+ over-scheduling, but it is also okay if the same node runs multiple times.
261
+ """
262
+ celery_task_id: Optional[str] = self.get_cached_task_id()
263
+ if not celery_task_id:
264
+ return False
265
+
266
+ if should_log:
267
+ logger.debug(
268
+ "Celery Task ID {} found for {} task {}.",
269
+ celery_task_id,
270
+ self.action_type.value,
271
+ self.collection_address,
272
+ )
273
+
274
+ task_in_flight: bool = celery_tasks_in_flight([celery_task_id])
275
+
276
+ if task_in_flight and should_log:
277
+ logger.debug(
278
+ "Celery Task {} already processing for {} task {}.",
279
+ celery_task_id,
280
+ self.action_type.value,
281
+ self.collection_address,
282
+ )
283
+
284
+ return task_in_flight
@@ -0,0 +1,94 @@
1
+ # pylint: disable=R0401, C0302
2
+
3
+ from __future__ import annotations
4
+
5
+ import json
6
+ from datetime import datetime
7
+ from enum import Enum as EnumType
8
+ from typing import Optional
9
+
10
+ from pydantic import BaseModel, ConfigDict
11
+
12
+ from fides.api.models.policy import PolicyPreWebhook, WebhookDirection
13
+ from fides.api.models.pre_approval_webhook import PreApprovalWebhook
14
+ from fides.api.models.privacy_request.request_task import RequestTask
15
+ from fides.api.oauth.jwt import generate_jwe
16
+ from fides.api.schemas.external_https import RequestTaskJWE, WebhookJWE
17
+ from fides.api.schemas.policy import ActionType
18
+ from fides.api.schemas.privacy_request import PrivacyRequestStatus
19
+ from fides.api.schemas.redis_cache import Identity
20
+ from fides.common.api.scope_registry import (
21
+ PRIVACY_REQUEST_CALLBACK_RESUME,
22
+ PRIVACY_REQUEST_REVIEW,
23
+ )
24
+ from fides.config import CONFIG
25
+
26
+
27
+ class CallbackType(EnumType):
28
+ """We currently have three types of Webhooks: pre-approval, pre (-execution), post (-execution)"""
29
+
30
+ pre_approval = "pre_approval"
31
+ pre = "pre" # pre-execution
32
+ post = "post" # post-execution
33
+
34
+
35
+ class SecondPartyRequestFormat(BaseModel):
36
+ """
37
+ The request body we will use when calling a user's HTTP endpoint from fides.api
38
+ This class is defined here to avoid circular import issues between this file and
39
+ models.policy
40
+ """
41
+
42
+ privacy_request_id: str
43
+ privacy_request_status: PrivacyRequestStatus
44
+ direction: WebhookDirection
45
+ callback_type: CallbackType
46
+ identity: Identity
47
+ policy_action: Optional[ActionType] = None
48
+ model_config = ConfigDict(use_enum_values=True)
49
+
50
+
51
+ def generate_request_callback_resume_jwe(webhook: PolicyPreWebhook) -> str:
52
+ """
53
+ Generate a JWE to be used to resume privacy request execution.
54
+ """
55
+ jwe = WebhookJWE(
56
+ webhook_id=webhook.id,
57
+ scopes=[PRIVACY_REQUEST_CALLBACK_RESUME],
58
+ iat=datetime.now().isoformat(),
59
+ )
60
+ return generate_jwe(
61
+ json.dumps(jwe.model_dump(mode="json")),
62
+ CONFIG.security.app_encryption_key,
63
+ )
64
+
65
+
66
+ def generate_request_callback_pre_approval_jwe(webhook: PreApprovalWebhook) -> str:
67
+ """
68
+ Generate a JWE to be used to mark privacy requests as eligible / not-eligible for pre approval.
69
+ """
70
+ jwe = WebhookJWE(
71
+ webhook_id=webhook.id,
72
+ scopes=[PRIVACY_REQUEST_REVIEW],
73
+ iat=datetime.now().isoformat(),
74
+ )
75
+ return generate_jwe(
76
+ json.dumps(jwe.model_dump(mode="json")),
77
+ CONFIG.security.app_encryption_key,
78
+ )
79
+
80
+
81
+ def generate_request_task_callback_jwe(request_task: RequestTask) -> str:
82
+ """
83
+ Generate a JWE to be used to resume privacy request execution when a
84
+ callback endpoint is hit for a RequestTask
85
+ """
86
+ jwe = RequestTaskJWE(
87
+ request_task_id=request_task.id,
88
+ scopes=[PRIVACY_REQUEST_CALLBACK_RESUME],
89
+ iat=datetime.now().isoformat(),
90
+ )
91
+ return generate_jwe(
92
+ json.dumps(jwe.model_dump(mode="json")),
93
+ CONFIG.security.app_encryption_key,
94
+ )
fides/api/oauth/jwt.py CHANGED
@@ -14,3 +14,21 @@ def generate_jwe(payload: str, encryption_key: str, encoding: str = "UTF-8") ->
14
14
  encryption_key,
15
15
  encryption=_JWT_ENCRYPTION_ALGORITHM,
16
16
  ).decode(encoding)
17
+
18
+
19
+ def decrypt_jwe(token: str, encryption_key: str, encoding: str = "UTF-8") -> str:
20
+ """Decrypts a JWE token and returns the payload as a string.
21
+
22
+ Args:
23
+ token: The JWE token to decrypt.
24
+ encryption_key: The key used to decrypt the token.
25
+ encoding: The encoding to use for the decrypted payload.
26
+
27
+ Returns:
28
+ The decrypted payload as a string.
29
+ """
30
+ decrypted_payload = jwe.decrypt(
31
+ token,
32
+ encryption_key,
33
+ )
34
+ return decrypted_payload.decode(encoding)
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/404-1087258931760074.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/404-1087258931760074.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/4833-a85bd5d25ebc40c4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/7980-2597c279c30fbcda.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/8499-07507004e8275df2.js" defer=""></script><script src="/_next/static/chunks/3215-c8c683b93919e0a5.js" defer=""></script><script src="/_next/static/chunks/7044-88111db2aca2cf65.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-05ab19822a7e9f80.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/2858-0b44609b6be7850b.js" defer=""></script><script src="/_next/static/chunks/2866-a73888c17a195cbe.js" defer=""></script><script src="/_next/static/chunks/9278-9b1b5970f0702668.js" defer=""></script><script src="/_next/static/chunks/4833-a85bd5d25ebc40c4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/7980-2597c279c30fbcda.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/8499-07507004e8275df2.js" defer=""></script><script src="/_next/static/chunks/3215-c8c683b93919e0a5.js" defer=""></script><script src="/_next/static/chunks/7044-88111db2aca2cf65.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/manual-05ab19822a7e9f80.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/manual","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-18b0b521255289a3.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems/multiple-18b0b521255289a3.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems/multiple","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-136bcbd20ac59bf5.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><link rel="preload" href="/_next/static/css/972dc7eef106ee7c.css" as="style"/><link rel="stylesheet" href="/_next/static/css/972dc7eef106ee7c.css" data-n-p=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/add-systems-136bcbd20ac59bf5.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/add-systems","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/ant-poc-b3b4d0a98450ffd1.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/ant-poc","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/pages/ant-poc-b3b4d0a98450ffd1.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/ant-poc","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure/add-vendors-64f83e9a2b777bf3.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_buildManifest.js" defer=""></script><script src="/_next/static/sDpAo7vHYkuZ5moMST2L3/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/configure/add-vendors","query":{},"buildId":"sDpAo7vHYkuZ5moMST2L3","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/957d0e4fea846ff0.css" as="style"/><link rel="stylesheet" href="/_next/static/css/957d0e4fea846ff0.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-4df2ba5ee2d40f0a.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-ce7f38a12ea8c223.js" defer=""></script><script src="/_next/static/chunks/pages/_app-b8d38dabe3db0ee0.js" defer=""></script><script src="/_next/static/chunks/c78d26b1-88a3e1bacb2a03c2.js" defer=""></script><script src="/_next/static/chunks/2780-8328de94968d05e4.js" defer=""></script><script src="/_next/static/chunks/4481-0500c40ed13000c0.js" defer=""></script><script src="/_next/static/chunks/3949-9888699e2ac564c4.js" defer=""></script><script src="/_next/static/chunks/4723-81d28e5be5c7b6d7.js" defer=""></script><script src="/_next/static/chunks/5826-16e497af363a0cbc.js" defer=""></script><script src="/_next/static/chunks/pages/consent/configure/add-vendors-64f83e9a2b777bf3.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_buildManifest.js" defer=""></script><script src="/_next/static/nO-B4awcqTzE1AwRkxKgF/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/consent/configure/add-vendors","query":{},"buildId":"nO-B4awcqTzE1AwRkxKgF","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>