ethyca-fides 2.62.1b3__py2.py3-none-any.whl → 2.63.0rc0__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.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/METADATA +1 -1
- {ethyca_fides-2.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/RECORD +207 -204
- fides/_version.py +3 -3
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/LY2HTf0jAydL8pMpld53D/_buildManifest.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1099-667e84655846e78c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1100-0b01f500b1eaf60d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1817-951f58ddd5d46081.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/1904-361e37a5811ed7fc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2310-744354001d01f366.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/2921-49af55ad7c631c93.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3119-e36ae5071c8f27a5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3505-113f9c95d34b7aae.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3513-5c2d412a84a78971.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3662-f6a1ddca5ee42076.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3670-2abd9b2f17770872.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3872-45cc725e241211f0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3923-b4f701ada3ef0ee0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/3983-17ae9c232bddc413.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/401-7e800aed05537126.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4060-90a52a9afc655bfc.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4121-66b0e00d5e7ae817.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4132-9b1731bfec6ee537.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/4481-7f6710c928bb0cb0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5258-2079138c8cc34f6c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5404-2694509cf5fa96da.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5487-2cbd8d2169eb2a65.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/5683-37137111b3e769fb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6202-081545c7822d09af.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6277-459e054b2702c60e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/641-7e4eef3222cbda70.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6659-b2088f525bf13c17.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6853-688df0b88fe65fd5.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/69-00cba94689b9e740.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/6954-4e313b4599b8763d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7553-08bc3d9f66695111.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/79-fc548561beed136f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/796-d6586308ed44334b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/7980-736f9fd1e749ddd2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8032-74d94f7bd5b81c89.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8433-51870336908fb253.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/8499-1fd392d0be9e8ee4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9033-fdd87182c15b91e2.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9327-6a53461c9764b16f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{9392.bfca299d4f39a9e0.js → 9392.81edc11e3a175275.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/9494-1ffb888b95289891.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9676.61cf5f6d6a083175.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/9767-afd674014a1d1152.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/404-ec04f826f3dd79ea.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/{_app-f1add6386651ca3d.js → _app-33bc23b79bffe07c.js} +12 -12
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-1bec086d567aacff.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-f68bf100e4e60e88.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-effde5cfe49de55f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/add-vendors-ec95ed8cb0712828.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-4cc195e15e0c3cc8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-be8972c79fb39705.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/{new-7f38473ce267348a.js → new-a0039f216fb3eb93.js} +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-ccf96207de3b74ea.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/[id]-b9823cc008372cee.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/new-373f5772ab41bc93.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-b9beeee1bde5ca79.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/properties-6ab3a5baafebd199.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-8562790ae07f17c9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-42d4d2d6e0253671.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-9d1df6d890671b0c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-7eb08af333baaa8e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-bb57eed84f59a932.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-47eb34aef3e31ac6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-76cefefc53e84c7f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-9d8e84a8b4bf568d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-c3eaadd88a2e6caa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-db45aa864e9dda8a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-d5cfdebc74654337.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-618b89228f83435e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-12fc86f15a4c764e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-c23d18a9b56c2e3c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-e3b2d8e3980ab093.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-6e27257eccf65f01.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-bbac1f624424282d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-84eb56f5a07bdf4f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/index-773182b5e35d0045.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-eb28c927da5bd653.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-b582e348423e5bf4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/[id]-b51bee8680d66b20.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/add-template-1de479533f733fbd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-7dc295b3ed3d2224.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-f64dac3392f5ded7.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-eb020bfac4bee532.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-0bd62e28b539e114.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-936877004113c2a6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-6416f01524482af9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-3f4e1313d1f2969b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-1db7a54437db7db0.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-64236fd0141414fd.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-8cab04871908cfeb.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-150d40428245ee0c.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-b6c876dceb16ad1b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-20cdb2c8a03deae1.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/[id]-54bcc875592d1fb9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/add-property-644dc669b508a79a.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/properties-9a88220d03e7e02f.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-70dc1081df37ea69.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about/alpha-3c71b4dbcb6fd6c9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-7cb16e0000dd16c9.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-a18d8f12ee8dcf5d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-dc220e116ad5c09e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-55ddc5f25b86f28e.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-5ca7decded228bc8.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-a6fafa1be2834c40.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-e633750d2b45ddd6.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-3948686cbd372969.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-04ece499c22d23f4.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/regulations-7752305084280cca.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-9e5f9066be6f218d.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-86de9e6d72098e45.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-cac52e6c3abf6a15.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-60d5930b6855679b.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-b0f4c34752d32c73.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-7dee83dd6d9292aa.js +1 -0
- fides/ui-build/static/admin/_next/static/chunks/{webpack-3a61b934ba2fb620.js → webpack-8457bad7859c44f0.js} +1 -1
- fides/ui-build/static/admin/_next/static/css/1fdf5c593349dbc6.css +1 -0
- fides/ui-build/static/admin/_next/static/css/e458b5f1afdbb7fc.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/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/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 -0
- 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/D-B-G-FV05_6iwXWBGS0J/_buildManifest.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1099-b652e6f9a0cd778b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1100-e19e94b0a6486255.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1327-da0303f70d12fb20.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1817-d2543e460cec0dcb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/1904-25e5d4f1b8146fb3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2310-6a5fb2f76f7b6491.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/2921-771dc5d9e95dc6b4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3119-b5e40d8d24af1e79.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3426-77fccf2c9a5e10cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3505-313087fc1744a0ca.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3513-293b1e54699cf3e7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3615-5e2d062d684b8fa1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3872-99da5bb6140ff810.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/3923-c6dcaeaa3267f254.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/401-a882199f6c94a4dc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4060-c657e58514e91e91.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4121-ec1d8faa3cf5783c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4294-5b3aa9d605217915.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/4481-9357e3930d35073b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5258-49e73e5998c01254.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5487-218e4847b8250fbb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5683-3d5c4194b1b1493e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/570-c99f07161bd339cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/5973-d776c0029db45971.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6277-db781b6c1dde3c84.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6834-dcda0a8ed484775e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6853-348fe2ba132b400c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/69-ef4c11c574b4e6dd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/6954-04030a21a0c8cf5a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7553-0f3e9e7eaf1a8b62.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/79-d877d3bde220da44.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/796-7424eb6391142ccd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/7980-041df432c4d3a68b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8433-755359b501d32eaa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/8499-06ab15acbfec037c.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9014-eeae6f581158e645.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9327-b691be8352e31b58.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9494-d1fd4fb83c3d4836.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9676.97fdbec9c2a48c68.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9767-f8ea7d0127f81294.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/9965-92f4a28823a5e623.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/404-e868487119cd14fc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/manual-1292fd216f2839c7.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems/multiple-2ffc37614e9d1fa9.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/add-systems-0234733a90ed5127.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure/add-vendors-c8033d6560635046.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/configure-2ba21b95aa3bb15e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience/[id]-94391554a7607c5b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-experience-fd71fb440dbe60e4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/[id]-596dd2a35b455f21.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices/new-fa7f0d2639e12a5a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/privacy-notices-5a63fc903408412e.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/properties-5960170d492acb03.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent/reporting-80bd51f8217edae4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/consent-dd2a0e3b536b8b42.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects/[projectUrn]-a10a0f3e6592f350.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog/[systemId]/projects-6971531bb09dff3a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-catalog-4dbc71d8be9765f3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]/[systemId]-67ddc090cf949af4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/[monitorId]-07ff657ee49e5742.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center-dbc8c95c22b9f2aa.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/activity-db3853a09933097a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datamap-3aaa99709d83a1f6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]/[...subfieldNames]-c08363922838022a.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]/[collectionName]-f12df2140e309dfb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/[datasetId]-3f564c8d6cfb03d4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset/new-157b00d23b651d12.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/dataset-9d29dd6cf109891d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/[id]-b078218865a8fd28.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection/new-b01f89d250ff52af.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/datastore-connection-9fc15228581786e6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/index-2e6ba5382358fcf8.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations/[id]-43abc599f0768331.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/integrations-d69c9f1007e76046.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/[id]-111b07344f1ee9e4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging/add-template-c41f368fb6b35de4.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/messaging-71166bf207804754.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/ant-components-3dabaf6828acb2cb.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/AntForm-784081c774042249.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikAntFormItem-63905f2382f158cd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikControlled-43f6eab28eae7b56.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/form-experiments/FormikField-e4a07abc908fc9b5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/forms-71a3bfb94280fc49.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/poc/table-migration-fec150afcfeb3fb5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/[id]-2862630f0e9e484b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/messaging-35e58b5ed6b12b2b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure/storage-bb02092af39446da.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests/configure-42213855a0a8c209.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/privacy-requests-6baa485385ce0678.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/[id]-d547a1da0b74f00f.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties/add-property-a7de6f8409a76358.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/properties-4a5e8ec41574c6b5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/reporting/datamap-707551df97d5eebd.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/about-704fc28e61b17247.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent/[configuration_id]/[purpose_id]-e4df123bef1ff2b1.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/consent-2fd6b0ff9b6741fc.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/custom-fields-3a829c53d5d723d2.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domain-records-92e8246170b492b5.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/domains-f0e9ee8756a65540.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/email-templates-a4771098466af1ed.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/locations-4194ce716b81480d.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/organization-b235f961f9ca39a6.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/settings/regulations-8cff97fe57f42ed3.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]/test-datasets-99cd1a12ae0373b0.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems/configure/[id]-01006a55ac873135.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/systems-45990d85a4c5739b.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/taxonomy-ec739e169cd5eafe.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management/profile/[id]-603c2bdbd8dc00ca.js +0 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/user-management-592e497369673e1a.js +0 -1
- fides/ui-build/static/admin/_next/static/css/1b227ba7eabbfe2f.css +0 -1
- fides/ui-build/static/admin/_next/static/css/92c81f666644c594.css +0 -1
- {ethyca_fides-2.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.62.1b3.dist-info → ethyca_fides-2.63.0rc0.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{D-B-G-FV05_6iwXWBGS0J → LY2HTf0jAydL8pMpld53D}/_ssgManifest.js +0 -0
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8433],{58754:function(e,t,i){var n=i(24246),r=i(4454),l=i(70788);t.Z=e=>{let{heading:t,breadcrumbItems:i,isSticky:s=!0,children:a,rightContent:d,style:o,...c}=e;return(0,n.jsxs)("div",{...c,style:s?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...o}:{paddingBottom:"24px",...o},children:[(0,n.jsxs)(r.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(r.lQT,{className:i||a?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,d&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:d})]}),!!i&&(0,n.jsx)(l.m,{className:a?"pb-4":void 0,items:i,"data-testid":"page-breadcrumb"}),a]})}},19904:function(e,t,i){i.d(t,{Tg:function(){return s}});var n=i(24246),r=i(16134),l=i(31793);let s=e=>(0,r.C)(l.uu).filter(t=>e.includes(t)).length>0;t.ZP=e=>{let{scopes:t,children:i}=e;return s(t)?(0,n.jsx)(n.Fragment,{children:i}):null}},14047:function(e,t,i){i.d(t,{H:function(){return l},V:function(){return n.V}});var n=i(84306),r=i(812);let l=()=>{let{errorAlert:e}=(0,n.V)();return{handleError:t=>{let i="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?i=t.data.detail:(0,r.tB)(t)&&(i=t.data.detail[0].msg),e(i)}}}},84306:function(e,t,i){i.d(t,{V:function(){return l}});var n=i(24246),r=i(4454);let l=()=>{let e=(0,r.pmc)();return{errorAlert:(t,i,l)=>{let s={...l,position:(null==l?void 0:l.position)||"top",render:e=>{let{onClose:l}=e;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:t})]}),(0,n.jsx)(r.PZ7,{onClick:l,position:"relative",right:0,size:"sm",top:-1})]})}};(null==l?void 0:l.id)&&e.isActive(l.id)?e.update(l.id,s):e(s)},successAlert:(t,i,l)=>{let s={...l,position:(null==l?void 0:l.position)||"top",render:e=>{let{onClose:l}=e;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:t})]}),(0,n.jsx)(r.PZ7,{onClick:l,position:"relative",right:0,size:"sm",top:-1})]})}};(null==l?void 0:l.id)&&e.isActive(l.id)?e.update(l.id,s):e(s)}}}},70788:function(e,t,i){i.d(t,{m:function(){return o}});var n=i(24246),r=i(4454),l=i(79894),s=i.n(l),a=i(27378);let{Text:d}=r.AntTypography,o=e=>{let{items:t,...i}=e,l=(0,a.useMemo)(()=>null==t?void 0:t.map((e,i)=>{let l=i===t.length-1,a={...e},o=a.onClick&&!a.href;return("string"==typeof a.title&&(a.title=(0,n.jsx)(d,{style:{color:"inherit",maxWidth:l?void 0:400},ellipsis:!l,children:a.title})),o)?a.title=(0,n.jsx)(r.wpx,{type:"text",size:"small",icon:a.icon,onClick:a.onClick,className:"ant-breadcrumb-link -mt-px px-1 text-inherit",children:a.title}):(a.icon&&(a.title=(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)("span",{className:"anticon align-text-bottom",children:a.icon}),a.title]})),a.href&&a.title&&(a.title=(0,n.jsx)(s(),{href:a.href,className:"ant-breadcrumb-link",children:a.title}),delete a.href)),a}),[t]);return(0,n.jsx)(r.zrq,{items:l,...i})}},57526:function(e,t,i){var n=i(24246),r=i(4454),l=i(27378);t.Z=e=>{let{isOpen:t,onClose:i,onApproveRequest:s,isLoading:a,subjectRequest:d}=e,{identity:o,identity_verified_at:c,custom_privacy_request_fields:u}=d,x=(0,l.useCallback)(()=>{s().then(()=>{i()})},[s,i]);return(0,n.jsxs)(r.u_l,{isOpen:t,onClose:i,size:"lg",isCentered:!0,children:[(0,n.jsx)(r.ZAr,{}),(0,n.jsxs)(r.hzk,{children:[(0,n.jsx)(r.xBx,{children:"Privacy request approval"}),(0,n.jsxs)(r.fef,{paddingTop:0,paddingBottom:0,children:[(0,n.jsx)(r.xvT,{color:"gray.500",fontSize:"14px",marginBottom:4,children:"Are you sure you want to approve this privacy request?"}),(0,n.jsxs)(r.QI$,{children:[Object.entries(o).filter(e=>{let[,{value:t}]=e;return null!==t}).map(e=>{let[t,{value:i,label:l}]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[l,":"]}),(0,n.jsx)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:i}),"(",c?"Verified":"Unverified",")"]},t)},t)}),u&&Object.entries(u).filter(e=>{let[,t]=e;return t.value}).map(e=>{let[t,i]=e;return(0,n.jsx)(r.HCh,{children:(0,n.jsxs)(r.kCb,{alignItems:"flex-start",children:[(0,n.jsxs)(r.xvT,{mr:2,fontSize:"sm",color:"gray.900",fontWeight:"500",children:[i.label,":"]}),(0,n.jsxs)(r.xvT,{color:"gray.600",fontWeight:"500",fontSize:"sm",mr:2,children:[Array.isArray(i.value)?i.value.join(", "):i.value," "]}),"(Unverified)"]},t)},t)})]})]}),(0,n.jsx)(r.mzw,{children:(0,n.jsxs)(r.MIq,{columns:2,width:"100%",children:[(0,n.jsx)(r.wpx,{onClick:i,className:"mr-3","data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(r.wpx,{type:"primary","data-testid":"continue-btn",onClick:x,loading:a,children:"Confirm"})]})})]})]})}},66548:function(e,t,i){var n=i(24246),r=i(40324),l=i(4454),s=i(34090),a=i(27378),d=i(55484);let o={denialReason:""};t.Z=e=>{let{isOpen:t,onClose:i,onDenyRequest:c}=e,u=(0,a.useCallback)((e,t)=>{let{setSubmitting:n}=t;c(e.denialReason).then(()=>{n(!1),i()})},[c,i]);return(0,n.jsxs)(l.u_l,{isOpen:t,onClose:i,isCentered:!0,returnFocusOnClose:!1,children:[(0,n.jsx)(l.ZAr,{}),(0,n.jsx)(l.hzk,{width:"100%",maxWidth:"456px","data-testid":"deny-privacy-request-modal",children:(0,n.jsx)(s.J9,{initialValues:o,validationSchema:d.Ry({denialReason:d.Z_().required().label("Reason for denial")}),onSubmit:u,children:e=>{let{isSubmitting:t,dirty:a,isValid:d}=e;return(0,n.jsxs)(s.l0,{children:[(0,n.jsx)(l.xBx,{children:"Privacy request denial"}),(0,n.jsx)(l.fef,{color:"gray.500",fontSize:"14px",children:"Please enter a reason for denying this privacy request. Please note: this can be seen by the user in their notification email."}),(0,n.jsx)(l.fef,{children:(0,n.jsx)(r.Ks,{name:"denialReason",textAreaProps:{focusBorderColor:"primary.600",resize:"none"}})}),(0,n.jsxs)(l.mzw,{className:"flex w-full gap-4",children:[(0,n.jsx)(l.wpx,{disabled:t,onClick:i,className:"grow",children:"Cancel"}),(0,n.jsx)(l.wpx,{htmlType:"submit",type:"primary",disabled:!a||!d,loading:t,className:"grow","data-testid":"deny-privacy-request-modal-btn",children:"Confirm"})]})]})}})})]})}},45489:function(e,t,i){i.d(t,{Z:function(){return r}});var n=i(90867);let r=e=>{let{subjectRequest:t}=e,[i,r]=(0,n.RW)({fixedCacheKey:t.id}),[l,s]=(0,n.F1)({fixedCacheKey:t.id}),[a,d]=(0,n.rC)({fixedCacheKey:t.id}),o=s.isLoading||r.isLoading;return{approveRequest:i,approveRequestResult:r,denyRequest:l,denyRequestResult:s,handleApproveRequest:()=>i(t),handleDenyRequest:e=>l({id:t.id,reason:e}),handleDeleteRequest:()=>a(t),softDeleteRequestResult:d,isLoading:o}}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8499],{95492:function(e,s,t){t.d(s,{l:function(){return i}});var n=t(24246);let i=(0,t(4454).IUT)({displayName:"TrashCanSolidIcon",viewBox:"0 0 12 15",path:(0,n.jsx)("path",{d:"M8.37857 1.18083C8.23393 0.892838 7.93661 0.710938 7.6125 0.710938H4.3875C4.06339 0.710938 3.76607 0.892838 3.62143 1.18083L3.42857 1.56094H0.857143C0.383036 1.56094 -1.19209e-07 1.94158 -1.19209e-07 2.41094C-1.19209e-07 2.8803 0.383036 3.26094 0.857143 3.26094H11.1429C11.6162 3.26094 12 2.8803 12 2.41094C12 1.94158 11.6162 1.56094 11.1429 1.56094H8.57143L8.37857 1.18083ZM11.167 4.11094H0.857143V12.6109C0.857143 13.5486 1.62589 14.3109 2.57143 14.3109H9.45268C10.3754 14.3109 11.167 13.5486 11.167 12.6109V4.11094ZM9.02411 6.23594V12.1859C9.02411 12.4197 8.80714 12.6109 8.59554 12.6109C8.33571 12.6109 8.16696 12.4197 8.16696 12.1859V6.23594C8.16696 6.00219 8.33571 5.81094 8.59554 5.81094C8.80714 5.81094 9.02411 6.00219 9.02411 6.23594ZM6.45268 6.23594V12.1859C6.45268 12.4197 6.23571 12.6109 6.02411 12.6109C5.76429 12.6109 5.57143 12.4197 5.57143 12.1859V6.23594C5.57143 6.00219 5.76429 5.81094 6.02411 5.81094C6.23571 5.81094 6.45268 6.00219 6.45268 6.23594ZM3.85714 6.23594V12.1859C3.85714 12.4197 3.66429 12.6109 3.42857 12.6109C3.19286 12.6109 3 12.4197 3 12.1859V6.23594C3 6.00219 3.19286 5.81094 3.42857 5.81094C3.66429 5.81094 3.85714 6.00219 3.85714 6.23594Z",fill:"currentColor"})})},45938:function(e,s,t){t.d(s,{Gt:function(){return m},eB:function(){return f},oI:function(){return u}});var n=t(24246),i=t(34090),a=t(27378),l=t(16134),r=t(38602),d=t(58452);let o=(0,a.createRef)(),c=(0,a.createRef)(),u=()=>{let e=(0,l.T)(),s=(0,l.C)(r.DB),t=(0,a.useCallback)(()=>{c.current=void 0,o.current=void 0},[]),n=(0,a.useCallback)(()=>{e((0,r.Mr)()),c.current&&(c.current(!0),t())},[e,t]),i=(0,a.useCallback)(()=>{e((0,r.Mr)()),c.current&&(c.current(!1),t())},[e,t]);return{attemptAction:(0,a.useCallback)(()=>s?(e((0,r.h7)()),o.current||(o.current=new Promise(e=>{c.current=e})),o.current):Promise.resolve(!0),[s,e]),onConfirm:n,onClose:i}},m=e=>{let{id:s,name:t}=e,{dirty:n}=(0,i.u6)(),d=(0,l.T)();return(0,a.useEffect)(()=>(d((0,r.Zu)({id:s,name:t})),()=>{d((0,r.dz)({id:s}))}),[d,s,t]),(0,a.useEffect)(()=>{d((0,r.$p)({id:s,isDirty:n}))},[n,d,s]),null},f=()=>{let{onConfirm:e,onClose:s}=u(),t=(0,l.C)(r.uv);return(0,n.jsx)(d.Z,{isOpen:t,onClose:s,onConfirm:e,isCentered:!0,title:"Unsaved Changes",message:"You have unsaved changes"})}},84720:function(e,s,t){t.d(s,{q:function(){return p}});var n=t(24246),i=t(4454),a=t(27378),l=t(812),r=t(45938),d=t(14048),o=t(95492),c=t(34090);let u=e=>{let{systems:s,dataFlows:t,onDataFlowSystemChange:a}=e,{setFieldValue:l}=(0,c.u6)(),r=t.map(e=>e.fides_key),d=e=>{let s=t.filter(s=>s.fides_key!==e.fides_key);l("dataFlowSystems",s),a(s)};return(0,n.jsxs)(i.iA_,{size:"sm","data-testid":"assign-systems-delete-table",children:[(0,n.jsx)(i.hrZ,{children:(0,n.jsxs)(i.Tr,{children:[(0,n.jsx)(i.Th,{children:"System"}),(0,n.jsx)(i.Th,{})]})}),(0,n.jsx)(i.p3B,{children:s.filter(e=>r.includes(e.fides_key)).map(e=>(0,n.jsxs)(i.Tr,{_hover:{bg:"gray.50"},"data-testid":"row-".concat(e.fides_key),children:[(0,n.jsx)(i.Td,{children:(0,n.jsx)(i.xvT,{fontSize:"xs",lineHeight:4,fontWeight:"medium",children:e.name})}),(0,n.jsx)(i.Td,{textAlign:"end",children:(0,n.jsx)(i.wpx,{"aria-label":"Unassign data flow from system",icon:(0,n.jsx)(o.l,{}),onClick:()=>d(e),"data-testid":"unassign-btn"})})]},e.fides_key))})]})};var m=t(26917),f=e=>{let{allSystems:s,dataFlowSystems:t,onChange:a,flowType:l}=e,{setFieldValue:r}=(0,c.u6)(),d=e=>{if(t.find(s=>s.fides_key===e.fides_key)){let s=t.filter(s=>s.fides_key!==e.fides_key);r("dataFlowSystems",s),a(s)}else{let s=[...t,{fides_key:e.fides_key,type:"system"}];r("dataFlowSystems",s),a(s)}};return(0,n.jsx)(i.xuv,{overflowY:"auto",maxHeight:"300px",children:(0,n.jsxs)(i.iA_,{size:"sm","data-testid":"assign-systems-table",maxHeight:"50vh",overflowY:"scroll",children:[(0,n.jsx)(i.hrZ,{position:"sticky",top:0,background:"white",zIndex:1,children:(0,n.jsxs)(i.Tr,{children:[(0,n.jsx)(i.Th,{children:"System"}),(0,n.jsxs)(i.Th,{textAlign:"right",children:["Set as ",l]})]})}),(0,n.jsx)(i.p3B,{children:s.map(e=>{let s=!!t.find(s=>s.fides_key===e.fides_key);return(0,n.jsxs)(i.Tr,{_hover:{bg:"gray.50"},"data-testid":"row-".concat(e.fides_key),children:[(0,n.jsx)(i.Td,{children:(0,n.jsx)(i.xvT,{fontSize:"xs",lineHeight:4,fontWeight:"medium",children:e.name})}),(0,n.jsx)(i.Td,{textAlign:"right",children:(0,n.jsx)(i.rAg,{checked:s,onChange:()=>d(e),"data-testid":"assign-switch"})})]},e.fides_key)})})]})})};let h=(e,s)=>{var t,n;return(null===(t=e.name)||void 0===t?void 0:t.toLocaleLowerCase().includes(s.toLocaleLowerCase()))||(null===(n=e.description)||void 0===n?void 0:n.toLocaleLowerCase().includes(s.toLocaleLowerCase()))};var x=e=>{let{currentSystem:s,systems:t,isOpen:l,onClose:r,dataFlowSystems:d,onDataFlowSystemChange:o,flowType:u}=e,{setFieldValue:x}=(0,c.u6)(),[y,g]=(0,a.useState)(""),[C,j]=(0,a.useState)(d),p=async()=>{o(C),r()},k=0===t.length,w=(0,a.useMemo)(()=>t?t.filter(e=>e.fides_key!==s.fides_key).filter(e=>h(e,y)):[],[t,s.fides_key,y]),v=(0,a.useMemo)(()=>{let e=new Set(C.map(e=>e.fides_key));return w.every(s=>e.has(s.fides_key))},[w,C]);return(0,n.jsxs)(i.u_l,{isOpen:l,onClose:r,size:"2xl",isCentered:!0,children:[(0,n.jsx)(i.ZAr,{}),(0,n.jsxs)(i.hzk,{p:8,"data-testid":"confirmation-modal",children:[(0,n.jsxs)(i.xBx,{fontWeight:"medium",display:"flex",justifyContent:"space-between",alignItems:"center",children:[(0,n.jsxs)(i.xvT,{fontSize:"2xl",lineHeight:8,fontWeight:"semibold",children:["Configure ",u.toLocaleLowerCase()," systems"]}),(0,n.jsxs)(i.j8w,{color:"success",children:["Assigned to ",C.length," systems"]})]}),(0,n.jsx)(i.fef,{"data-testid":"assign-systems-modal-body",children:k?(0,n.jsx)(i.xvT,{children:"No systems found"}):(0,n.jsxs)(i.Kqy,{spacing:4,children:[(0,n.jsxs)(i.kCb,{justifyContent:"space-between",children:[(0,n.jsx)(i.xvT,{fontSize:"sm",flexGrow:1,fontWeight:"medium",children:"Add or remove destination systems from your data map"}),(0,n.jsx)(i.xuv,{children:(0,n.jsxs)(i.NIc,{display:"flex",alignItems:"center",children:[(0,n.jsx)(i.lXp,{fontSize:"sm",htmlFor:"assign-all-systems",mb:"0",children:"Assign all systems"}),(0,n.jsx)(i.rAg,{size:"small",id:"assign-all-systems",checked:v,onChange:e=>{if(e&&t){let e=w.map(e=>({fides_key:e.fides_key,type:"system"}));x("dataFlowSystems",e),j(e)}else j([])},"data-testid":"assign-all-systems-toggle"})]})})]}),(0,n.jsx)(m.Z,{value:y,onChange:g,placeholder:"Search for systems","data-testid":"system-search",withIcon:!0}),(0,n.jsx)(f,{flowType:u,allSystems:w,dataFlowSystems:C,onChange:j})]})}),(0,n.jsxs)(i.mzw,{justifyContent:"flex-start",children:[(0,n.jsx)(i.wpx,{onClick:r,className:"mr-2","data-testid":"cancel-btn",children:"Cancel"}),!k&&(0,n.jsx)(i.wpx,{type:"primary",onClick:p,"data-testid":"confirm-btn",children:"Confirm"})]})]})]})},y=t(46628),g=t(1315);let C={dataFlowSystems:[]},j=e=>{let{system:s,isIngress:t,isSystemTab:o}=e,m=(0,i.pmc)(),f=t?"Source":"Destination",h="".concat(f,"s"),j=(0,i.qY0)(),[p]=(0,g.qQ)(),{data:k=[]}=(0,g.K3)(),w=(0,a.useMemo)(()=>{let e=t?s.ingress:s.egress;e||(e=[]);let n=k?k.map(e=>e.fides_key):[];return e.filter(e=>n.includes(e.fides_key))},[t,s,k]),[v,b]=(0,a.useState)(w);(0,a.useEffect)(()=>{b(w)},[w]);let _=async(e,n)=>{let{dataFlowSystems:i}=e,{resetForm:a}=n,r={...s,ingress:t?i:s.ingress,egress:t?s.egress:i},d=await p(r);(0,l.D4)(d)?m((0,y.Vo)("Failed to update data flows")):m((0,y.t5)("".concat(h," updated"))),a({values:{dataFlowSystems:i}})};return(0,n.jsxs)(i.Qdk,{children:[(0,n.jsx)(i.KFZ,{height:"68px",paddingLeft:o?6:2,"data-testid":"data-flow-button-".concat(f),children:(0,n.jsxs)(i.kCb,{alignItems:"center",justifyContent:"start",flex:1,textAlign:"left",children:[(0,n.jsx)(i.xvT,{fontSize:"sm",lineHeight:5,fontWeight:"semibold",mr:2,children:h}),(0,n.jsx)(i.Vp9,{ml:2,backgroundColor:"primary.400",borderRadius:"6px",color:"white",children:v.length}),(0,n.jsx)(i.LZC,{}),(0,n.jsx)(i.XEm,{})]})}),(0,n.jsx)(i.Hk3,{backgroundColor:"gray.50",padding:6,"data-testid":"data-flow-panel-".concat(f),children:(0,n.jsx)(i.Kqy,{borderRadius:"md",backgroundColor:"gray.50","aria-selected":"true",spacing:4,"data-testid":"selected",children:(0,n.jsx)(c.J9,{initialValues:C,onSubmit:_,children:e=>{let{isSubmitting:t,dirty:a,resetForm:l}=e;return(0,n.jsxs)(c.l0,{children:[(0,n.jsx)(r.Gt,{id:"".concat(s.fides_key,":").concat(f),name:"".concat(f," Data Flow")}),(0,n.jsx)(i.wpx,{onClick:j.onOpen,type:"primary",size:"small",icon:(0,n.jsx)(d.A5,{}),iconPosition:"end",className:"mb-4","data-testid":"assign-systems-btn",children:"Configure ".concat(h.toLocaleLowerCase())}),(0,n.jsx)(u,{systems:k,dataFlows:v,onDataFlowSystemChange:b}),(0,n.jsxs)("div",{className:"mt-6 flex gap-2",children:[(0,n.jsx)(i.wpx,{disabled:!a&&v===w,onClick:()=>{b(w),l({values:{dataFlowSystems:w}})},"data-testid":"cancel-btn",children:"Cancel"}),(0,n.jsx)(i.wpx,{type:"primary",htmlType:"submit",loading:t,disabled:!a&&v===w,"data-testid":"save-btn",children:"Save"})]}),j.isOpen?(0,n.jsx)(x,{currentSystem:s,systems:k,isOpen:j.isOpen,onClose:j.onClose,dataFlowSystems:v,onDataFlowSystemChange:b,flowType:f}):null]})}})})})]})},p=e=>{let{system:s,isSystemTab:t}=e;return(0,n.jsxs)(i.UQy,{allowToggle:!0,"data-testid":"data-flow-accordion",children:[(0,n.jsx)(j,{system:s,isIngress:!0,isSystemTab:t}),(0,n.jsx)(j,{system:s,isSystemTab:t})]})}},52368:function(e,s,t){t.d(s,{f:function(){return d}});var n=t(16134),i=t(30002),a=t(28079),l=t(41966),r=t(57072);let d=e=>{let{includeDatasets:s,includeDisabled:t}=e,{isLoading:d}=(0,r.MO)(),{isLoading:o}=(0,i.te)(),{isLoading:c}=(0,a.fd)(),{isLoading:u}=(0,l.LH)({onlyUnlinkedDatasets:!1},{skip:!s}),m=(0,n.C)(r.qb),f=(0,n.C)(r.Bd),h=(0,n.C)(i.ZL),x=(0,n.C)(i.H7),y=(0,n.C)(a.U3),g=(0,n.C)(a.jp),C=(0,n.C)(l.Q4);return{allDataCategories:t?m:f,allDataSubjects:t?h:x,allDataUses:t?y:g,allDatasets:s?C:void 0,isLoading:d||o||c||u}}},31883:function(e,s,t){t.d(s,{Bw:function(){return n.Bw},D4:function(){return n.D4}});var n=t(19043)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9033],{18225:function(e,t,s){var a=s(24246),i=s(4454);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(4454),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(4454);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(4454),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,[p,j,{setValue:g}]=(0,n.U$)(t),y=!!(j.touched&&j.error),[v,f]=(0,r.useState)("");p.value||"tags"!==m.mode&&"multiple"!==m.mode||(p.value=[]),"tags"===m.mode&&"string"==typeof p.value&&(p.value=[p.value]);let C="tags"===m.mode?(e,t)=>e?e.value!==v||p.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,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:C,onSearch:"tags"===m.mode?S:void 0,onChange:A,value:p.value||void 0,status:y?"error":void 0}),x&&(0,a.jsx)(i.Q6r,{children:x}),(0,a.jsx)(c.Bc,{isInvalid:y,message:j.error,fieldName:p.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,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:C,onSearch:"tags"===m.mode?S:void 0,onChange:A,value:p.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:j.error,fieldName:p.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(4454);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(4454);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(4454),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(4454),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(4454),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(4454),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)}}}},41553:function(e,t,s){var a=s(24246),i=s(4454),n=s(16394);t.Z=e=>{let{testData:t}=e;if(!t.timestamp)return(0,a.jsx)(i.xvT,{"data-testid":"connection-status",children:"Connection not tested"});let s=(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 ",s]})]}):(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 ",s]})]})}},75595:function(e,t,s){var a=s(24246),i=s(4454),n=s(41337),r=s(15872),o=s(45216),c=s(66250),d=s(41553);t.Z=e=>{let{integration:t,showTestNotice:s,otherButtons:l,showDeleteButton:h,configureButtonLabel:u="Configure",onConfigureClick:x}=e,{testConnection:m,isLoading:p,testData:j}=(0,o.Z)(t),g=(0,c.ZP)(null==t?void 0:t.connection_type);return(0,a.jsxs)(i.xuv,{maxW:"760px",borderWidth:1,borderRadius:"lg",overflow:"hidden",padding:"12px",marginBottom:"24px","data-testid":"integration-info-".concat(null==t?void 0:t.key),children:[(0,a.jsxs)(i.kCb,{children:[(0,a.jsx)(n.Z,{data:null!=t?t:"",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==t?void 0:t.name)||"(No name)"}),s?(0,a.jsx)(d.Z,{testData:j}):(0,a.jsx)(i.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"semibold",mt:1,children:g.category})]}),(0,a.jsxs)("div",{className:"flex gap-4",children:[h&&t&&(0,a.jsx)(r.Z,{showMenu:!1,connection_key:t.key}),s&&(0,a.jsx)(i.wpx,{onClick:m,loading:p,"data-testid":"test-connection-btn",children:"Test connection"}),l,x&&(0,a.jsx)(i.wpx,{onClick:x,"data-testid":"configure-btn",children:u})]})]}),(0,a.jsx)(i.Eq9,{marginTop:"16px",children:g.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(4454),o=s(27378),c=s(60018),d=s(46381),l=s(12627),h=s(812),u=s(46238),x=s(90980),m=s(46628),p=s(11013),j=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,p.$y)(),[S,{isLoading:A}]=(0,p.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,j.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,p.m5)(),a=(0,r.pmc)(),i=async e=>{let t=await s({id:e});(0,j.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:j}=(0,v.oi)(),{data:g,isLoading:y,isFetching:C}=(0,p.eV)({page:j,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(4454),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),p=s(97181),j=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(61317),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:F}]=(0,S.pH)(),[H,{isLoading:I}]=(0,D.qd)(),B=c.identifier!==R.Rj.MANUAL_WEBHOOK,{data:k,isLoading:O}=(0,f.n3)(c.identifier,{skip:!B}),{data:L}=(0,D.K3)(),P=null==L?void 0:L.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}),M=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:U,initialDatasets:q}=(0,A.t)({connectionConfig:r}),{getFieldValidation:G,preprocessValues:Q}=(0,y.l)(k),Z=T||F||I,z={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==k?void 0:k.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:q},W=(0,i.pmc)(),X=!!r,Y=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()),V=async e=>{var t;let s;let a=B?Y(e.secrets):{},i=Q(e),n=X?{...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 H({systemFidesKey:e.system_fides_key,connectionConfigs:[n]}):await _(n),(0,w.D4)(s)){W({status:"error",description:(0,v.e$)(s.error,"A problem occurred while ".concat(X?"updating":"creating"," this integration. Please try again."))});return}if(!B||!e.secrets){W({status:"success",description:"Integration ".concat(X?"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(X?"updating":"creating"," this integration's secret. Please try again."))});return}}W({status:"success",description:"Integration secret ".concat(X?"updated":"created"," successfully")}),l(),n&&e.dataset&&c.identifier===R.Rj.DATAHUB&&await U(e,n.key,{showSuccessAlert:!1})};if(O)return(0,a.jsx)(m.Z,{});let K=e=>Object.entries(e.properties).map(t=>{let[s,i]=t,n="secrets.".concat(s);return(0,a.jsx)(j.A,{name:n,fieldSchema:i,isRequired:e.required.includes(s),secretsSchema:e,validate:G(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:z,enableReinitialize:!0,onSubmit:V,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&&k&&K(k),!X&&(0,a.jsx)(p.d,{id:"system_fides_key",name:"system_fides_key",options:null!=P?P:[],label:"System",tooltip:"The system to associate with the integration",layout:"stacked"}),c.identifier===R.Rj.DATAHUB&&(0,a.jsx)(p.d,{id:"dataset",name:"dataset",options:null!=M?M:[],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:Z,"data-testid":"save-btn",children:"Save"})]})]})})}})]})}},66250:function(e,t,s){s.d(t,{FO:function(){return L},jq:function(){return P},ZP:function(){return M}}),(a=i||(i={})).DATA_CATALOG="Data Catalog",a.DATA_WAREHOUSE="Data Warehouse",a.DATABASE="Database",a.IDENTITY_PROVIDER="Identity Provider",a.WEBSITE="Website",a.MANUAL="Manual";var a,i,n=s(24246),r=s(4454),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(61317);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]},p={name:"Datahub",key:"datahub_placeholder",connection_type:l.Rj.DATAHUB,access:l.uv.READ,created_at:""},j=(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:p,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:j,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]},F={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]},H={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]},I={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]},B={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]},k={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]},O={[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]:F,[l.Rj.S3]:H,[l.Rj.SCYLLA]:I,[l.Rj.SNOWFLAKE]:B,[l.Rj.MYSQL]:D,[l.Rj.WEBSITE]:k,[l.Rj.POSTGRES]:T,[l.Rj.MANUAL_WEBHOOK]:A},L=Object.values(O),P=Object.keys(O),N={placeholder:{name:"",key:"placeholder",connection_type:l.Rj.MANUAL,access:l.uv.READ,created_at:""},category:i.DATA_WAREHOUSE,tags:[],enabledFeatures:[]};var M=e=>{var t;return e&&null!==(t=O[e])&&void 0!==t?t:N}},64176:function(e,t,s){var a=s(27378),i=s(20682);t.Z=e=>{let{data:t}=(0,i.$I)({});return(0,a.useMemo)(()=>null==t?void 0:t.items.find(t=>t.identifier===e),[t,e])}},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
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9327],{77213:function(e,t,r){"use strict";r.d(t,{Z:function(){return p}});var n=r(24246),i=r(4454),l=r(88038),a=r.n(l),o=r(86677);r(27378);var s=r(25980),u=r(90867),d=r(77830),c=()=>{let e=(0,o.useRouter)();return(0,n.jsx)(i.xuv,{bg:"gray.50",border:"1px solid",borderColor:"blue.400",borderRadius:"md",justifyContent:"space-between",p:5,mb:5,mt:5,children:(0,n.jsxs)(i.xuv,{children:[(0,n.jsxs)(i.Kqy,{direction:{base:"column",sm:"row"},justifyContent:"space-between",children:[(0,n.jsx)(i.xvT,{fontWeight:"semibold",children:"Configure your storage and messaging provider"}),(0,n.jsx)(i.wpx,{onClick:()=>{e.push(d.fz)},children:"Configure"})]}),(0,n.jsxs)(i.xvT,{children:["Before Fides can process your privacy requests we need two simple steps to configure your storage and email client."," "]})]})})},p=e=>{let{children:t,title:r,padded:l=!0,mainProps:d}=e,p=(0,s.hz)(),f=(0,o.useRouter)(),h="/privacy-requests"===f.pathname||"/datastore-connection"===f.pathname,m=!(p.flags.privacyRequestsConfiguration&&h),{data:b}=(0,u.JE)(void 0,{skip:m}),{data:g}=(0,u.PW)(void 0,{skip:m}),y=p.flags.privacyRequestsConfiguration&&(!b||!g)&&h;return(0,n.jsxs)(i.kCb,{"data-testid":r,direction:"column",h:"100vh",children:[(0,n.jsxs)(a(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",r]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsxs)(i.kCb,{as:"main",direction:"column",py:l?6:0,px:l?10:0,h:l?"calc(100% - 48px)":"full",flex:1,minWidth:0,overflow:"auto",...d,children:[y?(0,n.jsx)(c,{}):null,t]})]})}},58754:function(e,t,r){"use strict";var n=r(24246),i=r(4454),l=r(70788);t.Z=e=>{let{heading:t,breadcrumbItems:r,isSticky:a=!0,children:o,rightContent:s,style:u,...d}=e;return(0,n.jsxs)("div",{...d,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,n.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,n.jsx)(i.lQT,{className:r||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,s&&(0,n.jsx)("div",{"data-testid":"page-header-right-content",children:s})]}),!!r&&(0,n.jsx)(l.m,{className:o?"pb-4":void 0,items:r,"data-testid":"page-breadcrumb"}),o]})}},70788:function(e,t,r){"use strict";r.d(t,{m:function(){return u}});var n=r(24246),i=r(4454),l=r(79894),a=r.n(l),o=r(27378);let{Text:s}=i.AntTypography,u=e=>{let{items:t,...r}=e,l=(0,o.useMemo)(()=>null==t?void 0:t.map((e,r)=>{let l=r===t.length-1,o={...e},u=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,n.jsx)(s,{style:{color:"inherit",maxWidth:l?void 0:400},ellipsis:!l,children:o.title})),u)?o.title=(0,n.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,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)(a(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,n.jsx)(i.zrq,{items:l,...r})}},41207:function(e,t,r){"use strict";r.d(t,{F:function(){return a},M:function(){return l}});var n=r(76649),i=r(65218);let l=r.n(i)()(()=>r.e(7088).then(r.bind(r,57088)).then(e=>e.default),{loadableGenerated:{webpack:()=>[57088]},ssr:!1}),a=e=>(0,n.Ln)({name:"string"},e)&&"YAMLException"===e.name},76737:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return o},noSSR:function(){return a}});let n=r(51538);r(24246),r(27378);let i=n._(r(21887));function l(e){return{default:(null==e?void 0:e.default)||e}}function a(e,t){return delete t.webpack,delete t.modules,e(t)}function o(e,t){let r=i.default,n={loading:e=>{let{error:t,isLoading:r,pastDelay:n}=e;return null}};e instanceof Promise?n.loader=()=>e:"function"==typeof e?n.loader=e:"object"==typeof e&&(n={...n,...e});let o=(n={...n,...t}).loader;return(n.loadableGenerated&&(n={...n,...n.loadableGenerated},delete n.loadableGenerated),"boolean"!=typeof n.ssr||n.ssr)?r({...n,loader:()=>null!=o?o().then(l):Promise.resolve(l(()=>null))}):(delete n.webpack,delete n.modules,a(r,n))}("function"==typeof t.default||"object"==typeof t.default&&null!==t.default)&&void 0===t.default.__esModule&&(Object.defineProperty(t.default,"__esModule",{value:!0}),Object.assign(t.default,t),e.exports=t.default)},28438:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"LoadableContext",{enumerable:!0,get:function(){return n}});let n=r(51538)._(r(27378)).default.createContext(null)},21887:function(e,t,r){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"default",{enumerable:!0,get:function(){return p}});let n=r(51538)._(r(27378)),i=r(28438),l=[],a=[],o=!1;function s(e){let t=e(),r={loading:!0,loaded:null,error:null};return r.promise=t.then(e=>(r.loading=!1,r.loaded=e,e)).catch(e=>{throw r.loading=!1,r.error=e,e}),r}class u{promise(){return this._res.promise}retry(){this._clearTimeouts(),this._res=this._loadFn(this._opts.loader),this._state={pastDelay:!1,timedOut:!1};let{_res:e,_opts:t}=this;e.loading&&("number"==typeof t.delay&&(0===t.delay?this._state.pastDelay=!0:this._delay=setTimeout(()=>{this._update({pastDelay:!0})},t.delay)),"number"==typeof t.timeout&&(this._timeout=setTimeout(()=>{this._update({timedOut:!0})},t.timeout))),this._res.promise.then(()=>{this._update({}),this._clearTimeouts()}).catch(e=>{this._update({}),this._clearTimeouts()}),this._update({})}_update(e){this._state={...this._state,error:this._res.error,loaded:this._res.loaded,loading:this._res.loading,...e},this._callbacks.forEach(e=>e())}_clearTimeouts(){clearTimeout(this._delay),clearTimeout(this._timeout)}getCurrentValue(){return this._state}subscribe(e){return this._callbacks.add(e),()=>{this._callbacks.delete(e)}}constructor(e,t){this._loadFn=e,this._opts=t,this._callbacks=new Set,this._delay=null,this._timeout=null,this.retry()}}function d(e){return function(e,t){let r=Object.assign({loader:null,loading:null,delay:200,timeout:null,webpack:null,modules:null},t),l=null;function s(){if(!l){let t=new u(e,r);l={getCurrentValue:t.getCurrentValue.bind(t),subscribe:t.subscribe.bind(t),retry:t.retry.bind(t),promise:t.promise.bind(t)}}return l.promise()}if(!o){let e=r.webpack?r.webpack():r.modules;e&&a.push(t=>{for(let r of e)if(t.includes(r))return s()})}function d(e,t){!function(){s();let e=n.default.useContext(i.LoadableContext);e&&Array.isArray(r.modules)&&r.modules.forEach(t=>{e(t)})}();let a=n.default.useSyncExternalStore(l.subscribe,l.getCurrentValue,l.getCurrentValue);return n.default.useImperativeHandle(t,()=>({retry:l.retry}),[]),n.default.useMemo(()=>{var t;return a.loading||a.error?n.default.createElement(r.loading,{isLoading:a.loading,pastDelay:a.pastDelay,timedOut:a.timedOut,error:a.error,retry:l.retry}):a.loaded?n.default.createElement((t=a.loaded)&&t.default?t.default:t,e):null},[e,a])}return d.preload=()=>s(),d.displayName="LoadableComponent",n.default.forwardRef(d)}(s,e)}function c(e,t){let r=[];for(;e.length;){let n=e.pop();r.push(n(t))}return Promise.all(r).then(()=>{if(e.length)return c(e,t)})}d.preloadAll=()=>new Promise((e,t)=>{c(l).then(e,t)}),d.preloadReady=e=>(void 0===e&&(e=[]),new Promise(t=>{let r=()=>(o=!0,t());c(a,e).then(r,r)})),window.__NEXT_PRELOADREADY=d.preloadReady;let p=d},65218:function(e,t,r){e.exports=r(76737)}}]);
|
@@ -1 +1 @@
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9392],{72011:function(e,t,r){var n;n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){"use strict";var n=r(4),a=r(1),i=r(2),o={addUnnecessaryBendpoints:"de.cau.cs.kieler.klay.layered.unnecessaryBendpoints",alignment:"de.cau.cs.kieler.alignment",aspectRatio:"de.cau.cs.kieler.aspectRatio",borderSpacing:"borderSpacing",compactComponents:"de.cau.cs.kieler.klay.layered.components.compact",compactionStrategy:"de.cau.cs.kieler.klay.layered.nodeplace.compactionStrategy",contentAlignment:"de.cau.cs.kieler.klay.layered.contentAlignment",crossingMinimization:"de.cau.cs.kieler.klay.layered.crossMin",cycleBreaking:"de.cau.cs.kieler.klay.layered.cycleBreaking",debugMode:"de.cau.cs.kieler.debugMode",direction:"de.cau.cs.kieler.direction",edgeLabelSideSelection:"de.cau.cs.kieler.klay.layered.edgeLabelSideSelection",edgeRouting:"de.cau.cs.kieler.edgeRouting",edgeSpacingFactor:"de.cau.cs.kieler.klay.layered.edgeSpacingFactor",feedbackEdges:"de.cau.cs.kieler.klay.layered.feedBackEdges",fixedAlignment:"de.cau.cs.kieler.klay.layered.fixedAlignment",greedySwitchCrossingMinimization:"de.cau.cs.kieler.klay.layered.greedySwitch",hierarchyHandling:"de.cau.cs.kieler.hierarchyHandling",inLayerSpacingFactor:"de.cau.cs.kieler.klay.layered.inLayerSpacingFactor",interactiveReferencePoint:"de.cau.cs.kieler.klay.layered.interactiveReferencePoint",layerConstraint:"de.cau.cs.kieler.klay.layered.layerConstraint",layoutHierarchy:"de.cau.cs.kieler.layoutHierarchy",linearSegmentsDeflectionDampening:"de.cau.cs.kieler.klay.layered.linearSegmentsDeflectionDampening",mergeEdges:"de.cau.cs.kieler.klay.layered.mergeEdges",mergeHierarchyCrossingEdges:"de.cau.cs.kieler.klay.layered.mergeHierarchyEdges",noLayout:"de.cau.cs.kieler.noLayout",nodeLabelPlacement:"de.cau.cs.kieler.nodeLabelPlacement",nodeLayering:"de.cau.cs.kieler.klay.layered.nodeLayering",nodePlacement:"de.cau.cs.kieler.klay.layered.nodePlace",portAlignment:"de.cau.cs.kieler.portAlignment",portAlignmentEastern:"de.cau.cs.kieler.portAlignment.east",portAlignmentNorth:"de.cau.cs.kieler.portAlignment.north",portAlignmentSouth:"de.cau.cs.kieler.portAlignment.south",portAlignmentWest:"de.cau.cs.kieler.portAlignment.west",portConstraints:"de.cau.cs.kieler.portConstraints",portLabelPlacement:"de.cau.cs.kieler.portLabelPlacement",portOffset:"de.cau.cs.kieler.offset",portSide:"de.cau.cs.kieler.portSide",portSpacing:"de.cau.cs.kieler.portSpacing",postCompaction:"de.cau.cs.kieler.klay.layered.postCompaction",priority:"de.cau.cs.kieler.priority",randomizationSeed:"de.cau.cs.kieler.randomSeed",routeSelfLoopInside:"de.cau.cs.kieler.selfLoopInside",separateConnectedComponents:"de.cau.cs.kieler.separateConnComp",sizeConstraint:"de.cau.cs.kieler.sizeConstraint",sizeOptions:"de.cau.cs.kieler.sizeOptions",spacing:"de.cau.cs.kieler.spacing",splineSelfLoopPlacement:"de.cau.cs.kieler.klay.layered.splines.selfLoopPlacement",thoroughness:"de.cau.cs.kieler.klay.layered.thoroughness",wideNodesOnMultipleLayers:"de.cau.cs.kieler.klay.layered.wideNodesOnMultipleLayers"},s=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n],i=o[a],s=e[a];r[i]=s}return r},c={interactiveReferencePoint:"CENTER"},l=function(e){for(var t=e.parent(),r=e.scratch("klay"),n={x:r.x,y:r.y};t.nonempty();){var a=t.scratch("klay");n.x+=a.x,n.y+=a.y,t=t.parent()}return n},d=function(e,t){var r=e.layoutDimensions(t),n=e.numericStyle("padding"),a={_cyEle:e,id:e.id(),padding:{top:n,left:n,bottom:n,right:n}};return e.isParent()||(a.width=r.w,a.height=r.h),e.scratch("klay",a),a},u=function(e,t){var r={_cyEle:e,id:e.id(),source:e.data("source"),target:e.data("target"),properties:{}},n=t.priority(e);return null!=n&&(r.properties.priority=n),e.scratch("klay",r),r},g=function(e,t,r){for(var n=[],a=[],i={},o={id:"root",children:[],edges:[]},s=0;s<e.length;s++){var c=e[s],l=d(c,r);n.push(l),i[c.id()]=l}for(var g=0;g<t.length;g++){var p=t[g],y=u(p,r);a.push(y),i[p.id()]=y}for(var m=0;m<n.length;m++){var k=n[m],f=k._cyEle;if(f.isChild()){var h=i[f.parent().id()];(h.children=h.children||[]).push(k)}else o.children.push(k)}for(var b=0;b<a.length;b++){var S=a[b],v=S._cyEle;v.source().parent(),v.target().parent(),o.edges.push(S)}return o};function p(e){var t=e.klay;this.options=a({},i,e),this.options.klay=a({},i.klay,t,c)}p.prototype.run=function(){var e=this.options,t=e.eles,r=t.nodes(),a=g(r,t.edges(),e);return n.layout({graph:a,options:s(e.klay),success:function(){},error:function(e){throw e}}),r.filter(function(e){return!e.isParent()}).layoutPositions(this,e,l),this},p.prototype.stop=function(){return this},p.prototype.destroy=function(){return this},e.exports=p},function(e,t,r){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.filter(function(e){return null!=e}).forEach(function(t){Object.keys(t).forEach(function(r){return e[r]=t[r]})}),e}},function(e,t,r){"use strict";e.exports={nodeDimensionsIncludeLabels:!1,fit:!0,padding:20,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,klay:{addUnnecessaryBendpoints:!1,aspectRatio:1.6,borderSpacing:20,compactComponents:!1,crossingMinimization:"LAYER_SWEEP",cycleBreaking:"GREEDY",direction:"UNDEFINED",edgeRouting:"ORTHOGONAL",edgeSpacingFactor:.5,feedbackEdges:!1,fixedAlignment:"NONE",inLayerSpacingFactor:1,layoutHierarchy:!1,linearSegmentsDeflectionDampening:.3,mergeEdges:!1,mergeHierarchyCrossingEdges:!0,nodeLayering:"NETWORK_SIMPLEX",nodePlacement:"BRANDES_KOEPF",randomizationSeed:1,routeSelfLoopInside:!1,separateConnectedComponents:!0,spacing:20,thoroughness:7},priority:function(e){return null}}},function(e,t,r){"use strict";var n=r(0),a=function(e){e&&e("layout","klay",n)};"undefined"!=typeof cytoscape&&a(cytoscape),e.exports=a},function(t,r){t.exports=e}])},e.exports=n(r(73552))},19392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return b}});var n=r(24246),a=r(91942),i=r(27378),o=r(76573),s=r(72011),c=r.n(s),l=r(3124),d=r.n(l),u=r(65218),g=r.n(u),p=r(54349);let y=g()(()=>r.e(7062).then(r.bind(r,37062)),{loadableGenerated:{webpack:()=>[37062]},ssr:!1});o.Z.use(c()),o.Z.warnings(!1);let m=e=>{let{data:t}=e,r=(0,i.useMemo)(()=>[...t.nodes.map(e=>({data:{label:e.name,...e},grabbable:!1,classes:"center-center multiline-auto outline"})),...t.links.map(e=>({data:{source:e.source,target:e.target}}))],[t.links,t.nodes]),n=(0,i.useMemo)(()=>({name:"klay",nodeDimensionsIncludeLabels:!0,klay:{thoroughness:20,borderSpacing:100,direction:"DOWN",edgeRouting:"SPLINES",edgeSpacingFactor:1.3}}),[]),a=d().FIDESUI_NEUTRAL_50;return{elements:r,layoutConfig:n,styleSheet:(0,i.useMemo)(()=>[{selector:"node[label]",style:{label:"data(label)"}},{selector:"node",style:{shape:"ellipse",width:"45px",height:"45px",backgroundColor:a}},{selector:"edge[label]",style:{label:"data(label)",width:3}},{selector:"edge",style:{"curve-style":"bezier","target-arrow-shape":"triangle","line-color":"#888","target-arrow-color":"#888",opacity:.5}},{selector:"node",style:{"background-image":"/images/DatabaseIcon.svg"}},{selector:"node:selected",style:{"background-image":"/images/SelectedDatabaseIcon.svg"}},{selector:".center-center",style:{"text-valign":"center","text-halign":"right"}},{selector:".multiline-auto",style:{"text-wrap":"wrap","text-max-width":"40"}},{selector:".outline",style:{color:"#8d91b4","text-outline-color":"#fff","text-outline-width":1}}],[a]),backgroundColor:a}};var k=i.memo(e=>{let{data:t,setSelectedSystemId:r}=e,{elements:o,layoutConfig:s,styleSheet:c,backgroundColor:l}=m({data:t}),d=(0,i.useContext)(p.Y),[u,g]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=e=>{r(e.target._private.data.id)};return d.current&&(d.current.on("click","node",e),d.current.on("layoutstop",()=>{d.current&&(d.current.maxZoom(2.5),d.current.fit(),d.current.maxZoom(100))})),()=>{d.current&&d.current.off("click","node",e)}},[d.current,r]),(0,i.useEffect)(()=>()=>{d.current=void 0},[d]),(0,i.useEffect)(()=>{if(u){var e,t,r,n;null===(e=d.current)||void 0===e||e.layout(s).stop(),null===(t=d.current)||void 0===t||t.layout(s).removeAllListeners(),null===(r=d.current)||void 0===r||r.layout(s),null===(n=d.current)||void 0===n||n.layout(s).run()}},[u,o,d,s]),(0,n.jsx)(a.xuv,{boxSize:"100%","data-testid":"cytoscape-graph",position:"absolute",children:(0,n.jsx)(a.xuv,{boxSize:"100%",bgColor:"gray.50",children:(0,n.jsx)(y,{cy:e=>{u||(g(!0),d.current=e)},elements:o,style:{height:"100%",width:"100%",backgroundColor:l},stylesheet:c,wheelSensitivity:.085,layout:s})})})}),f=r(99811);let h=e=>{let t=(0,i.useMemo)(()=>new Set(null==e?void 0:e.map(e=>e.original["system.fides_key"])),[e]),r=(0,i.useMemo)(()=>e.reduce((e,t)=>{let r=t.original["system.fides_key"];return e[r]||(e[r]={name:t.original["system.name"],description:t.original["system.description"],ingress:t.original["system.ingress"]?t.original["system.ingress"].split(", "):[],egress:t.original["system.egress"]?t.original["system.egress"].split(", "):[],id:t.original["system.fides_key"]}),e},{}),[e]);return{data:(0,i.useMemo)(()=>{let e=[],t=new Set([]);return r&&(e=Object.values(r)).map(e=>[...e.ingress.filter(e=>r[e]).map(t=>({source:t,target:e.id})),...e.egress.filter(e=>r[e]).map(t=>({source:e.id,target:t}))]).flatMap(e=>e).forEach(e=>t.add(JSON.stringify(e))),{nodes:e,links:Array.from(t).map(e=>JSON.parse(e))}},[r]),highlightedNodes:t}};var b=e=>{let{setSelectedSystemId:t}=e,{tableInstance:r}=(0,i.useContext)(f.Z);if(!r)return null;let{rows:o}=r.getRowModel(),{data:s}=h(o);return(0,n.jsx)(a.xuv,{boxSize:"100%",minHeight:"600px",position:"relative",children:(0,n.jsx)(k,{data:s,setSelectedSystemId:t})})}}}]);
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9392],{72011:function(e,t,r){var n;n=function(e){return function(e){var t={};function r(n){if(t[n])return t[n].exports;var a=t[n]={i:n,l:!1,exports:{}};return e[n].call(a.exports,a,a.exports,r),a.l=!0,a.exports}return r.m=e,r.c=t,r.i=function(e){return e},r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{configurable:!1,enumerable:!0,get:n})},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r(r.s=3)}([function(e,t,r){"use strict";var n=r(4),a=r(1),i=r(2),o={addUnnecessaryBendpoints:"de.cau.cs.kieler.klay.layered.unnecessaryBendpoints",alignment:"de.cau.cs.kieler.alignment",aspectRatio:"de.cau.cs.kieler.aspectRatio",borderSpacing:"borderSpacing",compactComponents:"de.cau.cs.kieler.klay.layered.components.compact",compactionStrategy:"de.cau.cs.kieler.klay.layered.nodeplace.compactionStrategy",contentAlignment:"de.cau.cs.kieler.klay.layered.contentAlignment",crossingMinimization:"de.cau.cs.kieler.klay.layered.crossMin",cycleBreaking:"de.cau.cs.kieler.klay.layered.cycleBreaking",debugMode:"de.cau.cs.kieler.debugMode",direction:"de.cau.cs.kieler.direction",edgeLabelSideSelection:"de.cau.cs.kieler.klay.layered.edgeLabelSideSelection",edgeRouting:"de.cau.cs.kieler.edgeRouting",edgeSpacingFactor:"de.cau.cs.kieler.klay.layered.edgeSpacingFactor",feedbackEdges:"de.cau.cs.kieler.klay.layered.feedBackEdges",fixedAlignment:"de.cau.cs.kieler.klay.layered.fixedAlignment",greedySwitchCrossingMinimization:"de.cau.cs.kieler.klay.layered.greedySwitch",hierarchyHandling:"de.cau.cs.kieler.hierarchyHandling",inLayerSpacingFactor:"de.cau.cs.kieler.klay.layered.inLayerSpacingFactor",interactiveReferencePoint:"de.cau.cs.kieler.klay.layered.interactiveReferencePoint",layerConstraint:"de.cau.cs.kieler.klay.layered.layerConstraint",layoutHierarchy:"de.cau.cs.kieler.layoutHierarchy",linearSegmentsDeflectionDampening:"de.cau.cs.kieler.klay.layered.linearSegmentsDeflectionDampening",mergeEdges:"de.cau.cs.kieler.klay.layered.mergeEdges",mergeHierarchyCrossingEdges:"de.cau.cs.kieler.klay.layered.mergeHierarchyEdges",noLayout:"de.cau.cs.kieler.noLayout",nodeLabelPlacement:"de.cau.cs.kieler.nodeLabelPlacement",nodeLayering:"de.cau.cs.kieler.klay.layered.nodeLayering",nodePlacement:"de.cau.cs.kieler.klay.layered.nodePlace",portAlignment:"de.cau.cs.kieler.portAlignment",portAlignmentEastern:"de.cau.cs.kieler.portAlignment.east",portAlignmentNorth:"de.cau.cs.kieler.portAlignment.north",portAlignmentSouth:"de.cau.cs.kieler.portAlignment.south",portAlignmentWest:"de.cau.cs.kieler.portAlignment.west",portConstraints:"de.cau.cs.kieler.portConstraints",portLabelPlacement:"de.cau.cs.kieler.portLabelPlacement",portOffset:"de.cau.cs.kieler.offset",portSide:"de.cau.cs.kieler.portSide",portSpacing:"de.cau.cs.kieler.portSpacing",postCompaction:"de.cau.cs.kieler.klay.layered.postCompaction",priority:"de.cau.cs.kieler.priority",randomizationSeed:"de.cau.cs.kieler.randomSeed",routeSelfLoopInside:"de.cau.cs.kieler.selfLoopInside",separateConnectedComponents:"de.cau.cs.kieler.separateConnComp",sizeConstraint:"de.cau.cs.kieler.sizeConstraint",sizeOptions:"de.cau.cs.kieler.sizeOptions",spacing:"de.cau.cs.kieler.spacing",splineSelfLoopPlacement:"de.cau.cs.kieler.klay.layered.splines.selfLoopPlacement",thoroughness:"de.cau.cs.kieler.klay.layered.thoroughness",wideNodesOnMultipleLayers:"de.cau.cs.kieler.klay.layered.wideNodesOnMultipleLayers"},s=function(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var a=t[n],i=o[a],s=e[a];r[i]=s}return r},c={interactiveReferencePoint:"CENTER"},l=function(e){for(var t=e.parent(),r=e.scratch("klay"),n={x:r.x,y:r.y};t.nonempty();){var a=t.scratch("klay");n.x+=a.x,n.y+=a.y,t=t.parent()}return n},d=function(e,t){var r=e.layoutDimensions(t),n=e.numericStyle("padding"),a={_cyEle:e,id:e.id(),padding:{top:n,left:n,bottom:n,right:n}};return e.isParent()||(a.width=r.w,a.height=r.h),e.scratch("klay",a),a},u=function(e,t){var r={_cyEle:e,id:e.id(),source:e.data("source"),target:e.data("target"),properties:{}},n=t.priority(e);return null!=n&&(r.properties.priority=n),e.scratch("klay",r),r},g=function(e,t,r){for(var n=[],a=[],i={},o={id:"root",children:[],edges:[]},s=0;s<e.length;s++){var c=e[s],l=d(c,r);n.push(l),i[c.id()]=l}for(var g=0;g<t.length;g++){var p=t[g],y=u(p,r);a.push(y),i[p.id()]=y}for(var m=0;m<n.length;m++){var k=n[m],f=k._cyEle;if(f.isChild()){var h=i[f.parent().id()];(h.children=h.children||[]).push(k)}else o.children.push(k)}for(var b=0;b<a.length;b++){var S=a[b],v=S._cyEle;v.source().parent(),v.target().parent(),o.edges.push(S)}return o};function p(e){var t=e.klay;this.options=a({},i,e),this.options.klay=a({},i.klay,t,c)}p.prototype.run=function(){var e=this.options,t=e.eles,r=t.nodes(),a=g(r,t.edges(),e);return n.layout({graph:a,options:s(e.klay),success:function(){},error:function(e){throw e}}),r.filter(function(e){return!e.isParent()}).layoutPositions(this,e,l),this},p.prototype.stop=function(){return this},p.prototype.destroy=function(){return this},e.exports=p},function(e,t,r){"use strict";e.exports=null!=Object.assign?Object.assign.bind(Object):function(e){for(var t=arguments.length,r=Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];return r.filter(function(e){return null!=e}).forEach(function(t){Object.keys(t).forEach(function(r){return e[r]=t[r]})}),e}},function(e,t,r){"use strict";e.exports={nodeDimensionsIncludeLabels:!1,fit:!0,padding:20,animate:!1,animateFilter:function(e,t){return!0},animationDuration:500,animationEasing:void 0,transform:function(e,t){return t},ready:void 0,stop:void 0,klay:{addUnnecessaryBendpoints:!1,aspectRatio:1.6,borderSpacing:20,compactComponents:!1,crossingMinimization:"LAYER_SWEEP",cycleBreaking:"GREEDY",direction:"UNDEFINED",edgeRouting:"ORTHOGONAL",edgeSpacingFactor:.5,feedbackEdges:!1,fixedAlignment:"NONE",inLayerSpacingFactor:1,layoutHierarchy:!1,linearSegmentsDeflectionDampening:.3,mergeEdges:!1,mergeHierarchyCrossingEdges:!0,nodeLayering:"NETWORK_SIMPLEX",nodePlacement:"BRANDES_KOEPF",randomizationSeed:1,routeSelfLoopInside:!1,separateConnectedComponents:!0,spacing:20,thoroughness:7},priority:function(e){return null}}},function(e,t,r){"use strict";var n=r(0),a=function(e){e&&e("layout","klay",n)};"undefined"!=typeof cytoscape&&a(cytoscape),e.exports=a},function(t,r){t.exports=e}])},e.exports=n(r(73552))},19392:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return b}});var n=r(24246),a=r(4454),i=r(27378),o=r(76573),s=r(72011),c=r.n(s),l=r(3124),d=r.n(l),u=r(65218),g=r.n(u),p=r(54349);let y=g()(()=>r.e(7062).then(r.bind(r,37062)),{loadableGenerated:{webpack:()=>[37062]},ssr:!1});o.Z.use(c()),o.Z.warnings(!1);let m=e=>{let{data:t}=e,r=(0,i.useMemo)(()=>[...t.nodes.map(e=>({data:{label:e.name,...e},grabbable:!1,classes:"center-center multiline-auto outline"})),...t.links.map(e=>({data:{source:e.source,target:e.target}}))],[t.links,t.nodes]),n=(0,i.useMemo)(()=>({name:"klay",nodeDimensionsIncludeLabels:!0,klay:{thoroughness:20,borderSpacing:100,direction:"DOWN",edgeRouting:"SPLINES",edgeSpacingFactor:1.3}}),[]),a=d().FIDESUI_NEUTRAL_50;return{elements:r,layoutConfig:n,styleSheet:(0,i.useMemo)(()=>[{selector:"node[label]",style:{label:"data(label)"}},{selector:"node",style:{shape:"ellipse",width:"45px",height:"45px",backgroundColor:a}},{selector:"edge[label]",style:{label:"data(label)",width:3}},{selector:"edge",style:{"curve-style":"bezier","target-arrow-shape":"triangle","line-color":"#888","target-arrow-color":"#888",opacity:.5}},{selector:"node",style:{"background-image":"/images/DatabaseIcon.svg"}},{selector:"node:selected",style:{"background-image":"/images/SelectedDatabaseIcon.svg"}},{selector:".center-center",style:{"text-valign":"center","text-halign":"right"}},{selector:".multiline-auto",style:{"text-wrap":"wrap","text-max-width":"40"}},{selector:".outline",style:{color:"#8d91b4","text-outline-color":"#fff","text-outline-width":1}}],[a]),backgroundColor:a}};var k=i.memo(e=>{let{data:t,setSelectedSystemId:r}=e,{elements:o,layoutConfig:s,styleSheet:c,backgroundColor:l}=m({data:t}),d=(0,i.useContext)(p.Y),[u,g]=(0,i.useState)(!1);return(0,i.useEffect)(()=>{let e=e=>{r(e.target._private.data.id)};return d.current&&(d.current.on("click","node",e),d.current.on("layoutstop",()=>{d.current&&(d.current.maxZoom(2.5),d.current.fit(),d.current.maxZoom(100))})),()=>{d.current&&d.current.off("click","node",e)}},[d.current,r]),(0,i.useEffect)(()=>()=>{d.current=void 0},[d]),(0,i.useEffect)(()=>{if(u){var e,t,r,n;null===(e=d.current)||void 0===e||e.layout(s).stop(),null===(t=d.current)||void 0===t||t.layout(s).removeAllListeners(),null===(r=d.current)||void 0===r||r.layout(s),null===(n=d.current)||void 0===n||n.layout(s).run()}},[u,o,d,s]),(0,n.jsx)(a.xuv,{boxSize:"100%","data-testid":"cytoscape-graph",position:"absolute",children:(0,n.jsx)(a.xuv,{boxSize:"100%",bgColor:"gray.50",children:(0,n.jsx)(y,{cy:e=>{u||(g(!0),d.current=e)},elements:o,style:{height:"100%",width:"100%",backgroundColor:l},stylesheet:c,wheelSensitivity:.085,layout:s})})})}),f=r(99811);let h=e=>{let t=(0,i.useMemo)(()=>new Set(null==e?void 0:e.map(e=>e.original["system.fides_key"])),[e]),r=(0,i.useMemo)(()=>e.reduce((e,t)=>{let r=t.original["system.fides_key"];return e[r]||(e[r]={name:t.original["system.name"],description:t.original["system.description"],ingress:t.original["system.ingress"]?t.original["system.ingress"].split(", "):[],egress:t.original["system.egress"]?t.original["system.egress"].split(", "):[],id:t.original["system.fides_key"]}),e},{}),[e]);return{data:(0,i.useMemo)(()=>{let e=[],t=new Set([]);return r&&(e=Object.values(r)).map(e=>[...e.ingress.filter(e=>r[e]).map(t=>({source:t,target:e.id})),...e.egress.filter(e=>r[e]).map(t=>({source:e.id,target:t}))]).flatMap(e=>e).forEach(e=>t.add(JSON.stringify(e))),{nodes:e,links:Array.from(t).map(e=>JSON.parse(e))}},[r]),highlightedNodes:t}};var b=e=>{let{setSelectedSystemId:t}=e,{tableInstance:r}=(0,i.useContext)(f.Z);if(!r)return null;let{rows:o}=r.getRowModel(),{data:s}=h(o);return(0,n.jsx)(a.xuv,{boxSize:"100%",minHeight:"600px",position:"relative",children:(0,n.jsx)(k,{data:s,setSelectedSystemId:t})})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9494],{7617:function(e,t,i){i.d(t,{q:function(){return o}});var n=i(24246),r=i(4454);let o=e=>{let{label:t,isDisabled:i,...o}=e;return(0,n.jsx)(r.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:o.fontSize,fontWeight:"500",color:"gray.500",isDisabled:i||!1,children:t})};t.Z=e=>{let{data:t,border:i="partial",...s}=e;return(0,n.jsxs)(r.mQc,{colorScheme:"complimentary",...s,children:[(0,n.jsx)(r.tdY,{width:"partial"===i?"max-content":void 0,children:t.map(e=>(0,n.jsx)(o,{label:e.label,isDisabled:e.isDisabled,fontSize:s.fontSize},e.label))}),(0,n.jsx)(r.nPR,{children:t.map(e=>(0,n.jsx)(r.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},66379:function(e,t,i){var n=i(24246),r=i(4454),o=i(7617);t.Z=e=>{let{data:t,border:i="partial",borderWidth:s=2,...l}=e;return(0,n.jsx)(r.mQc,{colorScheme:"complimentary",...l,children:(0,n.jsx)(r.tdY,{width:"partial"===i?"max-content":void 0,borderBottomWidth:s,children:t.map(e=>(0,n.jsx)(o.q,{label:e.label,"data-testid":e.label,isDisabled:e.isDisabled,fontSize:l.fontSize},e.label))})})}},35287:function(e,t,i){var n=i(24246),r=i(4454),o=i(88038),s=i.n(o);i(27378),t.Z=e=>{let{children:t,title:i,mainProps:o}=e;return(0,n.jsxs)(r.kCb,{"data-testid":i,direction:"column",height:"calc(100vh - 48px)",width:"calc(100vw - 240px)",children:[(0,n.jsxs)(s(),{children:[(0,n.jsxs)("title",{children:["Fides Admin UI - ",i]}),(0,n.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,n.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,n.jsx)(r.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...o,children:t})]})}},79494:function(e,t,i){var n=i(24246),r=i(4454);t.Z=e=>{let{title:t,icon:i,type:o,...s}=e;return(0,n.jsx)(r.wpx,{size:"small",type:o,"data-testid":"action-".concat(t),icon:i,iconPosition:"start",...s,children:t})}},45896:function(e,t,i){var n=i(24246),r=i(66379);t.Z=e=>{let{filterTabs:t,onChange:i,filterTabIndex:o}=e;return(0,n.jsx)(r.Z,{border:"full-width",mb:5,size:"sm",data:t,borderWidth:1,index:o,onChange:i})}},69828:function(e,t,i){i.d(t,{Y:function(){return s}});var n=i(24246),r=i(4454),o=i(70788);let s=[(0,n.jsx)(r.PJP.S9g,{},"layers"),(0,n.jsx)(r.PJP.ehp,{},"dataset"),(0,n.jsx)(r.PJP.iA_,{},"table"),(0,n.jsx)(r.PJP.$4y,{style:{transform:"rotate(-90deg)"}},"field")];t.Z=e=>{let{resourceUrn:t,parentLink:i,onPathClick:r=()=>{}}=e,l=[];if(t||l.push({title:"All activity"}),t){l.push({title:"All activity",href:i});let e=t.split(".");e.forEach((t,i)=>{0!==i&&l.push({title:t,icon:s[i-1],onClick:t=>{t.preventDefault(),r(e.slice(0,i+1).join("."))}})})}return(0,n.jsx)(o.m,{"data-testid":"results-breadcrumb",items:l})}},38347:function(e,t,i){var n=i(24246),r=i(4454),o=i(56839);t.Z=()=>(0,n.jsxs)(r.J2e,{isLazy:!0,trigger:"hover",children:[(0,n.jsx)(r.xol,{children:(0,n.jsx)(r.UOT,{color:"gray.400"})}),(0,n.jsxs)(r.yky,{bgColor:"gray.800",color:"white",fontSize:"sm",w:"auto",border:"none",children:[(0,n.jsx)(r.Ytg,{fontWeight:"semibold",border:"none",pb:0,children:"Activity legend:"}),(0,n.jsx)(r.QHN,{bgColor:"gray.800"}),(0,n.jsx)(r.baG,{border:"none",children:(0,n.jsxs)(r.MIq,{columns:2,spacing:2,children:[(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.Rv,{})," Change detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.$P,{})," Data labeled"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.zj,{})," Monitoring"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.dK,{})," Addition detected"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.Kr,{})," Unmonitored"]}),(0,n.jsxs)(r.xuv,{children:[(0,n.jsx)(o.q1,{})," Removal detected"]})]})})]})]})},47182:function(e,t,i){var n=i(86677),r=i(77830);t.Z=()=>{let e=(0,n.useRouter)();return{monitorId:e.query.monitorId,resourceUrn:e.query.resourceUrn,navigateToDetectionResults:t=>{let{resourceUrn:i,filterTabIndex:n}=t;e.push({pathname:r.dS,query:{resourceUrn:i,filterTabIndex:n}})},navigateToDiscoveryResults:t=>{let{resourceUrn:i,filterTabIndex:n}=t;e.push({pathname:r.Sj,query:{resourceUrn:i,filterTabIndex:n}})}}}},56839:function(e,t,i){i.d(t,{dK:function(){return c},Rv:function(){return f},$P:function(){return x},zj:function(){return h},Kr:function(){return I},q1:function(){return u},QL:function(){return j}});var n=i(24246),r=i(4454);let o=(0,r.IUT)({displayName:"CircleIcon",viewBox:"0 0 200 200",path:(0,n.jsx)("path",{fill:"currentColor",d:"M 100, 100 m -75, 0 a 75,75 0 1,0 150,0 a 75,75 0 1,0 -150,0"})}),s=(0,r.IUT)({displayName:"RightDownArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 8H8V7.23192V1.85539V1.08731H6.46385V1.85539V5.37654L1.62976 0.544855L1.08731 0L0 1.08731L0.542454 1.62976L5.37654 6.46385H1.85539H1.08731V8H1.85539H7.23192Z"})}),l=(0,r.IUT)({displayName:"RightUpArrowIcon",viewBox:"0 0 8 8",path:(0,n.jsx)("path",{fill:"currentColor",d:"M7.23192 0H8V0.768077V6.14461V6.91269H6.46385V6.14461V2.62346L1.62976 7.45515L1.08731 8L0 6.91269L0.542454 6.37024L5.37654 1.53615H1.85539H1.08731V0H1.85539H7.23192Z"})}),a=(0,r.IUT)({displayName:"TagIcon",viewBox:"0 0 9 10",path:(0,n.jsx)("path",{fill:"currentColor",d:"M0 0.5V5L4.5 9.5L9 5L4.5 0.5H0ZM2.25 2.10714C2.4205 2.10714 2.58401 2.17487 2.70457 2.29543C2.82513 2.41599 2.89286 2.5795 2.89286 2.75C2.89286 2.9205 2.82513 3.08401 2.70457 3.20457C2.58401 3.32513 2.4205 3.39286 2.25 3.39286C2.0795 3.39286 1.91599 3.32513 1.79543 3.20457C1.67487 3.08401 1.60714 2.9205 1.60714 2.75C1.60714 2.5795 1.67487 2.41599 1.79543 2.29543C1.91599 2.17487 2.0795 2.10714 2.25 2.10714Z"})});var d=i(28278);let c=()=>(0,n.jsx)(l,{color:"green.400",boxSize:2,mr:2,"data-testid":"add-icon"}),u=()=>(0,n.jsx)(s,{color:"red.400",boxSize:2,mr:2,"data-testid":"remove-icon"}),x=()=>(0,n.jsx)(a,{color:"orange.400",boxSize:3,mr:1,"data-testid":"classify-icon"}),f=()=>(0,n.jsx)(o,{color:"blue.400",boxSize:2.5,mb:"2px",mr:"6px","data-testid":"change-icon"}),h=()=>(0,n.jsx)(o,{color:"green.400",boxSize:2,mr:2,"data-testid":"monitored-icon"}),I=()=>(0,n.jsx)(o,{color:"red.400",boxSize:2,mr:2,"data-testid":"muted-icon"}),j={[d.E.ADDITION]:(0,n.jsx)(c,{}),[d.E.REMOVAL]:(0,n.jsx)(u,{}),[d.E.CLASSIFICATION]:(0,n.jsx)(x,{}),[d.E.CHANGE]:(0,n.jsx)(f,{}),[d.E.MONITORED]:(0,n.jsx)(h,{}),[d.E.MUTED]:(0,n.jsx)(I,{}),[d.E.IN_PROGRESS]:(0,n.jsx)(()=>(0,n.jsx)(o,{color:"orange.400",boxSize:2,mr:2,"data-testid":"in-progress-icon"}),{}),[d.E.NONE]:null}},87667:function(e,t,i){var n=i(24246),r=i(4454),o=i(56839),s=i(20449),l=i(98559),a=i(80356);t.Z=e=>{let{result:t,changeTypeOverride:i}=e,d=null!=i?i:(0,s.Z)(t);return(0,n.jsxs)(r.kCb,{alignItems:"center",height:"100%",children:[(0,n.jsx)(r.esZ,{title:d,children:(0,n.jsx)("span",{children:o.QL[d]})}),(0,n.jsx)(r.xvT,{fontSize:"xs",lineHeight:4,fontWeight:(0,a.Z)(t)?"semibold":"normal",overflow:"hidden",textOverflow:"ellipsis",children:(0,l.Z)(t)})]})}},50169:function(e,t,i){var n=i(24246),r=i(14481),o=i(28278),s=i(20449);let l={[o.E.MUTED]:{color:"marble",label:"Unmonitored"},[o.E.MONITORED]:{color:"success",label:"Monitoring"},[o.E.IN_PROGRESS]:{color:"info",label:"Classifying"}};t.Z=e=>{var t,i,o,a,d;let{result:c,changeTypeOverride:u}=e;if(null===(t=c.user_assigned_data_categories)||void 0===t?void 0:t.length)return(0,n.jsx)(r.A4,{color:"success",value:"Reviewed"});let x=null!=u?u:(0,s.Z)(c);return(0,n.jsx)(r.A4,{color:null!==(a=null===(i=l[x])||void 0===i?void 0:i.color)&&void 0!==a?a:"warning",value:null!==(d=null===(o=l[x])||void 0===o?void 0:o.label)&&void 0!==d?d:"Pending review"})}},28278:function(e,t,i){var n,r;i.d(t,{E:function(){return n}}),(r=n||(n={})).ADDITION="Addition",r.CHANGE="Change",r.REMOVAL="Removal",r.CLASSIFICATION="Classification",r.IN_PROGRESS="Classifying",r.MONITORED="Monitoring",r.MUTED="Unmonitored",r.NONE="--"},74241:function(e,t){t.Z=e=>{let t=e.split(".");return t.length>1?t[1]:""}},20449:function(e,t,i){var n=i(28278),r=i(61317);t.Z=e=>e.diff_status===r.LL.ADDITION?n.E.ADDITION:e.diff_status===r.LL.REMOVAL?n.E.REMOVAL:e.diff_status===r.LL.CLASSIFYING||e.diff_status===r.LL.CLASSIFICATION_QUEUED?n.E.IN_PROGRESS:e.diff_status===r.LL.CLASSIFICATION_ADDITION||e.diff_status===r.LL.CLASSIFICATION_UPDATE?n.E.CLASSIFICATION:e.child_diff_statuses?e.child_diff_statuses[r.LL.CLASSIFYING]||e.child_diff_statuses[r.LL.CLASSIFICATION_QUEUED]?n.E.IN_PROGRESS:e.child_diff_statuses[r.LL.CLASSIFICATION_ADDITION]||e.child_diff_statuses[r.LL.CLASSIFICATION_UPDATE]?n.E.CLASSIFICATION:e.child_diff_statuses[r.LL.ADDITION]||e.child_diff_statuses[r.LL.REMOVAL]?n.E.CHANGE:e.diff_status===r.LL.MONITORED?n.E.MONITORED:e.diff_status===r.LL.MUTED?n.E.MUTED:n.E.NONE:n.E.NONE},80285:function(e,t){t.Z=e=>e.urn}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9676],{59676:function(e,i,r){r.r(i),r.d(i,{default:function(){return j}});var t=r(24246),s=r(4454),n=r(16134),a=r(27378),l=r(812),o=r(14047),d=r(90867);let u=(0,s.Gpc)((e,i)=>{let{handleBlur:r,subjectRequest:u}=e,c=(0,n.T)(),[f,m]=(0,a.useState)(!1),{errorAlert:h,successAlert:x}=(0,o.V)(),{errorRequests:p}=(0,n.C)(d.fe),[g]=(0,d.JD)(),[j]=(0,d.Fq)(),y=async()=>{m(!0);let e=await g(p);(0,l.D4)(e)?(c((0,d.uT)({checkAll:!1,errorRequests:[]})),h((0,l.e$)(e.error),"DSR batch automation has failed due to the following:",{duration:null})):(e.data.failed.length>0&&h((0,t.jsxs)(s.xuv,{children:["DSR automation has failed for"," ",(0,t.jsx)(s.xvT,{as:"span",fontWeight:"semibold",children:e.data.failed.length})," ","privacy request(s). Please review the event log for further details."]}),void 0,{containerStyle:{maxWidth:"max-content"},duration:null}),e.data.succeeded.length>0&&x("Privacy request(s) are now being reprocessed.")),m(!1)},v=async()=>{if(!u)return;m(!0);let e=await j(u);(0,l.D4)(e)?h((0,l.e$)(e.error),"DSR automation has failed for this privacy request due to the following:",{duration:null}):x("Privacy request is now being reprocessed."),m(!1),r&&r(i)};return(0,t.jsx)(s.wpx,{disabled:f,loading:f,onClick:u?v:y,ref:i,size:"small",icon:(0,t.jsx)(s.AyE,{}),children:"Reprocess"})});var c=r(34090),f=r(55484);let m=/^[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,4}$/i,h=e=>m.test(e),x=(0,s.Gpc)((e,i)=>{let{isRequired:r=!1,...n}=e,{emails:l}=n.form.values,[o,d]=(0,a.useState)(""),u=e=>l.includes(e),c=e=>{e.map(e=>e.trim()).filter(e=>h(e)&&!u(e)).forEach(e=>n.push(e)),d("")};return(0,t.jsxs)(s.NIc,{alignItems:"baseline",display:"inline-flex",isInvalid:!!n.form.errors[n.name],isRequired:r,children:[(0,t.jsx)(s.lXp,{fontSize:"md",htmlFor:"email",children:"Email"}),(0,t.jsxs)(s.gCW,{align:"flex-start",w:"inherit",children:[(0,t.jsx)(s.IIB,{autoComplete:"off",placeholder:"Type or paste email addresses separated by commas and press `Enter` or `Tab`...",onChange:e=>{d(e.target.value)},onKeyDown:e=>{["Enter","Tab",","].includes(e.key)&&(e.preventDefault(),c([o]))},onPaste:e=>{e.preventDefault(),c(e.clipboardData.getData("text").split(","))},ref:i,size:"sm",type:"email",value:o}),(0,t.jsx)(s.J1D,{children:n.form.errors[n.name]}),l.length>0&&(0,t.jsx)(s.Eq9,{spacing:1,mb:3,pt:"8px",children:l.map((e,i)=>(0,t.jsxs)(s.Vp9,{borderRadius:"full",backgroundColor:"primary.400",color:"white",size:"sm",variant:"solid",children:[(0,t.jsx)(s.Sn0,{children:e}),(0,t.jsx)(s.SD9,{onClick:()=>{n.remove(i)}})]},e))})]})]})}),p=f.Ry().shape({emails:f.IX(f.Z_()).when(["notify"],{is:!0,then:()=>f.IX(f.Z_()).min(1,"Must enter at least one valid email").label("Email")}),notify:f.O7(),minErrorCount:f.Rx().required()});var g=()=>{let{isOpen:e,onOpen:i,onClose:r}=(0,s.qY0)(),[n,u]=(0,a.useState)({emails:[],notify:!1,minErrorCount:1}),f=(0,a.useRef)(null),{errorAlert:m,successAlert:h}=(0,o.V)(),[g,j]=(0,a.useState)(!0),{data:y}=(0,d.tE)(void 0,{skip:g}),[v]=(0,d.SC)(),C=async(e,i)=>{i.setSubmitting(!0);let t=await v({email_addresses:e.emails,notify_after_failures:e.notify?e.minErrorCount:0});(0,l.D4)(t)?m((0,l.e$)(t.error),"Configure alerts and notifications has failed to save due to the following:"):h("Configure alerts and notifications saved successfully."),i.setSubmitting(!1),r()};return(0,a.useEffect)(()=>{e&&j(!1),y&&u({emails:y.email_addresses,notify:0!==y.notify_after_failures,minErrorCount:y.notify_after_failures})},[y,e]),(0,t.jsxs)(t.Fragment,{children:[(0,t.jsx)(s.wpx,{onClick:i,title:"Configure alerts","aria-label":"Configure alerts",icon:(0,t.jsx)(s.Dkj,{})}),(0,t.jsx)(c.J9,{enableReinitialize:!0,initialValues:n,onSubmit:C,validationSchema:p,children:i=>(0,t.jsxs)(s.dys,{isOpen:e,placement:"right",initialFocusRef:f,onClose:()=>{i.resetForm(),r()},size:"lg",children:[(0,t.jsx)(s.P1B,{}),(0,t.jsxs)(s.scA,{color:"gray.900",children:[(0,t.jsx)(s.cCv,{}),(0,t.jsxs)(s.OXI,{color:"gray.900",children:[(0,t.jsx)(s.xvT,{fontSize:"2xl",fontWeight:"normal",mb:4,children:"Configure alerts and notifications"}),(0,t.jsx)(s.xuv,{mt:"26px",children:(0,t.jsx)(s.xvT,{fontSize:"md",fontWeight:"normal",children:"Setup your alerts to send you a notification when there are any processing failures. You can also setup a threshold for connector failures for Fides to notify you after X amount of failures have occurred."})})]}),(0,t.jsx)(s.Ng0,{mt:"20px",children:(0,t.jsxs)(c.l0,{id:"configure-alerts-form",noValidate:!0,children:[(0,t.jsx)(s.xvT,{fontSize:"md",children:"Contact details"}),(0,t.jsxs)(s.gCW,{align:"stretch",gap:"29px",mt:"14px",children:[(0,t.jsx)(s.Ugi,{children:(0,t.jsx)(c.F2,{name:"emails",render:e=>(0,t.jsx)(x,{...e,isRequired:i.values.notify,ref:f})})}),(0,t.jsx)(s.Ugi,{children:(0,t.jsx)(c.gN,{id:"notify",name:"notify",children:e=>{let{field:r}=e;return(0,t.jsxs)(s.NIc,{alignItems:"center",display:"flex",mt:"45px",children:[(0,t.jsx)(s.lXp,{fontSize:"md",mb:"0",children:"Notify me immediately if there are any DSR processing errors"}),(0,t.jsx)(s.rAg,{checked:i.values.notify,onChange:(e,t)=>{r.onChange(t),i.setFieldValue(r.name,e),i.setFieldValue("minErrorCount",1),e||setTimeout(()=>{i.setFieldTouched("emails",!1)},0)}})]})}})})]}),(0,t.jsx)(s.xvT,{color:"#757575",fontSize:"sm",mt:"11px",children:"If selected, then Fides will notify you by your chosen method of communication every time the system encounters a data subject request processing error. You can turn this off anytime and setup a more suitable notification method below if you wish."}),i.values.notify&&(0,t.jsx)(s.Ugi,{mt:"34px",children:(0,t.jsx)(c.gN,{id:"minErrorCount",name:"minErrorCount",children:e=>{let{field:r,meta:n}=e;return(0,t.jsxs)(s.NIc,{alignItems:"center",display:"flex",isInvalid:!!(n.error&&n.touched),isRequired:!0,children:[(0,t.jsx)(s.xvT,{children:"Notify me after"}),(0,t.jsxs)(s.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:i.values.minErrorCount||1,min:1,ml:"8px",mr:"8px",onChange:(e,r)=>{i.setFieldValue("minErrorCount",r)},size:"sm",w:"80px",children:[(0,t.jsx)(s.zuI,{...r}),(0,t.jsxs)(s.FiK,{children:[(0,t.jsx)(s.WQu,{}),(0,t.jsx)(s.Y_d,{})]})]}),(0,t.jsx)(s.xvT,{children:"DSR processing errors "})]})}})})]})}),(0,t.jsx)(s.zeN,{justifyContent:"flex-start",children:(0,t.jsxs)("div",{className:"flex gap-2",children:[(0,t.jsx)(s.wpx,{onClick:()=>{i.resetForm(),r()},children:"Cancel"}),(0,t.jsx)(s.wpx,{form:"configure-alerts-form",disabled:i.isSubmitting,loading:i.isSubmitting,htmlType:"submit",children:"Save"})]})})]})]})})]})},j=()=>{let{errorRequests:e}=(0,n.C)(d.fe);return(0,t.jsxs)(s.kCb,{gap:4,children:[(null==e?void 0:e.length)>0&&(0,t.jsx)(u,{}),(0,t.jsx)(g,{})]})}}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9767],{7617:function(e,t,n){n.d(t,{q:function(){return a}});var i=n(24246),r=n(4454);let a=e=>{let{label:t,isDisabled:n,...a}=e;return(0,i.jsx)(r.OK9,{"data-testid":"tab-".concat(t),_selected:{fontWeight:"600",color:"complimentary.500",borderColor:"complimentary.500"},fontSize:a.fontSize,fontWeight:"500",color:"gray.500",isDisabled:n||!1,children:t})};t.Z=e=>{let{data:t,border:n="partial",...s}=e;return(0,i.jsxs)(r.mQc,{colorScheme:"complimentary",...s,children:[(0,i.jsx)(r.tdY,{width:"partial"===n?"max-content":void 0,children:t.map(e=>(0,i.jsx)(a,{label:e.label,isDisabled:e.isDisabled,fontSize:s.fontSize},e.label))}),(0,i.jsx)(r.nPR,{children:t.map(e=>(0,i.jsx)(r.x45,{px:0,"data-testid":"tab-panel-".concat(e.label),children:e.content},e.label))})]})}},97181:function(e,t,n){n.d(t,{d:function(){return d}});var i=n(24246),r=n(4454),a=n(34090),s=n(27378),l=n(46238),o=n(40324);let d=e=>{let{name:t,label:n,labelProps:d,tooltip:c,isRequired:u,layout:x="inline",helperText:h,...m}=e,[p,f,{setValue:g}]=(0,a.U$)(t),v=!!(f.touched&&f.error),[j,y]=(0,s.useState)("");p.value||"tags"!==m.mode&&"multiple"!==m.mode||(p.value=[]),"tags"===m.mode&&"string"==typeof p.value&&(p.value=[p.value]);let b="tags"===m.mode?(e,t)=>e?e.value!==j||p.value.includes(j)?m.optionRender?m.optionRender(e,t):e.label:'Create "'.concat(j,'"'):void 0:m.optionRender||void 0,C=e=>{y(e),m.onSearch&&m.onSearch(e)},_=(e,t)=>{g(e),m.onChange&&m.onChange(e,t)};return"inline"===x?(0,i.jsx)(r.NIc,{isInvalid:v,isRequired:u,children:(0,i.jsxs)(r.rjZ,{templateColumns:n?"1fr 3fr":"1fr",children:[n?(0,i.jsx)(o.__,{htmlFor:m.id||t,...d,children:n}):null,(0,i.jsxs)(r.jqI,{align:"center",children:[(0,i.jsxs)(r.jqI,{vertical:!0,flex:1,className:"mr-2",children:[(0,i.jsx)(r.WPr,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:b,onSearch:"tags"===m.mode?C:void 0,onChange:_,value:p.value||void 0,status:v?"error":void 0}),h&&(0,i.jsx)(r.Q6r,{children:h}),(0,i.jsx)(o.Bc,{isInvalid:v,message:f.error,fieldName:p.name})]}),(0,i.jsx)(l.b,{label:c,className:v?"mt-2 self-start":void 0})]})]})}):(0,i.jsx)(r.NIc,{isInvalid:v,isRequired:u,children:(0,i.jsxs)(r.gCW,{alignItems:"start",children:[(0,i.jsxs)(r.jqI,{align:"center",children:[n?(0,i.jsx)(o.__,{htmlFor:m.id||t,fontSize:"xs",my:0,mr:1,...d,children:n}):null,(0,i.jsx)(l.b,{label:c})]}),(0,i.jsx)(r.WPr,{...p,id:m.id||t,"data-testid":"controlled-select-".concat(p.name),...m,optionRender:b,onSearch:"tags"===m.mode?C:void 0,onChange:_,value:p.value||void 0,status:v?"error":void 0}),h&&(0,i.jsx)(r.Q6r,{style:{marginTop:0},children:h}),(0,i.jsx)(o.Bc,{isInvalid:v,message:f.error,fieldName:p.name})]})})}},812:function(e,t,n){n.d(t,{D4:function(){return a.D4},MM:function(){return x},Ot:function(){return d},c6:function(){return r},cj:function(){return m},e$:function(){return l},fn:function(){return o},iC:function(){return h},nU:function(){return u},tB:function(){return c}});var i,r,a=n(19043);let s="An unexpected error occurred. Please try again.",l=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:s;if((0,a.Bw)(e)){if((0,a.hE)(e.data))return e.data.detail;if((0,a.cz)(e.data)){var n;let t=null===(n=e.data.detail)||void 0===n?void 0:n[0];return"".concat(null==t?void 0:t.msg,": ").concat(null==t?void 0:t.loc)}if(409===e.status&&(0,a.Dy)(e.data)||404===e.status&&(0,a.XD)(e.data))return"".concat(e.data.detail.error," (").concat(e.data.detail.fides_key,")")}return t};function o(e){return"object"==typeof e&&null!=e&&"status"in e}function d(e){return"object"==typeof e&&null!=e&&"data"in e&&"string"==typeof e.data.detail}function c(e){return"object"==typeof e&&null!=e&&"data"in e&&Array.isArray(e.data.detail)}let u=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{status:500,message:s};if((0,a.oK)(e))return{status:e.originalStatus,message:e.data};if((0,a.Bw)(e)){let{status:n}=e;return{status:n,message:l(e,t.message)}}return t},x=e=>Object.entries(e).map(e=>({value:e[1],label:e[1]}));(i=r||(r={})).GVL="gvl",i.AC="gacp",i.COMPASS="compass";let h={gvl:{label:"GVL",fullName:"Global Vendor List"},gacp:{label:"AC",fullName:"Google Additional Consent List"},compass:{label:"",fullName:""}},m=e=>{let t=e.split(".")[0];return"gacp"===t?"gacp":"gvl"===t?"gvl":"compass"}},14047:function(e,t,n){n.d(t,{H:function(){return a},V:function(){return i.V}});var i=n(84306),r=n(812);let a=()=>{let{errorAlert:e}=(0,i.V)();return{handleError:t=>{let n="An unexpected error occurred. Please try again.";(0,r.Ot)(t)?n=t.data.detail:(0,r.tB)(t)&&(n=t.data.detail[0].msg),e(n)}}}},84306:function(e,t,n){n.d(t,{V:function(){return a}});var i=n(24246),r=n(4454);let a=()=>{let e=(0,r.pmc)();return{errorAlert:(t,n,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,i.jsxs)(r.bZj,{alignItems:"normal",status:"error","data-testid":"error-alert",children:[(0,i.jsx)(r.zMQ,{}),(0,i.jsxs)(r.xuv,{children:[n&&(0,i.jsx)(r.CdC,{children:n}),(0,i.jsx)(r.XaZ,{children:t})]}),(0,i.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)},successAlert:(t,n,a)=>{let s={...a,position:(null==a?void 0:a.position)||"top",render:e=>{let{onClose:a}=e;return(0,i.jsxs)(r.bZj,{alignItems:"normal",status:"success",variant:"subtle","data-testid":"success-alert",children:[(0,i.jsx)(r.zMQ,{}),(0,i.jsxs)(r.xuv,{children:[n&&(0,i.jsx)(r.CdC,{children:n}),(0,i.jsx)(r.XaZ,{children:t})]}),(0,i.jsx)(r.PZ7,{onClick:a,position:"relative",right:0,size:"sm",top:-1})]})}};(null==a?void 0:a.id)&&e.isActive(a.id)?e.update(a.id,s):e(s)}}}},39715:function(e,t,n){var i=n(24246),r=n(4454);n(27378),t.Z=e=>{let{isEmptyState:t,yamlError:n}=e;return(0,i.jsx)(r.Rg9,{in:!0,children:(0,i.jsxs)(r.xuv,{w:"fit-content",bg:"white",p:3,borderRadius:3,children:[(0,i.jsxs)(r.Ugi,{children:[(0,i.jsx)(r.X6q,{as:"h5",color:"gray.700",size:"xs",children:"YAML"}),(0,i.jsx)(r.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,i.jsx)(r.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,i.jsxs)(r.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,i.jsx)(r.f9v,{}),t&&(0,i.jsxs)(r.xuv,{children:[(0,i.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:"Yaml system is required"})]}),n&&(0,i.jsxs)(r.xuv,{children:[(0,i.jsx)(r.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:n.message}),(0,i.jsx)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:n.reason}),(0,i.jsxs)(r.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:["Ln ",(0,i.jsx)("b",{children:n.mark.line}),", Col"," ",(0,i.jsx)("b",{children:n.mark.column}),", Pos"," ",(0,i.jsx)("b",{children:n.mark.position})]})]})]})})]})})}},41337:function(e,t,n){var i=n(24246),r=n(4454);n(27378);var a=n(61317),s=n(16394),l=n(14746);let o=l.Ny+l.iW.get(a.Rj.WEBSITE),d=e=>void 0!==e.connection_type,c=e=>void 0!==e.encoded_icon,u=e=>(null==e?void 0:e.connection_type)===a.Rj.WEBSITE;t.Z=e=>{let{data:t,...n}=e;return(0,i.jsx)(r.Eep,{boxSize:"32px",objectFit:"cover",src:(()=>{let e;if(c(t)&&t.encoded_icon)return"data:image/svg+xml;base64,".concat(t.encoded_icon);if(u(t)){var n;let e=null===(n=t.secrets)||void 0===n?void 0:n.url;if(!e)return o;let i=(0,s.ge)(e);return(0,s.tl)(i,100)}if(d(t))e=[...l.iW].find(e=>{var n,i;let[r]=e;return t.connection_type.toString()!==a.Rj.SAAS&&t.connection_type.toString()===r||t.connection_type.toString()===a.Rj.SAAS&&(null===(i=t.saas_config)||void 0===i?void 0:null===(n=i.type)||void 0===n?void 0:n.toString())===r.toString()});else if(c(t)){let{identifier:n}=t;e=[...l.iW].find(e=>{let[t]=e;return t.toLowerCase()===n.toLowerCase()})}return e?l.Ny+e[1]:l.VD})(),fallbackSrc:u(t)?o:l.VD,alt:(()=>{if(d(t)){var e;return null!==(e=t.name)&&void 0!==e?e:t.key}return c(t)?t.human_readable:t})(),...n})}},1226:function(e,t,n){var i=n(24246);n(27378);var r=n(77213);t.Z=e=>{let{children:t}=e;return(0,i.jsx)(r.Z,{title:"Connections",children:t})}},11274:function(e,t,n){n.d(t,{s:function(){return F}});var i=n(24246),r=n(96356),a=n(4454),s=n(86677),l=n(27378),o=n(16134),d=n(77830),c=n(61317),u=n(14047),x=n(84306),h=n(14207),m=n(16125),p=n(33335),f=n(34090),g=n(46238);let v=(e,t)=>{let n={...e};return Object.entries(t.properties).forEach(t=>{let[i,r]=t;if("integer"===r.type){let t=r.default?Number(r.default):e[i];n[i]=t||0}else{var a;let t=null!==(a=r.default)&&void 0!==a?a:e[i];n[i]=null!=t?t:null}}),n},j="#/definitions/FidesDatasetReference";var y=e=>{let{data:t,defaultValues:n,isSubmitting:s=!1,onSaveClick:d,onTestConnectionClick:x,testButtonLabel:m="Test integration"}=e,p=(0,l.useRef)(!1),{handleError:y}=(0,u.H)(),{connection:b,connectionOption:C}=(0,o.C)(r.ZZ),[_,k]=(0,h.h2)(),S=e=>{let t;return(void 0===e||""===e)&&(t="Connection Identifier is required"),e&&(0,a.kEn)(e)&&(t="Connection Identifier must be an alphanumeric value"),t},w=(e,t,n)=>{let i;return(void 0===t||""===t)&&(i="".concat(e," is required")),n===j&&(t.includes(".")?t.split(".").length<3&&(i="Dataset reference must include at least three parts"):i="Dataset reference must be dot delimited"),i},I=(e,t)=>(0,i.jsx)(a.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:e,minWidth:"150px",children:t}),z=e=>{var t;if((null===(t=e.allOf)||void 0===t?void 0:t[0].$ref)===j)return"Enter dataset.collection.field"},R=(e,n)=>{var r;return(0,i.jsx)(f.gN,{id:e,name:e,validate:(null!==(r=t.required)&&void 0!==r&&!!r.includes(e)||"integer"===n.type)&&(e=>{var t;return w(n.title,e,null===(t=n.allOf)||void 0===t?void 0:t[0].$ref)}),children:r=>{var s;let{field:l,form:o}=r;return(0,i.jsxs)(a.NIc,{display:"flex",isRequired:null===(s=t.required)||void 0===s?void 0:s.includes(e),isInvalid:o.errors[e]&&o.touched[e],children:[I(e,n.title),(0,i.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:["integer"!==n.type&&(0,i.jsx)(a.IIB,{...l,value:l.value||"",placeholder:z(n),autoComplete:"off",color:"gray.700",size:"sm"}),"integer"===n.type&&(0,i.jsxs)(a.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,i.jsx)(a.zuI,{...l,autoComplete:"off"}),(0,i.jsxs)(a.FiK,{children:[(0,i.jsx)(a.WQu,{}),(0,i.jsx)(a.Y_d,{})]})]}),(0,i.jsx)(a.J1D,{children:o.errors[e]})]}),(0,i.jsx)(a.kCb,{alignItems:"center",h:8,ml:2,children:(0,i.jsx)(g.b,{label:n.description})})]})}},e)},W=async()=>{try{await _(b.key).unwrap()}catch(e){y(e)}};return(0,l.useEffect)(()=>(p.current=!0,k.isSuccess&&x(k),()=>{p.current=!1}),[x,k]),(0,i.jsx)(f.J9,{enableReinitialize:!0,initialValues:(()=>{let e={...n};if(null==b?void 0:b.key){var i,r;e.name=null!==(r=b.name)&&void 0!==r?r:"",e.description=b.description,e.instance_key=b.connection_type===c.Rj.SAAS?null===(i=b.saas_config)||void 0===i?void 0:i.fides_key:b.key}return v(e,t)})(),onSubmit:(e,n)=>{let i={...e};Object.keys(t.properties).forEach(n=>{var r;if((null===(r=t.properties[n].allOf)||void 0===r?void 0:r[0].$ref)===j){let t=e[n].split(".");i[n]={dataset:t.shift(),field:t.join("."),direction:"from"}}}),d(i,n)},validateOnBlur:!1,validateOnChange:!1,children:e=>(0,i.jsx)(f.l0,{noValidate:!0,children:(0,i.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(f.gN,{id:"name",name:"name",validate:e=>w("Name",e),children:t=>{let{field:n}=t;return(0,i.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.name&&e.touched.name,children:[I("name","Name"),(0,i.jsxs)(a.gCW,{align:"flex-start",w:"inherit",mr:"6",children:[(0,i.jsx)(a.IIB,{...n,autoComplete:"off",autoFocus:!0,color:"gray.700",placeholder:"Enter a friendly name for your new ".concat(C.human_readable," connection"),size:"sm","data-testid":"input-name"}),(0,i.jsx)(a.J1D,{children:e.errors.name})]})]})}}),(0,i.jsx)(f.gN,{id:"description",name:"description",children:e=>{let{field:t}=e;return(0,i.jsxs)(a.NIc,{display:"flex",children:[I("description","Description"),(0,i.jsx)(a.gxH,{...t,color:"gray.700",placeholder:"Enter a description for your new ".concat(C.human_readable," connection"),resize:"none",size:"sm",value:t.value||"",mr:"6"})]})}}),(0,i.jsx)(f.gN,{id:"instance_key",name:"instance_key",validate:S,children:t=>{let{field:n}=t;return(0,i.jsxs)(a.NIc,{display:"flex",isRequired:!0,isInvalid:e.errors.instance_key&&e.touched.instance_key,children:[I("instance_key","Connection Identifier"),(0,i.jsxs)(a.gCW,{align:"flex-start",w:"inherit",children:[(0,i.jsx)(a.IIB,{...n,autoComplete:"off",color:"gray.700",isDisabled:!!(null==b?void 0:b.key),placeholder:"A unique identifier for your new ".concat(C.human_readable," connection"),size:"sm"}),(0,i.jsx)(a.J1D,{children:e.errors.instance_key})]}),(0,i.jsx)(a.kCb,{alignItems:"center",h:8,ml:2,children:(0,i.jsx)(g.b,{label:"The fides_key will allow fidesops to associate dataset field references appropriately. Must be a unique alphanumeric value with no spaces (underscores allowed) to represent this connection."})})]})}}),Object.entries(t.properties).map(e=>{let[t,n]=e;return"advanced_settings"===t?null:R(t,n)}),(0,i.jsxs)(a.kCb,{gap:2,children:[(0,i.jsx)(a.wpx,{disabled:!(null==b?void 0:b.key),loading:k.isLoading||k.isFetching,onClick:W,"data-testid":"test-connection-button",children:m}),(0,i.jsx)(a.wpx,{htmlType:"submit",type:"primary",disabled:s,loading:s,children:"Save"})]})]})})})};let b=e=>{let{onConnectionCreated:t,data:n}=e,a=(0,m.I0)(),{errorAlert:s,successAlert:d}=(0,x.V)(),{handleError:f}=(0,u.H)(),[g,v]=(0,l.useState)(!1),{connection:j,connectionOption:y}=(0,o.C)(r.ZZ),[b]=(0,h.pH)(),[C]=(0,h.Du)();return{isSubmitting:g,handleSubmit:async e=>{try{var l;v(!0);let o={access:c.uv.WRITE,connection_type:null==y?void 0:y.identifier,description:e.description,disabled:!1,key:(0,p.E)(e.instance_key),name:e.name},u=await b(o).unwrap();if((null===(l=u.failed)||void 0===l?void 0:l.length)>0)s(u.failed[0].message);else{let l={connection_key:u.succeeded[0].key,secrets:{}};Object.entries(n.properties).forEach(t=>{l.secrets[t[0]]=e[t[0]]});let o=await C(l).unwrap();"failed"===o.test_status?s((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:"Message:"})," ",o.msg,(0,i.jsx)("br",{}),(0,i.jsx)("b",{children:"Failure Reason:"})," ",o.failure_reason]})):(a((0,r.lm)(u.succeeded[0])),d("Connector successfully ".concat((null==j?void 0:j.key)?"updated":"added","!")),(null==j?void 0:j.key)||!t||t())}}catch(e){f(e)}finally{v(!1)}},connectionOption:y}},C=e=>{let{data:t,onConnectionCreated:n,onTestConnectionClick:r}=e,{isSubmitting:s,handleSubmit:l,connectionOption:o}=b({onConnectionCreated:n,data:t});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",o.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,i.jsx)(y,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:s,onSaveClick:l,onTestConnectionClick:r})]})},_={description:"",instance_key:"",name:""},k=e=>{let{data:t,onConnectionCreated:n,onTestEmail:r}=e,{connectionOption:s,isSubmitting:l,handleSubmit:o}=b({onConnectionCreated:n,data:t});return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Configure your ",s.human_readable," connector by providing the connector name, description and a test email address. Once you have saved the details, you can click test email to check the format of the email."]}),(0,i.jsx)(y,{data:t,defaultValues:_,isSubmitting:l,onSaveClick:e=>{o(e)},onTestConnectionClick:r,testButtonLabel:"Test email"})]})};var S=n(55484),w=n(27259),I=n(67762),z=e=>{let{defaultValues:t,isSubmitting:n=!1,onSaveClick:l}=e,c=(0,s.useRouter)(),{connection:u,connectionOption:x}=(0,o.C)(r.ZZ);return(0,i.jsx)(f.J9,{initialValues:(()=>{if(null==u?void 0:u.key){var e;t.name=null!==(e=u.name)&&void 0!==e?e:"",t.description=u.description}return t})(),onSubmit:(e,t)=>{l(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:S.Ry().shape({name:S.Z_().required("Name is required")}),children:(0,i.jsx)(f.l0,{noValidate:!0,children:(0,i.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(w.Z,{autoFocus:!0,disabled:!!(null==u?void 0:u.key),isRequired:!0,label:"Name",name:"name",placeholder:"Enter a friendly name for your new ".concat(x.human_readable," connection")}),(0,i.jsx)(w.Z,{label:"Description",name:"description",placeholder:"Enter a description for your new ".concat(x.human_readable," connection"),type:"textarea"}),(0,i.jsx)(I.h,{isSubmitting:n,onCancelClick:()=>{c.push(d.JR)}})]})})})};let R=e=>{let{onConnectionCreated:t}=e,n=(0,m.I0)(),{errorAlert:s,successAlert:d}=(0,x.V)(),{handleError:p}=(0,u.H)(),[f,g]=(0,l.useState)(!1),{connection:v,connectionOption:j}=(0,o.C)(r.ZZ),[y]=(0,h.pH)(),b=async(e,i)=>{try{var a;g(!0);let i={access:c.uv.WRITE,connection_type:null==j?void 0:j.identifier,description:e.description,disabled:!1,name:e.name,key:null==v?void 0:v.key},l=await y(i).unwrap();(null===(a=l.failed)||void 0===a?void 0:a.length)>0?s(l.failed[0].message):(n((0,r.lm)(l.succeeded[0])),d("Connector successfully ".concat((null==v?void 0:v.key)?"updated":"added","!")),(null==v?void 0:v.key)||!t||t())}catch(e){p(e)}finally{g(!1)}};return(0,i.jsxs)(a.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",children:["To begin setting up your new ",j.human_readable," ","connector you must first assign a name to the connector and a description.",(0,i.jsx)("br",{}),(0,i.jsx)("br",{}),"Once you have completed this section you can then progress onto"," ",(0,i.jsx)(a.xvT,{display:"inline-block",fontWeight:"700",children:"DSR customization"})," ","using the menu on the left hand side."]}),(0,i.jsx)(z,{defaultValues:{description:"",name:""},isSubmitting:f,onSaveClick:b})]})},W=e=>{let{data:t,onConnectionCreated:n,onTestConnectionClick:s}=e,d=(0,m.I0)(),{errorAlert:f,successAlert:g}=(0,x.V)(),{handleError:v}=(0,u.H)(),[j,b]=(0,l.useState)(!1),{connection:C,connectionOption:_}=(0,o.C)(r.ZZ),[k]=(0,h.pL)(),[S]=(0,h.pH)(),[w]=(0,h.Du)(),I=async(e,a)=>{try{if(b(!0),C){var s;let n={access:c.uv.WRITE,connection_type:C.connection_type,description:e.description,disabled:!1,key:C.key,name:e.name},a=await S(n).unwrap();if((null===(s=a.failed)||void 0===s?void 0:s.length)>0)f(a.failed[0].message);else{d((0,r.lm)(a.succeeded[0]));let n={connection_key:C.key,secrets:{}};Object.entries(t.properties).forEach(t=>{n.secrets[t[0]]=e[t[0]]});let s=await w(n).unwrap();"failed"===s.test_status?f((0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)("b",{children:"Message:"})," ",s.msg,(0,i.jsx)("br",{}),(0,i.jsx)("b",{children:"Failure Reason:"})," ",s.failure_reason]})):g("Connector successfully updated!")}}else{let i={description:e.description,name:e.name,instance_key:(0,p.E)(e.instance_key),saas_connector_type:_.identifier,secrets:{}};Object.entries(t.properties).forEach(t=>{i.secrets[t[0]]=e[t[0]]});let a=await k(i).unwrap();d((0,r.lm)(a.connection)),g("Connector successfully added!"),null==n||n()}}catch(e){v(e)}finally{b(!1)}};return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.xuv,{color:"gray.700",fontSize:"14px",h:"80px",children:["Connect to your ",_.human_readable," environment by providing the information below. Once you have saved the form, you may test the integration to confirm that it's working correctly."]}),(0,i.jsx)(y,{data:t,defaultValues:{description:"",instance_key:"",name:""},isSubmitting:j,onSaveClick:I,onTestConnectionClick:s})]})};var Z=n(16394);let E=e=>{var t,n;let{response:s}=e,{connectionOption:l}=(0,o.C)(r.ZZ);return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsx)(a.izJ,{color:"gray.100"}),(0,i.jsxs)(a.gCW,{align:"flex-start",mt:"16px",children:[(null===(t=s.data)||void 0===t?void 0:t.test_status)==="succeeded"&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.Ugi,{children:[(0,i.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Successfully connected to ",l.human_readable]}),(0,i.jsx)(a.Vp9,{colorScheme:"green",size:"sm",variant:"solid",children:"Success"})]}),(0,i.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,i.jsx)(a.xuv,{bg:"green.100",border:"1px solid",borderColor:"green.300",color:"green.700",mt:"16px",borderRadius:"6px",children:(0,i.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,i.jsx)(a.StI,{}),(0,i.jsxs)(a.xuv,{children:[(0,i.jsx)(a.X6q,{as:"h5",color:"green.500",fontWeight:"semibold",size:"xs",children:"Success message:"}),(0,i.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]}),(null===(n=s.data)||void 0===n?void 0:n.test_status)==="failed"&&(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(a.Ugi,{children:[(0,i.jsxs)(a.X6q,{as:"h5",color:"gray.700",size:"xs",children:["Output error to ",l.human_readable]}),(0,i.jsx)(a.Vp9,{colorScheme:"red",size:"sm",variant:"solid",children:"Error"})]}),(0,i.jsx)(a.xvT,{color:"gray.500",fontSize:"sm",mt:"12px !important",children:(0,Z.p6)(s.fulfilledTimeStamp)}),(0,i.jsx)(a.xuv,{bg:"red.50",border:"1px solid",borderColor:"red.300",color:"red.300",mt:"16px",borderRadius:"6px",children:(0,i.jsxs)(a.Ugi,{alignItems:"flex-start",margin:["14px","17px","14px","17px"],children:[(0,i.jsx)(a.f9v,{}),(0,i.jsxs)(a.xuv,{children:[(0,i.jsx)(a.X6q,{as:"h5",color:"red.500",fontWeight:"semibold",size:"xs",children:"Error message:"}),(0,i.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.failure_reason}),(0,i.jsx)(a.xvT,{color:"gray.700",fontSize:"sm",fontWeight:"400",children:s.data.msg})]})]})})]})]})]})},F=e=>{let{onConnectionCreated:t}=e,n=(0,s.useRouter)(),{connectionOption:u}=(0,o.C)(r.ZZ),x=u&&u.type===c.Zi.MANUAL,{data:h,isFetching:m,isLoading:p,isSuccess:f}=(0,r.n3)(u.identifier,{skip:x}),[g,v]=(0,l.useState)(),j=e=>{v(e)},y=(0,l.useCallback)(()=>{n.push(d.JR)},[n]),b=(0,l.useCallback)(()=>{switch(null==u?void 0:u.type){case c.Zi.DATABASE:if(f&&h)return(0,i.jsx)(C,{data:h,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.MANUAL:return(0,i.jsx)(R,{onConnectionCreated:t});case c.Zi.SAAS:if(f&&h)return(0,i.jsx)(W,{data:h,onConnectionCreated:t,onTestConnectionClick:j});break;case c.Zi.EMAIL:if(f&&h)return(0,i.jsx)(k,{data:h,onConnectionCreated:y,onTestEmail:j})}},[null==u?void 0:u.type,h,f,t,y]);return(0,i.jsxs)(a.kCb,{gap:"97px",children:[(0,i.jsxs)(a.gCW,{w:"579px",gap:"16px",align:"stretch",children:[(m||p)&&(0,i.jsx)(a.M5Y,{children:(0,i.jsx)(a.$jN,{})}),b()]}),g&&(0,i.jsxs)(a.Rg9,{in:!0,children:[" ",(0,i.jsx)(a.xuv,{mt:"16px",maxW:"528px",w:"fit-content",children:(0,i.jsx)(E,{response:g})})]})]})}},38212:function(e,t,n){n.d(t,{Z:function(){return y}});var i=n(24246),r=n(14047),a=n(96356),s=n(14207),l=n(4454),o=n(86677),d=n(27378),c=n(16134),u=n(812),x=n(77830),h=n(41966),m=n(84306),p=n(66527),f=n(41207),g=n(39715),v=e=>{let{data:t=[],isSubmitting:n=!1,onSubmit:r,onCancel:a,disabled:s}=e,o=(0,d.useRef)(null),{errorAlert:c}=(0,m.V)(),u=t.length>0?p.ZP.dump(t):void 0,[x,v]=(0,d.useState)(void 0),[j,y]=(0,d.useState)(!1),[b,C]=(0,d.useState)(!u),_=(0,l.qY0)(),{data:k}=(0,h.NR)(),[S,w]=(0,d.useState)([]),I=e=>{p.ZP.load(e,{json:!0}),v(void 0)},z=()=>{let e=o.current.getValue();r(p.ZP.load(e,{json:!0})),w([])};return(0,i.jsxs)(l.kCb,{gap:"97px",children:[(0,i.jsxs)(l.gCW,{align:"stretch",w:"800px",children:[(0,i.jsx)(f.M,{defaultLanguage:"yaml",defaultValue:u,height:"calc(100vh - 526px)",onChange:e=>{try{y(!0),I(e),C(!!(!e||""===e.trim()))}catch(e){(0,f.F)(e)?v(e):c("Could not parse the supplied YAML")}},onMount:(e,t)=>{o.current=e,o.current.focus()},options:{fontFamily:"Menlo",fontSize:13,minimap:{enabled:!0},readOnly:s},theme:"light"}),(0,i.jsxs)(l.Ugi,{justifyContent:"flex-end",pr:6,children:[a&&(0,i.jsx)(l.wpx,{onClick:a,children:"Cancel"}),(0,i.jsx)(l.wpx,{type:"primary",disabled:s||b||!!x||n,loading:n,onClick:()=>{if(k&&k.length){let e=o.current.getValue(),t=k.filter(t=>e.includes("fides_key: ".concat(t.fides_key,"\n"))).map(e=>e.fides_key);if(w(t),t.length){_.onOpen();return}}z()},htmlType:"submit","data-testid":"save-yaml-btn",children:"Save"})]})]}),j&&(b||x)&&(0,i.jsx)(g.Z,{isEmptyState:b,yamlError:x}),(0,i.jsx)(l.cVQ,{isOpen:_.isOpen,onClose:_.onClose,onConfirm:()=>{z(),_.onClose()},title:"Overwrite dataset",message:(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.xvT,{children:["You are about to overwrite the dataset",S.length>1?"s":""," ",S.map((e,t)=>{let n=t===S.length-1;return(0,i.jsxs)(d.Fragment,{children:[(0,i.jsx)(l.xvT,{color:"complimentary.500",as:"span",fontWeight:"bold",children:e}),n?".":", "]},e)})]}),(0,i.jsx)(l.xvT,{children:"Are you sure you would like to continue?"})]})})]})};let j=e=>{let{children:t,...n}=e;return(0,i.jsx)(l.xvT,{color:"gray.700",fontSize:"14px",...n,children:t})};var y=()=>{let e=(0,o.useRouter)(),{errorAlert:t,successAlert:n}=(0,r.V)(),{handleError:m}=(0,r.H)(),[p,f]=(0,d.useState)(!1),{connection:g}=(0,c.C)(a.ZZ),{data:y,isFetching:b,isLoading:C,isSuccess:_}=(0,s.Eg)(g.key),[k]=(0,s.Lz)(),[S]=(0,h.EG)(),{data:w,isLoading:I,error:z}=(0,h.NR)(),[R,W]=(0,d.useState)(void 0);(0,d.useEffect)(()=>{y&&y.items.length&&W(y.items[0].ctl_dataset.fides_key)},[y]);let Z=async i=>{var r;let a={connection_key:null==g?void 0:g.key,dataset_pairs:i},s=await k(a).unwrap();(null===(r=s.failed)||void 0===r?void 0:r.length)>0?t(s.failed[0].message):n("Dataset successfully updated!"),e.push(x.JR)},E=async()=>{if(R)try{let e=R;y&&y.items.length&&(e=y.items[0].fides_key);let t=[{fides_key:e,ctl_dataset_fides_key:R}];Z(t)}catch(e){m(e)}},F=async e=>{try{f(!0);let n=Array.isArray(e)?e:[e],i=await S(n);if((0,u.D4)(i)){let e=(0,u.e$)(i.error);t(e);return}let r=n.map(e=>({fides_key:e.fides_key,ctl_dataset_fides_key:e.fides_key}));if(y&&y.items.length){let{items:e}=y;r=e.map((e,t)=>({fides_key:e.fides_key,ctl_dataset_fides_key:n[t].fides_key}))}Z(r)}catch(e){m(e)}finally{f(!1)}},A=""!==R&&void 0!==R;if(b||C||I&&!z)return(0,i.jsx)(l.M5Y,{children:(0,i.jsx)(l.$jN,{})});let N=w&&w.length;return(0,i.jsxs)(l.gCW,{alignItems:"left",gap:4,children:[z&&(0,i.jsx)(j,{color:"red",children:"There was a problem loading existing datasets, please try again."}),(0,i.jsxs)(l.gCW,{alignItems:"flex-start",children:[N&&(0,i.jsx)("div",{children:(0,i.jsx)(l.gCW,{alignSelf:"start",gap:4,children:(0,i.jsxs)(l.xuv,{"data-testid":"dataset-selector-section",children:[(0,i.jsx)(j,{mb:4,children:"Choose a dataset to associate with this connector."}),(0,i.jsxs)(l.Ugi,{children:[(0,i.jsx)(l.WPr,{allowClear:!0,options:w.map(e=>({label:e.fides_key,value:e.fides_key})),className:"w-full",placeholder:"Select",onChange:e=>W(e),value:R,"data-testid":"dataset-selector"}),(0,i.jsx)(l.wpx,{onClick:E,type:"primary",className:"self-start",disabled:!A,"data-testid":"save-dataset-link-btn",children:"Save"})]})]})})}),N&&_&&(null==y?void 0:y.items)&&(0,i.jsx)(l.htM,{plain:!0,children:"or"}),_&&(null==y?void 0:y.items)&&(0,i.jsxs)(l.xuv,{"data-testid":"yaml-editor-section",children:[(0,i.jsx)(j,{mb:4,children:"View your dataset YAML below!"}),(0,i.jsx)(v,{data:y.items.map(e=>e.ctl_dataset),isSubmitting:p,onSubmit:F,disabled:A})]})]})]})}},27259:function(e,t,n){var i=n(24246),r=n(4454),a=n(34090);t.Z=e=>{let{disabled:t=!1,isRequired:n=!1,label:s,placeholder:l,type:o="text",...d}=e,{id:c,autoFocus:u}=d,[x,h]=(0,a.U$)(d);return(0,i.jsxs)(r.NIc,{display:"flex",isRequired:n,isInvalid:!!(h.error&&h.touched),children:[s&&(0,i.jsx)(r.lXp,{color:"gray.900",fontSize:"14px",fontWeight:"semibold",htmlFor:c,minWidth:"150px",children:s}),(0,i.jsxs)(r.gCW,{align:"flex-start",w:"inherit",children:["number"===o&&(0,i.jsxs)(r.Y2U,{allowMouseWheel:!0,color:"gray.700",defaultValue:0,min:0,size:"sm",children:[(0,i.jsx)(r.zuI,{...x,autoComplete:"off",autoFocus:u}),(0,i.jsxs)(r.FiK,{children:[(0,i.jsx)(r.WQu,{}),(0,i.jsx)(r.Y_d,{})]})]}),"text"===o&&(0,i.jsx)(r.IIB,{...x,autoComplete:"off",autoFocus:u,color:"gray.700",isDisabled:t,placeholder:l,size:"sm"}),"textarea"===o&&(0,i.jsx)(r.gxH,{...x,autoComplete:"off",autoFocus:u,color:"gray.700",placeholder:l,resize:"none",size:"sm",value:x.value||""}),(0,i.jsx)(r.J1D,{children:h.error})]})]})}},67762:function(e,t,n){n.d(t,{h:function(){return a}});var i=n(24246),r=n(4454);n(27378);let a=e=>{let{isSubmitting:t=!1,onCancelClick:n}=e;return(0,i.jsxs)(r.hE2,{size:"sm",spacing:"8px",variant:"outline",children:[(0,i.jsx)(r.zxk,{onClick:n,variant:"outline",children:"Cancel"}),(0,i.jsx)(r.zxk,{bg:"primary.800",color:"white",isDisabled:t,isLoading:t,loadingText:"Submitting",size:"sm",variant:"solid",type:"submit",_active:{bg:"primary.500"},_disabled:{opacity:"inherit"},_hover:{bg:"primary.400"},children:"Save"})]})}},50881:function(e,t,n){n.d(t,{Z:function(){return y}});var i=n(24246),r=n(14047),a=n(96356),s=n(14207),l=n(4454),o=n(86677),d=n(27378),c=n(16134),u=n(77830),x=n(34090),h=n(55484),m=n(97181),p=n(57072),f=n(39864),g=n(27259),v=n(67762),j=e=>{let{data:t=[],isSubmitting:n=!1,onSaveClick:a}=e,{isLoading:s}=(0,p.MO)(),d=(0,c.C)(f.qb),j=(0,o.useRouter)(),{errorAlert:y}=(0,r.V)(),b=()=>{j.push(u.JR)};return s?null:(0,i.jsx)(x.J9,{enableReinitialize:!0,initialValues:{fields:t.length>0?t:[{pii_field:"",dsr_package_label:"",data_categories:[]}]},onSubmit:(e,t)=>{if(new Set(e.fields.map(e=>e.pii_field)).size<e.fields.length){y("PII Field must be unique");return}a(e,t)},validateOnBlur:!1,validateOnChange:!1,validationSchema:h.Ry({fields:h.IX().of(h.Ry().shape({pii_field:h.Z_().required("PII Field is required").min(1,"PII Field must have at least one character").max(200,"PII Field has a maximum of 200 characters").label("PII Field"),dsr_package_label:h.Z_().required("DSR Package Label is required").min(1,"DSR Package Label must have at least one character").max(200,"DSR Package Label has a maximum of 200 characters").label("DSR Package Label"),data_categories:h.IX(h.Z_()).label("Data Categories")}))}),children:e=>(0,i.jsx)(x.l0,{style:{marginTop:0},noValidate:!0,children:(0,i.jsx)(l.gCW,{align:"stretch",children:(0,i.jsx)(x.F2,{name:"fields",render:t=>{let{fields:r}=e.values;return(0,i.jsxs)(i.Fragment,{children:[(0,i.jsxs)(l.Ugi,{color:"gray.900",flex:"1",fontSize:"14px",fontWeight:"semibold",lineHeight:"20px",mb:"6px",spacing:"24px",children:[(0,i.jsx)(l.xuv,{w:"416px",children:"PII Field"}),(0,i.jsx)(l.xuv,{w:"416px",children:"DSR Package Label"}),(0,i.jsx)(l.xuv,{w:"416px",children:"Data Categories"}),(0,i.jsx)(l.xuv,{visibility:"hidden",children:(0,i.jsx)(l.lr0,{})})]}),(0,i.jsx)(l.xuv,{children:r&&r.length>0?r.map((e,n)=>(0,i.jsxs)(l.Ugi,{mt:n>0?"12px":void 0,spacing:"24px",align:"flex-start",children:[(0,i.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(g.Z,{autoFocus:0===n,isRequired:!0,name:"fields.".concat(n,".pii_field")})}),(0,i.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(g.Z,{isRequired:!0,name:"fields.".concat(n,".dsr_package_label")})}),(0,i.jsx)(l.xuv,{minH:"57px",w:"416px",children:(0,i.jsx)(m.d,{name:"fields.".concat(n,".data_categories"),options:d.map(e=>({value:e.fides_key,label:e.fides_key})),isRequired:!0,mode:"multiple"})}),(0,i.jsx)(l.xuv,{h:"57px",visibility:n>0?"visible":"hidden",children:(0,i.jsx)(l.lr0,{onClick:()=>t.remove(n),_hover:{cursor:"pointer"}})})]},n)):null}),(0,i.jsx)(l.xvT,{color:"complimentary.500",fontWeight:"medium",fontSize:"sm",mb:"24px !important",mt:"24px !important",onClick:()=>{t.push({pii_field:"",dsr_package_label:"",data_categories:[]})},_hover:{cursor:"pointer"},children:"Add new PII field"}),(0,i.jsx)(v.h,{isSubmitting:n,onCancelClick:b})]})}})})})})},y=()=>{let e=(0,d.useRef)(!1),t=(0,o.useRouter)(),{successAlert:n}=(0,r.V)(),{handleError:x}=(0,r.H)(),[h,m]=(0,d.useState)(!1),[p,f]=(0,d.useState)([]),{connection:g}=(0,c.C)(a.ZZ),{data:v,isFetching:y,isLoading:b,isSuccess:C}=(0,s.QV)(g.key),[_]=(0,s.jF)(),[k]=(0,s._d)(),S=async(e,i)=>{try{m(!0);let i={connection_key:null==g?void 0:g.key,body:{...e}};p.length>0?await k(i).unwrap():await _(i).unwrap(),n("DSR customization ".concat(p.length>0?"updated":"added","!")),t.push(u.JR)}catch(e){x(e)}finally{m(!1)}};return(0,d.useEffect)(()=>(e.current=!0,C&&v&&f(v.fields),()=>{e.current=!1}),[v,C]),(0,i.jsxs)(l.gCW,{align:"stretch",gap:"16px",children:[(0,i.jsx)(l.xuv,{color:"gray.700",fontSize:"14px",w:"572px",children:"Customize your PII fields to create a friendly label name for your privacy request packages. This “Package Label” is the label your user will see in their downloaded package."}),(y||b)&&(0,i.jsx)(l.M5Y,{children:(0,i.jsx)(l.$jN,{})}),e.current&&!b?(0,i.jsx)(j,{data:p,isSubmitting:h,onSaveClick:S}):null]})}},33335:function(e,t,n){n.d(t,{E:function(){return i}});let i=e=>e.toLowerCase().replace(/[ .]/g,"_").replace(/[^a-zA-Z0-9_<>-]/g,"")},19043:function(e,t,n){n.d(t,{Bw:function(){return s},D4:function(){return r},Dy:function(){return o},XD:function(){return d},cz:function(){return c},hE:function(){return l},oK:function(){return a}});var i=n(76649);let r=e=>"error"in e,a=e=>(0,i.Ln)({status:"string"},e)&&"PARSING_ERROR"===e.status,s=e=>(0,i.Ln)({status:"number",data:{}},e),l=e=>(0,i.Ln)({detail:"string"},e),o=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),d=e=>(0,i.Ln)({detail:{error:"string",resource_type:"string",fides_key:"string"}},e),c=e=>(0,i.Ln)({detail:[{loc:["string","number"],msg:"string",type:"string"}]},e)},76649:function(e,t,n){n.d(t,{Ln:function(){return i}});let i=(e,t)=>a(e,t),r=Symbol("SOME"),a=(e,t)=>"string"==typeof e?e===typeof t:Array.isArray(e)?r in e?e.some(e=>a(e,t)):!!Array.isArray(t)&&(0===e.length||t.every(t=>e.some(e=>a(e,t)))):"object"==typeof t&&null!==t&&Object.entries(e).every(([e,n])=>a(n,t[e]));class s{static narrow(e){return new s(t=>i(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 s?e.NF:e instanceof Function?e:t=>i(e,t);return new s(e=>t(e)&&n(e))}}new s(e=>!0)}}]);
|
@@ -0,0 +1 @@
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2197],{26496:function(e,i,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/404",function(){return n(77030)}])},77030:function(e,i,n){"use strict";n.r(i);var s=n(24246),t=n(72111),r=n(91067),o=n(4454),l=n(86677),c=n(52253);i.default=()=>{let e=(0,l.useRouter)();return(0,s.jsxs)("div",{children:[(0,s.jsx)(t.Z,{}),(0,s.jsx)("main",{children:(0,s.jsxs)(o.Kqy,{minH:"100vh",align:"center",justify:"center",spacing:6,children:[(0,s.jsx)(o.xuv,{bg:"white",py:16,px:[0,0,35],width:["100%","100%",640],borderRadius:4,position:["absolute","absolute","inherit"],top:0,bottom:0,left:0,right:0,boxShadow:"base",children:(0,s.jsxs)(o.Kqy,{align:"center",spacing:9,children:[(0,s.jsxs)(o.Kqy,{align:"center",justify:"center",spacing:3,children:[(0,s.jsx)(o.X6q,{fontSize:"7xl",lineHeight:"1",colorScheme:"primary",color:"gray.700",children:"Error: 404"}),(0,s.jsx)(o.xvT,{fontWeight:"semibold",children:"We’re sorry but this page doesn’t exist"}),(0,s.jsx)(o.wpx,{type:"primary",onClick:()=>e.push(c.gp),className:"w-80",children:"Return to homepage"})]}),(0,s.jsx)(o.xuv,{display:[null,null,"none"],children:(0,s.jsx)(r.Z,{src:"/logo.svg",alt:"Fides logo",width:205,height:46})})]})}),(0,s.jsx)(o.xuv,{display:["none","none","inherit"],children:(0,s.jsx)(r.Z,{src:"/logo.svg",alt:"Fides logo",width:205,height:46})})]})})]})}}},function(e){e.O(0,[2888,9774,179],function(){return e(e.s=26496)}),_N_E=e.O()}]);
|