ethyca-fides 2.63.1b4__py2.py3-none-any.whl → 2.63.3b0__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.
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/RECORD +211 -210
- fides/_version.py +3 -3
- fides/api/api/v1/endpoints/connection_endpoints.py +16 -3
- fides/api/api/v1/endpoints/oauth_endpoints.py +8 -2
- fides/api/models/detection_discovery/monitor_task.py +1 -0
- fides/api/schemas/connection_configuration/connection_config.py +19 -4
- fides/api/service/connectors/query_configs/saas_query_config.py +15 -0
- fides/api/util/saas_util.py +1 -0
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/0S8UTwc7FKVdi3Eb4LgFK/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1099-f2199d5b88dd98b4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1100-d617215143d70d3d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/155-8ad794121fef6281.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1817-ddfdd6ed9529bba6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1904-e33cb75edb93d3d3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2310-efaa2a52fc487db4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2921-19664dd93e2bf1ea.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3119-9be74ade1504a7e7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3505-f6d55694ca5c9816.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3513-656df06b45fedba3.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3872-09df90521f7db611.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3923-3d80020d02819c33.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/401-710009c2a7408818.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4060-4e196835f56cc326.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4121-80ac9bcd08f9cd7a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4132-76ca1bcf79bf1d77.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4481-be144b50994f5135.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5258-8a1f7feddee7a960.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5404-a8a82985736363f4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5487-483a111405f678e0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5683-7144f557d701406c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6202-86a62d94744e2c18.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6277-0b1e3d23e97f5e19.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6853-d9c6c55d8562bc9b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/69-a4d64cabe750b286.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6954-8ed05ffdbf2ec086.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7553-77c9715868d6ad13.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/79-6c977013b6bedc23.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/796-1d77aa88b776ee4e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7980-3da0fe6938b0b758.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8032-4b8bda7166eff954.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8433-88fd946149dd1f27.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8499-a65187ae77b7307b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{905-8ab919e7b274ed50.js → 905-5fe5124abfb5c542.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9327-eb3b84680abcc660.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9392.81edc11e3a175275.js → 9392.25024e070026343d.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9494-04a0483ed0ddad7c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9676.e60a53f1f5890847.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9767-a3ed98edff04e6ed.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/404-c50dccc133b332a9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-33bc23b79bffe07c.js → _app-0e0fdbcc0ec1c76b.js} +10 -10
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-3065022f370ec055.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-357ef3b269c576bb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-e8ae218a9d124ba7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/add-vendors-488507bb244cce9d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-6f0b46ac2b112bfe.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-5024b4ab40ba024c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-2b62e5facfc51808.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/[id]-71791459da78e35d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/new-26a7d52615b1ebb8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-25836dd5142f37e8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/properties-3a9021850242c78f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-9a5d3cc5cbb4ef27.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-9e21184279f8e126.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-64cea013d41e348a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-b02050eb3b7113d4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-ff211c7a968bda47.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-7f7435f28861ee78.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-ec4b981fd9cff542.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-18c144223277bc2e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-e18f14b8d598e942.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-9af01b6cf4cbe8af.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-1987ef0d3c687aaa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-979828f48148b37c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-e85c3537d3aade4a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-6d44abbe7d454435.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-42f276660c107e1c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-18ff06fc09c22c33.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-979eff6888e42b6b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-343a3830b2d4cf22.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/index-737b0c430bf2f7a0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-63361d914d70d647.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-fd73f276dad7a06c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/[id]-91e865a65a88d1a4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/add-template-529c7e09b073edd2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-6226faba9595da71.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-0f7d4390e01f4ffb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-a4e470f75a5553f8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-d814c1c56b4b04d8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-0f68f2be09df2c76.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-6b63d5c992466891.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-88eb9b98e8e4b426.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-a3da91fd04eec8f5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-b2ea863afce1d7f0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-0831dfaa65ce0d50.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-709676f00a491bca.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-0eac9951504b46a7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-88e20023c30113df.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/[id]-3acc3107e9a21260.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/add-property-2bf13ee02d8d5ab9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties-822eac07220f55f8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-f85f92726a61a668.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/alpha-88999260f855b448.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-928b0b69e05fd430.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e090903a572cba68.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-f0c8e4eced9f5cc5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-f7a271ee53cb4e51.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-611980eee1ce9c8a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-382cb6df12684bf8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-5d664f2a0f11b626.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-ba569d22e1e3f6df.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-dd903f6e03c4ee4e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/regulations-fae8ecf7878bad2d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-493dc9b4595c9fb4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-2b540203a2d7b59d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-a278608ba0ddc66c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-6d790458dd21dde7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-eb30c9230a9ce9cc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-381146aa81e3ffea.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{webpack-8457bad7859c44f0.js → webpack-abfd03ce7f1e55ac.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/c3377f99bf988d68.css +1 -0
- fides/ui-build/static/admin/add-systems/manual.html +1 -1
- fides/ui-build/static/admin/add-systems/multiple.html +1 -1
- fides/ui-build/static/admin/add-systems.html +1 -1
- fides/ui-build/static/admin/consent/configure/add-vendors.html +1 -1
- fides/ui-build/static/admin/consent/configure.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-experience.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/[id].html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices/new.html +1 -1
- fides/ui-build/static/admin/consent/privacy-notices.html +1 -1
- fides/ui-build/static/admin/consent/properties.html +1 -1
- fides/ui-build/static/admin/consent/reporting.html +1 -1
- fides/ui-build/static/admin/consent.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/projects.html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-catalog/[systemId]/resources.html +1 -1
- fides/ui-build/static/admin/data-catalog.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center.html +1 -1
- fides/ui-build/static/admin/data-discovery/activity.html +1 -1
- fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/detection.html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html +1 -1
- fides/ui-build/static/admin/data-discovery/discovery.html +1 -1
- fides/ui-build/static/admin/datamap.html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html +1 -1
- fides/ui-build/static/admin/dataset/[datasetId].html +1 -1
- fides/ui-build/static/admin/dataset/new.html +1 -1
- fides/ui-build/static/admin/dataset.html +1 -1
- fides/ui-build/static/admin/datastore-connection/[id].html +1 -1
- fides/ui-build/static/admin/datastore-connection/new.html +1 -1
- fides/ui-build/static/admin/datastore-connection.html +1 -1
- fides/ui-build/static/admin/images/connector-logos/salesforce.svg +41 -0
- fides/ui-build/static/admin/index.html +1 -1
- fides/ui-build/static/admin/integrations/[id].html +1 -1
- fides/ui-build/static/admin/integrations.html +1 -1
- fides/ui-build/static/admin/lib/fides-ext-gpp.js +1 -1
- fides/ui-build/static/admin/lib/fides-preview.js +1 -1
- fides/ui-build/static/admin/lib/fides-tcf.js +2 -2
- fides/ui-build/static/admin/login/[provider].html +1 -1
- fides/ui-build/static/admin/login.html +1 -1
- fides/ui-build/static/admin/messaging/[id].html +1 -1
- fides/ui-build/static/admin/messaging/add-template.html +1 -1
- fides/ui-build/static/admin/messaging.html +1 -1
- fides/ui-build/static/admin/poc/ant-components.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/AntForm.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikField.html +1 -1
- fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html +1 -1
- fides/ui-build/static/admin/poc/forms.html +1 -1
- fides/ui-build/static/admin/poc/table-migration.html +1 -1
- fides/ui-build/static/admin/privacy-requests/[id].html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/messaging.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure/storage.html +1 -1
- fides/ui-build/static/admin/privacy-requests/configure.html +1 -1
- fides/ui-build/static/admin/privacy-requests.html +1 -1
- fides/ui-build/static/admin/properties/[id].html +1 -1
- fides/ui-build/static/admin/properties/add-property.html +1 -1
- fides/ui-build/static/admin/properties.html +1 -1
- fides/ui-build/static/admin/reporting/datamap.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields.html +1 -1
- fides/ui-build/static/admin/settings/domain-records.html +1 -1
- fides/ui-build/static/admin/settings/domains.html +1 -1
- fides/ui-build/static/admin/settings/email-templates.html +1 -1
- fides/ui-build/static/admin/settings/locations.html +1 -1
- fides/ui-build/static/admin/settings/organization.html +1 -1
- fides/ui-build/static/admin/settings/regulations.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html +1 -1
- fides/ui-build/static/admin/systems/configure/[id].html +1 -1
- fides/ui-build/static/admin/systems.html +1 -1
- fides/ui-build/static/admin/taxonomy.html +1 -1
- fides/ui-build/static/admin/user-management/new.html +1 -1
- fides/ui-build/static/admin/user-management/profile/[id].html +1 -1
- fides/ui-build/static/admin/user-management.html +1 -1
- fides/ui-build/static/admin/_next/static/X2nvWLg2_-vsCTkhSWpzw/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1099-667e84655846e78c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1100-0b01f500b1eaf60d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1817-951f58ddd5d46081.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1904-361e37a5811ed7fc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2310-744354001d01f366.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-49af55ad7c631c93.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3119-e36ae5071c8f27a5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3505-113f9c95d34b7aae.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3513-5c2d412a84a78971.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3872-45cc725e241211f0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3923-b4f701ada3ef0ee0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/401-7e800aed05537126.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4060-90a52a9afc655bfc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4121-66b0e00d5e7ae817.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4132-9b1731bfec6ee537.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4481-7f6710c928bb0cb0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5258-2079138c8cc34f6c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5404-2694509cf5fa96da.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5487-2cbd8d2169eb2a65.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5683-37137111b3e769fb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6202-081545c7822d09af.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-459e054b2702c60e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-688df0b88fe65fd5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/69-00cba94689b9e740.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6954-4e313b4599b8763d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7553-08bc3d9f66695111.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/79-fc548561beed136f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/796-d6586308ed44334b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7980-736f9fd1e749ddd2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8032-74d94f7bd5b81c89.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8433-51870336908fb253.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8499-1fd392d0be9e8ee4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9033-fdd87182c15b91e2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9327-6a53461c9764b16f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9494-1ffb888b95289891.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9676.61cf5f6d6a083175.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9767-afd674014a1d1152.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/404-ec04f826f3dd79ea.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-1bec086d567aacff.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-f68bf100e4e60e88.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-effde5cfe49de55f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/add-vendors-ec95ed8cb0712828.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-4cc195e15e0c3cc8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-be8972c79fb39705.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-ccf96207de3b74ea.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/[id]-b9823cc008372cee.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/new-373f5772ab41bc93.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-b9beeee1bde5ca79.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/properties-6ab3a5baafebd199.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-8562790ae07f17c9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-42d4d2d6e0253671.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-9d1df6d890671b0c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-7eb08af333baaa8e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-bb57eed84f59a932.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-47eb34aef3e31ac6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-76cefefc53e84c7f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-9d8e84a8b4bf568d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-c3eaadd88a2e6caa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-db45aa864e9dda8a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d5cfdebc74654337.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-618b89228f83435e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-12fc86f15a4c764e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-c23d18a9b56c2e3c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-e3b2d8e3980ab093.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-6e27257eccf65f01.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-bbac1f624424282d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-84eb56f5a07bdf4f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/index-773182b5e35d0045.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-eb28c927da5bd653.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-781808bca01f8048.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/[id]-b51bee8680d66b20.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/add-template-1de479533f733fbd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-7dc295b3ed3d2224.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-f64dac3392f5ded7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-eb020bfac4bee532.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-0bd62e28b539e114.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-936877004113c2a6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-6416f01524482af9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-3f4e1313d1f2969b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-1db7a54437db7db0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-64236fd0141414fd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-c583a61302f02add.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-20d20a8d1736f7c4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-b6c876dceb16ad1b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-0e557d79e1e43c2b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/[id]-54bcc875592d1fb9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/add-property-644dc669b508a79a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties-9a88220d03e7e02f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-70dc1081df37ea69.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/alpha-3c71b4dbcb6fd6c9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-7cb16e0000dd16c9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-a18d8f12ee8dcf5d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-dc220e116ad5c09e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-55ddc5f25b86f28e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-5ca7decded228bc8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-a6fafa1be2834c40.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-e633750d2b45ddd6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-3948686cbd372969.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-04ece499c22d23f4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/regulations-7752305084280cca.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-9e5f9066be6f218d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-86de9e6d72098e45.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-cac52e6c3abf6a15.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-60d5930b6855679b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-b0f4c34752d32c73.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-7dee83dd6d9292aa.js +0 -1
- fides/ui-build/static/admin/_next/static/css/1fdf5c593349dbc6.css +0 -1
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.63.1b4.dist-info → ethyca_fides-2.63.3b0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{X2nvWLg2_-vsCTkhSWpzw → 0S8UTwc7FKVdi3Eb4LgFK}/_ssgManifest.js +0 -0
fides/_version.py
CHANGED
@@ -8,11 +8,11 @@ import json
|
|
8
8
|
|
9
9
|
version_json = '''
|
10
10
|
{
|
11
|
-
"date": "2025-06-
|
11
|
+
"date": "2025-06-12T18:57:31-0300",
|
12
12
|
"dirty": false,
|
13
13
|
"error": null,
|
14
|
-
"full-revisionid": "
|
15
|
-
"version": "2.63.
|
14
|
+
"full-revisionid": "14baaf4b4e688a68ff32098124e78e6bab89dcb5",
|
15
|
+
"version": "2.63.3b0"
|
16
16
|
}
|
17
17
|
''' # END VERSION_JSON
|
18
18
|
|
@@ -22,6 +22,7 @@ from fides.api.schemas.connection_configuration import connection_secrets_schema
|
|
22
22
|
from fides.api.schemas.connection_configuration.connection_config import (
|
23
23
|
BulkPutConnectionConfiguration,
|
24
24
|
ConnectionConfigurationResponse,
|
25
|
+
ConnectionConfigurationResponseWithSystemKey,
|
25
26
|
CreateConnectionConfigurationWithSecrets,
|
26
27
|
)
|
27
28
|
from fides.api.schemas.connection_configuration.connection_secrets import (
|
@@ -154,13 +155,25 @@ def get_connections(
|
|
154
155
|
@router.get(
|
155
156
|
CONNECTION_BY_KEY,
|
156
157
|
dependencies=[Security(verify_oauth_client, scopes=[CONNECTION_READ])],
|
157
|
-
response_model=
|
158
|
+
response_model=ConnectionConfigurationResponseWithSystemKey,
|
158
159
|
)
|
159
160
|
def get_connection_detail(
|
160
161
|
connection_key: FidesKey, db: Session = Depends(deps.get_db)
|
161
|
-
) ->
|
162
|
+
) -> ConnectionConfigurationResponseWithSystemKey:
|
162
163
|
"""Returns connection configuration with matching key."""
|
163
|
-
|
164
|
+
connection_config = get_connection_config_or_error(db, connection_key)
|
165
|
+
|
166
|
+
# Convert to Pydantic model with all fields
|
167
|
+
response = ConnectionConfigurationResponseWithSystemKey.model_validate(
|
168
|
+
connection_config
|
169
|
+
)
|
170
|
+
|
171
|
+
# Override just the system_key field to use only the system's fides_key without fallback
|
172
|
+
response.system_key = (
|
173
|
+
connection_config.system.fides_key if connection_config.system else None
|
174
|
+
)
|
175
|
+
|
176
|
+
return response
|
164
177
|
|
165
178
|
|
166
179
|
@router.patch(
|
@@ -274,9 +274,15 @@ def oauth_callback(code: str, state: str, db: Session = Depends(get_db)) -> Resp
|
|
274
274
|
|
275
275
|
parsed_url = urlparse(authentication_request.referer)
|
276
276
|
base_url = f"{parsed_url.scheme}://{parsed_url.netloc}"
|
277
|
-
|
277
|
+
|
278
|
+
if connection_config.system is not None:
|
279
|
+
system_key = connection_config.system.fides_key
|
280
|
+
redirect_path = f"/systems/configure/{system_key}"
|
281
|
+
else:
|
282
|
+
redirect_path = f"/integrations/{connection_config.key}"
|
283
|
+
|
278
284
|
return RedirectResponse(
|
279
|
-
url=f"{base_url}
|
285
|
+
url=f"{base_url}{redirect_path}?status={test_status_value}"
|
280
286
|
)
|
281
287
|
return PlainTextResponse(
|
282
288
|
content=f"Connection test status: {test_status_value}. No referer URL available. Please navigate back to the Fides Admin UI.",
|
@@ -111,10 +111,10 @@ class ConnectionConfigSecretsMixin(BaseModel):
|
|
111
111
|
return self
|
112
112
|
|
113
113
|
|
114
|
-
class
|
114
|
+
class ConnectionConfigurationResponseBase(ConnectionConfigSecretsMixin):
|
115
115
|
"""
|
116
|
-
|
117
|
-
|
116
|
+
Base schema for ConnectionConfiguration responses,
|
117
|
+
excluding fields that might be conditionally omitted.
|
118
118
|
The mixin base class ensures that `secrets` sensitive values are masked.
|
119
119
|
"""
|
120
120
|
|
@@ -129,10 +129,25 @@ class ConnectionConfigurationResponse(ConnectionConfigSecretsMixin):
|
|
129
129
|
last_test_succeeded: Optional[bool] = None
|
130
130
|
authorized: Optional[bool] = False
|
131
131
|
enabled_actions: Optional[List[ActionType]] = None
|
132
|
-
|
133
132
|
model_config = ConfigDict(from_attributes=True)
|
134
133
|
|
135
134
|
|
135
|
+
class ConnectionConfigurationResponseWithSystemKey(ConnectionConfigurationResponseBase):
|
136
|
+
"""
|
137
|
+
Describes the full returned schema for a ConnectionConfiguration.
|
138
|
+
"""
|
139
|
+
|
140
|
+
# Using this response with models returned from an async DB session will error
|
141
|
+
# because the system_key is lazy loaded. Just a quirk of SQLAlchemy 1.4.
|
142
|
+
system_key: Optional[str] = None
|
143
|
+
|
144
|
+
|
145
|
+
class ConnectionConfigurationResponse(ConnectionConfigurationResponseBase):
|
146
|
+
"""
|
147
|
+
Describes the returned schema for a ConnectionConfiguration.
|
148
|
+
"""
|
149
|
+
|
150
|
+
|
136
151
|
class BulkPutConnectionConfiguration(BulkResponse):
|
137
152
|
"""Schema with mixed success/failure responses for Bulk Create/Update of ConnectionConfiguration responses."""
|
138
153
|
|
@@ -43,6 +43,7 @@ from fides.api.util.saas_util import (
|
|
43
43
|
ALL_OBJECT_FIELDS,
|
44
44
|
CUSTOM_PRIVACY_REQUEST_FIELDS,
|
45
45
|
FIDESOPS_GROUPED_INPUTS,
|
46
|
+
FIELD_LIST,
|
46
47
|
ISO_8601_DATETIME,
|
47
48
|
MASKED_OBJECT_FIELDS,
|
48
49
|
PRIVACY_REQUEST_ID,
|
@@ -353,6 +354,13 @@ class SaaSQueryConfig(QueryConfig[SaaSRequestParams]):
|
|
353
354
|
|
354
355
|
param_values[UUID] = str(uuid4())
|
355
356
|
param_values[ISO_8601_DATETIME] = datetime.now().date().isoformat()
|
357
|
+
param_values[FIELD_LIST] = ",".join(
|
358
|
+
[
|
359
|
+
field.name
|
360
|
+
for field in self.top_level_field_map().values()
|
361
|
+
if field.data_type() != "None"
|
362
|
+
]
|
363
|
+
)
|
356
364
|
if self.request_task and self.request_task.id:
|
357
365
|
param_values[REPLY_TO_TOKEN] = generate_request_task_callback_jwe(
|
358
366
|
self.request_task
|
@@ -458,6 +466,13 @@ class SaaSQueryConfig(QueryConfig[SaaSRequestParams]):
|
|
458
466
|
param_values[CUSTOM_PRIVACY_REQUEST_FIELDS] = custom_privacy_request_fields
|
459
467
|
param_values[UUID] = str(uuid4())
|
460
468
|
param_values[ISO_8601_DATETIME] = datetime.now().strftime("%Y-%m-%dT%H:%M:%SZ")
|
469
|
+
param_values[FIELD_LIST] = ",".join(
|
470
|
+
[
|
471
|
+
field.name
|
472
|
+
for field in self.top_level_field_map().values()
|
473
|
+
if field.data_type() != "None"
|
474
|
+
]
|
475
|
+
)
|
461
476
|
if self.request_task and self.request_task.id:
|
462
477
|
param_values[REPLY_TO_TOKEN] = generate_request_task_callback_jwe(
|
463
478
|
self.request_task
|
fides/api/util/saas_util.py
CHANGED
@@ -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/
|
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/c3377f99bf988d68.css" as="style"/><link rel="stylesheet" href="/_next/static/css/c3377f99bf988d68.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-abfd03ce7f1e55ac.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-0e0fdbcc0ec1c76b.js" defer=""></script><script src="/_next/static/chunks/pages/404-c50dccc133b332a9.js" defer=""></script><script src="/_next/static/0S8UTwc7FKVdi3Eb4LgFK/_buildManifest.js" defer=""></script><script src="/_next/static/0S8UTwc7FKVdi3Eb4LgFK/_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":"0S8UTwc7FKVdi3Eb4LgFK","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
@@ -0,0 +1 @@
|
|
1
|
+
self.__BUILD_MANIFEST=function(s,e,t,a,c,n,i,d,o,r,p,u,g,f,b,m,j,k,h,y,l,v,I,F,x,_,U,w,q,N,A,S,B,C,z,D,E,L,M,T,P,G,H,J,K,O,Q,R,V,W,X,Y,Z){return{__rewrites:{afterFiles:[],beforeFiles:[],fallback:[]},"/":[w,"static/chunks/pages/index-737b0c430bf2f7a0.js"],"/404":["static/chunks/pages/404-c50dccc133b332a9.js"],"/_error":["static/chunks/pages/_error-bede3a8288930dcf.js"],"/add-systems":[e,w,"static/chunks/pages/add-systems-e8ae218a9d124ba7.js"],"/add-systems/manual":[s,t,c,n,i,j,e,a,r,u,k,h,I,q,N,"static/chunks/pages/add-systems/manual-3065022f370ec055.js"],"/add-systems/multiple":[s,t,e,a,r,y,A,"static/chunks/pages/add-systems/multiple-357ef3b269c576bb.js"],"/consent":["static/chunks/pages/consent-9e21184279f8e126.js"],"/consent/configure":[s,t,e,a,r,y,"static/chunks/pages/consent/configure-6f0b46ac2b112bfe.js"],"/consent/configure/add-vendors":[s,t,e,a,r,y,A,"static/chunks/pages/consent/configure/add-vendors-488507bb244cce9d.js"],"/consent/privacy-experience":[s,t,j,e,a,S,"static/chunks/pages/consent/privacy-experience-2b62e5facfc51808.js"],"/consent/privacy-experience/new":[c,n,p,B,d,l,C,"static/chunks/pages/consent/privacy-experience/new-a0039f216fb3eb93.js"],"/consent/privacy-experience/[id]":[c,n,p,B,d,l,C,"static/chunks/pages/consent/privacy-experience/[id]-5024b4ab40ba024c.js"],"/consent/privacy-notices":[s,t,e,a,S,"static/chunks/pages/consent/privacy-notices-25836dd5142f37e8.js"],"/consent/privacy-notices/new":[c,n,p,z,d,l,D,"static/chunks/pages/consent/privacy-notices/new-26a7d52615b1ebb8.js"],"/consent/privacy-notices/[id]":[c,n,p,z,d,l,D,"static/chunks/pages/consent/privacy-notices/[id]-71791459da78e35d.js"],"/consent/properties":[s,t,e,a,E,"static/chunks/pages/consent/properties-3a9021850242c78f.js"],"/consent/reporting":[s,t,c,e,a,"static/chunks/pages/consent/reporting-9a5d3cc5cbb4ef27.js"],"/data-catalog":[s,t,c,n,i,e,a,"static/css/95ac327e5d70148d.css","static/chunks/pages/data-catalog-ff211c7a968bda47.js"],"/data-catalog/[systemId]/projects":[s,t,c,n,i,e,a,b,o,"static/chunks/pages/data-catalog/[systemId]/projects-b02050eb3b7113d4.js"],"/data-catalog/[systemId]/projects/[projectUrn]":[s,t,e,a,L,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-64cea013d41e348a.js"],"/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]":[s,t,c,n,i,e,a,g,b,M,o,"static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]-18e3faf7963962e4.js"],"/data-catalog/[systemId]/resources":[s,t,e,a,L,"static/chunks/pages/data-catalog/[systemId]/resources-51d99174c8006eb5.js"],"/data-catalog/[systemId]/resources/[resourceUrn]":[s,t,c,n,i,e,a,g,b,M,o,"static/chunks/pages/data-catalog/[systemId]/resources/[resourceUrn]-7320524a47104798.js"],"/data-discovery/action-center":[s,t,e,a,"static/chunks/pages/data-discovery/action-center-18c144223277bc2e.js"],"/data-discovery/action-center/[monitorId]":[s,t,c,n,i,e,a,T,F,"static/chunks/pages/data-discovery/action-center/[monitorId]-ec4b981fd9cff542.js"],"/data-discovery/action-center/[monitorId]/[systemId]":[s,t,c,n,i,e,a,r,I,T,"static/css/81642473e38c67a5.css","static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-7f7435f28861ee78.js"],"/data-discovery/activity":[s,t,e,a,"static/chunks/pages/data-discovery/activity-e18f14b8d598e942.js"],"/data-discovery/detection":[s,t,e,a,g,v,P,"static/chunks/pages/data-discovery/detection-6f27dbb7c8edc69d.js"],"/data-discovery/detection/[resourceUrn]":[s,t,e,a,g,v,P,"static/chunks/pages/data-discovery/detection/[resourceUrn]-4c526db0c30c488a.js"],"/data-discovery/discovery":[s,t,c,n,i,e,a,g,b,v,G,o,"static/chunks/pages/data-discovery/discovery-fe7f51502eda57c9.js"],"/data-discovery/discovery/[resourceUrn]":[s,t,c,n,i,e,a,g,b,v,G,o,"static/chunks/pages/data-discovery/discovery/[resourceUrn]-562d2b8ae90dd1f0.js"],"/datamap":[s,t,"static/chunks/255-7db55b0e3a0f9dea.js",e,a,u,k,H,"static/chunks/pages/datamap-9af01b6cf4cbe8af.js"],"/dataset":[s,t,f,e,a,m,"static/chunks/pages/dataset-42f276660c107e1c.js"],"/dataset/new":[f,m,"static/chunks/pages/dataset/new-6d44abbe7d454435.js"],"/dataset/[datasetId]":[s,t,"static/chunks/9729-fcf6ff4e3534e4a8.js",e,a,x,"static/chunks/pages/dataset/[datasetId]-e85c3537d3aade4a.js"],"/dataset/[datasetId]/[collectionName]":[s,t,c,n,i,_,e,a,x,o,"static/chunks/pages/dataset/[datasetId]/[collectionName]-979828f48148b37c.js"],"/dataset/[datasetId]/[collectionName]/[...subfieldNames]":[s,t,c,n,i,_,e,a,x,o,"static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-1987ef0d3c687aaa.js"],"/datastore-connection":["static/css/5f393dea1c0d031c.css","static/chunks/pages/datastore-connection-343a3830b2d4cf22.js"],"/datastore-connection/new":[f,j,m,J,"static/chunks/pages/datastore-connection/new-979eff6888e42b6b.js"],"/datastore-connection/[id]":[f,m,J,"static/chunks/pages/datastore-connection/[id]-18ff06fc09c22c33.js"],"/fides-js-docs":["static/chunks/2fbcc6de-a6c61724c327e9fa.js","static/chunks/e3251fe7-5777b5d778e6fffa.js",c,n,i,f,_,K,"static/css/ab65b8cc3144bfc8.css","static/chunks/905-5fe5124abfb5c542.js","static/chunks/pages/fides-js-docs-80b241bf6cddb72e.js"],"/integrations":[s,t,c,n,i,p,O,e,a,h,Q,o,"static/chunks/pages/integrations-fd73f276dad7a06c.js"],"/integrations/[id]":[s,t,c,n,i,p,O,e,a,h,Q,"static/css/e458b5f1afdbb7fc.css","static/chunks/pages/integrations/[id]-63361d914d70d647.js"],"/login":["static/chunks/pages/login-0cb0eb44bf2dd24c.js"],"/login/[provider]":["static/chunks/pages/login/[provider]-c58beef131c3a82d.js"],"/messaging":[s,t,c,n,i,e,a,"static/chunks/pages/messaging-6226faba9595da71.js"],"/messaging/add-template":[d,R,"static/chunks/pages/messaging/add-template-529c7e09b073edd2.js"],"/messaging/[id]":[d,R,"static/chunks/pages/messaging/[id]-91e865a65a88d1a4.js"],"/poc/ant-components":["static/chunks/pages/poc/ant-components-0f7d4390e01f4ffb.js"],"/poc/form-experiments/AntForm":["static/chunks/pages/poc/form-experiments/AntForm-a4e470f75a5553f8.js"],"/poc/form-experiments/FormikAntFormItem":["static/chunks/pages/poc/form-experiments/FormikAntFormItem-d814c1c56b4b04d8.js"],"/poc/form-experiments/FormikControlled":["static/chunks/pages/poc/form-experiments/FormikControlled-0f68f2be09df2c76.js"],"/poc/form-experiments/FormikField":["static/chunks/pages/poc/form-experiments/FormikField-6b63d5c992466891.js"],"/poc/form-experiments/FormikSpreadField":[V,"static/chunks/pages/poc/form-experiments/FormikSpreadField-af097d661f6abcf4.js"],"/poc/forms":[V,"static/chunks/pages/poc/forms-88eb9b98e8e4b426.js"],"/poc/table-migration":[r,y,"static/chunks/pages/poc/table-migration-a3da91fd04eec8f5.js"],"/privacy-requests":[s,t,e,a,W,"static/chunks/pages/privacy-requests-88e20023c30113df.js"],"/privacy-requests/configure":["static/chunks/pages/privacy-requests/configure-0eac9951504b46a7.js"],"/privacy-requests/configure/messaging":["static/chunks/pages/privacy-requests/configure/messaging-0831dfaa65ce0d50.js"],"/privacy-requests/configure/storage":["static/chunks/pages/privacy-requests/configure/storage-709676f00a491bca.js"],"/privacy-requests/[id]":[W,"static/css/5ded47c57dae5baf.css","static/chunks/pages/privacy-requests/[id]-b2ea863afce1d7f0.js"],"/properties":[s,t,e,a,E,"static/chunks/pages/properties-822eac07220f55f8.js"],"/properties/add-property":[d,X,"static/chunks/pages/properties/add-property-2bf13ee02d8d5ab9.js"],"/properties/[id]":[d,X,"static/chunks/pages/properties/[id]-3acc3107e9a21260.js"],"/reporting/datamap":[s,t,c,n,i,K,e,a,u,k,H,"static/chunks/pages/reporting/datamap-f85f92726a61a668.js"],"/settings/about":["static/chunks/pages/settings/about-928b0b69e05fd430.js"],"/settings/about/alpha":["static/chunks/pages/settings/about/alpha-88999260f855b448.js"],"/settings/consent":["static/chunks/pages/settings/consent-f0c8e4eced9f5cc5.js"],"/settings/consent/[configuration_id]/[purpose_id]":[s,t,e,a,"static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e090903a572cba68.js"],"/settings/custom-fields":[s,t,e,a,u,"static/chunks/pages/settings/custom-fields-f7a271ee53cb4e51.js"],"/settings/domain-records":[s,t,e,a,"static/chunks/pages/settings/domain-records-611980eee1ce9c8a.js"],"/settings/domains":["static/chunks/pages/settings/domains-382cb6df12684bf8.js"],"/settings/email-templates":["static/chunks/pages/settings/email-templates-5d664f2a0f11b626.js"],"/settings/locations":[s,Y,F,"static/chunks/pages/settings/locations-ba569d22e1e3f6df.js"],"/settings/organization":["static/chunks/pages/settings/organization-dd903f6e03c4ee4e.js"],"/settings/regulations":[s,Y,F,"static/chunks/pages/settings/regulations-fae8ecf7878bad2d.js"],"/systems":[s,t,e,a,"static/chunks/pages/systems-a278608ba0ddc66c.js"],"/systems/configure/[id]":[s,t,c,n,i,j,e,a,r,u,k,h,I,q,N,"static/chunks/pages/systems/configure/[id]-2b540203a2d7b59d.js"],"/systems/configure/[id]/test-datasets":[f,m,"static/chunks/pages/systems/configure/[id]/test-datasets-493dc9b4595c9fb4.js"],"/taxonomy":["static/chunks/678d4732-50255cc09048e643.js",c,n,i,p,"static/chunks/3983-17ae9c232bddc413.js",u,"static/css/34a7eb08b86ddb57.css","static/chunks/pages/taxonomy-6d790458dd21dde7.js"],"/user-management":[U,"static/chunks/pages/user-management-381146aa81e3ffea.js"],"/user-management/new":[U,Z,"static/chunks/pages/user-management/new-b124cc24b930c9e1.js"],"/user-management/profile/[id]":[U,Z,"static/chunks/pages/user-management/profile/[id]-eb30c9230a9ce9cc.js"],sortedPages:["/","/404","/_app","/_error","/add-systems","/add-systems/manual","/add-systems/multiple","/consent","/consent/configure","/consent/configure/add-vendors","/consent/privacy-experience","/consent/privacy-experience/new","/consent/privacy-experience/[id]","/consent/privacy-notices","/consent/privacy-notices/new","/consent/privacy-notices/[id]","/consent/properties","/consent/reporting","/data-catalog","/data-catalog/[systemId]/projects","/data-catalog/[systemId]/projects/[projectUrn]","/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn]","/data-catalog/[systemId]/resources","/data-catalog/[systemId]/resources/[resourceUrn]","/data-discovery/action-center","/data-discovery/action-center/[monitorId]","/data-discovery/action-center/[monitorId]/[systemId]","/data-discovery/activity","/data-discovery/detection","/data-discovery/detection/[resourceUrn]","/data-discovery/discovery","/data-discovery/discovery/[resourceUrn]","/datamap","/dataset","/dataset/new","/dataset/[datasetId]","/dataset/[datasetId]/[collectionName]","/dataset/[datasetId]/[collectionName]/[...subfieldNames]","/datastore-connection","/datastore-connection/new","/datastore-connection/[id]","/fides-js-docs","/integrations","/integrations/[id]","/login","/login/[provider]","/messaging","/messaging/add-template","/messaging/[id]","/poc/ant-components","/poc/form-experiments/AntForm","/poc/form-experiments/FormikAntFormItem","/poc/form-experiments/FormikControlled","/poc/form-experiments/FormikField","/poc/form-experiments/FormikSpreadField","/poc/forms","/poc/table-migration","/privacy-requests","/privacy-requests/configure","/privacy-requests/configure/messaging","/privacy-requests/configure/storage","/privacy-requests/[id]","/properties","/properties/add-property","/properties/[id]","/reporting/datamap","/settings/about","/settings/about/alpha","/settings/consent","/settings/consent/[configuration_id]/[purpose_id]","/settings/custom-fields","/settings/domain-records","/settings/domains","/settings/email-templates","/settings/locations","/settings/organization","/settings/regulations","/systems","/systems/configure/[id]","/systems/configure/[id]/test-datasets","/taxonomy","/user-management","/user-management/new","/user-management/profile/[id]"]}}("static/chunks/c78d26b1-88a3e1bacb2a03c2.js","static/chunks/7553-77c9715868d6ad13.js","static/chunks/6060-cb1ab5be7067bf7b.js","static/chunks/4481-be144b50994f5135.js","static/chunks/2858-0b44609b6be7850b.js","static/chunks/2866-a73888c17a195cbe.js","static/chunks/9278-9b1b5970f0702668.js","static/chunks/69-a4d64cabe750b286.js","static/css/d2d4e9a6923e6730.css","static/chunks/401-710009c2a7408818.js","static/chunks/3662-f6a1ddca5ee42076.js","static/chunks/7980-3da0fe6938b0b758.js","static/chunks/2310-efaa2a52fc487db4.js","static/chunks/6527-0eed08abe252a918.js","static/chunks/1099-f2199d5b88dd98b4.js","static/chunks/9327-eb3b84680abcc660.js","static/chunks/5277-e8a036319456127f.js","static/chunks/8499-a65187ae77b7307b.js","static/chunks/6202-86a62d94744e2c18.js","static/chunks/3923-3d80020d02819c33.js","static/chunks/6277-0b1e3d23e97f5e19.js","static/chunks/9494-04a0483ed0ddad7c.js","static/chunks/4132-76ca1bcf79bf1d77.js","static/css/eb46b504bb5d980d.css","static/chunks/5487-483a111405f678e0.js","static/chunks/8702-d1c8296f9f6afc10.js","static/chunks/3513-656df06b45fedba3.js","static/css/972dc7eef106ee7c.css","static/chunks/8032-4b8bda7166eff954.js","static/css/92fc10cc7ed1aba3.css","static/chunks/796-1d77aa88b776ee4e.js","static/chunks/6853-d9c6c55d8562bc9b.js","static/chunks/3670-2abd9b2f17770872.js","static/chunks/1817-ddfdd6ed9529bba6.js","static/chunks/6659-b2088f525bf13c17.js","static/chunks/6954-8ed05ffdbf2ec086.js","static/chunks/79-6c977013b6bedc23.js","static/chunks/3872-09df90521f7db611.js","static/chunks/3119-9be74ade1504a7e7.js","static/chunks/5404-a8a82985736363f4.js","static/chunks/5683-7144f557d701406c.js","static/chunks/1904-e33cb75edb93d3d3.js","static/chunks/5258-8a1f7feddee7a960.js","static/chunks/9767-a3ed98edff04e6ed.js","static/chunks/9187-851756440f79cd75.js","static/chunks/641-7e4eef3222cbda70.js","static/chunks/155-8ad794121fef6281.js","static/chunks/1100-d617215143d70d3d.js","static/chunks/2921-19664dd93e2bf1ea.js","static/chunks/8433-88fd946149dd1f27.js","static/chunks/4060-4e196835f56cc326.js","static/chunks/3505-f6d55694ca5c9816.js","static/chunks/4121-80ac9bcd08f9cd7a.js"),self.__BUILD_MANIFEST_CB&&self.__BUILD_MANIFEST_CB();
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1099],{95372:function(e){e.exports=function(e,t,n,a){for(var i=e.length,r=n+(a?1:-1);a?r--:++r<i;)if(t(e[r],r,e))return r;return -1}},56632:function(e,t,n){var a=n(89278),i=n(80068),r=n(50098);e.exports=function(e){return function(t,n,o){var s=Object(t);if(!i(t)){var l=a(n,3);t=r(t),n=function(e){return l(s[e],e,s)}}var c=e(t,n,o);return c>-1?s[l?t[c]:c]:void 0}}},64925:function(e,t,n){var a=n(56632)(n(66259));e.exports=a},66259:function(e,t,n){var a=n(95372),i=n(89278),r=n(47991),o=Math.max;e.exports=function(e,t,n){var s=null==e?0:e.length;if(!s)return -1;var l=null==n?0:r(n);return l<0&&(l=o(s+l,0)),a(e,i(t,3),l)}},94919:function(e,t,n){var a=n(91936),i=1/0;e.exports=function(e){return e?(e=a(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,n){var a=n(94919);e.exports=function(e){var t=a(e),n=t%1;return t==t?n?t-n:t:0}},12627:function(e,t,n){"use strict";var a=n(24246),i=n(79283),r=n(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:n=!1,...o}=e,{getDataCategoryDisplayNameProps:s,getDataCategories:l}=(0,r.Z)(),c=(n?l():l().filter(e=>e.active)).filter(e=>!t.includes(e.fides_key)).map(e=>{let{name:t,primaryName:n}=s(e.fides_key);return{value:e.fides_key,name:t,primaryName:n,description:e.description||""}});return(0,a.jsx)(i.l,{options:c,...o})}},79283:function(e,t,n){"use strict";n.d(t,{l:function(){return l}});var a=n(24246),i=n(62051),r=n(72707),o=n.n(r);let s=e=>{let{data:t}=e;return(0,a.jsxs)(i.jqI,{gap:12,title:"".concat(t.primaryName||"").concat(t.primaryName?": ":"").concat(t.name," - ").concat(t.description),children:[(0,a.jsxs)("div",{children:[(0,a.jsx)("strong",{children:t.primaryName||t.name}),t.primaryName&&": ".concat(t.name)]}),(0,a.jsx)("em",{children:t.description})]})},l=e=>{let{options:t,...n}=e,r=null==t?void 0:t.map(e=>({...e,className:o().option}));return(0,a.jsx)(i.WPr,{options:r,autoFocus:!0,variant:"borderless",optionRender:s,dropdownStyle:{minWidth:"500px"},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,t,n){"use strict";var a=n(24246),i=n(64925),r=n.n(i),o=n(27378),s=n(16134),l=n(30002),c=n(28079),d=n(57072);let u=()=>{let{isLoading:e}=(0,c.fd)(),t=(0,s.C)(c.U3),{isLoading:n}=(0,d.MO)(),a=(0,s.C)(d.qb),{isLoading:i}=(0,l.te)();return{dataUses:t,dataSubjects:(0,s.C)(l.ZL),dataCategories:a,isLoading:e||n||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:n,isLoading:i}=u(),s=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},l=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,a=t(e);if(!a)return{};let i=t(s(e,n)),r=!!a.parent_key;return{name:a.name||void 0,primaryName:r&&(null==i?void 0:i.name)!==a.name&&(null==i?void 0:i.name)||void 0}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:r}=l(e,t,n);return i?r?(0,a.jsxs)(o.Fragment,{children:[(0,a.jsxs)("strong",{children:[r,":"]})," ",i]},e):(0,a.jsx)("strong",{children:i},e):e},d=t=>r()(e,{fides_key:t}),f=e=>r()(t,{fides_key:e}),g=e=>r()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:d,getDataUseDisplayName:e=>c(e,d,1),getDataUseDisplayNameProps:e=>l(e,d,1),getDataCategories:()=>t,getDataCategoryByKey:f,getDataCategoryDisplayName:e=>c(e,f,2),getDataCategoryDisplayNameProps:e=>l(e,f,2),getDataSubjects:()=>n,getDataSubjectByKey:g,getDataSubjectDisplayName:e=>{let t=g(e);return t?t.name:e},getPrimaryKey:s,isLoading:i}}},61099:function(e,t,n){"use strict";var a=n(24246),i=n(62051),r=n(27378),o=n(12627),s=n(34929),l=n(26183),c=n(70675);t.Z=e=>{var t,n,d;let{resource:u}=e,[f,g]=(0,r.useState)(!1),{getDataCategoryDisplayName:p}=(0,s.Z)(),[m]=(0,c.NA)(),v=(null===(t=u.classifications)||void 0===t?void 0:t.length)?u.classifications[0].label:null,x=null!==(d=u.user_assigned_data_categories)&&void 0!==d?d:[],h=!v&&!(null==x?void 0:x.length),_=null===(n=u.sub_field_urns)||void 0===n?void 0:n.length,j=e=>{m({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:[...x,e]})},y=e=>{var t;m({staged_resource_urn:u.urn,monitor_config_id:u.monitor_config_id,user_assigned_data_categories:null!==(t=null==x?void 0:x.filter(t=>t!==e))&&void 0!==t?t:[]})},b=!f&&!!x.length,N=!f&&!!v&&!x.length;return(0,a.jsxs)(l.Z,{"data-testid":"edit-category-cell",children:[h&&(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)(i.j8w,{"data-testid":"no-classifications",color:"white",children:"None"}),!_&&(0,a.jsx)(i.j8w,{onClick:()=>g(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),b&&(0,a.jsxs)(a.Fragment,{children:[x.map(e=>(0,a.jsx)(i.j8w,{"data-testid":"user-classification-".concat(e),color:"white",closable:!0,onClose:()=>y(e),closeButtonLabel:"Remove category",children:p(e)},e)),(0,a.jsx)(i.j8w,{onClick:()=>g(!0),addable:!0,"data-testid":"taxonomy-add-btn","aria-label":"Add category"})]}),N&&(0,a.jsxs)(i.j8w,{onClick:()=>g(!0),color:"white","data-testid":"classification-".concat(v),hasSparkle:!0,children:[p(v),(0,a.jsx)(i.PJP.I8b,{size:10})]}),f&&(0,a.jsx)(i.xuv,{className:"select-wrapper",position:"absolute",zIndex:10,top:"0",left:"0",width:"100%",height:"max",bgColor:"#fff",children:(0,a.jsx)(o.Z,{selectedTaxonomies:x,onChange:e=>{g(!1),j(e)},onBlur:()=>g(!1),open:!0})})]})}},26183:function(e,t,n){"use strict";var a=n(24246);n(27378),t.Z=e=>{let{children:t,className:n,...i}=e;return(0,a.jsx)("div",{className:"relative flex w-full flex-wrap items-center gap-2 overflow-x-auto py-2 ".concat(n||""),...i,children:t})}},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1100],{58754:function(e,t,n){var r=n(24246),i=n(62051),s=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:a=!0,children:l,rightContent:o,style:u,...c}=e;return(0,r.jsxs)("div",{...c,style:a?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...u}:{paddingBottom:"24px",...u},children:[(0,r.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(i.lQT,{className:n||l?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,o&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:o})]}),!!n&&(0,r.jsx)(s.m,{className:l?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),l]})}},10342:function(e,t,n){var r=n(24246),i=n(62051),s=n(46238);t.Z=e=>{let{title:t,tooltip:n,children:a,...l}=e;return(0,r.jsxs)(i.xuv,{borderRadius:"md",border:"1px solid",borderColor:"gray.200",...l,children:[(0,r.jsxs)(i.X6q,{as:"h3",fontSize:"sm",fontWeight:"semibold",color:"gray.700",py:4,px:6,backgroundColor:"gray.50",borderRadius:"md",textAlign:"left",children:[t,n?(0,r.jsx)(i.xvT,{as:"span",mx:1,children:(0,r.jsx)(s.b,{label:n})}):void 0]}),(0,r.jsx)(i.Kqy,{p:6,spacing:6,children:a})]})}},70788:function(e,t,n){n.d(t,{m:function(){return u}});var r=n(24246),i=n(62051),s=n(79894),a=n.n(s),l=n(27378);let{Text:o}=i.AntTypography,u=e=>{let{items:t,...n}=e,s=(0,l.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let s=n===t.length-1,l={...e},u=l.onClick&&!l.href;return("string"==typeof l.title&&(l.title=(0,r.jsx)(o,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:l.title})),u)?l.title=(0,r.jsx)(i.wpx,{type:"text",size:"small",icon:l.icon,onClick:l.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:l.title}):(l.icon&&(l.title=(0,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:l.icon}),l.title]})),l.href&&l.title&&(l.title=(0,r.jsx)(a(),{href:l.href,className:"ant-breadcrumb-link",children:l.title}),delete l.href)),l}),[t]);return(0,r.jsx)(i.zrq,{items:s,...n})}},67810:function(e,t,n){n.d(t,{Z:function(){return s}}),(r=i||(i={})).PRIVACY_REQUEST_REVIEW_APPROVE="privacy_request_review_approve",r.PRIVACY_REQUEST_REVIEW_DENY="privacy_request_review_deny",r.PRIVACY_REQUEST_RECEIPT="privacy_request_receipt",r.PRIVACY_REQUEST_COMPLETE_ACCESS="privacy_request_complete_access",r.PRIVACY_REQUEST_COMPLETE_DELETION="privacy_request_complete_deletion",r.SUBJECT_IDENTITY_VERIFICATION="subject_identity_verification";var r,i,s={[i.PRIVACY_REQUEST_COMPLETE_ACCESS]:"Access request completed",[i.PRIVACY_REQUEST_COMPLETE_DELETION]:"Erasure request completed",[i.PRIVACY_REQUEST_RECEIPT]:"Privacy request received",[i.PRIVACY_REQUEST_REVIEW_APPROVE]:"Privacy request approved",[i.PRIVACY_REQUEST_REVIEW_DENY]:"Privacy request denied",[i.SUBJECT_IDENTITY_VERIFICATION]:"Subject identity verification"}},20149:function(e,t,n){var r=n(24246),i=n(77830),s=n(62051),a=n(34090),l=n(86677),o=n(16134),u=n(10342),c=n(40324),d=n(51472),p=n(67810),m=n(64826);let g=()=>{var e;let t=(0,o.C)(m.Zp),n=(0,o.C)(m.G1);(0,m.gz)({page:t,size:n});let i=(0,o.C)(m.YO),{values:s,setFieldValue:l}=(0,a.u6)();return(0,r.jsx)(d.Z,{label:"Associated properties",addButtonLabel:"Add property",idField:"id",nameField:"name",allItems:i.map(e=>({id:e.id,name:e.name})),values:null!==(e=s.properties)&&void 0!==e?e:[],setValues:e=>l("properties",e),draggable:!0,maxHeight:100,baseTestId:"property"})};t.Z=e=>{let{template:t,handleSubmit:n,handleDelete:o}=e,d=(0,l.useRouter)(),m=()=>{d.push(i.q)},f={type:t.type,content:t.content,properties:t.properties||[],is_enabled:t.is_enabled,id:t.id||""};return(0,r.jsx)(a.J9,{enableReinitialize:!0,initialValues:f,onSubmit:n,children:e=>{let{dirty:t,isValid:n,isSubmitting:i}=e;return(0,r.jsxs)(a.l0,{style:{paddingTop:"12px",paddingBottom:"12px"},children:[(0,r.jsx)(s.xuv,{py:3,children:(0,r.jsxs)(u.Z,{title:"".concat(p.Z[f.type]),children:[(0,r.jsx)(c.j0,{isRequired:!0,label:"Email subject",name:"content.subject",variant:"stacked"}),(0,r.jsx)(c.Ks,{isRequired:!0,label:"Message body",name:"content.body",value:"test",variant:"stacked",resize:!0}),(0,r.jsx)(s.xuv,{py:3,children:(0,r.jsx)(g,{})}),(0,r.jsx)(c.w8,{name:"is_enabled",label:"Enable message",variant:"switchFirst"})]})}),(0,r.jsxs)(s.kCb,{justifyContent:"space-between",width:"100%",paddingTop:2,children:[f.id&&o&&(0,r.jsx)(s.wpx,{"data-testid":"delete-template-button",loading:!1,className:"mr-3",onClick:o,children:"Delete"}),(0,r.jsxs)(s.kCb,{justifyContent:"right",width:"100%",paddingTop:2,children:[(0,r.jsx)(s.wpx,{loading:!1,className:"mr-3",onClick:m,children:"Cancel"}),(0,r.jsx)(s.wpx,{htmlType:"submit",type:"primary",disabled:i||!t||!n,loading:i,"data-testid":"submit-btn",children:"Save"})]})]})]})}})}},5058:function(e,t,n){n.d(t,{Vw:function(){return s},ms:function(){return r},pS:function(){return i},vm:function(){return a}});let{useGetSummaryMessagingTemplatesQuery:r,usePutMessagingTemplateByIdMutation:i,useCreateMessagingTemplateByTypeMutation:s,usePatchMessagingTemplateByIdMutation:a}=n(78780).u.injectEndpoints({endpoints:e=>({getSummaryMessagingTemplates:e.query({query:e=>({method:"GET",url:"plus/messaging/templates/summary",params:e}),providesTags:()=>["Property-Specific Messaging Templates"]}),putMessagingTemplateById:e.mutation({query:e=>{let{templateId:t,template:n}=e;return{url:"plus/messaging/templates/".concat(t),method:"PUT",body:n}},invalidatesTags:()=>["Property-Specific Messaging Templates"]}),patchMessagingTemplateById:e.mutation({query:e=>{let{templateId:t,template:n}=e;return{url:"plus/messaging/templates/".concat(t),method:"PATCH",body:n}},invalidatesTags:()=>["Property-Specific Messaging Templates"]}),createMessagingTemplateByType:e.mutation({query:e=>{let{templateType:t,template:n}=e;return{url:"plus/messaging/templates/".concat(t),method:"POST",body:n}},invalidatesTags:()=>["Property-Specific Messaging Templates"]})})})},47466:function(e,t,n){n.d(t,{KC:function(){return a},ew:function(){return l},gQ:function(){return s},jM:function(){return r},lE:function(){return i}});let{useGetMessagingTemplatesQuery:r,useUpdateMessagingTemplatesMutation:i,useGetMessagingTemplateByIdQuery:s,useGetMessagingTemplateDefaultQuery:a,useDeleteMessagingTemplateByIdMutation:l}=n(78780).u.injectEndpoints({endpoints:e=>({getMessagingTemplates:e.query({query:()=>({url:"messaging/templates"}),providesTags:()=>["Messaging Templates"]}),updateMessagingTemplates:e.mutation({query:e=>({url:"messaging/templates",method:"PUT",body:e}),invalidatesTags:()=>["Messaging Templates"]}),getMessagingTemplateById:e.query({query:e=>({url:"/messaging/templates/".concat(e)}),providesTags:()=>["Property-Specific Messaging Templates"]}),getMessagingTemplateDefault:e.query({query:e=>({url:"/messaging/templates/default/".concat(e)})}),deleteMessagingTemplateById:e.mutation({query:e=>({url:"/messaging/templates/".concat(e),method:"DELETE"}),invalidatesTags:()=>["Property-Specific Messaging Templates"]})})})},31883:function(e,t,n){n.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=n(19043)},11055:function(e,t,n){n.d(t,{M:function(){return d}});var r=n(24246),i=n(29427),s=n(27378),a=n(40976),l=n(18397),o=n(42308),u=n(25431),c=n(39556);let d=(0,s.forwardRef)(function({children:e,as:t="ul",axis:n="y",onReorder:d,values:g,...f},y){let h=(0,o.h)(()=>l.E[t]),x=[],E=(0,s.useRef)(!1);return(0,i.k)(!!g,"Reorder.Group must be provided a values prop"),(0,s.useEffect)(()=>{E.current=!1}),(0,r.jsx)(h,{...f,ref:y,ignoreStrict:!0,children:(0,r.jsx)(a.Y.Provider,{value:{axis:n,registerItem:(e,t)=>{let r=x.findIndex(t=>e===t.value);-1!==r?x[r].layout=t[n]:x.push({value:e,layout:t[n]}),x.sort(m)},updateOrder:(e,t,n)=>{if(E.current)return;let r=function(e,t,n,r){if(!r)return e;let i=e.findIndex(e=>e.value===t);if(-1===i)return e;let s=r>0?1:-1,a=e[i+s];if(!a)return e;let l=e[i],o=a.layout,d=(0,c.t)(o.min,o.max,.5);return 1===s&&l.layout.max+n>d||-1===s&&l.layout.min+n<d?(0,u.uo)(e,i,i+s):e}(x,e,t,n);x!==r&&(E.current=!0,d(r.map(p).filter(e=>-1!==g.indexOf(e))))}},children:e})})});function p(e){return e.value}function m(e,t){return e.layout.min-t.layout.min}},7078:function(e,t,n){n.d(t,{e:function(){return T}});var r=n(24246),i=n(29427),s=n(27378),a=n(40976),l=n(18397),o=n(42308),u=n(69222),c=n(67412);function d(e){let t=(0,o.h)(()=>(0,u.BX)(e)),{isStatic:n}=(0,s.useContext)(c._);if(n){let[,n]=(0,s.useState)(e);(0,s.useEffect)(()=>t.on("change",n),[])}return t}var p=n(13998);let m=e=>e&&"object"==typeof e&&e.mix,g=e=>m(e)?e.mix:void 0;var f=n(64306),y=n(95984);function h(e,t){let n=d(t()),r=()=>n.set(t());return r(),(0,f.L)(()=>{let t=()=>y.Wi.preRender(r,!1,!0),n=e.map(e=>e.on("change",t));return()=>{n.forEach(e=>e()),(0,y.Pn)(r)}}),n}function x(e,t){let n=(0,o.h)(()=>[]);return h(e,()=>{n.length=0;let r=e.length;for(let t=0;t<r;t++)n[t]=e[t].get();return t(n)})}var E=n(3522);function v(e,t=0){return(0,E.i)(e)?e:d(t)}let T=(0,s.forwardRef)(function({children:e,style:t={},value:n,as:c="li",onDrag:d,layout:m=!0,...f},y){let E=(0,o.h)(()=>l.E[c]),T=(0,s.useContext)(a.Y),b={x:v(t.x),y:v(t.y)},_=function(e,t,n,r){if("function"==typeof e)return function(e){u.S1.current=[],e();let t=h(u.S1.current,e);return u.S1.current=void 0,t}(e);let i="function"==typeof t?t:function(...e){let t=!Array.isArray(e[0]),n=t?0:-1,r=e[0+n],i=e[1+n],s=e[2+n],a=e[3+n],l=(0,p.s)(i,s,{mixer:g(s[0]),...a});return t?l(r):l}(t,void 0,void 0);return Array.isArray(e)?x(e,i):x([e],([e])=>i(e))}([b.x,b.y],([e,t])=>e||t?1:"unset");(0,i.k)(!!T,"Reorder.Item must be a child of Reorder.Group");let{axis:C,registerItem:j,updateOrder:R}=T;return(0,r.jsx)(E,{drag:C,...f,dragSnapToOrigin:!0,style:{...t,x:b.x,y:b.y,zIndex:_},layout:m,onDrag:(e,t)=>{let{velocity:r}=t;r[C]&&R(n,b[C].get(),r[C]),d&&d(e,t)},onLayoutMeasure:e=>j(n,e),ref:y,ignoreStrict:!0,children:e})})},40976:function(e,t,n){n.d(t,{Y:function(){return r}});let r=(0,n(27378).createContext)(null)},47397:function(e,t,n){n.d(t,{o:function(){return a}});var r=n(42308);class i{constructor(){this.componentControls=new Set}subscribe(e){return this.componentControls.add(e),()=>this.componentControls.delete(e)}start(e,t){this.componentControls.forEach(n=>{n.start(e.nativeEvent||e,t)})}}let s=()=>new i;function a(){return(0,r.h)(s)}},76649:function(e,t,n){n.d(t,{Ln:function(){return r}});let r=(e,t)=>s(e,t),i=Symbol("SOME"),s=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?i in e?e.some(e=>s(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>s(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,n])=>s(n,t[e]));class a{static narrow(e){return new a(t=>r(e,t))}constructor(e){this.NF=void 0,this.NF=e}satisfied(e){return this.NF(e)}build(e){return e}and(e){let t=this.NF,n=e instanceof a?e.NF:e instanceof Function?e:t=>r(e,t);return new a(e=>t(e)&&n(e))}}new a(e=>!0)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[155],{18225:function(e,t,s){var a=s(24246),i=s(62051);t.Z=e=>{let{alignment:t="center",...s}=e;return(0,a.jsx)(i.kCb,{boxSize:"full",align:"center",justify:t,children:(0,a.jsx)(i.$jN,{color:"primary",...s})})}},58754:function(e,t,s){var a=s(24246),i=s(62051),n=s(70788);t.Z=e=>{let{heading:t,breadcrumbItems:s,isSticky:r=!0,children:o,rightContent:c,style:d,...l}=e;return(0,a.jsxs)("div",{...l,style:r?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...d}:{paddingBottom:"24px",...d},children:[(0,a.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,a.jsx)(i.lQT,{className:s||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,c&&(0,a.jsx)("div",{"data-testid":"page-header-right-content",children:c})]}),!!s&&(0,a.jsx)(n.m,{className:o?"pb-4":void 0,items:s,"data-testid":"page-breadcrumb"}),o]})}},79789:function(e,t,s){s.d(t,{Hn:function(){return o},XU:function(){return r},Z5:function(){return c},aG:function(){return h},cB:function(){return n},hX:function(){return l},vQ:function(){return d}});var a=s(24246),i=s(62051);let n=e=>{let{text:t,...s}=e;return(0,a.jsx)(i.X6q,{fontSize:"sm",mt:4,mb:1,...s,children:t})},r=e=>{let{children:t}=e;return(0,a.jsx)(i.xvT,{fontSize:"14px",mb:4,children:t})},o=e=>{let{children:t,href:s}=e;return(0,a.jsx)(i.rUS,{href:s,textDecoration:"underline",isExternal:!0,children:t})},c=e=>{let{children:t}=e;return(0,a.jsx)(i.QI$,{fontSize:"14px",mb:4,children:t})},d=e=>{let{children:t}=e;return(0,a.jsx)(i.GSI,{fontSize:"14px",mb:4,ml:6,children:t})},l=e=>{let{children:t}=e;return(0,a.jsx)(i.EKh,{display:"block",whiteSpace:"pre",p:4,mb:4,overflowX:"scroll",children:t})},h=e=>{let{data:t}=e;return(0,a.jsxs)(i.iA_,{fontSize:"14px",children:[(0,a.jsx)(i.hrZ,{children:(0,a.jsxs)(i.Tr,{children:[(0,a.jsx)(i.Th,{children:"Permission"}),(0,a.jsx)(i.Th,{children:"Description"})]})}),(0,a.jsx)(i.p3B,{children:t.map(e=>(0,a.jsxs)(i.Tr,{children:[(0,a.jsx)(i.Td,{children:(0,a.jsx)(i.Vp9,{children:e.permission})}),(0,a.jsx)(i.Td,{children:e.description})]},e.permission))})]})}},12627:function(e,t,s){var a=s(24246),i=s(79283),n=s(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:s=!1,...r}=e,{getDataCategoryDisplayNameProps:o,getDataCategories:c}=(0,n.Z)(),d=(s?c():c().filter(e=>e.active)).filter(e=>!t.includes(e.fides_key)).map(e=>{let{name:t,primaryName:s}=o(e.fides_key);return{value:e.fides_key,name:t,primaryName:s,description:e.description||""}});return(0,a.jsx)(i.l,{options:d,...r})}},97181:function(e,t,s){s.d(t,{d:function(){return d}});var a=s(24246),i=s(62051),n=s(34090),r=s(27378),o=s(46238),c=s(40324);let d=e=>{let{name:t,label:s,labelProps:d,tooltip:l,isRequired:h,layout:u="inline",helperText:x,...m}=e,[j,p,{setValue:g}]=(0,n.U$)(t),y=!!(p.touched&&p.error),[v,f]=(0,r.useState)("");j.value||"tags"!==m.mode&&"multiple"!==m.mode||(j.value=[]),"tags"===m.mode&&"string"==typeof j.value&&(j.value=[j.value]);let C="tags"===m.mode?(e,t)=>e?e.value!==v||j.value.includes(v)?m.optionRender?m.optionRender(e,t):e.label:'Create "'.concat(v,'"'):void 0:m.optionRender||void 0,S=e=>{f(e),m.onSearch&&m.onSearch(e)},A=(e,t)=>{g(e),m.onChange&&m.onChange(e,t)};return"inline"===u?(0,a.jsx)(i.NIc,{isInvalid:y,isRequired:h,children:(0,a.jsxs)(i.rjZ,{templateColumns:s?"1fr 3fr":"1fr",children:[s?(0,a.jsx)(c.__,{htmlFor:m.id||t,...d,children:s}):null,(0,a.jsxs)(i.jqI,{align:"center",children:[(0,a.jsxs)(i.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,a.jsx)(i.WPr,{...j,id:m.id||t,"data-testid":"controlled-select-".concat(j.name),...m,optionRender:C,onSearch:"tags"===m.mode?S:void 0,onChange:A,value:j.value||void 0,status:y?"error":void 0}),x&&(0,a.jsx)(i.Q6r,{children:x}),(0,a.jsx)(c.Bc,{isInvalid:y,message:p.error,fieldName:j.name})]}),(0,a.jsx)(o.b,{label:l,className:y?"mt-2 self-start":void 0})]})]})}):(0,a.jsx)(i.NIc,{isInvalid:y,isRequired:h,children:(0,a.jsxs)(i.gCW,{alignItems:"start",children:[(0,a.jsxs)(i.jqI,{align:"center",children:[s?(0,a.jsx)(c.__,{htmlFor:m.id||t,fontSize:"xs",my:0,mr:1,...d,children:s}):null,(0,a.jsx)(o.b,{label:l})]}),(0,a.jsx)(i.WPr,{...j,id:m.id||t,"data-testid":"controlled-select-".concat(j.name),...m,optionRender:C,onSearch:"tags"===m.mode?S:void 0,onChange:A,value:j.value||void 0,status:y?"error":void 0}),x&&(0,a.jsx)(i.Q6r,{style:{marginTop:0},children:x}),(0,a.jsx)(c.Bc,{isInvalid:y,message:p.error,fieldName:j.name})]})})}},14047:function(e,t,s){s.d(t,{H:function(){return n},V:function(){return a.V}});var a=s(84306),i=s(812);let n=()=>{let{errorAlert:e}=(0,a.V)();return{handleError:t=>{let s="An unexpected error occurred. Please try again.";(0,i.Ot)(t)?s=t.data.detail:(0,i.tB)(t)&&(s=t.data.detail[0].msg),e(s)}}}},84306:function(e,t,s){s.d(t,{V:function(){return n}});var a=s(24246),i=s(62051);let n=()=>{let e=(0,i.pmc)();return{errorAlert:(t,s,n)=>{let r={...n,position:(null==n?void 0:n.position)||"top",render:e=>{let{onClose:n}=e;return(0,a.jsxs)(i.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,a.jsx)(i.zMQ,{}),(0,a.jsxs)(i.xuv,{children:[s&&(0,a.jsx)(i.CdC,{children:s}),(0,a.jsx)(i.XaZ,{children:t})]}),(0,a.jsx)(i.PZ7,{onClick:n,position:"relative",right:0,size:"sm",top:-1})]})}};(null==n?void 0:n.id)&&e.isActive(n.id)?e.update(n.id,r):e(r)},successAlert:(t,s,n)=>{let r={...n,position:(null==n?void 0:n.position)||"top",render:e=>{let{onClose:n}=e;return(0,a.jsxs)(i.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,a.jsx)(i.zMQ,{}),(0,a.jsxs)(i.xuv,{children:[s&&(0,a.jsx)(i.CdC,{children:s}),(0,a.jsx)(i.XaZ,{children:t})]}),(0,a.jsx)(i.PZ7,{onClick:n,position:"relative",right:0,size:"sm",top:-1})]})}};(null==n?void 0:n.id)&&e.isActive(n.id)?e.update(n.id,r):e(r)}}}},8133:function(e,t,s){var a=s(24246),i=s(62051);t.Z=e=>{let{title:t,children:s,isOpen:n,onClose:r,...o}=e;return(0,a.jsxs)(i.u_l,{isOpen:n,onClose:r,isCentered:!0,scrollBehavior:"inside",size:"xl",id:"add-modal",...o,children:[(0,a.jsx)(i.ZAr,{}),(0,a.jsxs)(i.hzk,{textAlign:"left",p:0,"data-testid":"add-modal-content",children:[(0,a.jsx)(i.xBx,{p:0,children:(0,a.jsx)(i.xuv,{backgroundColor:"gray.50",px:6,py:4,border:"1px",borderColor:"gray.200",borderTopRadius:6,display:"flex",justifyContent:"space-between",alignItems:"center",children:(0,a.jsx)(i.X6q,{as:"h3",size:"sm",children:t})})}),(0,a.jsx)(i.fef,{pb:4,overflow:"auto",children:s})]})]})}},90980:function(e,t,s){s.d(t,{R:function(){return c}});var a=s(24246),i=s(62051),n=s(79894),r=s.n(n),o=s(63662);let c=e=>{let{onClick:t,...s}=e;return(0,a.jsxs)(i.kCb,{alignItems:"center",mt:-4,mb:3,onClick:t,cursor:"pointer",...s,children:[(0,a.jsx)(i.wpx,{"aria-label":"Back",icon:(0,a.jsx)(i.Rpv,{}),className:"mr-2",size:"small"}),(0,a.jsx)(i.xvT,{as:"a",fontSize:"sm",fontWeight:"500",children:"Back"})]})};t.Z=e=>{let{backPath:t,...s}=e,n=(0,o.useRouter)();return(0,a.jsxs)(i.kCb,{alignItems:"center",mb:6,...s,children:[(0,a.jsx)(i.wpx,{onClick:()=>n.push(t),"aria-label":"Back",icon:(0,a.jsx)(i.Rpv,{}),className:"mr-2",size:"small"}),(0,a.jsx)(i.xvT,{as:r(),href:t,fontSize:"sm",fontWeight:"500",children:"Back"})]})}},70788:function(e,t,s){s.d(t,{m:function(){return d}});var a=s(24246),i=s(62051),n=s(79894),r=s.n(n),o=s(27378);let{Text:c}=i.AntTypography,d=e=>{let{items:t,...s}=e,n=(0,o.useMemo)(()=>null==t?void 0:t.map((e,s)=>{let n=s===t.length-1,o={...e},d=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,a.jsx)(c,{style:{color:"inherit",maxWidth:n?void 0:400},ellipsis:!n,children:o.title})),d)?o.title=(0,a.jsx)(i.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,a.jsxs)(a.Fragment,{children:[(0,a.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,a.jsx)(r(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,a.jsx)(i.zrq,{items:n,...s})}},15872:function(e,t,s){var a=s(24246),i=s(62051),n=s(86677);s(27378);var r=s(77830),o=s(14207);t.Z=e=>{let{connection_key:t,showMenu:s}=e,{isOpen:c,onOpen:d,onClose:l}=(0,i.qY0)(),[h,u]=(0,o.R5)(),x=(0,n.useRouter)(),m=()=>{u.isLoading||l()};return(0,a.jsxs)(a.Fragment,{children:[s&&(0,a.jsx)(i.sNh,{_focus:{color:"complimentary.500",bg:"gray.100"},onClick:d,children:(0,a.jsx)(i.xvT,{fontSize:"sm",children:"Delete"})}),!s&&(0,a.jsx)(i.wpx,{onClick:d,children:"Delete integration"}),(0,a.jsxs)(i.u_l,{isCentered:!0,isOpen:c,onClose:m,children:[(0,a.jsx)(i.ZAr,{}),(0,a.jsxs)(i.hzk,{children:[(0,a.jsx)(i.xBx,{children:"Delete integration"}),(0,a.jsx)(i.olH,{}),(0,a.jsx)(i.fef,{pb:6,children:(0,a.jsx)(i.Kqy,{direction:"column",spacing:"15px",children:(0,a.jsx)(i.xvT,{color:"gray.600",fontSize:"sm",fontWeight:"sm",lineHeight:"20px",children:"Deleting an integration may impact any privacy request that is currently in progress. Do you wish to proceed?"})})}),(0,a.jsxs)(i.mzw,{className:"flex gap-4",children:[(0,a.jsx)(i.wpx,{onClick:m,className:"w-1/2",children:"Cancel"}),(0,a.jsx)(i.wpx,{onClick:()=>{t&&(h(t),s||x.push(r.KH))},loading:u.isLoading,type:"primary",className:"w-1/2",children:"Delete integration"})]})]})]})]})}},33335:function(e,t,s){s.d(t,{E:function(){return a}});let a=e=>e.toLowerCase().replace(/[ .]/g,"_").replace(/[^a-zA-Z0-9_<>-]/g,"")},45216:function(e,t,s){var a=s(62051),i=s(812),n=s(16394),r=s(14207);t.Z=e=>{let[t,{data:s,fulfilledTimeStamp:o,isLoading:c,isFetching:d}]=(0,r.h2)(),l=(0,a.pmc)();return{testConnection:async()=>{var s,a,n,r;if(!e)return;let o=await t(e.key);if(o.isError)l({status:"error",description:(0,i.e$)(o.error,"Unable to test connection. Please try again.")});else if((null===(s=o.data)||void 0===s?void 0:s.test_status)==="succeeded")l({status:"success",description:"Connected successfully"});else if((null===(a=o.data)||void 0===a?void 0:a.test_status)==="failed"){let e="Connection test failed.";(null===(n=o.data)||void 0===n?void 0:n.failure_reason)&&(e+=" ".concat(null===(r=o.data)||void 0===r?void 0:r.failure_reason)),l({status:"warning",description:e})}},isLoading:c||d,testData:{timestamp:o?(0,n.p6)(o):null==e?void 0:e.last_test_timestamp,succeeded:s?"succeeded"===s.test_status:!!(null==e?void 0:e.last_test_succeeded),authorized:!!(null==e?void 0:e.authorized),connectionKey:null==e?void 0:e.key}}}},41553:function(e,t,s){var a=s(24246),i=s(62051),n=s(16394);t.Z=e=>{let{testData:t,connectionOption:s}=e;if((null==s?void 0:s.authorization_required)&&!t.authorized)return(0,a.jsx)(i.kCb,{align:"center","data-testid":"connection-status",children:(0,a.jsx)(i.xvT,{color:"error-text.900",children:"Authorization required"})});if(!t.timestamp)return(0,a.jsx)(i.xvT,{"data-testid":"connection-status",children:"Connection not tested"});let r=(0,n.p6)(t.timestamp);return t.succeeded?(0,a.jsxs)(i.kCb,{color:"success-text.900",align:"center","data-testid":"connection-status",children:[(0,a.jsx)(i.rE2,{mr:2,boxSize:4}),(0,a.jsxs)(i.xvT,{children:["Last connected ",r]})]}):(0,a.jsxs)(i.kCb,{color:"error-text.900",align:"center","data-testid":"connection-status",children:[(0,a.jsx)(i.iid,{mr:2,boxSize:4}),(0,a.jsxs)(i.xvT,{children:["Last connection failed ",r]})]})}},75595:function(e,t,s){var a=s(24246),i=s(62051),n=s(41337),r=s(15872),o=s(45216),c=s(52352),d=s(41553),l=s(93633),h=s(80388),u=s(64176);t.Z=e=>{var t;let{integration:s,showTestNotice:x,otherButtons:m,showDeleteButton:j,configureButtonLabel:p="Configure",onConfigureClick:g}=e,{testConnection:y,isLoading:v,testData:f}=(0,o.Z)(s),C=(0,c.ZP)(null==s?void 0:s.connection_type),S=null==s?void 0:null===(t=s.saas_config)||void 0===t?void 0:t.type,A=(0,u.Z)(null==s?void 0:s.connection_type,S&&Object.values(h.m).includes(S)?S:void 0),{handleAuthorize:b,needsAuthorization:D}=(0,l.z)({connection:s,connectionOption:A,testData:f});return(0,a.jsxs)(i.xuv,{borderWidth:1,borderRadius:"lg",overflow:"hidden",padding:"12px",marginBottom:"24px","data-testid":"integration-info-".concat(null==s?void 0:s.key),children:[(0,a.jsxs)(i.kCb,{children:[(0,a.jsx)(n.Z,{data:null!=s?s:"",boxSize:"50px"}),(0,a.jsxs)(i.kCb,{direction:"column",flexGrow:1,marginLeft:"16px",children:[(0,a.jsx)(i.xvT,{color:"gray.700",fontWeight:"semibold",children:(null==s?void 0:s.name)||"(No name)"}),x?(0,a.jsx)(d.Z,{testData:f,connectionOption:A}):(0,a.jsx)(i.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"semibold",mt:1,children:C.category})]}),(0,a.jsxs)("div",{className:"flex gap-4",children:[j&&s&&(0,a.jsx)(r.Z,{showMenu:!1,connection_key:s.key}),x&&D&&(0,a.jsx)(i.wpx,{onClick:b,"data-testid":"authorize-integration-btn",children:"Authorize integration"}),x&&!D&&(0,a.jsx)(i.wpx,{onClick:y,loading:v,"data-testid":"test-connection-btn",children:"Test connection"}),m,g&&(0,a.jsx)(i.wpx,{onClick:g,"data-testid":"configure-btn",children:p})]})]}),(0,a.jsx)(i.Eq9,{marginTop:"16px",children:C.tags.map(e=>(0,a.jsx)(i.j8w,{children:e},e))})]})}},29379:function(e,t,s){var a,i;s.d(t,{j:function(){return a}}),(i=a||(a={})).DATA_DISCOVERY="data_discovery",i.DATA_SYNC="data_sync",i.TASKS="tasks",i.WITHOUT_CONNECTION="without_connection"},40774:function(e,t,s){s.d(t,{Z:function(){return S}});var a,i,n=s(24246),r=s(62051),o=s(27378),c=s(60018),d=s(46381),l=s(12627),h=s(812),u=s(46238),x=s(90980),m=s(46628),j=s(11013),p=s(31883);let g={rules:[{regex:void 0,dataCategory:void 0}]};var y=e=>{var t,s,a;let{config:i,onBackClick:o}=e,[y]=r.PPS.useForm(),v=(0,r.pmc)(),[f,{isLoading:C}]=(0,j.$y)(),[S,{isLoading:A}]=(0,j.ww)(),b=e=>({name:e.name,description:e.description,classify_params:{context_regex_pattern_mapping:e.rules.map(e=>{let{regex:t,dataCategory:s}=e;return[t,s]})}}),D=(e,t)=>{(0,p.D4)(e)?v((0,m.Vo)((0,h.e$)(e.error,"A problem occurred"))):(v((0,m.t5)(t?"Monitor config created successfully":"Monitor config updated successfully")),o())},R=async e=>{let t=b(e);D(i?await S({...t,id:i.id}):await f(t),!i)},w=e=>{let{file:t}=e;if(!t)return;let s=new FileReader;s.onload=e=>{try{var t;let s=null===(t=e.target)||void 0===t?void 0:t.result,{data:a}=(0,d.parse)(s,{skipEmptyLines:!0,header:!1}),i=a.map(e=>{let[t,s]=e;return{regex:t,dataCategory:s}});y.setFieldValue("rules",i),v((0,m.t5)("CSV patterns imported successfully"))}catch(e){v((0,m.Vo)("Failed to parse CSV file"))}},s.readAsText(t)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(x.R,{onClick:o,className:"pt-3"}),(0,n.jsx)(c.ZT.Title,{level:2,children:i?"Edit ".concat(i.name):"Create new configuration"}),(0,n.jsx)(c.ZT.Paragraph,{className:"mt-2",children:'Match regular expressions to data categories to customize classification. Use the "shared monitor configuration" field when editing monitors to apply this configuration.'}),(0,n.jsxs)(r.PPS,{name:"monitor-template",layout:"vertical",form:y,onFinish:R,className:"mt-4",initialValues:i?{...i,rules:null!==(a=null==i?void 0:null===(s=i.classify_params)||void 0===s?void 0:null===(t=s.context_regex_pattern_mapping)||void 0===t?void 0:t.map(e=>{let[t,s]=e;return{regex:t,dataCategory:s}}))&&void 0!==a?a:[]}:g,validateTrigger:["onBlur","onChange"],children:[(0,n.jsx)(r.bue,{children:(0,n.jsxs)(r.JGx,{span:24,children:[(0,n.jsx)(r.PPS.Item,{label:"Configuration name",name:"name",rules:[{required:!0,message:"Config name is required"}],"data-testid":"form-item-name",children:(0,n.jsx)(r.uFc,{autoFocus:!0,"data-testid":"input-name"})}),(0,n.jsx)(r.PPS.Item,{label:"Description",name:"description","data-testid":"form-item-description",children:(0,n.jsx)(r.uFc.TextArea,{"data-testid":"input-description"})})]})}),(0,n.jsx)(r.PPS.List,{name:"rules",rules:[{validator:(e,t)=>0===t.length?Promise.reject(Error("Please input at least one pattern")):Promise.resolve()}],children:(e,t,s)=>{let{add:a,remove:d}=t,{errors:h}=s;return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:[(0,n.jsx)(c.ZT.Title,{level:3,className:"pb-5",children:"Regex patterns"}),!i&&(0,n.jsxs)(r.jqI,{gap:8,align:"center",children:[(0,n.jsx)(u.b,{label:"Upload a CSV to map regex patterns to data categories. Format: regex,data_category",placement:"left"}),(0,n.jsx)(r.pMK,{accept:".csv",showUploadList:!1,beforeUpload:()=>!1,onChange:w,children:(0,n.jsx)(r.wpx,{icon:(0,n.jsx)(r.PJP.gqx,{}),iconPosition:"end",size:"small","data-testid":"upload-csv-btn",children:"Upload CSV"})})]})]}),e.map((t,s)=>{let{key:i,name:o,...c}=t;return(0,n.jsxs)(r.bue,{align:"middle",children:[(0,n.jsx)(r.JGx,{span:11,children:(0,n.jsx)(r.PPS.Item,{label:"On match",...c,name:[o,"regex"],rules:[{required:!0,message:"Regex is required"}],"data-testid":"form-item-rules.".concat(o,".regex"),children:(0,n.jsx)(r.uFc,{placeholder:"Enter a regular expression","data-testid":"input-rules.".concat(o,".regex")})})}),(0,n.jsx)(r.JGx,{span:1,className:"flex justify-center pt-[5px]",children:"->"}),(0,n.jsx)(r.JGx,{span:11,className:"pr-2",children:(0,n.jsx)(r.PPS.Item,{label:"Assign",...c,name:[o,"dataCategory"],rules:[{required:!0,message:"Data category is required"}],"data-testid":"form-item-rules.".concat(o,".dataCategory"),children:(0,n.jsx)(l.Z,{selectedTaxonomies:[],variant:"outlined",placeholder:"Select a data category",autoFocus:!1,allowClear:!0,"data-testid":"input-rules.".concat(o,".dataCategory")})})}),(0,n.jsx)(r.JGx,{span:1,className:"mt-[7.25px]",children:s===e.length-1?(0,n.jsx)(r.wpx,{onClick:()=>a(),icon:(0,n.jsx)(r.PJP.mm_,{}),"aria-label":"Add new rule","data-testid":"add-rule-btn"}):(0,n.jsx)(r.wpx,{onClick:()=>d(o),icon:(0,n.jsx)(r.PJP.ZNm,{}),"aria-label":"Remove rule","data-testid":"remove-rule-".concat(o)})})]},i)}),(0,n.jsx)(r.PPS.ErrorList,{errors:h}),(0,n.jsx)(r.PPS.Item,{label:null,className:"mb-0",children:(0,n.jsxs)(r.jqI,{justify:"end",gap:8,children:[(0,n.jsx)(r.wpx,{onClick:o,children:"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary",htmlType:"submit",loading:C||A,"data-testid":"save-btn",children:"Save"})]})})]})}})]})]})},v=s(14481),f=e=>{let{onEditClick:t}=e,[s]=(0,j.m5)(),a=(0,r.pmc)(),i=async e=>{let t=await s({id:e});(0,p.D4)(t)?a((0,m.Vo)((0,h.e$)(t.error,"A problem occurred deleting this config"))):a((0,m.t5)("Monitor config deleted successfully"))};return[{title:"Name",dataIndex:"name",key:"name"},{title:"Description",dataIndex:"description",key:"description"},{title:"Actions",key:"actions",render:(e,s)=>(0,n.jsxs)(r.jqI,{className:"gap-2",children:[(0,n.jsx)(r.wpx,{size:"small",onClick:()=>t(s),icon:(0,n.jsx)(r.PJP.I8b,{}),"data-testid":"edit-btn"}),(0,n.jsx)(r.wpx,{size:"small",onClick:()=>i(s.id),icon:(0,n.jsx)(r.PJP.ZNm,{})})]})}]},C=e=>{let{onNewClick:t,onRowClick:s}=e,{onPreviousPageClick:a,isPreviousPageDisabled:i,onNextPageClick:o,isNextPageDisabled:d,pageSize:l,setPageSize:h,PAGE_SIZES:u,startRange:x,endRange:m,pageIndex:p}=(0,v.oi)(),{data:g,isLoading:y,isFetching:C}=(0,j.eV)({page:p,size:l}),S=f({onEditClick:s});return y||C?(0,n.jsx)(r.ZJQ,{size:"large",className:"flex h-full items-center justify-center"}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(c.ZT.Title,{level:2,children:"Shared monitor configurations"}),(0,n.jsx)(c.ZT.Paragraph,{className:"mt-4",children:"Shared monitor configurations can be applied to monitors to customize classification."}),(0,n.jsx)(r.jqI,{className:"absolute right-16 top-4",children:(0,n.jsx)(r.wpx,{type:"primary",onClick:t,"data-testid":"create-new-btn",children:"Create new"})}),(0,n.jsx)(r.V5H,{columns:S,dataSource:null==g?void 0:g.items,size:"small",pagination:!1,onRow:e=>({"data-testid":"config-".concat(e.id)}),locale:{emptyText:(0,n.jsx)(c.ZT.Paragraph,{className:"py-8",children:"No shared monitor configs found"})},className:"mt-6"}),(0,n.jsx)(r.jqI,{justify:"space-between",className:"mt-4",children:(0,n.jsx)(v.s8,{totalRows:(null==g?void 0:g.total)||0,pageSizes:u,setPageSize:h,onPreviousPageClick:a,isPreviousPageDisabled:i,onNextPageClick:o,isNextPageDisabled:d,startRange:x,endRange:m})})]})};(a=i||(i={})).MAIN_VIEW="main",a.FORM_VIEW="form";var S=()=>{let[e,t]=(0,o.useState)(!1),[s,a]=(0,o.useState)(void 0),[i,c]=(0,o.useState)("main"),d=()=>{c("main"),a(void 0)};return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.wpx,{className:"absolute right-10 top-6",type:"primary",icon:(0,n.jsx)(r.PJP.Zrf,{}),iconPosition:"end",onClick:()=>t(!0),"data-testid":"configurations-btn",children:"Shared monitor configurations"}),(0,n.jsxs)(r.$zI,{open:e,onCancel:()=>{d(),t(!1)},destroyOnClose:!0,centered:!0,width:768,footer:null,children:["form"===i&&(0,n.jsx)(y,{config:s,onBackClick:d}),"main"===i&&(0,n.jsx)(C,{onNewClick:()=>c("form"),onRowClick:e=>{a(e),c("form"),t(!0)}})]})]})}},15987:function(e,t,s){var a=s(24246),i=s(62051),n=s(34090),r=s(90104),o=s.n(r),c=s(92465),d=s.n(c),l=s(25389),h=s.n(l),u=s(15539),x=s.n(u),m=s(18225),j=s(97181),p=s(71248),g=s(40324),y=s(46782),v=s(812),f=s(20682),C=s(41966),S=s(94725),A=s(19812),b=s(33335),D=s(1315),R=s(46420),w=s(31883);t.Z=e=>{var t,s;let{connection:r,connectionOption:c,onCancel:l,description:u}=e,[E,{isLoading:T}]=(0,S.Pp)(),[_,{isLoading:H}]=(0,S.pH)(),[F,{isLoading:k}]=(0,D.qd)(),[I]=(0,S.pL)(),B=c.identifier!==R.Rj.MANUAL_WEBHOOK,{data:O,isLoading:L}=(0,f.n3)(c.identifier,{skip:!B}),{data:P}=(0,D.K3)(),M=null==P?void 0:P.map(e=>{var t;return{label:null!==(t=e.name)&&void 0!==t?t:e.fides_key,value:e.fides_key}}),{data:N}=(0,C.LH)({minimal:!0,connection_type:R.Rj.BIGQUERY}),U=null==N?void 0:N.map(e=>{var t;return{label:null!==(t=e.name)&&void 0!==t?t:e.fides_key,value:e.fides_key}}),{patchConnectionDatasetConfig:q,initialDatasets:z}=(0,A.t)({connectionConfig:r}),{getFieldValidation:Z,preprocessValues:Q}=(0,y.l)(O),G=T||H||k,X={name:null!==(t=null==r?void 0:r.name)&&void 0!==t?t:"",description:null!==(s=null==r?void 0:r.description)&&void 0!==s?s:"",...B&&{secrets:h()(null==O?void 0:O.properties,(e,t)=>{var s,a;return null!==(a=null==r?void 0:null===(s=r.secrets)||void 0===s?void 0:s[t])&&void 0!==a?a:""})},dataset:z},W=(0,i.pmc)(),Y=!!r,V=c.type===R.Zi.SAAS,K=e=>x()(h()(e,(e,t)=>{var s,a;return(null!==(a=null==r?void 0:null===(s=r.secrets)||void 0===s?void 0:s[t])&&void 0!==a?a:"")===e?void 0:e}),d()),J=async e=>{var t;let s;let a=B?K(e.secrets):{},i=Q(e),n=Y?{...r,disabled:null!==(t=r.disabled)&&void 0!==t&&t,name:e.name,description:e.description,secrets:void 0}:{name:e.name,key:(0,b.E)(e.name),connection_type:c.identifier,access:R.uv.READ,disabled:!1,description:e.description,secrets:i.secrets,dataset:e.dataset};if(s=e.system_fides_key?await F({systemFidesKey:e.system_fides_key,connectionConfigs:[n]}):V&&!Y?await I({...n,instance_key:(0,b.E)(e.name),saas_connector_type:c.identifier,secrets:e.secrets||{}}):await _(n),(0,w.D4)(s)){W({status:"error",description:(0,v.e$)(s.error,"A problem occurred while ".concat(Y?"updating":"creating"," this integration. Please try again."))});return}if(!B||!e.secrets){W({status:"success",description:"Integration ".concat(Y?"updated":"created"," successfully")}),l();return}if(!o()(a)){let e=await E({connection_key:n.key,secrets:a});if((0,w.D4)(e)){W({status:"error",description:(0,v.e$)(e.error,"An error occurred while ".concat(Y?"updating":"creating"," this integration's secret. Please try again."))});return}}W({status:"success",description:"Integration secret ".concat(Y?"updated":"created"," successfully")}),l(),n&&e.dataset&&c.identifier===R.Rj.DATAHUB&&await q(e,n.key,{showSuccessAlert:!1})};if(L)return(0,a.jsx)(m.Z,{});let $=e=>Object.entries(e.properties).map(t=>{let[s,i]=t,n="secrets.".concat(s);return(0,a.jsx)(p.A,{name:n,fieldSchema:i,isRequired:e.required.includes(s),secretsSchema:e,validate:Z(s,i)},n)});return(0,a.jsxs)(a.Fragment,{children:[u&&(0,a.jsx)(i.xuv,{padding:"20px 24px",backgroundColor:"gray.50",borderRadius:"md",border:"1px solid",borderColor:"gray.200",fontSize:"sm",marginTop:"16px",children:u}),(0,a.jsx)(n.J9,{initialValues:X,enableReinitialize:!0,onSubmit:J,children:e=>{let{dirty:t,isValid:s,resetForm:r}=e;return(0,a.jsx)(n.l0,{children:(0,a.jsxs)(i.gCW,{alignItems:"start",spacing:6,mt:4,children:[(0,a.jsx)(g.j0,{id:"name",name:"name",label:"Name",variant:"stacked",isRequired:!0}),(0,a.jsx)(g.j0,{id:"description",name:"description",label:"Description",variant:"stacked"}),B&&O&&$(O),!Y&&!V&&(0,a.jsx)(j.d,{id:"system_fides_key",name:"system_fides_key",options:null!=M?M:[],label:"System",tooltip:"The system to associate with the integration",layout:"stacked"}),c.identifier===R.Rj.DATAHUB&&(0,a.jsx)(j.d,{id:"dataset",name:"dataset",options:null!=U?U:[],label:"Datasets",tooltip:"Only BigQuery datasets are supported. Selected datasets will sync with matching DataHub datasets. If none are selected, all datasets will be included by default.",layout:"stacked",mode:"multiple"}),(0,a.jsxs)("div",{className:"flex w-full justify-between",children:[(0,a.jsx)(i.wpx,{onClick:()=>{l(),r()},children:"Cancel"}),(0,a.jsx)(i.wpx,{htmlType:"submit",type:"primary",disabled:!t||!s,loading:G,"data-testid":"save-btn",children:"Save"})]})]})})}})]})}},52352:function(e,t,s){s.d(t,{FO:function(){return N},jq:function(){return U},ZP:function(){return z}}),(a=i||(i={})).DATA_CATALOG="Data Catalog",a.DATA_WAREHOUSE="Data Warehouse",a.DATABASE="Database",a.IDENTITY_PROVIDER="Identity Provider",a.WEBSITE="Website",a.CRM="CRM",a.MANUAL="Manual";var a,i,n=s(24246),r=s(62051),o=s(79789),c=e=>{let{children:t}=e,{isOpen:s,onToggle:a}=(0,r.qY0)();return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(r.UO1,{in:s,children:t}),(0,n.jsx)(r.xvT,{fontSize:"sm",cursor:"pointer",textDecoration:"underline",onClick:a,children:s?"Show less":"Show more"})]})},d=s(29379),l=s(46420);let h={name:"Google BigQuery",key:"bq_placeholder",connection_type:l.Rj.BIGQUERY,access:l.uv.READ,created_at:""},u=[{permission:"bigquery.jobs.create",description:"Run jobs (e.g. queries) within the project. This is only needed for the Fides Project where the Fides service account is located."},{permission:"bigquery.jobs.list",description:"Manage the queries that the service account performs. This is only needed for the Fides Project where the Fides service account is located."},{permission:"bigquery.routines.get",description:"Allow the service account to retrieve custom routines (e.g. queries) on associated datasets and tables."},{permission:"bigquery.routines.list",description:"Allow the service account to manage the custom routines (e.g. queries) that run on associated datasets and tables."}],x=[{permission:"bigquery.datasets.get",description:"Retrieve metadata and list tables for the specified project."},{permission:"bigquery.tables.get",description:"Retrieve metadata for the specified table."},{permission:"bigquery.tables.getData",description:"Read data in the specified table."},{permission:"bigquery.tables.list",description:"List all tables in the specified dataset."},{permission:"resourcemanager.projects.get",description:"Retrieve metadata for the specified project."}],m={placeholder:h,category:i.DATA_WAREHOUSE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Continuously monitor BigQuery to detect and track schema-level changes, automatically discover and label data categories as well as automatically process DSR (privacy requests) and consent enforcement to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Data Warehouse"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Cloud provider"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"}),(0,n.jsx)(r.HCh,{children:"DSR automation"}),(0,n.jsx)(r.HCh,{children:"Consent orchestration"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detection and discovery, Fides requires a read-only BigQuery service account with limited permissions. If you intend to automate governance for DSR or Consent, Fides requires a read-and-write BigQuery service account to any project you would like Fides to govern."}),(0,n.jsx)(o.XU,{children:"A BigQuery administrator can create the necessary role for Fides using BigQuery's roles guide and assign this to a service account using BigQuery's service account guide."}),(0,n.jsx)(o.XU,{children:"The permissions allow Fides to read the schema of, and data stored in projects, datasets and tables as well write restricted updates based on your policy configurations to tables you specify as part of DSR and Consent orchestration."}),(0,n.jsx)(o.cB,{text:"Permissions list"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"bigquery.jobs.create"}),(0,n.jsx)(r.HCh,{children:"bigquery.jobs.list"}),(0,n.jsx)(r.HCh,{children:"bigquery.routines.get"}),(0,n.jsx)(r.HCh,{children:"bigquery.routines.list"}),(0,n.jsx)(r.HCh,{children:"bigquery.datasets.get"}),(0,n.jsx)(r.HCh,{children:"bigquery.tables.get"}),(0,n.jsx)(r.HCh,{children:"bigquery.tables.getData"}),(0,n.jsx)(r.HCh,{children:"bigquery.tables.list"}),(0,n.jsx)(r.HCh,{children:"bigquery.tables.updateData"}),(0,n.jsx)(r.HCh,{children:"resourcemanager.projects.get"})]})]})]}),{}),instructions:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Configuring a Fides -> BigQuery Integration"}),(0,n.jsx)(o.cB,{text:"Step 1: Create a Fides project"}),(0,n.jsxs)(o.XU,{children:["Create a Fides Project using"," ",(0,n.jsx)(o.Hn,{href:"https://cloud.google.com/resource-manager/docs/creating-managing-projects#creating_a_project",children:"BigQuery's project creation guide"}),"."]}),(0,n.jsx)(o.cB,{text:"Step 2: Create a Fides role in GCP"}),(0,n.jsxs)(o.vQ,{children:[(0,n.jsxs)(r.HCh,{children:["Create a custom role for Fides using BigQuery's"," ",(0,n.jsx)(o.Hn,{href:"https://cloud.google.com/iam/docs/creating-custom-roles#creating_a_custom_role",children:"roles guide"}),"."]}),(0,n.jsx)(r.HCh,{children:"Follow the sections below to grant permissions to this role for the Fides project and any project you would like Fides to manage."})]}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Step 3: Assign permissions to the Fides project"}),(0,n.jsx)(o.XU,{children:"Assign the following permissions to the Fides Project that will be used by your Fides service account to run queries:"}),(0,n.jsx)(o.aG,{data:u}),(0,n.jsx)(o.cB,{text:"Step 4: Assign permissions to any project you'd like Fides to monitor"}),(0,n.jsx)(o.XU,{children:"Grant the following permissions to the Fides service account in every project where you would like Fides detection and discovery monitoring."}),(0,n.jsx)(o.aG,{data:x}),(0,n.jsx)(o.cB,{text:"Step 5: Create a Fides service account in the Fides Project"}),(0,n.jsxs)(o.vQ,{children:[(0,n.jsxs)(r.HCh,{children:["Create a service account for Fides using BigQuery's"," ",(0,n.jsx)(o.Hn,{href:"https://cloud.google.com/iam/docs/service-accounts-create",children:"service account guide"}),"."]}),(0,n.jsx)(r.HCh,{children:"Assign the previously created role to this service account."}),(0,n.jsxs)(r.HCh,{children:["Download the service account JSON keyfile."," ",(0,n.jsx)("strong",{children:"Note: this is sensitive information that should not be shared."})," ","An example of this is below:"]})]}),(0,n.jsx)(o.hX,{children:'{\n "type": "service_account",\n "project_id": "project-id-123456",\n "private_key_id": "0123456789abcdef0123456789abcdef01234567",\n "private_key": "-----BEGIN PRIVATE KEY-----\\nMIIyourkey-----\\nEND PRIVATE KEY-----\\n",\n "client_email": "test@project-id-123456.iam.gserviceaccount.com",\n "client_id": "012345678901234567890",\n "auth_uri": "https://accounts.google.com/o/oauth2/auth",\n "token_uri": "https://oauth2.googleapis.com/token",\n "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs",\n "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/test%40project-id-123456.iam.gserviceaccount.com"\n}'}),(0,n.jsx)(o.cB,{text:"Step 6: Use the JSON key to authenticate your integration"}),(0,n.jsx)(o.XU,{children:"Provide the JSON key to your Fides instance to securely connect Fides."})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},j={name:"Datahub",key:"datahub_placeholder",connection_type:l.Rj.DATAHUB,access:l.uv.READ,created_at:""},p=(0,n.jsx)(n.Fragment,{children:"Set up a connection to your DataHub instance by providing a name, server URL, and access token. You can also select the BigQuery datasets you'd like to sync—these will be matched with corresponding datasets in DataHub. If no datasets are selected, all available BigQuery datasets will be included by default."}),g={placeholder:j,category:i.DATA_CATALOG,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"DataHub is a metadata platform designed to help organizations manage and govern their data. It acts as a centralized repository for tracking and discovering data assets across an organization, helping data teams understand where their data resides, how it's used, and how it flows through various systems."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsx)(o.Z5,{children:(0,n.jsx)(r.HCh,{children:"Data Catalog"})}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.Z5,{children:(0,n.jsx)(r.HCh,{children:"The related user to the access token must have at least the Editor role on DataHub."})})]})]}),{}),tags:["Sync"],description:p,enabledFeatures:[d.j.DATA_SYNC]},y={name:"DynamoDB",key:"dynamo_placeholder",connection_type:l.Rj.DYNAMODB,access:l.uv.READ,created_at:""},v=[{permission:"AmazonDynamoDBReadOnlyAccess",description:"Provides read-only access to Amazon DynamoDB via the AWS Management Console."},{permission:"AmazonDynamoDBFullAccess",description:"Provides full access to Amazon DynamoDB via the AWS Management Console. Only needed if automating governance for DSR or Consent."}],f={placeholder:y,category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Continuously monitor DynamoDB to detect and track schema-level changes, automatically discover and label data categories as well as automatically process DSR (privacy requests) and consent enforcement to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"NoSQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Cloud provider"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions and Policies"}),(0,n.jsxs)(o.XU,{children:["For detection and discovery, Fides requires an IAM user with read-only DynamoDB permissions in order to detect, discover, and classify sensitive data. The AWS-managed"," ",(0,n.jsx)(r.EKh,{children:"AmazonDynamoDBReadOnlyAccess"})," policy can be used to assign these permissions. If you intend to automate governance for DSR or Consent, Fides requires an IAM user with read-and-write DynamoDB permissions. The AWS-managed",(0,n.jsx)(r.EKh,{children:"AmazonDynamoDBFullAccess"})," policy can be used to assign these permissions. An IAM administrator can create the necessary principal for Fides using the AWS IAM guides, and assign the appropriate permissions policy to the IAM user."]}),(0,n.jsx)(o.XU,{children:"The permissions allow Fides to read the schema of, and data stored in, DynamoDB tables. This data is inspected only for the purpose of detecting sensitive data risks and no data is stored by Fides. As part of DSR or Consent orchestration, Fides will only write restricted updates to the tables specified by your Fides policy configuration."}),(0,n.jsx)(o.cB,{text:"Policy List"}),(0,n.jsx)(o.XU,{children:"The following AWS-managed policies provide the necessary permissions for Fides:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"AmazonDynamoDBReadOnlyAccess"}),(0,n.jsx)(r.HCh,{children:"AmazonDynamoDBFullAccess (only needed if automating governance for DSR or Consent)"})]})]})]}),{}),instructions:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Configuring a Fides -> DynamoDB Integration"}),(0,n.jsx)(o.cB,{text:"Step 1: Create an IAM user in AWS"}),(0,n.jsxs)(o.XU,{children:["Create an IAM user for Fides' DynamoDB access following the"," ",(0,n.jsx)(o.Hn,{href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started.html#getting-started-iam-user",children:"AWS IAM user guide"}),"."]}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Step 2: Assign policies to the IAM user"}),(0,n.jsx)(o.XU,{children:"Grant the necessary permissions to the IAM user by attaching directly the appropriate AWS-managed policy for your use case:"}),(0,n.jsx)(o.aG,{data:v}),(0,n.jsx)(o.cB,{text:"Step 3: Create an access key for the IAM user"}),(0,n.jsxs)(o.vQ,{children:[(0,n.jsxs)(r.HCh,{children:["Create an access key for the IAM user under"," ",(0,n.jsx)("strong",{children:"Security credentials"})]}),(0,n.jsx)(r.HCh,{children:"Select the Other use case"}),(0,n.jsx)(r.HCh,{children:"Copy the Access Key ID and Secret Access Key"})]}),(0,n.jsx)(o.cB,{text:"Use the Credentials to Authenticate Your Integration"}),(0,n.jsx)(o.XU,{children:"Provide the credentials to your Fides instance to securely connect Fides."})]})]}),{}),tags:["Database","DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},C={placeholder:{name:"Google Cloud SQL for MySQL",key:"google_cloud_sql_for_mysql_placeholder",connection_type:l.Rj.GOOGLE_CLOUD_SQL_MYSQL,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Google Cloud SQL for MySQL is a fully-managed relational database service that simplifies the setup, maintenance, management, and administration of MySQL databases. Connect Fides to your Google Cloud SQL for MySQL to detect and track changes in schemas and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"}),(0,n.jsx)(r.HCh,{children:"DSR automation"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detection and discovery, Fides requires a user with the SELECT permission on the database. If you intend to automate governance for DSR or Consent, Fides requires a user with the SELECT, UPDATE, and DELETE The permissions allow Fides to read the schema of, and data stored in tables, and fields as well as write restricted updates based on your policy configurations to tables you specify as part of DSR and Consent orchestration. For a complete list of permissions view the Google Cloud SQL for MySQL DB documentation."}),(0,n.jsx)(o.cB,{text:"Permissions list"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"GRANT SELECT"}),(0,n.jsx)(r.HCh,{children:"GRANT UPDATE"}),(0,n.jsx)(r.HCh,{children:"GRANT DELETE"})]})]})]}),{}),tags:["Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},S={placeholder:{name:"Google Cloud SQL for Postgres",key:"google_cloud_sql_for_postgres_placeholder",connection_type:l.Rj.GOOGLE_CLOUD_SQL_POSTGRES,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Google Cloud SQL for Postgres is a fully-managed relational database service that simplifies the setup, maintenance, management, and administration of Postgres databases. Connect Fides to your Google Cloud SQL for Postgres to detect and track changes in schemas and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"}),(0,n.jsx)(r.HCh,{children:"DSR automation"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detection and discovery, Fides requires a user with the SELECT permission on the database. If you intend to automate governance for DSR or Consent, Fides requires a user with the SELECT, UPDATE, and DELETE permission. The permissions allow Fides to read the schema of, and data stored in tables, and fields as well as write restricted updates based on your policy configurations to tables you specify as part of DSR and orchestration. For a complete list of permissions view the Google Cloud SQL for Postgres DB documentation."}),(0,n.jsx)(o.XU,{children:"The following GCP service account permissions are needed when setting up Google Cloud SQL for Postgres."}),(0,n.jsx)(o.cB,{text:"Permissions list"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"cloudsql.instances.connect"}),(0,n.jsx)(r.HCh,{children:"cloudsql.instances.get"}),(0,n.jsx)(r.HCh,{children:"cloudsql.instances.login"})]})]})]}),{}),tags:["Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},A={placeholder:{name:"Manual",key:"manual_placeholder",connection_type:l.Rj.MANUAL_WEBHOOK,access:l.uv.READ,created_at:""},category:i.MANUAL,tags:["DSR","Manual tasks"],overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"A Manual Integration provides a simple way for data to be manually uploaded for access and erasure requests."}),(0,n.jsxs)(o.XU,{children:["If you have manual integrations defined, privacy request execution will exit early and remain in a state of ",(0,n.jsx)("em",{children:"Requires input"}),". Once data has been manually uploaded for all the manual integrations, then the privacy request can be resumed. Data uploaded for manual integrations is passed on directly to the data subject alongside the data package."]})]}),{}),enabledFeatures:[d.j.TASKS,d.j.WITHOUT_CONNECTION]},b={placeholder:{name:"Microsoft SQL Server",key:"microsoft_sql_server_placeholder",connection_type:l.Rj.MSSQL,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Microsoft SQL Server, is a relational database management system (RDBMS) developed by Microsoft. It is designed to store, manage, and retrieve data as requested by other software applications, which may run either on the same computer or across a network."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detecting databases, Fides requires a user with the following permissions/role:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE LOGIN username WITH PASSWORD = 'password';"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT, INSERT, UPDATE TO username;"})]})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},D={placeholder:{name:"MySQL",key:"mysql_placeholder",connection_type:l.Rj.MYSQL,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Continuously monitor MySQL databases to detect and track schema-level changes, automatically discover and label data categories as well as automatically process DSR (privacy requests) and consent enforcement to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detecting databases, Fides requires a user with the following permissions/role:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE USER 'username' IDENTIFIED WITH authentication_plugin BY 'password';"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT, INSERT ON database.* TO 'username'@'%';"})]})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},R={name:"Okta",key:"okta_placeholder",connection_type:l.Rj.OKTA,access:l.uv.READ,created_at:""},w=(0,n.jsx)(n.Fragment,{children:"SSO providers manage user authentication and can help identify systems within your infrastructure. Adding an SSO provider as a data source allows you to detect connected systems, monitor access patterns, and enhance your data map for better visibility and control."}),E={placeholder:R,category:i.IDENTITY_PROVIDER,tags:["Discovery","Inventory"],overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"SSO providers manage user authentication and can help identify systems within your infrastructure. Adding an SSO provider as a data source allows you to detect connected systems, monitor access patterns, and enhance your data map for better visibility and control."})]}),{}),description:w,enabledFeatures:[d.j.DATA_DISCOVERY]},T={placeholder:{name:"Postgres",key:"postgres_placeholder",connection_type:l.Rj.POSTGRES,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Postgres is a relational database. Connect Fides to your Postgres Datbase to detect and track changes in schemas and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.XU,{children:"For each database, Fides requires the following permissions, where 'username' is the user set up for Fides, and 'database' is the name of the database you want to connect to."}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE USER username WITH LOGIN;"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT ON ALL TABLES IN SCHEMA public TO username;"}),(0,n.jsx)(r.HCh,{children:"GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO username;"})]})]})]}),{}),tags:["Detection","Discovery"],enabledFeatures:[d.j.DATA_DISCOVERY]},_={placeholder:{name:"Amazon RDS MySQL",key:"rds_mysql_placeholder",connection_type:l.Rj.RDS_MYSQL,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Amazon RDS MySQL is a fully-managed relational database service that simplifies the setup, maintenance, management, and administration of MySQL databases. Connect Fides to your Amazon RDS MySQL to detect and track changes in schemas and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detecting database RDS instances and clusters, Fides requires an IAM user with the following permissions/role:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"rds:DescribeDBClusters"}),(0,n.jsx)(r.HCh,{children:"rds:DescribeDBInstances"}),(0,n.jsx)(r.HCh,{children:"rds-db:connect"})]}),(0,n.jsx)(o.XU,{children:"And per database instance and database it requires the following permissions, where 'username' is the user set up for Fides, and 'database' is the database name, you want to connect to."}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE USER 'username' IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS';"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT, INSERT ON database.* TO 'username'@'%';"})]})]})]}),{}),tags:["Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},H={placeholder:{name:"Amazon RDS Postgres",key:"rds_postgres_placeholder",connection_type:l.Rj.RDS_POSTGRES,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Amazon RDS Postgres is a fully-managed relational database service that simplifies the setup, maintenance, management, and administration of Postgres databases. Connect Fides to your Amazon RDS Postgres to detect and track changes in schemas and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detecting database RDS instances and clusters, Fides requires an IAM user with the following permissions/role:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"rds:DescribeDBClusters"}),(0,n.jsx)(r.HCh,{children:"rds:DescribeDBInstances"}),(0,n.jsx)(r.HCh,{children:"rds-db:connect"})]}),(0,n.jsx)(o.XU,{children:"For each database instance and database, Fides requires the following permissions, where 'username' is the user set up for Fides, and 'database' is the name of the database you want to connect to."}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE USER username WITH LOGIN;"}),(0,n.jsx)(r.HCh,{children:"GRANT rds_iam TO username;"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT ON ALL TABLES IN SCHEMA public TO username;"}),(0,n.jsx)(r.HCh,{children:"GRANT ALL PRIVILEGES ON ALL TABLES IN SCHEMA public TO username;"})]})]})]}),{}),tags:["Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},F={placeholder:{name:"Amazon S3",key:"s3_placeholder",connection_type:l.Rj.S3,access:l.uv.READ,created_at:""},category:i.DATA_WAREHOUSE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Continuously monitor S3 to detect and track schema-level changes, automatically discover and label data categories as well as automatically process DSR (privacy requests) and consent enforcement to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Object storage"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Cloud provider"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"Fides requires an IAM principal with read-only S3 permissions in order to detect, discover, and classify sensitive data. The AWS-managed AmazonS3ReadOnlyAccess policy can be used to assign these permissions. An IAM administrator can create the necessary principal for Fides using the AWS IAM guides, and assign the appropriate permissions policy to the IAM principal."}),(0,n.jsx)(o.XU,{children:"The permissions allow Fides to list buckets and read object data data stored in those buckets. This data is inspected only for the purpose of detecting sensitive data risks and no data is stored by Fides."}),(0,n.jsx)(o.XU,{children:"Ethyca recommends creating an IAM role with the appropriate permissions, which will be assumed by Fides at runtime, with ephemeral credentials. There must also be an IAM user with fixed credentials that Fides uses strictly for assuming the IAM role with the appropriate permissions. If desired, Fides also supports authenticating directly as an IAM user with the appropriate permissions, but this is considered a less secure option."}),(0,n.jsx)(o.cB,{text:"Permissions list"}),(0,n.jsx)(o.Z5,{children:(0,n.jsx)(r.HCh,{children:"AmazonS3ReadOnlyAccess"})})]})]}),{}),instructions:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Configuring a Fides -> Amazon S3 Integration"}),(0,n.jsx)(o.cB,{text:"Step 1: Create an IAM role in AWS"}),(0,n.jsx)(o.XU,{children:"Create an IAM role for Fides' S3 access following the AWS IAM roles guide. This role will be referred to below as the Fides S3 Access Role."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Step 2: Assign policies to the IAM role"}),(0,n.jsx)(o.XU,{children:"Grant the necessary permissions to the IAM role by attaching the following AWS-managed policy:"}),(0,n.jsx)(o.aG,{data:[{permission:"AmazonS3ReadOnlyAccess",description:"Provides read-only access to all buckets via the AWS Management Console."}]}),(0,n.jsx)(o.cB,{text:"Step 3: Create an IAM user for assuming a role"}),(0,n.jsxs)(o.XU,{children:["Follow the ",(0,n.jsx)(o.Hn,{href:"https://docs.aws.amazon.com/IAM/latest/UserGuide/getting-started.html#getting-started-iam-user",children:"AWS guide"})," for creating an IAM user to create an IAM user that Fides will authenticate as in order to assume the Fides S3 Access Role created above, and retrieve ephemeral credentials."]}),(0,n.jsx)(o.cB,{text:"Step 4: Grant the IAM user permission to assume the Fides S3 Access Role"}),(0,n.jsx)(o.XU,{children:"Navigate to the IAM user's Permissions page and add a permission by creating an inline policy. This permission should grant the IAM user permission to assume the Fides S3 Access Role created above (you'll need to retrieve the role ARN). The inline policy should look similar to this:"}),(0,n.jsx)(o.hX,{children:'{\n "Version": "2012-10-17",\n "Statement": [\n {\n "Sid": "VisualEditor0",\n "Effect": "Allow",\n "Action": "sts:AssumeRole",\n "Resource": "arn:aws:iam::[AWS ACCOUNT NUMBER]:role/[Fides S3 Access Role ARN]"\n }\n ]\n}'}),(0,n.jsx)(o.cB,{text:"Step 5: Create an access key for the IAM user"}),(0,n.jsxs)(o.vQ,{children:[(0,n.jsxs)(r.HCh,{children:["Create an access key for the IAM user under"," ",(0,n.jsx)("strong",{children:"Security credentials"}),"."]}),(0,n.jsx)(r.HCh,{children:"Select the Other use case"}),(0,n.jsx)(r.HCh,{children:"Copy the Access Key ID and Secret Access Key"})]}),(0,n.jsx)(o.cB,{text:"Step 6: Use the credentials to authenticate your integration"}),(0,n.jsxs)(o.XU,{children:["Provide the credentials to your Fides instance to securely connect Fides. For the Assume Role ARN, provide the ARN for the Fides S3 Access Role created in step 1."," "]})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]};var k=s(80388);let I={placeholder:{name:"Salesforce",key:"salesforce_placeholder",connection_type:s(88337).R.SAAS,saas_config:{fides_key:"salesforce",name:"Salesforce",type:k.m.SALESFORCE},access:l.uv.WRITE,created_at:""},category:i.CRM,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Salesforce is a cloud-based customer relationship management (CRM) platform that helps businesses manage sales, marketing, and customer service interactions in a unified system. Connect Fides to your Salesforce instance to automatically discover and track data across both standard and custom objects, detect sensitive information, and automate DSR fulfillment."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"What this integration does"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Discover personal data in standard Salesforce objects"}),(0,n.jsx)(r.HCh,{children:"Detect sensitive information across your Salesforce instance"}),(0,n.jsx)(r.HCh,{children:"Automate data subject access requests including data retrieval, updates, and deletions"}),(0,n.jsx)(r.HCh,{children:"Map Salesforce data to your organization's data map"}),(0,n.jsx)(r.HCh,{children:"Discover and map custom Salesforce objects (requires setting up a monitor)"})]}),(0,n.jsx)(o.XU,{children:"Once integrated, the system will automatically map sensitive personal data for standard Salesforce objects. By setting up a monitor, you can also detect and map custom objects in your Salesforce instance."}),(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CRM System"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"}),(0,n.jsx)(r.HCh,{children:"DSR automation"})]}),(0,n.jsx)(o.cB,{text:"Prerequisites"}),(0,n.jsx)(o.XU,{children:"To integrate with Salesforce, you need to create a Connected App in your Salesforce instance. This ensures exclusive data control and enhances security by reducing unauthorized access risks."}),(0,n.jsx)(o.cB,{text:"Setup instructions"}),(0,n.jsx)(o.XU,{children:"Follow these steps to set up your Salesforce integration:"}),(0,n.jsxs)(o.vQ,{children:[(0,n.jsx)(r.HCh,{children:"Create a Connected App in Salesforce by following the Salesforce guide"}),(0,n.jsx)(r.HCh,{children:"Configure Basic Connected App Settings"}),(0,n.jsx)(r.HCh,{children:'Uncheck "Require Proof Key for Code Exchange (PKCE) Extension for Supported Authorization Flows"'}),(0,n.jsx)(r.HCh,{children:"Enable OAuth Settings for API Integration with the required scopes"}),(0,n.jsx)(r.HCh,{children:"Enter your Fides Redirect URL (typically https://fides-host.com/api/v1/oauth/callback)"})]}),(0,n.jsx)(o.cB,{text:"Required information"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Domain: Your Salesforce URL"}),(0,n.jsx)(r.HCh,{children:"Consumer Key: Your OAuth client ID"}),(0,n.jsx)(r.HCh,{children:"Consumer Secret: Your OAuth client secret"}),(0,n.jsx)(r.HCh,{children:"Redirect URL: The Fides URL for OAuth callback"}),(0,n.jsx)(r.HCh,{children:"Token Refresh URL: The Salesforce URL for refresh tokens"})]}),(0,n.jsx)(o.cB,{text:"Required OAuth scopes"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Manage user data via APIs (api)"}),(0,n.jsx)(r.HCh,{children:"Perform requests at any time (refresh_token, offline_access)"})]}),(0,n.jsx)(o.cB,{text:"Supported objects"}),(0,n.jsx)(o.XU,{children:"Fides supports both standard and custom Salesforce objects. The integration includes built-in support for common objects such as:"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Contacts"}),(0,n.jsx)(r.HCh,{children:"Cases"}),(0,n.jsx)(r.HCh,{children:"Leads"}),(0,n.jsx)(r.HCh,{children:"Accounts"}),(0,n.jsx)(r.HCh,{children:"Campaign Members"}),(0,n.jsx)(r.HCh,{children:"Custom Objects"})]})]})]}),{}),tags:["API","DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},B={placeholder:{name:"Scylla",key:"scylla_placeholder",connection_type:l.Rj.SCYLLA,access:l.uv.READ,created_at:""},category:i.DATABASE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"ScyllaDB is an open-sources distributed NoSQL data store designed to be compatible with Apache Cassandra. Connect Fides to your ScyllaDB to detect and track changes in keyspaces and tables and automatically discover and label data categories to proactively manage data governance risks."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"NoSQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"}),(0,n.jsx)(r.HCh,{children:"DSR automation"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsx)(o.XU,{children:"For detection and discovery, Fides requires a user with the SELECT permission on all keyspaces. If you intend to automate governance for DSR or Consent, Fides requires the role to to be granted SELECT and MODIFY on all keyspaces. The permissions allow Fides to read the schema of, and data stored in keyspaces, tables, and fields as well as write restricted updates based on your policy configurations to tables you specify as part of DSR and Consent orchestration. For a complete list of permissions view the Scylla DB documentation."}),(0,n.jsx)(o.cB,{text:"Permissions list"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"SELECT ALL KEYSPACES"}),(0,n.jsx)(r.HCh,{children:"MODIFY ALL KEYSPACES"})]})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},O={placeholder:{name:"Snowflake",key:"snowflake_placeholder",connection_type:l.Rj.SNOWFLAKE,access:l.uv.READ,created_at:""},category:i.DATA_WAREHOUSE,overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:"Snowflake is a cloud-based data warehousing platform designed for handling large-scale data storage and analytics. It enables organizations to store, manage, and analyze massive amounts of data efficiently, offering features like scalability, performance, and flexibility."}),(0,n.jsxs)(c,{children:[(0,n.jsx)(o.cB,{text:"Categories"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"Database"}),(0,n.jsx)(r.HCh,{children:"SQL database"}),(0,n.jsx)(r.HCh,{children:"Storage system"}),(0,n.jsx)(r.HCh,{children:"Data detection"}),(0,n.jsx)(r.HCh,{children:"Data discovery"})]}),(0,n.jsx)(o.cB,{text:"Permissions"}),(0,n.jsxs)(o.Z5,{children:[(0,n.jsx)(r.HCh,{children:"CREATE ROLE my_monitor_role;"}),(0,n.jsx)(r.HCh,{children:"GRANT USAGE ON DATABASE DATABASE_1 TO ROLE my_monitor_role;"}),(0,n.jsx)(r.HCh,{children:"GRANT USAGE ON SCHEMA DATABASE_1.TEST_SCHEMA TO ROLE my_monitor_role;"}),(0,n.jsx)(r.HCh,{children:"GRANT SELECT ON ALL TABLES IN SCHEMA DATABASE_1.TEST_SCHEMA TO ROLE my_monitor_role;"}),(0,n.jsx)(r.HCh,{children:"CREATE USER test_user PASSWORD='***';"}),(0,n.jsx)(r.HCh,{children:"GRANT ROLE my_monitor_role TO USER test_user;"})]})]})]}),{}),tags:["DSR Automation","Discovery","Detection"],enabledFeatures:[d.j.DATA_DISCOVERY]},L={placeholder:{name:"Website",key:"website_placeholder",connection_type:l.Rj.WEBSITE,access:l.uv.READ,created_at:""},category:i.WEBSITE,tags:["Consent","Discovery","Detection"],overview:(0,n.jsx)(()=>(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(o.cB,{text:"Overview"}),(0,n.jsx)(o.XU,{children:'Websites, or "properties", often process user data. Adding a website as an integration lets you configure a Consent Management Platform (CMP), a site-specific privacy center, and Cross-Origin requests via Fides. You can configure the various security settings, styling, and user experience settings for the privacy center and CMP on a per-website basis.'})]}),{}),enabledFeatures:[d.j.DATA_DISCOVERY]},P=[I],M={[l.Rj.BIGQUERY]:m,[l.Rj.DATAHUB]:g,[l.Rj.DYNAMODB]:f,[l.Rj.GOOGLE_CLOUD_SQL_MYSQL]:C,[l.Rj.GOOGLE_CLOUD_SQL_POSTGRES]:S,[l.Rj.MSSQL]:b,[l.Rj.OKTA]:E,[l.Rj.RDS_MYSQL]:_,[l.Rj.RDS_POSTGRES]:H,[l.Rj.S3]:F,[l.Rj.SCYLLA]:B,[l.Rj.SNOWFLAKE]:O,[l.Rj.MYSQL]:D,[l.Rj.WEBSITE]:L,[l.Rj.POSTGRES]:T,[l.Rj.MANUAL_WEBHOOK]:A},N=[...Object.values(M),...P],U=[...Object.keys(M),l.Rj.SAAS],q={placeholder:{name:"",key:"placeholder",connection_type:l.Rj.MANUAL,access:l.uv.READ,created_at:""},category:i.DATA_WAREHOUSE,tags:[],enabledFeatures:[]};var z=e=>{var t,s;return e?e===l.Rj.SAAS?null!==(t=P[0])&&void 0!==t?t:q:null!==(s=M[e])&&void 0!==s?s:q:q}},93633:function(e,t,s){s.d(t,{z:function(){return r}});var a=s(14047),i=s(62051),n=s(14207);let r=e=>{let{connection:t,connectionOption:s,testData:r}=e,[o]=(0,n.rO)(),{handleError:c}=(0,a.H)();return{handleAuthorize:async()=>{if(!(null==t?void 0:t.key)){i.Pg3.error("Authorization failed: connection key not found");return}try{let e=await o(t.key).unwrap();window.location.href=e}catch(e){c(e)}},needsAuthorization:!!(null==s?void 0:s.authorization_required)&&!r.authorized}}},64176:function(e,t,s){var a=s(27378),i=s(20682),n=s(88337);t.Z=(e,t)=>{let{data:s}=(0,i.$I)({});return(0,a.useMemo)(()=>e===n.R.SAAS?null==s?void 0:s.items.find(e=>e.identifier===t):null==s?void 0:s.items.find(t=>t.identifier===e),[s,e,t])}},11013:function(e,t,s){s.d(t,{$y:function(){return n},eV:function(){return a},m5:function(){return o},ww:function(){return r}});let{useGetSharedMonitorConfigsQuery:a,useGetSharedMonitorConfigByIdQuery:i,useCreateSharedMonitorConfigMutation:n,useUpdateSharedMonitorConfigMutation:r,useDeleteSharedMonitorConfigMutation:o}=s(78780).u.injectEndpoints({endpoints:e=>({getSharedMonitorConfigs:e.query({query:e=>({method:"GET",url:"/plus/shared-monitor-config",params:e}),providesTags:["Shared Monitor Configs"]}),getSharedMonitorConfigById:e.query({query:e=>{let{id:t}=e;return{method:"GET",url:"/plus/shared-monitor-config/".concat(t)}},providesTags:["Shared Monitor Configs"]}),createSharedMonitorConfig:e.mutation({query:e=>({method:"POST",url:"/plus/shared-monitor-config",body:e}),invalidatesTags:["Shared Monitor Configs"]}),updateSharedMonitorConfig:e.mutation({query:e=>({method:"PUT",url:"/plus/shared-monitor-config/".concat(e.id),body:e}),invalidatesTags:["Shared Monitor Configs"]}),deleteSharedMonitorConfig:e.mutation({query:e=>{let{id:t}=e;return{method:"DELETE",url:"/plus/shared-monitor-config/".concat(t)}},invalidatesTags:["Shared Monitor Configs"]})})})},31883:function(e,t,s){s.d(t,{Bw:function(){return a.Bw},D4:function(){return a.D4}});var a=s(19043)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1817],{11817:function(e,n,i){i.d(n,{Z:function(){return U}});var t=i(24246),o=i(62051),a=i(34090),l=i(86677),r=i(27378),s=i(55484),d=i(16134),c=i(812);let p=(0,o.IUT)({displayName:"DesktopIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M20.5556 4.05556H3.44444C3.10833 4.05556 2.83333 4.33056 2.83333 4.66667V12H21.1667V4.66667C21.1667 4.33056 20.8917 4.05556 20.5556 4.05556ZM23 12V13.8333V15.6667C23 17.0149 21.9038 18.1111 20.5556 18.1111H14.9142L15.2198 19.9445H17.1944C17.7024 19.9445 18.1111 20.3531 18.1111 20.8611C18.1111 21.3691 17.7024 21.7778 17.1944 21.7778H14.4444H9.55556H6.80556C6.29757 21.7778 5.88889 21.3691 5.88889 20.8611C5.88889 20.3531 6.29757 19.9445 6.80556 19.9445H8.78021L9.08576 18.1111H3.44444C2.09618 18.1111 1 17.0149 1 15.6667V13.8333V12V4.66667C1 3.31841 2.09618 2.22223 3.44444 2.22223H20.5556C21.9038 2.22223 23 3.31841 23 4.66667V12ZM2.83333 13.8333V15.6667C2.83333 16.0028 3.10833 16.2778 3.44444 16.2778H10.1476C10.159 16.2778 10.1705 16.2778 10.1781 16.2778H13.8142C13.8257 16.2778 13.8372 16.2778 13.8448 16.2778H20.5556C20.8917 16.2778 21.1667 16.0028 21.1667 15.6667V13.8333H2.83333ZM10.6365 19.9445H13.3597L13.0542 18.1111H10.942L10.6365 19.9445Z"})}),u=(0,o.IUT)({displayName:"MobileIcon",viewBox:"0 0 24 24",path:(0,t.jsx)("path",{fill:"currentColor",d:"M6.5 20.25C6.5 20.6281 6.80938 20.9375 7.1875 20.9375H16.8125C17.1906 20.9375 17.5 20.6281 17.5 20.25V16.8125H6.5V20.25ZM6.5 14.75H17.5V3.75C17.5 3.37188 17.1906 3.0625 16.8125 3.0625H7.1875C6.80938 3.0625 6.5 3.37188 6.5 3.75V14.75ZM4.4375 3.75C4.4375 2.2332 5.6707 1 7.1875 1H16.8125C18.3293 1 19.5625 2.2332 19.5625 3.75V20.25C19.5625 21.7668 18.3293 23 16.8125 23H7.1875C5.6707 23 4.4375 21.7668 4.4375 20.25V3.75ZM12 17.8438C12.2735 17.8438 12.5358 17.9524 12.7292 18.1458C12.9226 18.3392 13.0312 18.6015 13.0312 18.875C13.0312 19.1485 12.9226 19.4108 12.7292 19.6042C12.5358 19.7976 12.2735 19.9062 12 19.9062C11.7265 19.9062 11.4642 19.7976 11.2708 19.6042C11.0774 19.4108 10.9688 19.1485 10.9688 18.875C10.9688 18.6015 11.0774 18.3392 11.2708 18.1458C11.4642 17.9524 11.7265 17.8438 12 17.8438Z"})});var v=i(77830),m=i(46628),_=i(7426),f=i(60325);let b={language:{label:"Language",validation:s.Z_()},title:{label:"Title",validation:s.Z_()},description:{label:"Description",validation:s.Z_()},accept_button_label:{label:"Accept button label",validation:s.Z_()},reject_button_label:{label:"Reject button label",validation:s.Z_()},save_button_label:{label:"Save button label",validation:s.Z_()},acknowledge_button_label:{label:"Acknowledge button label",validation:s.Z_()},privacy_policy_url:{label:"Privacy policy URL",validation:s.Z_().url()},privacy_preferences_link_label:{label:"Privacy preferences link label",validation:s.Z_()},banner_title:{label:"Banner title",validation:s.Z_()},banner_description:{label:"Banner description",validation:s.Z_()},purpose_header:{label:"Purpose header",validation:s.Z_()},privacy_policy_link_label:{label:"Privacy policy link label",validation:s.Z_()},modal_link_label:{label:"Modal link label",validation:s.Z_()},is_default:{label:"Default language",validation:s.O7()}};var g=i(34334),y=i(13083),x=i.n(y),h=i(43218),w=i.n(h),C=i(52253),j=i(32885),V=i(46420);let k={language:V.eU.EN,accept_button_label:"Accept",acknowledge_button_label:"OK",banner_description:"",banner_title:"",purpose_header:"",description:"Description",privacy_policy_link_label:"",privacy_policy_url:"",modal_link_label:"",privacy_preferences_link_label:"Privacy preferences",reject_button_label:"Reject All",save_button_label:"Save",title:"Manage your consent preferences",is_default:!0},A=e=>({...k,...e.translations?e.translations[0]:{}}),O=(e,n)=>{var i,t,o,a;let l={options:{allowHTMLDescription:!0,base64Cookie:!1,debug:!1,fidesApiUrl:"http://localhost:8080/api/v1",fidesClearCookie:!0,fidesDisableSaveApi:!0,fidesDisableNoticesServedApi:!0,fidesJsBaseUrl:"",fidesLocale:null===(t=e.translations)||void 0===t?void 0:null===(i=t[0])||void 0===i?void 0:i.language,fidesString:null,geolocationApiUrl:"",isGeolocationEnabled:!1,isOverlayEnabled:!0,isPrefetchEnabled:!1,modalLinkId:null,overlayParentId:C.Vk,preventDismissal:null!==(a=e.dismissable)&&void 0!==a&&a,privacyCenterUrl:"http://localhost:3000",showFidesBrandLink:!0},experience:{available_locales:null===(o=e.translations)||void 0===o?void 0:o.map(e=>e.language),component:e.component,experience_config:{allow_language_selection:!0,auto_detect_language:!0,auto_subdomain_cookie_deletion:!0,component:e.component,disabled:!1,dismissable:e.dismissable,id:"pri_222",is_default:!0,language:"en",layer1_button_options:V.Of.OPT_IN_OPT_OUT,properties:[],regions:["us_ca"],show_layer1_notices:!1,translations:[A(e)]},id:"pri_111",privacy_notices:n,region:"us_ca"},geolocation:{country:"US",location:"US-CA",region:"CA"}};return e.component===V.re.TCF_OVERLAY&&(l.options.fidesTcfGdprApplies=!0,l.options.tcf_enabled=!0,l.geolocation={location:"eea",country:"eea"},l.experience.experience_config.regions=["eea"],l.experience={...l.experience,region:"eea",minimal_tcf:!0,gvl:{vendors:{}},tcf_purpose_names:["Store and/or access information on a device","Use limited data to select advertising","Create profiles for personalised advertising","Use profiles to select personalised advertising","Create profiles to personalise content","Use profiles to select personalised content","Measure advertising performance","Measure content performance","Understand audiences through statistics or combinations of data from different sources","Develop and improve services","Use limited data to select content"]},l.options.apiOptions={getPrivacyExperienceFn:async()=>l.experience}),l},E=e=>{let{language:n,is_default:i,...t}=k,o=Object.keys(t).map(n=>{let i=e[n];return{[n]:void 0!==i?i:k[n]}}).reduce((e,n)=>({...e,...n}),{});return{language:e.language,is_default:e.is_default,...o}},T=(e,n,i)=>e?e.map(e=>i.find(n=>(null==n?void 0:n.id)===e)).map(e=>n===V.re.TCF_OVERLAY&&void 0!==e?{...e,translations:[{language:"en",text:null==e?void 0:e.name}]}:e).filter(e=>void 0!==e):[];var L=i(74022),Z=i(32222);let N=e=>{let{title:n,description:i}=e;return(0,t.jsx)(o.jqI,{className:"h-full items-center justify-center",children:(0,t.jsxs)(o.jqI,{className:"items-center gap-2 rounded-md p-6",style:{backgroundColor:L.Z.colors.white,boxShadow:L.Z.shadows.md,maxWidth:512},vertical:!0,"data-testid":"no-preview-notice",children:[(0,t.jsx)(o.xvT,{fontSize:"lg",fontWeight:"500",align:"center",children:n}),(0,t.jsx)(o.xvT,{color:"gray.500",align:"center",children:i})]})})};var P=e=>{var n,i;let{allPrivacyNotices:s,initialValues:d,translation:c,isMobilePreview:p}=e,u=(0,l.useRouter)().pathname.includes("/new"),{values:v}=(0,a.u6)(),[m,_]=(0,r.useState)([]),[f,b]=(0,r.useState)(!1),[g,y]=(0,r.useState)(),h=[V.re.BANNER_AND_MODAL,V.re.MODAL,V.re.TCF_OVERLAY].includes(v.component),{data:k}=(0,j.de)({pageIndex:1,pageSize:1}),A=(0,r.useMemo)(()=>(null==k?void 0:k.total)||0,[null==k?void 0:k.total]);(0,r.useEffect)(()=>{var e,n;return h&&f&&window.FidesPreview&&v.component&&((null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)||v.component===V.re.TCF_OVERLAY)?v.component===V.re.TCF_OVERLAY?(window.FidesPreview("tcf"),y("tcf")):(window.FidesPreview("standard"),y("standard")):window.FidesPreview&&(null===(n=window.FidesPreview)||void 0===n||n.cleanup()),()=>{var e;null===(e=window.FidesPreview)||void 0===e||e.cleanup()}},[v.component,f,h,null===(n=v.privacy_notice_ids)||void 0===n?void 0:n.length,u]),(0,r.useEffect)(()=>{d&&v.component&&s&&(v.privacy_notice_ids?_(T(v.privacy_notice_ids,v.component,s)):_([]))},[v.privacy_notice_ids,s,v.component,d]);let L=(0,r.useMemo)(()=>v.component?O({...d,component:v.component},m):null,[d,m,v.component]);(0,r.useEffect)(()=>{var e,n,i,t;if(!h||!f||!window.FidesPreview||!window.Fides||!(null===(e=v.privacy_notice_ids)||void 0===e?void 0:e.length)&&v.component!==V.re.TCF_OVERLAY)return;v.component===V.re.MODAL&&(L.experience.experience_config.component=V.re.MODAL);let o=null===(n=v.translations)||void 0===n?void 0:n.find(e=>e.language===(null==c?void 0:c.language));(null===(i=v.translations)||void 0===i?void 0:i.length)&&(o?(L.experience.available_locales=[...L.experience.available_locales||[],o.language],L.experience.experience_config.translations[0]=E(o),L.options.fidesLocale=o.language):v.translations&&(L.experience.experience_config.translations[0]=E(v.translations[0]),L.options.fidesLocale=v.translations[0].language)),L.experience.experience_config.show_layer1_notices=!!(null===(t=v.privacy_notice_ids)||void 0===t?void 0:t.length)&&!!v.show_layer1_notices,L.experience.experience_config.layer1_button_options=(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY)&&v.layer1_button_options?v.layer1_button_options:V.Of.OPT_IN_OPT_OUT,L.options.preventDismissal=!v.dismissable,L.experience.vendor_count=A,L.experience.experience_config.component=v.component,window.Fides.init(L)},[c,L,s,h,A,f,g,v.privacy_notice_ids,v.component,v.translations,v.show_layer1_notices,v.layer1_button_options,v.dismissable,d,m]);let P=document.getElementById("fides-modal");return(P&&P.removeAttribute("tabindex"),v.component)?h?(null===(i=v.privacy_notice_ids)||void 0===i?void 0:i.length)||v.component===V.re.TCF_OVERLAY?(0,t.jsxs)(o.jqI,{className:"size-full items-center justify-center overflow-scroll",children:[(0,t.jsx)(x(),{id:"4b2ec2183c5a567e",dynamic:[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""],children:"div#fides-overlay{z-index:5000!important}div#".concat(C.Vk,"{width:100%;padding-top:45px;").concat(v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""," margin: auto;pointer-events:none}div#fides-banner-container{position:static!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;transition:none!important}div#fides-banner-container.fides-banner-hidden{display:none}.fides-modal-container{background-color:unset!important;position:static!important;display:none!important}.fides-modal-overlay{background-color:inherit!important;position:static!important;display:none!important}div.fides-modal-content{position:relative!important;-webkit-transform:none!important;-moz-transform:none!important;-ms-transform:none!important;-o-transform:none!important;transform:none!important;left:initial!important;top:initial!important}div.fides-modal-footer{width:unset}")}),h?(0,t.jsx)("style",{children:"div#fides-modal {\n display: flex !important;\n justify-content: center;\n background-color: unset;\n ".concat(v.component===V.re.BANNER_AND_MODAL||v.component===V.re.TCF_OVERLAY?"padding-bottom: 3rem;":"","\n }")}):null,p?(0,t.jsx)("style",{children:"\n div#fides-overlay-wrapper {\n max-width: 400px;\n margin: auto;\n }\n div.fides-modal-button-group {\n flex-direction: column !important;\n }\n div#fides-banner {\n padding: 24px;\n width: 100%;\n }\n\n div#fides-banner-description {\n margin-bottom: 0px;\n }\n\n div#fides-banner-inner div#fides-button-group {\n flex-direction: column;\n align-items: flex-start;\n gap: 12px;\n padding-top: 24px;\n }\n\n .fides-banner-button-group {\n flex-direction: column;\n width: 100%;\n }\n\n button.fides-banner-button {\n margin: 0px;\n width: 100%;\n }\n\n div#fides-banner-inner-container {\n display: flex;\n flex-direction: column;\n max-height: 50vh;\n overflow-y: auto;\n scrollbar-gutter: stable;\n }\n\n div#fides-privacy-policy-link {\n order: 1;\n width: 100%;\n }\n .fides-modal-footer {\n max-width: 100%;\n }\n .fides-banner-secondary-actions {\n flex-direction: column-reverse;\n gap: 12px;\n }\n "}):(0,t.jsx)("style",{children:"\n div#fides-banner {\n width: 60%;\n }\n @media (min-width: 768px) {\n div#fides-banner {\n width: 100%;\n }\n }\n @media (min-width: 1155px) {\n div#fides-banner {\n width: 90%;\n }\n }\n @media (min-width: 1440px) {\n div#fides-banner {\n width: 60%;\n }\n }\n "}),(0,t.jsx)(w(),{id:"fides-js-script",src:"/lib/fides-preview.js",onReady:()=>{b(!0)}}),(0,t.jsx)("div",{id:C.Vk,className:x().dynamic([["4b2ec2183c5a567e",[C.Vk,v.component!==V.re.TCF_OVERLAY?"padding-bottom: 45px;":""]]])},v.component)]}):(0,t.jsx)(N,{title:"No privacy notices added",description:'To view a preview of this experience, add a privacy notice under "Privacy Notices" to the left.'}):(0,t.jsx)(N,{title:"".concat(Z.J.get(v.component)," preview not available"),description:"There is no preview available for ".concat(Z.J.get(v.component),". You can edit the available settings\n and languages to the left.")}):(0,t.jsx)(N,{title:"No privacy experience type selected",description:"Please select a privacy experience type to preview."})},D=i(94315),M=i(5331),R=i(16277),F=i(71922),H=i(31883);let S=e=>{let n=(0,f.y3)(e),i={};return Object.entries(n).forEach(e=>{let[n,t]=e;if(t.included){let e=b[n];i[n]=t.required?e.validation.required().label(e.label):e.validation.nullable().label(e.label)}}),s.Ry().shape(i)},B=e=>{let{componentType:n}=e;return S(n)},I=s.Ry().shape({name:s.Z_().required().label("Experience name"),component:s.Z_().required().label("Experience type"),translations:s.IX().when("component",(e,n)=>{let[i]=e;return n.of(B({componentType:i}))})});var U=e=>{var n;let{passedInExperience:i,passedInTranslations:s}=e,[b]=(0,D.mJ)(),[y]=(0,D.$d)(),x=(0,o.pmc)(),[h,w]=(0,r.useState)(!1),C=(0,l.useRouter)(),{data:j}=(0,_.tB)({api_set:!1}),V=null==j?void 0:null===(n=j.plus_consent_settings)||void 0===n?void 0:n.enable_translations,k=(0,d.C)(g.Zp),A=(0,d.C)(g.G1);(0,g.Ah)({page:k,size:A});let O=(0,d.C)(g.fJ),E=(0,d.C)(F.sX),T=i?{...f.DD,...(0,f.Uv)(i)}:f.DD,L=async e=>{var n,t;let o;e.privacy_notice_ids=null===(n=e.privacy_notice_ids)||void 0===n?void 0:n.filter(e=>"tcf_purposes_placeholder"!==e),T.tcf_configuration_id&&!e.tcf_configuration_id&&(e.tcf_configuration_id=null);let a={...e,disabled:null===(t=null==i?void 0:i.disabled)||void 0===t||t,allow_language_selection:e.translations&&e.translations.length>1};if(i){let{component:e,...n}=a;o=await y({...n,id:i.id})}else o=await b(a);(0,H.D4)(o)?x((0,m.Vo)((0,c.e$)(o.error))):(x((0,m.t5)("Privacy experience successfully ".concat(i?"updated":"created"))),C.push(v.w0))},[Z,N]=(0,r.useState)(void 0),[S,B]=(0,r.useState)(!1);return(0,t.jsx)(a.J9,{initialValues:T,enableReinitialize:!0,onSubmit:L,validationSchema:I,children:(0,t.jsx)(a.l0,{style:{height:"100vh"},children:(0,t.jsxs)(o.jqI,{className:"size-full","data-testid":"privacy-experience-detail-page",children:[Z?(0,t.jsx)(R.Z,{translation:Z,translationsEnabled:V,isOOB:S,onReturnToMainForm:()=>{N(void 0),B(!1)}}):(0,t.jsx)(M.d0,{allPrivacyNotices:E,translationsEnabled:V,onSelectTranslation:e=>{N({...e,name:(0,f.Go)(e,O)})},onCreateTranslation:e=>{let n=null==s?void 0:s.find(n=>n.language===e);return n&&B(!0),null!=n?n:{language:e,is_default:!1}}}),(0,t.jsxs)(o.jqI,{vertical:!0,className:"w-full overflow-y-hidden",style:{backgroundColor:o.rSc.colors.gray[50]},children:[(0,t.jsxs)(o.jqI,{className:"flex-row items-center p-4",style:{backgroundColor:o.rSc.colors.white,borderBottom:"1px solid ".concat(o.rSc.colors.gray[100])},children:[(0,t.jsx)(o.xvT,{fontSize:"md",fontWeight:"semibold",children:"PREVIEW"}),(0,t.jsx)(o.LZC,{}),(0,t.jsxs)(o.y02.Group,{onChange:e=>w(e.target.value),defaultValue:!1,children:[(0,t.jsx)(o.y02.Button,{value:!0,title:"View mobile preview",children:(0,t.jsx)(u,{})}),(0,t.jsx)(o.y02.Button,{value:!1,title:"View desktop preview",children:(0,t.jsx)(p,{})})]})]}),(0,t.jsx)(P,{allPrivacyNotices:E,initialValues:T,translation:Z,isMobilePreview:h})]})]})})})}},32222:function(e,n,i){i.d(n,{J:function(){return t}});let t=new Map([["overlay","Overlay"],["privacy_center","Privacy center"],["tcf_overlay","TCF overlay"],["modal","Modal"],["banner_and_modal","Banner and modal"],["headless","Headless"]])},31883:function(e,n,i){i.d(n,{Bw:function(){return t.Bw},D4:function(){return t.D4}});var t=i(19043)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1904],{11904:function(e,s,a){a.d(s,{Z:function(){return E}});var i,l,t=a(24246),r=a(59003),o=a(92222),n=a(62051),d=a(86677),c=a(27378),u=a(14481),g=a(45896),x=a(70675),j=a(72625),m=a(79947),h=a(50169),I=a(28278),p=a(74241),C=a(46420),f=a(91761),v=a(61099),y=a(87667),L=e=>{let{resourceType:s}=e,a=(0,o.Cl)();return s===C.D$.SCHEMA?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,t.jsx)(y.Z,{result:e.row.original,changeTypeOverride:I.E.CLASSIFICATION}),header:e=>(0,t.jsx)(u.Rr,{value:"Name",...e}),size:300}),a.accessor(e=>e.urn,{id:"project",cell:e=>(0,t.jsx)(u.G3,{value:(0,p.Z)(e.getValue())}),header:e=>(0,t.jsx)(u.Rr,{value:"Project",...e})}),a.display({id:"status",cell:e=>(0,t.jsx)(h.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Status",...e})}),a.accessor(e=>e.system,{id:"system",cell:e=>(0,t.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"System",...e})}),a.accessor(e=>e.monitor_config_id,{id:"monitor",cell:e=>(0,t.jsx)(u.G3,{value:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"Detected by",...e})}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,t.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"action",cell:e=>e.row.original.diff_status!==C.LL.MUTED?(0,t.jsx)(f.Z,{resource:e.row.original}):(0,t.jsx)(u.G3,{value:"--"}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===C.D$.TABLE?{columns:[a.display({id:"select",cell:e=>{var s;let{row:a}=e;return(0,t.jsx)(j.k,{isChecked:a.getIsSelected(),onChange:a.getToggleSelectedHandler(),dataTestId:"select-".concat(null!==(s=a.original.name)&&void 0!==s?s:a.id)})},header:e=>{let{table:s}=e;return(0,t.jsx)(j.k,{isChecked:s.getIsAllPageRowsSelected(),isIndeterminate:s.getIsSomeRowsSelected(),onChange:s.getToggleAllRowsSelectedHandler(),dataTestId:"select-all-rows"})},maxSize:40}),a.accessor(e=>e.name,{id:"tables",cell:e=>(0,t.jsx)(y.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Table name",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,t.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,t.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,t.jsx)(h.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,t.jsx)(u.G3,{value:"Table"}),header:"Type"}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,t.jsx)(j.Cy,{time:e.getValue()}),header:"Time"}),a.display({id:"actions",cell:e=>(0,t.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===C.D$.FIELD?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,t.jsx)(y.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Field name",...e}),size:300}),a.accessor(e=>e.source_data_type,{id:"data-type",cell:e=>(0,t.jsx)(m.Z,{type:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"Data type",...e})}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,t.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,t.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,t.jsx)(h.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,t.jsx)(u.G3,{value:"Field"}),header:"Type"}),a.display({id:"classifications",cell:e=>{let{row:s}=e;return(0,t.jsx)(v.Z,{resource:s.original})},meta:{overflow:"visible",disableRowClick:!0},header:"Data category",minSize:280}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,t.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,t.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:s===C.D$.ENDPOINT?{columns:[a.accessor(e=>e.name,{id:"name",cell:e=>(0,t.jsx)(y.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Object",...e}),size:300}),a.accessor(e=>e.description,{id:"description",cell:e=>(0,t.jsx)(u.G3,{value:e.getValue(),cellProps:e}),header:e=>(0,t.jsx)(u.Rr,{value:"Description",...e}),meta:{showHeaderMenu:!0}}),a.display({id:"status",cell:e=>(0,t.jsx)(h.Z,{result:e.row.original}),header:e=>(0,t.jsx)(u.Rr,{value:"Status",...e})}),a.display({id:"type",cell:()=>(0,t.jsx)(u.G3,{value:"Endpoint"}),header:"Type"}),a.display({id:"classifications",cell:e=>{let{row:s}=e;return(0,t.jsx)(v.Z,{resource:s.original})},meta:{overflow:"visible",disableRowClick:!0},header:"Data category",minSize:280}),a.accessor(e=>e.updated_at,{id:"time",cell:e=>(0,t.jsx)(j.Cy,{time:e.getValue()}),header:e=>(0,t.jsx)(u.Rr,{value:"When",...e})}),a.display({id:"actions",cell:e=>(0,t.jsx)(f.Z,{resource:e.row.original}),header:"Actions",size:235,meta:{disableRowClick:!0}})]}:{columns:[]}};(i=l||(l={}))[i.ACTION_REQUIRED=0]="ACTION_REQUIRED",i[i.UNMONITORED=1]="UNMONITORED";var _=e=>{let{initialFilterTabIndex:s=0}=e,[a,i]=(0,c.useState)(s),l=(0,c.useMemo)(()=>[{label:"Action Required",filters:[C.LL.CLASSIFICATION_ADDITION,C.LL.CLASSIFICATION_UPDATE],childFilters:[C.LL.CLASSIFICATION_ADDITION,C.LL.CLASSIFICATION_UPDATE]},{label:"In progress",filters:[C.LL.CLASSIFYING,C.LL.CLASSIFICATION_QUEUED],childFilters:[C.LL.CLASSIFYING,C.LL.CLASSIFICATION_QUEUED]},{label:"Unmonitored",filters:[C.LL.MUTED],childFilters:[]}],[]);return{filterTabs:l,filterTabIndex:a,setFilterTabIndex:i,activeDiffFilters:l[a].filters,activeChildDiffFilters:l[a].childFilters}},R=a(47182),T=a(38347),w=a(79494),S=e=>{let{resourceUrn:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[l,{isLoading:r}]=(0,x.zV)(),o=i||r,d=async e=>{await l({staged_resource_urns:e})},c=async e=>{await a({staged_resource_urns:e})};return(0,t.jsx)(n.jqI,{"data-testid":"bulk-actions-menu",children:(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(w.Z,{title:"Confirm all",icon:(0,t.jsx)(n.nQG,{}),onClick:()=>c([s]),disabled:o,loading:i,type:"primary",size:"middle"}),(0,t.jsx)(w.Z,{title:"Ignore all",icon:(0,t.jsx)(n.tpL,{}),onClick:()=>d([s]),disabled:o,loading:r,size:"middle"})]})})},b=e=>{let{selectedUrns:s}=e,[a,{isLoading:i}]=(0,x.Hf)(),[l,{isLoading:r}]=(0,x.zV)(),o=i||r,d=async e=>{await a({staged_resource_urns:e})},c=async e=>{await l({staged_resource_urns:e})};return s.length?(0,t.jsxs)(n.jqI,{className:"items-center","data-testid":"bulk-actions-menu",children:[(0,t.jsx)(n.xvT,{fontSize:"xs",fontWeight:"semibold",minW:16,mr:4,children:"".concat(s.length," selected")}),(0,t.jsxs)(n.jqI,{className:"gap-2",children:[(0,t.jsx)(w.Z,{title:"Confirm",icon:(0,t.jsx)(n.nQG,{}),onClick:()=>d(s),disabled:o,loading:i,type:"primary",size:"middle"}),(0,t.jsx)(w.Z,{title:"Ignore",icon:(0,t.jsx)(n.tpL,{}),disabled:o,loading:r,onClick:()=>c(s),size:"middle"})]})]}):null},D=a(7940),A=a(80285),N=a(36168),F=a(30952);let Z={items:[],total:0,page:1,size:50,pages:1},k=()=>(0,t.jsx)(n.gCW,{mt:6,p:10,spacing:4,borderRadius:"base",maxW:"70%","data-testid":"empty-state",alignSelf:"center",margin:"auto",children:(0,t.jsxs)(n.gCW,{children:[(0,t.jsx)(n.xvT,{fontSize:"md",fontWeight:"600",children:"No activity found"}),(0,t.jsx)(n.xvT,{fontSize:"sm",children:"You're up to date!"})]})});var E=e=>{var s,a;let{resourceUrn:i}=e,j=(0,d.useRouter)(),[m,h]=(0,c.useState)(""),{filterTabs:I,setFilterTabIndex:p,filterTabIndex:f,activeDiffFilters:v,activeChildDiffFilters:y}=_({initialFilterTabIndex:(null===(s=j.query)||void 0===s?void 0:s.filterTabIndex)?Number(null===(a=j.query)||void 0===a?void 0:a.filterTabIndex):void 0}),[w,E]=(0,c.useState)({}),{PAGE_SIZES:z,pageSize:O,setPageSize:U,onPreviousPageClick:P,isPreviousPageDisabled:G,onNextPageClick:M,isNextPageDisabled:V,startRange:$,endRange:q,pageIndex:H,setTotalPages:W,resetPageIndexToDefault:Q}=(0,u.oi)();(0,c.useEffect)(()=>{Q()},[i,m,Q,v,y]);let{isFetching:Y,isLoading:B,data:K}=(0,x.z8)({staged_resource_urn:i,page:H,size:O,child_diff_status:y,diff_status:v,search:m}),X=(0,D.G)(null==K?void 0:K.items[0]),{items:J,total:ee,pages:es}=(0,c.useMemo)(()=>null!=K?K:Z,[K]);(0,c.useEffect)(()=>{W(es)},[es,W]);let{columns:ea}=L({resourceType:X}),ei=(0,c.useMemo)(()=>ea,[ea]),{navigateToDiscoveryResults:el}=(0,R.Z)(),et=(0,r.b7)({getCoreRowModel:(0,o.sC)(),getGroupedRowModel:(0,o.qe)(),getExpandedRowModel:(0,o.rV)(),columns:ei,manualPagination:!0,onRowSelectionChange:E,state:{rowSelection:w},getRowId:A.Z,data:J,columnResizeMode:"onChange"}),er=Object.keys(w).filter(e=>w[e]);return B?(0,t.jsx)(u.I4,{rowHeight:36,numRows:36}):(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(g.Z,{filterTabs:I,filterTabIndex:f,onChange:p}),(0,t.jsxs)(u.Q$,{children:[(0,t.jsxs)(n.kCb,{gap:6,align:"center",children:[(0,t.jsx)(n.xuv,{flexShrink:0,children:(0,t.jsx)(F.f,{value:m,onChange:h})}),(0,t.jsx)(T.Z,{})]}),X===C.D$.TABLE&&!!er.length&&(0,t.jsx)(b,{selectedUrns:er}),X===C.D$.FIELD&&f!==l.UNMONITORED&&(0,t.jsx)(S,{resourceUrn:i})]}),(0,t.jsx)(u.ZK,{tableInstance:et,onRowClick:e=>el({resourceUrn:e.urn,filterTabIndex:f}),getRowIsClickable:e=>X!==C.D$.FIELD||(0,N.Z)(e),emptyTableNotice:(0,t.jsx)(k,{})}),(0,t.jsx)(u.s8,{totalRows:ee||0,pageSizes:z,setPageSize:U,onPreviousPageClick:P,isPreviousPageDisabled:G||Y,onNextPageClick:M,isNextPageDisabled:V||Y,startRange:$,endRange:q})]})}},91761:function(e,s,a){var i=a(24246),l=a(62051),t=a(812),r=a(14047),o=a(7940),n=a(98559),d=a(46420),c=a(79494),u=a(70675);s.Z=e=>{let{resource:s}=e,[a,{isLoading:g}]=(0,u.v8)(),[x,{isLoading:j}]=(0,u.cM)(),[m,{isLoading:h}]=(0,u.vi)(),I=j||h||g,{diff_status:p,child_diff_statuses:C,top_level_field_name:f}=s,{successAlert:v,errorAlert:y}=(0,r.V)(),L=p===d.LL.CLASSIFICATION_ADDITION||p===d.LL.CLASSIFICATION_UPDATE,_=C&&(C[d.LL.CLASSIFICATION_ADDITION]||C[d.LL.CLASSIFICATION_UPDATE]),R=(L||_)&&!f,T=L||_,w=(0,o.G)(s)!==d.D$.FIELD,S=R&&T&&w,b=async()=>{let e=await x({staged_resource_urn:s.urn});(0,t.D4)(e)?y((0,t.e$)(e.error),"Failed to promote resource"):v('These changes have been added to a Fides dataset. To view, navigate to "Manage datasets".',"Table changes confirmed")},D=async()=>{let e=await m({staged_resource_urn:s.urn});(0,t.D4)(e)?y((0,t.e$)(e.error),"Failed to mute resource"):v("Ignored changes will not be added to a Fides dataset.","".concat(s.name||"Changes"," ignored"))},A=async()=>{let e=await a({staged_resource_urn:s.urn,monitor_config_id:s.monitor_config_id,start_classification:!0,classify_monitored_resources:!0});(0,t.D4)(e)?y((0,t.e$)(e.error),"Failed to reclassify resource"):v("Reclassification of ".concat((0,n.Z)(s)||"the resource"," has begun. The results may take some time to appear in the “Data discovery“ tab."),"Reclassification started")};return(0,i.jsxs)(l.Ugi,{gap:2,children:[R&&(0,i.jsx)(c.Z,{title:"Confirm",icon:(0,i.jsx)(l.nQG,{}),onClick:b,disabled:I,loading:j}),T&&(0,i.jsx)(c.Z,{title:"Ignore",icon:(0,i.jsx)(l.tpL,{}),onClick:D,disabled:I,loading:h}),w&&!S&&(0,i.jsx)(c.Z,{title:"Reclassify",icon:(0,i.jsx)(l.nyI,{}),onClick:A,disabled:I,loading:g}),S&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(l.LZC,{}),(0,i.jsxs)(l.v2r,{children:[(0,i.jsx)(l.j2t,{as:l.wpx,size:"small",type:"text",icon:(0,i.jsx)(l.nXP,{transform:"rotate(90deg)"}),className:"w-6 gap-0","data-testid":"actions-overflow-btn"}),(0,i.jsx)(l.qyq,{children:(0,i.jsx)(l.sNh,{onClick:A,icon:(0,i.jsx)(l.nyI,{}),"data-testid":"action-reclassify",children:"Reclassify"})})]})]})]})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2310],{74833:function(t,e,i){var n=i(56127),r=/^\s+/;t.exports=function(t){return t?t.slice(0,n(t)+1).replace(r,""):t}},56127:function(t){var e=/\s/;t.exports=function(t){for(var i=t.length;i--&&e.test(t.charAt(i)););return i}},66726:function(t,e,i){var n=i(11611),r=i(82846),s=i(91936),l=Math.max,o=Math.min;t.exports=function(t,e,i){var a,u,c,d,f,p,v=0,h=!1,x=!1,m=!0;if("function"!=typeof t)throw TypeError("Expected a function");function g(e){var i=a,n=u;return a=u=void 0,v=e,d=t.apply(n,i)}function j(t){var i=t-p,n=t-v;return void 0===p||i>=e||i<0||x&&n>=c}function b(){var t,i,n,s=r();if(j(s))return y(s);f=setTimeout(b,(t=s-p,i=s-v,n=e-t,x?o(n,c-i):n))}function y(t){return(f=void 0,m&&a)?g(t):(a=u=void 0,d)}function C(){var t,i=r(),n=j(i);if(a=arguments,u=this,p=i,n){if(void 0===f)return v=t=p,f=setTimeout(b,e),h?g(t):d;if(x)return clearTimeout(f),f=setTimeout(b,e),g(p)}return void 0===f&&(f=setTimeout(b,e)),d}return e=s(e)||0,n(i)&&(h=!!i.leading,c=(x="maxWait"in i)?l(s(i.maxWait)||0,e):c,m="trailing"in i?!!i.trailing:m),C.cancel=function(){void 0!==f&&clearTimeout(f),v=0,a=p=u=f=void 0},C.flush=function(){return void 0===f?d:y(r())},C}},82846:function(t,e,i){var n=i(77400);t.exports=function(){return n.Date.now()}},91936:function(t,e,i){var n=i(74833),r=i(11611),s=i(55193),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(s(t))return l;if(r(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=r(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=n(t);var i=a.test(t);return i||u.test(t)?c(t.slice(2),i?2:8):o.test(t)?l:+t}},30952:function(t,e,i){"use strict";i.d(e,{f:function(){return a}});var n=i(24246),r=i(66726),s=i.n(r),l=i(27378),o=i(26917);let a=t=>{let{value:e,onChange:i,placeholder:r,...a}=t,[u,c]=(0,l.useState)(e),d=s()(i,500),f=(0,l.useCallback)(t=>{c(t),d(t)},[]);return(0,n.jsx)(o.Z,{value:u,onChange:f,onClear:()=>{c(""),i("")},placeholder:r,...a})}},58754:function(t,e,i){"use strict";var n=i(24246),r=i(62051),s=i(70788);e.Z=t=>{let{heading:e,breadcrumbItems:i,isSticky:l=!0,children:o,rightContent:a,style:u,...c}=t;return(0,n.jsxs)("div",{...c,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...u}:{paddingBottom:"24px",...u},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof e?(0,n.jsx)(r.lQT,{className:i||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:e}):e,a&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:a})]}),!!i&&(0,n.jsx)(s.m,{className:o?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),o]})}},14047:function(t,e,i){"use strict";i.d(e,{H:function(){return s},V:function(){return n.V}});var n=i(84306),r=i(812);let s=()=>{let{errorAlert:t}=(0,n.V)();return{handleError:e=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(e)?i=e.data.detail:(0,r.tB)(e)&&(i=e.data.detail[0].msg),t(i)}}}},84306:function(t,e,i){"use strict";i.d(e,{V:function(){return s}});var n=i(24246),r=i(62051);let s=()=>{let t=(0,r.pmc)();return{errorAlert:(e,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,l):t(l)},successAlert:(e,i,s)=>{let l={...s,position:(null==s?void 0:s.position)||"top",render:t=>{let{onClose:s}=t;return(0,n.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,n.jsx)(r.zMQ,{}),(0,n.jsxs)(r.xuv,{children:[i&&(0,n.jsx)(r.CdC,{children:i}),(0,n.jsx)(r.XaZ,{children:e})]}),(0,n.jsx)(r.PZ7,{onClick:s,position:"relative",right:0,size:"sm",top:-1})]})}};(null==s?void 0:s.id)&&t.isActive(s.id)?t.update(s.id,l):t(l)}}}},70788:function(t,e,i){"use strict";i.d(e,{m:function(){return u}});var n=i(24246),r=i(62051),s=i(79894),l=i.n(s),o=i(27378);let{Text:a}=r.AntTypography,u=t=>{let{items:e,...i}=t,s=(0,o.useMemo)(()=>null==e?void 0:e.map((t,i)=>{let s=i===e.length-1,o={...t},u=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(a,{style:{color:"inherit",maxWidth:s?void 0:400},ellipsis:!s,children:o.title})),u)?o.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:o.icon,onClick:o.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:o.title}):(o.icon&&(o.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,n.jsx)(l(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[e]);return(0,n.jsx)(r.zrq,{items:s,...i})}},79947:function(t,e,i){"use strict";var n=i(24246),r=i(62051);e.Z=t=>{let{type:e}=t;return(0,n.jsx)(r.kCb,{align:"center",h:"full",children:!!e&&(0,n.jsx)(r.j8w,{children:e})})}},7940:function(t,e,i){"use strict";i.d(e,{G:function(){return r}});var n=i(46420);let r=t=>{var e,i,r;return t?t.resource_type?t.resource_type:(null===(e=t.schemas)||void 0===e?void 0:e.length)?n.D$.DATABASE:(null===(i=t.tables)||void 0===i?void 0:i.length)?n.D$.SCHEMA:(null===(r=t.fields)||void 0===r?void 0:r.length)?n.D$.TABLE:n.D$.FIELD:void 0}},98559:function(t,e){"use strict";e.Z=t=>{let{name:e,urn:i,monitor_config_id:n,database_name:r,schema_name:s,table_name:l,top_level_field_name:o,top_level_field_urn:a}=t;if(!o)return e;let u=i.split(".");return a?i.replace("".concat(a).concat("."),""):([n,r,s,l,o].forEach(t=>{if(t){let e=u.indexOf(t);e>-1&&u.splice(e,1)}}),u.join("."))}},36168:function(t,e){"use strict";e.Z=t=>{var e;return!!t.parent_table_urn&&null!==(e=t.sub_field_urns)&&void 0!==e&&!!e.length&&!t.top_level_field_name}},80356:function(t,e,i){"use strict";var n=i(7940),r=i(36168),s=i(46420);e.Z=t=>(0,n.G)(t)!==s.D$.FIELD||(0,r.Z)(t)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2921],{95813:function(e,l,r){r.d(l,{S:function(){return t}});let t={input:"default text",radio:"2",checkbox:!0,switch:!0,select:"2",multiselect:["2"],tags:["1"],date:"",number:12}},12921:function(e,l,r){r.r(l),r.d(l,{FormikSpreadFieldPOC:function(){return u}});var t=r(24246),n=r(62051),i=r(3124),s=r.n(i),d=r(34090),c=r(95813);let{Text:o,Title:a}=n.AntTypography,u=()=>(0,t.jsx)(d.J9,{initialValues:{...c.S},onSubmit:console.log,children:e=>{let{values:l}=e;return(0,t.jsxs)(n.bue,{children:[(0,t.jsxs)(n.JGx,{span:12,children:[(0,t.jsx)(a,{level:2,children:"<Formik> + <Form> + {...field}"}),(0,t.jsxs)("div",{className:"mb-4",children:[(0,t.jsx)(n.j8w,{color:"red",children:"non functional"}),(0,t.jsx)(n.j8w,{color:"red",children:"high effort"})]}),(0,t.jsx)(d.l0,{children:(0,t.jsxs)(n.jqI,{vertical:!0,gap:16,children:[(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"input",children:"Input"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"input",children:e=>{let{field:l}=e;return(0,t.jsx)(n.uFc,{...l,id:"input",type:"text"})}})})]}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"radio",children:e=>{let{field:l}=e;return(0,t.jsxs)(n.y02.Group,{...l,children:[(0,t.jsx)(n.y02,{value:"1",children:"Radio 1"}),(0,t.jsx)(n.y02,{value:"2",children:"Radio 2"})]})}})}),(0,t.jsxs)("div",{children:[(0,t.jsx)(d.gN,{name:"checkbox",children:e=>{let{field:r}=e;return(0,t.jsx)(n.E_O,{...r,defaultChecked:l.checkbox,children:"Checkbox"})}}),(0,t.jsx)(o,{type:"warning",children:"Requires additional logic to handle default state"})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"switch",children:"Switch"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"switch",children:e=>{let{field:l}=e;return(0,t.jsx)(n.rAg,{id:"switch",...l})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Switch's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"select",children:"Select"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"select",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{allowClear:!0,id:"select",className:"w-full",defaultValue:l.select,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"multiselect",children:"Multiselect"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"multiselect",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{mode:"multiple",allowClear:!0,id:"multiselect",className:"w-full",defaultValue:l.multiselect,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"tags",children:"Tags"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"tags",children:e=>{let{field:r}=e;return(0,t.jsx)(n.WPr,{mode:"tags",allowClear:!0,id:"tags",className:"w-full",defaultValue:l.tags,status:"error",...r,options:[{value:"1",label:"Option 1"},{value:"2",label:"Option 2"}]})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant Select's onChange is too different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"date",children:"Date"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"date",children:e=>{let{field:l}=e;return(0,t.jsx)(n.cv2,{id:"date",status:"error",...l})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant DatePicker's onChange is different from Formik, requires to be fully controlled."})]}),(0,t.jsxs)("div",{children:[(0,t.jsx)("label",{htmlFor:"number",children:"Number"}),(0,t.jsx)("div",{children:(0,t.jsx)(d.gN,{name:"number",children:e=>{let{field:r}=e;return(0,t.jsx)(n.W7D,{id:"number",defaultValue:l.number,status:"error",...r})}})}),(0,t.jsx)(o,{type:"danger",children:"Ant InputNumber's onChange is different from Formik, requires to be fully controlled."})]})]})})]}),(0,t.jsxs)(n.JGx,{span:8,offset:4,children:[(0,t.jsx)(a,{level:4,children:"Controlled Values"}),(0,t.jsx)(n.V4A,{style:{backgroundColor:s().FIDESUI_MINOS,color:s().FIDESUI_CORINTH},children:(0,t.jsx)("pre",{children:(0,t.jsxs)("code",{children:["{\n",Object.keys(l).map(e=>" ".concat(e,": ").concat(l[e],"\n")),"}"]})})})]})]})}});l.default=u}}]);
|