ethyca-fides 2.73.1rc1__py2.py3-none-any.whl → 2.73.1rc2__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.
Potentially problematic release.
This version of ethyca-fides might be problematic. Click here for more details.
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/METADATA +1 -1
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/RECORD +105 -105
- fides/_version.py +3 -3
- fides/ui-build/static/admin/404.html +1 -1
- fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/{[monitorId]-426097f4730ab047.js → [monitorId]-21a0f5f1b5450976.js} +1 -1
- fides/ui-build/static/admin/_next/static/{raCA7Jc_kK8LyF2UZXIrh → oFlSfw1FVW7HAJICOLe4Y}/_buildManifest.js +1 -1
- 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/datastore/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/datastore.html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html +1 -1
- fides/ui-build/static/admin/data-discovery/action-center/website.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/new-privacy-requests.html +1 -1
- fides/ui-build/static/admin/notifications/digests/[id].html +1 -1
- fides/ui-build/static/admin/notifications/digests/new.html +1 -1
- fides/ui-build/static/admin/notifications/digests.html +1 -1
- fides/ui-build/static/admin/notifications/providers/[key].html +1 -1
- fides/ui-build/static/admin/notifications/providers/new.html +1 -1
- fides/ui-build/static/admin/notifications/providers.html +1 -1
- fides/ui-build/static/admin/notifications/templates/[id].html +1 -1
- fides/ui-build/static/admin/notifications/templates/add-template.html +1 -1
- fides/ui-build/static/admin/notifications/templates.html +1 -1
- fides/ui-build/static/admin/notifications.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/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/sandbox/privacy-notices.html +1 -1
- fides/ui-build/static/admin/settings/about/alpha.html +1 -1
- fides/ui-build/static/admin/settings/about.html +1 -1
- fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html +1 -1
- fides/ui-build/static/admin/settings/consent.html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/[id].html +1 -1
- fides/ui-build/static/admin/settings/custom-fields/new.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/privacy-requests.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
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/WHEEL +0 -0
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/entry_points.txt +0 -0
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/licenses/LICENSE +0 -0
- {ethyca_fides-2.73.1rc1.dist-info → ethyca_fides-2.73.1rc2.dist-info}/top_level.txt +0 -0
- /fides/ui-build/static/admin/_next/static/{raCA7Jc_kK8LyF2UZXIrh → oFlSfw1FVW7HAJICOLe4Y}/_ssgManifest.js +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
ethyca_fides-2.73.
|
|
1
|
+
ethyca_fides-2.73.1rc2.dist-info/licenses/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
|
|
2
2
|
fides/__init__.py,sha256=tE3qqipY9eynYXYpQeksYGHP5NfeXyq-L9mBtpFIxl8,139
|
|
3
|
-
fides/_version.py,sha256=
|
|
3
|
+
fides/_version.py,sha256=_siDHSgGIc-HymhlsREIYaUNV77PCPzvtkuuWHo8YgA,501
|
|
4
4
|
fides/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
5
5
|
fides/api/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
6
6
|
fides/api/analytics.py,sha256=vgwja9DB7gPsQSE3KQi0F3r6yWmnW66wBRC9FpawfRI,1910
|
|
@@ -941,27 +941,27 @@ fides/service/taxonomy/handlers/base.py,sha256=g_lzZbHcC3mbqvxOwoaR_96L2x2wDNrGZ
|
|
|
941
941
|
fides/service/taxonomy/handlers/legacy_handler.py,sha256=AJcc88l94v8QNrofhveRRXmU8ghe8BSt8rCrWEFUxLs,3022
|
|
942
942
|
fides/service/user/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
943
943
|
fides/service/user/user_service.py,sha256=sUsvP_pULLG6oMQlNNF4ZrQJwAtZcaF5h8IqZgGRZg4,5369
|
|
944
|
-
fides/ui-build/static/admin/404.html,sha256=
|
|
945
|
-
fides/ui-build/static/admin/add-systems.html,sha256=
|
|
946
|
-
fides/ui-build/static/admin/consent.html,sha256=
|
|
947
|
-
fides/ui-build/static/admin/data-catalog.html,sha256=
|
|
948
|
-
fides/ui-build/static/admin/datamap.html,sha256=
|
|
949
|
-
fides/ui-build/static/admin/dataset.html,sha256=
|
|
950
|
-
fides/ui-build/static/admin/datastore-connection.html,sha256=
|
|
944
|
+
fides/ui-build/static/admin/404.html,sha256=uFB9AP546F3P7Y-dSzFvZAbKVx6wPuBgBDZwVVKOhvE,1466
|
|
945
|
+
fides/ui-build/static/admin/add-systems.html,sha256=gn1DSGVGKTS7IgYJhxOYttO4Zb2Ptka4OXRbET49h4I,1797
|
|
946
|
+
fides/ui-build/static/admin/consent.html,sha256=IV9mGNQBYKUagK0hBBfSTxvR5IWbWUctbAnpN_f0iyo,1474
|
|
947
|
+
fides/ui-build/static/admin/data-catalog.html,sha256=Yi5ExYMT4jQ5ipjTS80hZzvo5H3tA1pIrrLzqSn4rTo,1878
|
|
948
|
+
fides/ui-build/static/admin/datamap.html,sha256=Bron-gfk8gn8YbY8mHMWLqITx-10vyXUa6zynnbqV7M,2023
|
|
949
|
+
fides/ui-build/static/admin/dataset.html,sha256=MWb4IWVlHm2XjlYh61_H2HLr_JPQfso1WfCnUk5w1tw,1630
|
|
950
|
+
fides/ui-build/static/admin/datastore-connection.html,sha256=o5chwXDMg8k80UpgEx7v3gG8VJ7hyb_NrbCH1ZW084c,1660
|
|
951
951
|
fides/ui-build/static/admin/favicon.ico,sha256=xxtarycoqCOznVZCG0z5Wej6EfYvMYwyz6EUwaVwhEw,4286
|
|
952
|
-
fides/ui-build/static/admin/index.html,sha256=
|
|
953
|
-
fides/ui-build/static/admin/integrations.html,sha256=
|
|
954
|
-
fides/ui-build/static/admin/login.html,sha256
|
|
952
|
+
fides/ui-build/static/admin/index.html,sha256=3aBqSFL6rtWxXinSBRGq7qDU3tPWUk9x0KuTF06T1x0,1625
|
|
953
|
+
fides/ui-build/static/admin/integrations.html,sha256=mwZ1dSHOjVLAZSWZR5eiauTGBxB34rDiwBrWJJ24ipY,2343
|
|
954
|
+
fides/ui-build/static/admin/login.html,sha256=-DO8vOqtsA9nIR2urXw5emtRoJHOemkU8X-nUa5Z4QE,1470
|
|
955
955
|
fides/ui-build/static/admin/logo-icon.svg,sha256=LTpApcJnb73kye_gPF3KG8qNe6S3HJJKeebdl6aJ8fI,147
|
|
956
956
|
fides/ui-build/static/admin/logo-white.svg,sha256=u12SVA-WPW0GAhJ1wXM4oi2aqKXKmteo6yEvGDgz5jM,2101
|
|
957
957
|
fides/ui-build/static/admin/logo.svg,sha256=bCostWyEaAVHBbKwGhzAAGJ0ZNgxBGgzhwKsAXS47bg,2100
|
|
958
|
-
fides/ui-build/static/admin/new-privacy-requests.html,sha256=
|
|
959
|
-
fides/ui-build/static/admin/notifications.html,sha256=
|
|
960
|
-
fides/ui-build/static/admin/privacy-requests.html,sha256=
|
|
961
|
-
fides/ui-build/static/admin/properties.html,sha256=
|
|
962
|
-
fides/ui-build/static/admin/systems.html,sha256=
|
|
963
|
-
fides/ui-build/static/admin/taxonomy.html,sha256
|
|
964
|
-
fides/ui-build/static/admin/user-management.html,sha256=
|
|
958
|
+
fides/ui-build/static/admin/new-privacy-requests.html,sha256=mDNwgy-T8WZ55C1iG2TM-IB6UNqjcwhN2i-qc1c2iz8,2127
|
|
959
|
+
fides/ui-build/static/admin/notifications.html,sha256=DJjVW6hi68qS23TwGmqpqsRZIFJCNSXRCswBQ-dz8eA,1486
|
|
960
|
+
fides/ui-build/static/admin/privacy-requests.html,sha256=ntQEb_VR8Ql55NeeHtnY2tvFpLUJLPnMNpDOs4YR9b4,2119
|
|
961
|
+
fides/ui-build/static/admin/properties.html,sha256=Z8etm-wlIAev7GxUrybIHvyKHOKJrhuKkovZAlKG-v8,1636
|
|
962
|
+
fides/ui-build/static/admin/systems.html,sha256=HxJKk3N8muRS2ksv1moapWiNd3ASAXXi7z48XkrnneU,2101
|
|
963
|
+
fides/ui-build/static/admin/taxonomy.html,sha256=tPyFjP8llSKZnGHpYSMa8Q6WPpQ7MdA6UaRvPGVcLlQ,2341
|
|
964
|
+
fides/ui-build/static/admin/user-management.html,sha256=Qci25H1BKtPxg22GqK7liXgMebu4ktqVGKv1Mn5N-A8,1568
|
|
965
965
|
fides/ui-build/static/admin/_next/static/chunks/1099-31f9d973bc287df8.js,sha256=IukD3_81g75wUknkxPm2yUQQ8jYjJP0mHO-S1g4TmA0,6126
|
|
966
966
|
fides/ui-build/static/admin/_next/static/chunks/1115-26393b586775ea29.js,sha256=7EYkZD-x0YbzYrJ3qsLkiRoNwnPelcCK3x7jhSOTIQg,8668
|
|
967
967
|
fides/ui-build/static/admin/_next/static/chunks/1316-2606e19807c08aa5.js,sha256=XU5DYZ8VYImJmtGTCv21qz5jCtjm7-sX94ocFbkPc9c,22783
|
|
@@ -1085,7 +1085,7 @@ fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection-f
|
|
|
1085
1085
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/discovery-9695cc9c85592ec5.js,sha256=9nwX8u7wZ499uaq4rn-qC_UorCJa0ZcLsTp0k4cUw9E,604
|
|
1086
1086
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore-4498881c26f1458d.js,sha256=SlVFqvtO2tC1kgQMVfrAZwGuv0VfLTgfOz0SuXtm6mk,464
|
|
1087
1087
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website-5b3e0009d442bc3f.js,sha256=YP9b6E_Rjg1rz-Ju28oDBOGCX6qWUyhLQaKzIb8LVsY,463
|
|
1088
|
-
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-
|
|
1088
|
+
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/datastore/[monitorId]-21a0f5f1b5450976.js,sha256=VXv0W7EmRbaqPP_2maCp8eEy8nJqbh_OcfUFb1FWPEg,42092
|
|
1089
1089
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]-73085f50abb775c0.js,sha256=hhvr87eWfXm_7ltoOcnfnMqDctGY1STAXWqx7WOV4to,19568
|
|
1090
1090
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/action-center/website/[monitorId]/[systemId]-899bf30dde8b3292.js,sha256=66H_QIBEfs-CufOK5MvTm6bc1DHwh7YVvRgSNx2sIp4,36760
|
|
1091
1091
|
fides/ui-build/static/admin/_next/static/chunks/pages/data-discovery/detection/[resourceUrn]-b072cf25aefc98f6.js,sha256=Lm9M06Zwke3KKsd_K8I-naDi6N_uswB4r-RDhfhPkVg,740
|
|
@@ -1193,42 +1193,42 @@ fides/ui-build/static/admin/_next/static/media/inter-vietnamese-500-normal.7b524
|
|
|
1193
1193
|
fides/ui-build/static/admin/_next/static/media/inter-vietnamese-600-normal.eb82de1d.woff2,sha256=ZKjcMjaLlHAKJJyTcujqJwFDooKWcq8qQSuKZVfXZRA,3876
|
|
1194
1194
|
fides/ui-build/static/admin/_next/static/media/inter-vietnamese-700-normal.00e401a9.woff2,sha256=92gZYPHyPg3OZ_u0f78u6ZZNdc53OvVkqhoTelycCqw,3888
|
|
1195
1195
|
fides/ui-build/static/admin/_next/static/media/logo-white.c9bf4196.svg,sha256=u12SVA-WPW0GAhJ1wXM4oi2aqKXKmteo6yEvGDgz5jM,2101
|
|
1196
|
-
fides/ui-build/static/admin/_next/static/
|
|
1197
|
-
fides/ui-build/static/admin/_next/static/
|
|
1198
|
-
fides/ui-build/static/admin/add-systems/manual.html,sha256=
|
|
1199
|
-
fides/ui-build/static/admin/add-systems/multiple.html,sha256=
|
|
1200
|
-
fides/ui-build/static/admin/consent/configure.html,sha256=
|
|
1201
|
-
fides/ui-build/static/admin/consent/privacy-experience.html,sha256=
|
|
1202
|
-
fides/ui-build/static/admin/consent/privacy-notices.html,sha256=
|
|
1203
|
-
fides/ui-build/static/admin/consent/properties.html,sha256=
|
|
1204
|
-
fides/ui-build/static/admin/consent/reporting.html,sha256=
|
|
1205
|
-
fides/ui-build/static/admin/consent/configure/add-vendors.html,sha256=
|
|
1206
|
-
fides/ui-build/static/admin/consent/privacy-experience/[id].html,sha256=
|
|
1207
|
-
fides/ui-build/static/admin/consent/privacy-experience/new.html,sha256=
|
|
1208
|
-
fides/ui-build/static/admin/consent/privacy-notices/[id].html,sha256=
|
|
1209
|
-
fides/ui-build/static/admin/consent/privacy-notices/new.html,sha256=
|
|
1210
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects.html,sha256
|
|
1211
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/resources.html,sha256=
|
|
1212
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html,sha256=
|
|
1213
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html,sha256=
|
|
1214
|
-
fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html,sha256=
|
|
1215
|
-
fides/ui-build/static/admin/data-discovery/action-center.html,sha256=
|
|
1216
|
-
fides/ui-build/static/admin/data-discovery/activity.html,sha256=
|
|
1217
|
-
fides/ui-build/static/admin/data-discovery/detection.html,sha256=
|
|
1218
|
-
fides/ui-build/static/admin/data-discovery/discovery.html,sha256=
|
|
1219
|
-
fides/ui-build/static/admin/data-discovery/action-center/datastore.html,sha256=
|
|
1220
|
-
fides/ui-build/static/admin/data-discovery/action-center/website.html,sha256=
|
|
1221
|
-
fides/ui-build/static/admin/data-discovery/action-center/datastore/[monitorId].html,sha256=
|
|
1222
|
-
fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html,sha256=
|
|
1223
|
-
fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html,sha256=
|
|
1224
|
-
fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html,sha256=
|
|
1225
|
-
fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html,sha256=
|
|
1226
|
-
fides/ui-build/static/admin/dataset/[datasetId].html,sha256=
|
|
1227
|
-
fides/ui-build/static/admin/dataset/new.html,sha256=
|
|
1228
|
-
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html,sha256=
|
|
1229
|
-
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html,sha256=
|
|
1230
|
-
fides/ui-build/static/admin/datastore-connection/[id].html,sha256=
|
|
1231
|
-
fides/ui-build/static/admin/datastore-connection/new.html,sha256=
|
|
1196
|
+
fides/ui-build/static/admin/_next/static/oFlSfw1FVW7HAJICOLe4Y/_buildManifest.js,sha256=MYEf6o39jqOUq9ZWIOh1Ntc8aHY-VDkggNocbNKg5Ug,16543
|
|
1197
|
+
fides/ui-build/static/admin/_next/static/oFlSfw1FVW7HAJICOLe4Y/_ssgManifest.js,sha256=-D2RVaEwulH2ck-9Y_5QwX6x5lnaSkDOhosw4jeAt-M,101
|
|
1198
|
+
fides/ui-build/static/admin/add-systems/manual.html,sha256=uZOl02ktlMGvvKU6Qoo-eIQ8Y2mm5V3bOe3x3iESU0Y,2667
|
|
1199
|
+
fides/ui-build/static/admin/add-systems/multiple.html,sha256=oFbUVMjO0mR2Ca7-py0S6A0tBxZojBSSJXGfVb4Odxs,1732
|
|
1200
|
+
fides/ui-build/static/admin/consent/configure.html,sha256=RPUuSK3qOf9j-bgx-wVB5KfK0362SQp_2BX_IG50Tv0,1649
|
|
1201
|
+
fides/ui-build/static/admin/consent/privacy-experience.html,sha256=DSDiexgZHaBghdJ-kV-NYrchDcpNfEXeZdrSAB-M9Zo,1668
|
|
1202
|
+
fides/ui-build/static/admin/consent/privacy-notices.html,sha256=sR8RJCWtSlgppl4_z55zNYMO3KdnTkgndozp6ESu_d8,1584
|
|
1203
|
+
fides/ui-build/static/admin/consent/properties.html,sha256=9b_xE8I2luvTMYUMnzxkx2e7sXXJapWHO49Gvwrhubs,1652
|
|
1204
|
+
fides/ui-build/static/admin/consent/reporting.html,sha256=HkvpLC2XjGSL2jXcEfmDTeLfbn2AHU77K5PJnlQ1fW0,1809
|
|
1205
|
+
fides/ui-build/static/admin/consent/configure/add-vendors.html,sha256=MoHQHZa3PSKsjVCOq4ifyzfm6RY4XWt4Gp6lfs-kVxY,1750
|
|
1206
|
+
fides/ui-build/static/admin/consent/privacy-experience/[id].html,sha256=5HnJ-c5rSH17u7OKixiHWMNY7dzLE2AL-MX3gubVxRQ,1994
|
|
1207
|
+
fides/ui-build/static/admin/consent/privacy-experience/new.html,sha256=GDvF6EwDsoz4CK3VwsR_quk2hZJu8QW6W--GM-udzbg,1988
|
|
1208
|
+
fides/ui-build/static/admin/consent/privacy-notices/[id].html,sha256=xVQgFJxd0_s7rGRwgFBraPUdScFzMZffPDUJClPuMOk,1988
|
|
1209
|
+
fides/ui-build/static/admin/consent/privacy-notices/new.html,sha256=peXJEeFr1I6KVtxATrgkOOAsyemX-kMs5GBRikfDmh8,1982
|
|
1210
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects.html,sha256=-7rH8_Oc8phTwYaZBqmzxSoqM9gaRpSrjdXpHyA-SWU,2078
|
|
1211
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/resources.html,sha256=D_SYGsSggSecEWMpKxjCryPCPTmuNQbKjEUV0fly0Uw,1608
|
|
1212
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn].html,sha256=6hRoBda6FUapce5PcXovfAkhQBYOYHJYfY-lwn6A3Wk,1636
|
|
1213
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/projects/[projectUrn]/[resourceUrn].html,sha256=oHvcSvW4cIpc8U6jtjpoi0khafSe47tJVH0SXibZDoU,2373
|
|
1214
|
+
fides/ui-build/static/admin/data-catalog/[systemId]/resources/[resourceUrn].html,sha256=suI1V04wobA5ni_iGA-nVZ6ar-6hics1vaeetv3Sy3o,2345
|
|
1215
|
+
fides/ui-build/static/admin/data-discovery/action-center.html,sha256=Y7Rhq0tJcOqTKMxozblb9IV8BKGYRPWSW_s-VNmTlBc,1909
|
|
1216
|
+
fides/ui-build/static/admin/data-discovery/activity.html,sha256=0ES4jgAnX8znygu2G9CaoZI_KVPi8ekmpBC9dqI26YU,1977
|
|
1217
|
+
fides/ui-build/static/admin/data-discovery/detection.html,sha256=j7mSk7VMD5lEKT4gGGTG7L_G0ztlIIYuiO4UlmIILWk,2057
|
|
1218
|
+
fides/ui-build/static/admin/data-discovery/discovery.html,sha256=3wQ33aw9fsbtgbbjP2ykoe6vVH0aQS4eYONG2AkhVX4,2291
|
|
1219
|
+
fides/ui-build/static/admin/data-discovery/action-center/datastore.html,sha256=rgLZaS0d7_bvzD86VxROZjjxJizifjYYHKJOFaj8HaU,1536
|
|
1220
|
+
fides/ui-build/static/admin/data-discovery/action-center/website.html,sha256=Q18caxR0tSXqK5FCPQ4iSGGR3mHytFij43wCcnAL7zU,1532
|
|
1221
|
+
fides/ui-build/static/admin/data-discovery/action-center/datastore/[monitorId].html,sha256=g44ZYT2Hp9OgM25Bjr1FZ2UfRJLGw6EfUl7A5-5rVo0,2191
|
|
1222
|
+
fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId].html,sha256=9QforpUYTdKGXoKuIhmFCr0SjZ_Z5uJhPSLOR7SxruI,2343
|
|
1223
|
+
fides/ui-build/static/admin/data-discovery/action-center/website/[monitorId]/[systemId].html,sha256=UzUFdMyArBk5jnEPKmcQm7h9OCRVQoUGU5OGnz8T7lA,2446
|
|
1224
|
+
fides/ui-build/static/admin/data-discovery/detection/[resourceUrn].html,sha256=ii-etY0XX-PFqq7XnehDzN-ZA1GhvQfpNB-0DLz10ik,2089
|
|
1225
|
+
fides/ui-build/static/admin/data-discovery/discovery/[resourceUrn].html,sha256=OoJ1CYzDw7MNqkbaUjZ2TEvUg9Meq0YzwOnKTxUUNOI,2323
|
|
1226
|
+
fides/ui-build/static/admin/dataset/[datasetId].html,sha256=gpcpYzV7KWX2hC8E1MxLdW8IPlksq5c19wgFkRQzY30,1736
|
|
1227
|
+
fides/ui-build/static/admin/dataset/new.html,sha256=3lnPdgjpe62hqxCoAz-MVhTX8-RpMAk10SrKxQ_Yvvo,1875
|
|
1228
|
+
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName].html,sha256=M4Mx11ArjFK_Bb0s5Fnyu5E14gJlZ0xKdDHIlHpjvpQ,2244
|
|
1229
|
+
fides/ui-build/static/admin/dataset/[datasetId]/[collectionName]/[...subfieldNames].html,sha256=Hb-UQsnoE6uF22SqCYK3k3R62jjqB8WpXJjZryZc3QI,2286
|
|
1230
|
+
fides/ui-build/static/admin/datastore-connection/[id].html,sha256=q8MEdr_jArvKKXcTC_0saGphPnqUyKxp--YCqPeHtds,2218
|
|
1231
|
+
fides/ui-build/static/admin/datastore-connection/new.html,sha256=WlmRhNKaKwnVaxs_cjF87y0LQ6D_Lg8TihJoB4Jmftc,2368
|
|
1232
1232
|
fides/ui-build/static/admin/images/DatabaseIcon.svg,sha256=gwl8_3APg_6J4ZwWgovOjxgk5AEPyvq3-qGjkF7R4og,8198
|
|
1233
1233
|
fides/ui-build/static/admin/images/SelectedDatabaseIcon.svg,sha256=L6YBuL-LiKzBXyt9gHZhtqpo2QopXdC7-oEvEWbvSNE,8198
|
|
1234
1234
|
fides/ui-build/static/admin/images/config_splash.svg,sha256=IH56T1jrG1y4FIKQZXMaePYESYZGot_4jkTaFvmwHl0,176040
|
|
@@ -1260,57 +1260,57 @@ fides/ui-build/static/admin/images/oauth-login/custom.svg,sha256=SW1i3Mez8XVMVGR
|
|
|
1260
1260
|
fides/ui-build/static/admin/images/oauth-login/github.svg,sha256=eg3RHjc4MKUaVl3p_tSphXB8Z8zTkPmuSUahUjA-pnY,963
|
|
1261
1261
|
fides/ui-build/static/admin/images/oauth-login/google.svg,sha256=oRdvveXEbNFZ4_xD6u-DxqNIPJh12o3XU2tITX6ghQU,988
|
|
1262
1262
|
fides/ui-build/static/admin/images/oauth-login/okta.svg,sha256=ymR7Rqk7syL52284jlure_i06-nVKwZbJwB6JXfdNwo,8076
|
|
1263
|
-
fides/ui-build/static/admin/integrations/[id].html,sha256=
|
|
1263
|
+
fides/ui-build/static/admin/integrations/[id].html,sha256=Uyt0J0lIUj65W7_XMdtUbDETQ6VQlJ53u82elnLRsoI,2435
|
|
1264
1264
|
fides/ui-build/static/admin/lib/fides-ext-gpp.js,sha256=ry7BU7JjDXapabetabNsYpXWUQGKnnYdGHZSCGphgm8,192195
|
|
1265
1265
|
fides/ui-build/static/admin/lib/fides-headless.js,sha256=VZT-L5jy6yZRFdI5Ndrc08gNJBczGdFDA_up50RyGhg,91205
|
|
1266
1266
|
fides/ui-build/static/admin/lib/fides-preview.js,sha256=fmuHaRK4-IY0H3hPY-pAtn65oyD3vGhBIJdSSCP09cM,601436
|
|
1267
1267
|
fides/ui-build/static/admin/lib/fides-tcf.js,sha256=wAu1yLRh5hFn65OzQxdGxO1taGzSS-8Mdou4G4_5r0s,404208
|
|
1268
1268
|
fides/ui-build/static/admin/lib/fides.js,sha256=bCum-GTb3Zim6OHahzLpQbM7Mu6sKTMGXOMEBc00kFw,181055
|
|
1269
|
-
fides/ui-build/static/admin/login/[provider].html,sha256=
|
|
1270
|
-
fides/ui-build/static/admin/notifications/digests.html,sha256=
|
|
1271
|
-
fides/ui-build/static/admin/notifications/providers.html,sha256=
|
|
1272
|
-
fides/ui-build/static/admin/notifications/templates.html,sha256=
|
|
1273
|
-
fides/ui-build/static/admin/notifications/digests/[id].html,sha256=
|
|
1274
|
-
fides/ui-build/static/admin/notifications/digests/new.html,sha256=
|
|
1275
|
-
fides/ui-build/static/admin/notifications/providers/[key].html,sha256=
|
|
1276
|
-
fides/ui-build/static/admin/notifications/providers/new.html,sha256=
|
|
1277
|
-
fides/ui-build/static/admin/notifications/templates/[id].html,sha256=
|
|
1278
|
-
fides/ui-build/static/admin/notifications/templates/add-template.html,sha256=
|
|
1279
|
-
fides/ui-build/static/admin/poc/ant-components.html,sha256=
|
|
1280
|
-
fides/ui-build/static/admin/poc/forms.html,sha256=
|
|
1281
|
-
fides/ui-build/static/admin/poc/table-migration.html,sha256=
|
|
1282
|
-
fides/ui-build/static/admin/poc/form-experiments/AntForm.html,sha256=
|
|
1283
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html,sha256=
|
|
1284
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html,sha256=
|
|
1285
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikField.html,sha256=
|
|
1286
|
-
fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html,sha256=
|
|
1287
|
-
fides/ui-build/static/admin/privacy-requests/[id].html,sha256=
|
|
1288
|
-
fides/ui-build/static/admin/privacy-requests/configure.html,sha256=
|
|
1289
|
-
fides/ui-build/static/admin/privacy-requests/configure/storage.html,sha256=
|
|
1290
|
-
fides/ui-build/static/admin/properties/[id].html,sha256=
|
|
1291
|
-
fides/ui-build/static/admin/properties/add-property.html,sha256=
|
|
1292
|
-
fides/ui-build/static/admin/reporting/datamap.html,sha256=
|
|
1293
|
-
fides/ui-build/static/admin/sandbox/privacy-notices.html,sha256=
|
|
1294
|
-
fides/ui-build/static/admin/settings/about.html,sha256=
|
|
1295
|
-
fides/ui-build/static/admin/settings/consent.html,sha256=
|
|
1296
|
-
fides/ui-build/static/admin/settings/custom-fields.html,sha256=
|
|
1297
|
-
fides/ui-build/static/admin/settings/domain-records.html,sha256=
|
|
1298
|
-
fides/ui-build/static/admin/settings/domains.html,sha256=
|
|
1299
|
-
fides/ui-build/static/admin/settings/email-templates.html,sha256=
|
|
1300
|
-
fides/ui-build/static/admin/settings/locations.html,sha256=
|
|
1301
|
-
fides/ui-build/static/admin/settings/organization.html,sha256=
|
|
1302
|
-
fides/ui-build/static/admin/settings/privacy-requests.html,sha256=
|
|
1303
|
-
fides/ui-build/static/admin/settings/regulations.html,sha256=
|
|
1304
|
-
fides/ui-build/static/admin/settings/about/alpha.html,sha256=
|
|
1305
|
-
fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html,sha256=
|
|
1306
|
-
fides/ui-build/static/admin/settings/custom-fields/[id].html,sha256=
|
|
1307
|
-
fides/ui-build/static/admin/settings/custom-fields/new.html,sha256=
|
|
1308
|
-
fides/ui-build/static/admin/systems/configure/[id].html,sha256=
|
|
1309
|
-
fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html,sha256=
|
|
1310
|
-
fides/ui-build/static/admin/user-management/new.html,sha256=
|
|
1311
|
-
fides/ui-build/static/admin/user-management/profile/[id].html,sha256=
|
|
1312
|
-
ethyca_fides-2.73.
|
|
1313
|
-
ethyca_fides-2.73.
|
|
1314
|
-
ethyca_fides-2.73.
|
|
1315
|
-
ethyca_fides-2.73.
|
|
1316
|
-
ethyca_fides-2.73.
|
|
1269
|
+
fides/ui-build/static/admin/login/[provider].html,sha256=PTsCrFggj2Y_poQ0_VQ_ozmc0vrbQpklmzj3zcodYbA,1496
|
|
1270
|
+
fides/ui-build/static/admin/notifications/digests.html,sha256=BgsExLXW8ixslwJoNJmZ5hH0Ci4jG5kZ9ew4LHxNHxc,1580
|
|
1271
|
+
fides/ui-build/static/admin/notifications/providers.html,sha256=w8hmuqHEJJlPLdvwGksNJjmjh2Zwb0oGdVIvXDUSvPo,1821
|
|
1272
|
+
fides/ui-build/static/admin/notifications/templates.html,sha256=h2cIDKH8PFxIoRJkJsFfurlzwDuGgzdWNZGBMARK2aI,1739
|
|
1273
|
+
fides/ui-build/static/admin/notifications/digests/[id].html,sha256=gI2J2e9tE-YbRTCr9d-3xzhhBZQ_0eDl00lyv5CGWpA,1672
|
|
1274
|
+
fides/ui-build/static/admin/notifications/digests/new.html,sha256=hKJHCSPOi5frpEBRkvy3A01fkATl2zPu2EkA0eHaABI,1666
|
|
1275
|
+
fides/ui-build/static/admin/notifications/providers/[key].html,sha256=Qal7ozIepp5_Q4uZjDJYG5Nqp7I_lYEr1KigCKw_AVw,2227
|
|
1276
|
+
fides/ui-build/static/admin/notifications/providers/new.html,sha256=M1A16oKWypT9-QNytkeQmxIn10aAswCXJXEHSUJbxMI,2219
|
|
1277
|
+
fides/ui-build/static/admin/notifications/templates/[id].html,sha256=9N4wvrO_WFUHGSWj3HSyfqr8AcdojKpASlADgfk1PZo,1598
|
|
1278
|
+
fides/ui-build/static/admin/notifications/templates/add-template.html,sha256=lKgWd0qBSJYGmsMUO3pwDiJd5S58B14liyyhj6qbUeo,1610
|
|
1279
|
+
fides/ui-build/static/admin/poc/ant-components.html,sha256=93jLJ6cVseEIYgyxzdkpnSBZgmSB7YOsf6oxaYjyn2k,1496
|
|
1280
|
+
fides/ui-build/static/admin/poc/forms.html,sha256=yyix92HnZPVUpo_U6QucbQPwsgZj9XIQEjCZ6aJT6YQ,1556
|
|
1281
|
+
fides/ui-build/static/admin/poc/table-migration.html,sha256=_tFNTdkp8cW3modx1NtrYDANmWqZliRrdlwapthcGCE,1653
|
|
1282
|
+
fides/ui-build/static/admin/poc/form-experiments/AntForm.html,sha256=rt2KUwCu17OyOkc331sf25bjBz6rS3aKgtcJBZ-G5Ho,1516
|
|
1283
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikAntFormItem.html,sha256=DIyX9_1dYsHisUGwbsn6BJUH292r2ZSlhXC6V7ohm6s,1536
|
|
1284
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikControlled.html,sha256=fxiQrJRJUWZma6IEvRUrlQG5ttFuoAWNWfRfNpYf6uI,1534
|
|
1285
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikField.html,sha256=YEJn6RGxAsRiFqfmZfi1OMeQg5ZVbaNEx0_t8GP20gw,1524
|
|
1286
|
+
fides/ui-build/static/admin/poc/form-experiments/FormikSpreadField.html,sha256=yQVj1HYEAY-ORJ7j93IFczPr70qUhnlbgipGPcksDWc,1614
|
|
1287
|
+
fides/ui-build/static/admin/privacy-requests/[id].html,sha256=IyAicXM4aISlaNYhhrwTREJ75kdc-wrm3T7ndPn5688,1899
|
|
1288
|
+
fides/ui-build/static/admin/privacy-requests/configure.html,sha256=vSpOrt7f_XLXVsm6lw6gA9LSlf8-uJoywqNqTfAW0Yk,1512
|
|
1289
|
+
fides/ui-build/static/admin/privacy-requests/configure/storage.html,sha256=TM3EKJM91j-mFBcDe17oh5bATtv80WtoIRNa9Yk0-SY,1843
|
|
1290
|
+
fides/ui-build/static/admin/properties/[id].html,sha256=UOWPQC-EnFrZHts_MhSGdbenuMgaaLjcxxJ27EFnzZg,1650
|
|
1291
|
+
fides/ui-build/static/admin/properties/add-property.html,sha256=bk2yyVLiibdvrnu6Cu1fhKxZAUVDmvRePoFDmUDhrUg,1662
|
|
1292
|
+
fides/ui-build/static/admin/reporting/datamap.html,sha256=3kFX9mo-lRislprNNX2G-7GBCjjM9v8J6ElQCw-QwHE,2277
|
|
1293
|
+
fides/ui-build/static/admin/sandbox/privacy-notices.html,sha256=qsF8MW9sIPwBGYJuC8j0rIM8UVllQVFBvIK3x4wEPEo,1506
|
|
1294
|
+
fides/ui-build/static/admin/settings/about.html,sha256=yhr29AlI_MNZ1k7LSom6pATB3LjjUWKXq9aduOW1bCw,1566
|
|
1295
|
+
fides/ui-build/static/admin/settings/consent.html,sha256=GFrCFSCbEj_T9Wk4aCtsBpiHjb0c_ayA8f1vEW4ZWtc,1570
|
|
1296
|
+
fides/ui-build/static/admin/settings/custom-fields.html,sha256=eQNaDsdOuMSzcQabcnGFdqe5691qdupP7xQRUokC9SE,1819
|
|
1297
|
+
fides/ui-build/static/admin/settings/domain-records.html,sha256=ji59j8hK4Q_FisHzK7AeNgU_gM0zZXzQ43fRreU9BPg,1506
|
|
1298
|
+
fides/ui-build/static/admin/settings/domains.html,sha256=atKPxYPh_o-8s7HSq_fyPwvYPvyh18gFvvEp7NLX3kA,1492
|
|
1299
|
+
fides/ui-build/static/admin/settings/email-templates.html,sha256=Hd3SSme3_pUPoZ3MkozJ0Kw65ZRxMf3NHuXU-GN_fK4,1508
|
|
1300
|
+
fides/ui-build/static/admin/settings/locations.html,sha256=CARIB-O5G3NPtSf2yvSnNHu1uX0_FnRQXrlCz0wMWEo,1734
|
|
1301
|
+
fides/ui-build/static/admin/settings/organization.html,sha256=srrjs78Q8cpkn5g3b61pxDQG6W5zrDBRV0s7WUWv5Eg,1502
|
|
1302
|
+
fides/ui-build/static/admin/settings/privacy-requests.html,sha256=SWcMJ23PY-Ind9WKGxQiHSXVOewy4pszu70SQAP9_Hw,1825
|
|
1303
|
+
fides/ui-build/static/admin/settings/regulations.html,sha256=0QnsXE0xADTisXS7CjoGqOXT2gcVUTuxEGNkGnkOhkk,1738
|
|
1304
|
+
fides/ui-build/static/admin/settings/about/alpha.html,sha256=HSerJGi4GgzIR3roOoI4Wf5BDx16UUMjGZQ5hH78HTo,1578
|
|
1305
|
+
fides/ui-build/static/admin/settings/consent/[configuration_id]/[purpose_id].html,sha256=k97Y4fKeVRudTeTxJYFSdNVmz7dnkf1jdfmjXvDhVuA,1564
|
|
1306
|
+
fides/ui-build/static/admin/settings/custom-fields/[id].html,sha256=k-9wxI1bLwJIJ6bDu7x61s4XK4o2C7JU0abmzFZFj7w,1752
|
|
1307
|
+
fides/ui-build/static/admin/settings/custom-fields/new.html,sha256=gvzehs5Zx9qb9keHA8lslkpg-Hw1KXtqAE9sK8Dw0vU,1746
|
|
1308
|
+
fides/ui-build/static/admin/systems/configure/[id].html,sha256=iCTTrRhDj9Dw1zZjyDLaJvZ1viXdcKBrCAQaek9XfPI,2679
|
|
1309
|
+
fides/ui-build/static/admin/systems/configure/[id]/test-datasets.html,sha256=e41E2ZX6SyWdB049BpGTMV2eV4D4ejAoDuXyYdtH0GE,1614
|
|
1310
|
+
fides/ui-build/static/admin/user-management/new.html,sha256=XgeRcv539VtLM7IoEfteVbNzG_OBCp6iUAbSTFxZ6Fw,1654
|
|
1311
|
+
fides/ui-build/static/admin/user-management/profile/[id].html,sha256=XoaPtg863Xe2CwdIBwwxT8JAb-IyfpI_lQP_9YumsJU,1676
|
|
1312
|
+
ethyca_fides-2.73.1rc2.dist-info/METADATA,sha256=6bIxeZwGzDHt7jxW4Ka4TurJ9pP_erZCcOfTnnxxpqY,11831
|
|
1313
|
+
ethyca_fides-2.73.1rc2.dist-info/WHEEL,sha256=JNWh1Fm1UdwIQV075glCn4MVuCRs0sotJIq-J6rbxCU,109
|
|
1314
|
+
ethyca_fides-2.73.1rc2.dist-info/entry_points.txt,sha256=edi4zfmx5sMDogB5GR5gdtOIwP3L1O--rmWb-QunSLE,40
|
|
1315
|
+
ethyca_fides-2.73.1rc2.dist-info/top_level.txt,sha256=vHQkcSYYOh4ECEGL1JSGUAxFWpwO05QGPV0M2aPxqNQ,6
|
|
1316
|
+
ethyca_fides-2.73.1rc2.dist-info/RECORD,,
|
fides/_version.py
CHANGED
|
@@ -8,11 +8,11 @@ import json
|
|
|
8
8
|
|
|
9
9
|
version_json = '''
|
|
10
10
|
{
|
|
11
|
-
"date": "2025-10-
|
|
11
|
+
"date": "2025-10-30T16:26:15-0400",
|
|
12
12
|
"dirty": false,
|
|
13
13
|
"error": null,
|
|
14
|
-
"full-revisionid": "
|
|
15
|
-
"version": "2.73.
|
|
14
|
+
"full-revisionid": "34dad3dac5891167e4a1b6cd743199971220da57",
|
|
15
|
+
"version": "2.73.1rc2"
|
|
16
16
|
}
|
|
17
17
|
''' # END VERSION_JSON
|
|
18
18
|
|
|
@@ -1 +1 @@
|
|
|
1
|
-
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/d78390d6134d8328.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d78390d6134d8328.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c2c11809187b9f84.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ee588a308812715d.js" defer=""></script><script src="/_next/static/chunks/pages/404-eb019192ce498f32.js" defer=""></script><script src="/_next/static/
|
|
1
|
+
<!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width"/><meta name="next-head-count" content="2"/><link data-next-font="" rel="preconnect" href="/" crossorigin="anonymous"/><link rel="preload" href="/_next/static/css/d78390d6134d8328.css" as="style"/><link rel="stylesheet" href="/_next/static/css/d78390d6134d8328.css" data-n-g=""/><noscript data-n-css=""></noscript><script defer="" nomodule="" src="/_next/static/chunks/polyfills-42372ed130431b0a.js"></script><script src="/_next/static/chunks/webpack-c2c11809187b9f84.js" defer=""></script><script src="/_next/static/chunks/framework-c92fc3344e6fd165.js" defer=""></script><script src="/_next/static/chunks/main-090643377c8254e6.js" defer=""></script><script src="/_next/static/chunks/pages/_app-ee588a308812715d.js" defer=""></script><script src="/_next/static/chunks/pages/404-eb019192ce498f32.js" defer=""></script><script src="/_next/static/oFlSfw1FVW7HAJICOLe4Y/_buildManifest.js" defer=""></script><script src="/_next/static/oFlSfw1FVW7HAJICOLe4Y/_ssgManifest.js" defer=""></script><style>.data-ant-cssinjs-cache-path{content:"";}</style></head><body><div id="__next"><div style="height:100%;display:flex"></div></div><script id="__NEXT_DATA__" type="application/json">{"props":{"pageProps":{}},"page":"/404","query":{},"buildId":"oFlSfw1FVW7HAJICOLe4Y","nextExport":true,"autoExport":true,"isFallback":false,"scriptLoader":[]}</script></body></html>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6721],{74833:function(e,t,n){var r=n(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},56632:function(e,t,n){var r=n(89278),i=n(80068),a=n(50098);e.exports=function(e){return function(t,n,l){var o=Object(t);if(!i(t)){var s=r(n,3);t=a(t),n=function(e){return s(o[e],e,o)}}var c=e(t,n,l);return c>-1?o[s?t[c]:c]:void 0}}},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66726:function(e,t,n){var r=n(11611),i=n(82846),a=n(91936),l=Math.max,o=Math.min;e.exports=function(e,t,n){var s,c,u,d,p,f,m=0,h=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,m=t,d=e.apply(r,n)}function _(e){var n=e-f,r=e-m;return void 0===f||n>=t||n<0||g&&r>=u}function x(){var e,n,r,a=i();if(_(a))return S(a);p=setTimeout(x,(e=a-f,n=a-m,r=t-e,g?o(r,u-n):r))}function S(e){return(p=void 0,v&&s)?y(e):(s=c=void 0,d)}function E(){var e,n=i(),r=_(n);if(s=arguments,c=this,f=n,r){if(void 0===p)return m=e=f,p=setTimeout(x,t),h?y(e):d;if(g)return clearTimeout(p),p=setTimeout(x,t),y(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=a(t)||0,r(n)&&(h=!!n.leading,u=(g="maxWait"in n)?l(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==p&&clearTimeout(p),m=0,s=f=c=p=void 0},E.flush=function(){return void 0===p?d:S(i())},E}},64925:function(e,t,n){var r=n(56632)(n(66259));e.exports=r},66259:function(e,t,n){var r=n(95372),i=n(89278),a=n(47991),l=Math.max;e.exports=function(e,t,n){var o=null==e?0:e.length;if(!o)return -1;var s=null==n?0:a(n);return s<0&&(s=l(o+s,0)),r(e,i(t,3),s)}},82846:function(e,t,n){var r=n(77400);e.exports=function(){return r.Date.now()}},94919:function(e,t,n){var r=n(91936),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,n){var r=n(94919);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},91936:function(e,t,n){var r=n(74833),i=n(11611),a=n(55193),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return l;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):o.test(e)?l:+e}},83806:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/datastore/[monitorId]",function(){return n(33569)}])},30952:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(24246),i=n(66726),a=n.n(i),l=n(27378),o=n(26917);let s=e=>{let{value:t,onChange:n,placeholder:i,...s}=e,[c,u]=(0,l.useState)(t);(0,l.useEffect)(()=>{u(t||"")},[t]);let d=a()(n,500),p=(0,l.useCallback)(e=>{u(e),d(e)},[]);return(0,r.jsx)(o.Z,{value:c,onChange:p,onClear:()=>{u(""),n("")},placeholder:i,...s})}},35287:function(e,t,n){"use strict";var r=n(24246),i=n(98227),a=n(88038),l=n.n(a);n(27378),t.Z=e=>{let{children:t,title:n,fullHeight:a,fullWidth:o,mainProps:s}=e;return(0,r.jsxs)(i.kCb,{"data-testid":n,direction:"column",height:a?"100vh":"calc(100vh - 48px)",width:o?"100vw":"calc(100vw - 240px)",children:[(0,r.jsxs)(l(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(i.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...s,children:t})]})}},58754:function(e,t,n){"use strict";var r=n(24246),i=n(98227),a=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:l=!0,children:o,rightContent:s,style:c,...u}=e;return(0,r.jsxs)("div",{...u,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,r.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(i.lQT,{className:n||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,s&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:s})]}),!!n&&(0,r.jsx)(a.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},12627:function(e,t,n){"use strict";var r=n(24246),i=n(79283),a=n(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:n=!1,...l}=e,{getDataCategoryDisplayNameProps:o,getDataCategories:s}=(0,a.Z)(),c=(n?s():s().filter(e=>e.active)).filter(e=>!(null==t?void 0:t.includes(e.fides_key))).map(e=>{let{name:t,primaryName:n}=o(e.fides_key);return{value:e.fides_key,name:t,primaryName:n,description:e.description||""}});return(0,r.jsx)(i.l,{options:c,...l})}},79283:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var r=n(24246),i=n(98227),a=n(72707),l=n.n(a);let o=e=>{let{data:{formattedTitle:t,description:n,name:a,primaryName:l}}=e;return(0,r.jsxs)(i.jqI,{gap:12,title:"".concat(t," - ").concat(n),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:l||a}),l&&": ".concat(a)]}),(0,r.jsx)("em",{children:n})]})},s=e=>"options"in e&&Array.isArray(e.options),c=e=>({...e,className:l().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),u=e=>{let{options:t,...n}=e,a=null==t?void 0:t.map(e=>s(e)?{...e,options:e.options.map(c)}:c(e));return(0,r.jsx)(i.WPr,{options:a,filterOption:(e,t)=>{var n,r;return(null==t?void 0:null===(n=t.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==t?void 0:null===(r=t.value)||void 0===r?void 0:r.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:o,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,t,n){"use strict";var r=n(24246),i=n(64925),a=n.n(i),l=n(27378),o=n(16134),s=n(30002),c=n(28079),u=n(57072);let d=()=>{let{isLoading:e}=(0,c.fd)(),t=(0,o.C)(c.U3),{isLoading:n}=(0,u.MO)(),r=(0,o.C)(u.qb),{isLoading:i}=(0,s.te)();return{dataUses:t,dataSubjects:(0,o.C)(s.ZL),dataCategories:r,isLoading:e||n||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:n,isLoading:i}=d(),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},s=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=t(e);if(!r)return{};let i=t(o(e,n)),a=!!r.parent_key;return{name:r.name||void 0,primaryName:a&&(null==i?void 0:i.name)!==r.name&&(null==i?void 0:i.name)||void 0}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:a}=s(e,t,n);return i?a?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("strong",{children:[a,":"]})," ",i]},e):(0,r.jsx)("strong",{children:i},e):e},u=t=>a()(e,{fides_key:t}),p=e=>a()(t,{fides_key:e}),f=e=>a()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:u,getDataUseDisplayName:e=>c(e,u,1),getDataUseDisplayNameProps:e=>s(e,u,1),getDataCategories:()=>t,getDataCategoryByKey:p,getDataCategoryDisplayName:e=>c(e,p,2),getDataCategoryDisplayNameProps:e=>s(e,p,2),getDataSubjects:()=>n,getDataSubjectByKey:f,getDataSubjectDisplayName:e=>{let t=f(e);return t?t.name:e},getPrimaryKey:o,isLoading:i}}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(24246),i=n(98227),a=n(79894),l=n.n(a),o=n(27378);let{Text:s}=i.AntTypography,c=e=>{let{items:t,...n}=e,a=(0,o.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let a=n===t.length-1,o={...e},c=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,r.jsx)(s,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:o.title})),c)?o.title=(0,r.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,r.jsx)(l(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,r.jsx)(i.zrq,{items:a,...n})}},9270:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(27378),i=n(36866);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.h)(e),{pageIndex:n,pageSize:a,updatePageIndex:l,updatePageSize:o,pageSizeOptions:s,showSizeChanger:c}=t,u=(0,r.useMemo)(()=>({current:n,pageSize:a,showSizeChanger:c,pageSizeOptions:s.map(String),onChange:l,onShowSizeChange:(e,t)=>{o(t)}}),[n,a,c,s,l,o]);return{...t,paginationProps:u}}},59001:function(e,t,n){"use strict";n.d(t,{Ch:function(){return s},Lo:function(){return l},_g:function(){return c},ac:function(){return a},aq:function(){return u}});var r,i,a,l,o=n(65735);let s="root";(r=a||(a={})).DATA_CATEGORY="data_category",r.DATA_USE="data_use",r.DATA_SUBJECT="data_subject",r.SYSTEM_GROUP="system_group",(i=l||(l={})).DATA_CATEGORIES="Data categories",i.DATA_USES="Data uses",i.DATA_SUBJECTS="Data subjects",i.SYSTEM_GROUPS="System groups";let c=e=>{switch(e){case"data_category":return"Data categories";case"data_use":return"Data uses";case"data_subject":return"Data subjects";case"system_group":return"System groups";default:return e}},u=e=>{switch(e){case"data_category":return{UPDATE:o.Sh.DATA_CATEGORY_UPDATE,CREATE:o.Sh.DATA_CATEGORY_CREATE,DELETE:o.Sh.DATA_CATEGORY_DELETE,READ:o.Sh.DATA_CATEGORY_READ};case"data_use":return{UPDATE:o.Sh.DATA_USE_UPDATE,CREATE:o.Sh.DATA_USE_CREATE,DELETE:o.Sh.DATA_USE_DELETE,READ:o.Sh.DATA_USE_READ};case"data_subject":return{UPDATE:o.Sh.DATA_SUBJECT_UPDATE,CREATE:o.Sh.DATA_SUBJECT_CREATE,DELETE:o.Sh.DATA_SUBJECT_DELETE,READ:o.Sh.DATA_SUBJECT_READ};case"system_group":return{UPDATE:o.Sh.SYSTEM_GROUP_UPDATE,CREATE:o.Sh.SYSTEM_GROUP_CREATE,DELETE:o.Sh.SYSTEM_GROUP_DELETE,READ:o.Sh.SYSTEM_GROUP_READ};default:return{UPDATE:o.Sh.TAXONOMY_UPDATE,CREATE:o.Sh.TAXONOMY_CREATE,DELETE:o.Sh.TAXONOMY_DELETE,READ:o.Sh.TAXONOMY_READ}}}},90673:function(e,t,n){"use strict";n.d(t,{Cd:function(){return a},Xl:function(){return l}});var r=n(65735),i=n(59001);let a=(e,t)=>{let n;if(null==t&&e.every(e=>void 0===e.parent_key))n=e;else{let r=null!=t?t:null;n=e.filter(e=>e.parent_key===r)}return n.map(t=>{var n,r;let i=t.fides_key;return{value:t.fides_key,label:t.name||t.fides_key,description:t.description,children:a(e,i),is_default:null!==(n=t.is_default)&&void 0!==n&&n,active:null!==(r=t.active)&&void 0!==r&&r}})},l=e=>{switch(e){case i.ac.DATA_CATEGORY:return r.P6.DATA_CATEGORY;case i.ac.DATA_SUBJECT:return r.P6.DATA_SUBJECT;case i.ac.DATA_USE:return r.P6.DATA_USE;default:return}}},57072:function(e,t,n){"use strict";n.d(t,{Bd:function(){return r.Bd},L5:function(){return r.L5},MO:function(){return r.MO},qb:function(){return r.qb}});var r=n(5785)},39864:function(e,t,n){"use strict";n.d(t,{Cy:function(){return l},J1:function(){return a},MU:function(){return r},ci:function(){return i},d9:function(){return o}});let{useGetCustomTaxonomiesQuery:r,useLazyGetTaxonomyQuery:i,useCreateTaxonomyMutation:a,useUpdateTaxonomyMutation:l,useDeleteTaxonomyMutation:o}=n(78780).u.injectEndpoints({endpoints:e=>({getCustomTaxonomies:e.query({query:()=>({url:"taxonomies"})}),getTaxonomy:e.query({query:e=>({url:"taxonomies/".concat(e)}),providesTags:(e,t,n)=>[{type:"Taxonomy",id:n}],transformResponse:e=>{let t=[],n=[...e],r=n.filter(e=>null===e.parent_key);r.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...r);let i=n.filter(e=>null!==e.parent_key);for(;i.length>0;){let e=i.filter(e=>t.some(t=>t.fides_key===e.parent_key));if(0===e.length){t.push(...i.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)));break}e.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...e),i=i.filter(t=>!e.includes(t))}return t}}),createTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"POST",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),updateTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"PUT",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),deleteTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,key:n}=e;return{url:"taxonomies/".concat(t,"/").concat(n),method:"DELETE"}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}})})})},33569:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ez}});var r,i,a,l,o=n(24246),s=n(98227),c=n(25980),u=n(3124),d=n.n(u),p=n(86677),f=n(27378),m=n(16394);(r=a||(a={})).LOW="low",r.HIGH="high",r.MANUAL="manual";let h=e=>{let{percent:t,confidenceScore:n}=e;return null};var g=n(30952),v=n(12627),y=n(35287),_=n(17245),x=n(77830),S=n(58754),E=n(9270),A=n(37059),T=n(65735);(i=l||(l={})).CLASSIFY="classify",i.APPROVE="approve",i.UN_APPROVE="un-approve",i.PROMOTE="promote",i.PROMOTE_REMOVALS="promote-removals",i.MUTE="mute",i.UN_MUTE="un-mute",i.ASSIGN_CATEGORIES="assign-categories";var j=n(98784),C=n.n(j);let b=e=>{let{itemKey:t,actions:n}=e;return C().isEmpty(n)?null:(0,o.jsx)(s.jqI,{gap:"small",justify:"flex-end",children:n.map((e,r)=>{let{callback:i,label:a,disabled:l}=e;return(0,o.jsx)(s.wpx,{onClick:()=>i(t),type:r===n.length-1?"primary":"default",disabled:l,children:a},a)})})},D=e=>{let{title:t,titleIcon:n,titleTag:r}=e;return(0,o.jsxs)(s.jqI,{align:"center",gap:"small",children:[n,(0,o.jsx)("span",{children:t}),r&&(0,o.jsx)(s.j8w,{...r})]})},k=e=>{let{title:t,titleIcon:n,titleTag:r,actions:i,width:a=480,...l}=e;return(0,o.jsx)(s.To0,{title:(0,o.jsx)(D,{title:t,titleIcon:n,titleTag:r}),footer:l.footer||!i?l.footer:(0,o.jsx)(b,{itemKey:l.itemKey,actions:i}),width:a,...l})},R={approve:"Approve","assign-categories":"Assign categories",classify:"Classify",mute:"Ignore",promote:"Confirm","promote-removals":"Promote removals","un-approve":"Un-approve","un-mute":"Restore"},I={approve:"Approving","assign-categories":"Updating data categories",classify:"Classifying",mute:"Ignoring",promote:"Confirming","promote-removals":"Promoting removals","un-approve":"Un-approving","un-mute":"Restoring"},P={approve:"Approved","assign-categories":"Data category updated",classify:"Classified",mute:"Ignored",promote:"Confirmed","promote-removals":"Promoted removals","un-approve":"Un-approved","un-mute":"Restored"},w=[l.APPROVE,l.PROMOTE],O=[l.CLASSIFY,l.APPROVE,l.PROMOTE,l.MUTE,l.UN_MUTE],M=[l.CLASSIFY,l.PROMOTE],U={[l.APPROVE]:"You can only approve resources with a data category applied",[l.CLASSIFY]:"You cannot classify resources that are already in classification or ignored",[l.MUTE]:"You cannot ignore resources that are already ignored",[l.PROMOTE]:"You can only confirm resources that have a data category applied",[l.UN_MUTE]:"You can only restore resources that are ignored"},L={"In Review":[l.CLASSIFY,l.MUTE,l.APPROVE,l.PROMOTE],Approved:[l.MUTE,l.PROMOTE],Classifying:[],Confirmed:[],Ignored:[l.UN_MUTE],Removed:[],Unlabeled:[l.ASSIGN_CATEGORIES,l.CLASSIFY],"Confirming...":[]},N={"assign-categories":null,"promote-removals":null,"un-approve":null,"un-mute":(0,o.jsx)(s.PJP.G7x,{}),approve:(0,o.jsx)(s.PJP.MCw,{}),classify:(0,o.jsx)(s.QMR,{size:14}),mute:(0,o.jsx)(s.PJP.uzw,{}),promote:(0,o.jsx)(s.PJP.MCw,{})},q={"assign-categories":e=>null,"promote-removals":e=>null,"un-approve":e=>null,"un-mute":e=>"Are you sure you want to restore ".concat(e.toLocaleString()," resources?"),approve:e=>"Are you sure you want to approve ".concat(e.toLocaleString()," resources?"),classify:e=>"Are you sure you want to run the classifier and apply data categories to ".concat(e.toLocaleString()," unlabeled resources?"),mute:e=>"Are you sure you want to ignore ".concat(e.toLocaleString()," resources? After ignoring, these resources may reappear in future scans."),promote:e=>"Are you sure you want to confirm these ".concat(e.toLocaleString()," resources? After confirming this data can be used for policy automation and DSRs. ")},F={onCancel:async()=>!1,onOk:async()=>!0,icon:null,width:542},{useFieldActionsMutation:Y,useGetMonitorFieldsQuery:G,useLazyGetAllowedActionsQuery:z}=n(78780).u.injectEndpoints({endpoints:e=>({getMonitorFields:e.query({query:e=>{let{path:{monitor_config_id:t},query:{page:n=1,size:r=20,search:i,diff_status:a,confidence_score:l,...o}}=e,s=(0,m.$J)({...o,...i?{search:[i]}:{},...a?{diff_status:a}:{},...l?{confidence_score:l}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields?").concat(null==s?void 0:s.toString()),params:{page:n,size:r}}},providesTags:["Monitor Field Results"]}),fieldActions:e.mutation({query:e=>{let{path:{monitor_config_id:t,action_type:n},query:{search:r,diff_status:i,confidence_score:a,...l},...o}=e,s=(0,m.$J)({...l,...r?{search:[r]}:{},...i?{diff_status:i}:{},...a?{confidence_score:a}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields/").concat(n,"?").concat(s.toString()),method:"POST",body:o}},invalidatesTags:["Monitor Field Results","Monitor Field Details"]}),getAllowedActions:e.query({query:e=>{let{path:{monitor_config_id:t},query:{search:n,diff_status:r,confidence_score:i,...a},...l}=e,o=(0,m.$J)({...a,...n?{search:[n]}:{},...r?{diff_status:r}:{},...i?{confidence_score:i}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields/allowed-actions?").concat(o.toString()),method:"POST",body:l}},providesTags:["Allowed Monitor Field Actions"]})})});var J=n(59001),B=n(90673),$=n(39864);let K="load_more",V="skeleton",Z=["Unlabeled","Classifying","In Review","Approved","Confirming...","Confirmed","Removed","Ignored"],W=["Confirmed","Ignored","Confirming..."],Q=e=>e.filter(e=>!W.includes(e)),H={addition:"Unlabeled",approved:"Approved",classification_addition:"In Review",classification_queued:"Classifying",classification_update:"In Review",classifying:"Classifying",monitored:"Confirmed",muted:"Ignored",promoting:"Confirming...",removal:"Removed",removing:"In Review"},X={addition:{label:"Unlabeled"},approved:{label:"Approved",color:s.tAb.SUCCESS},classification_addition:{label:"In Review",color:s.tAb.CAUTION},classification_queued:{label:"Classifying",color:s.tAb.INFO},classification_update:{label:"In Review",color:s.tAb.CAUTION},classifying:{label:"Classifying",color:s.tAb.INFO},monitored:{label:"Confirmed",color:s.tAb.MINOS},muted:{label:"Ignored",color:s.tAb.DEFAULT},promoting:{label:"Confirming...",color:s.tAb.DEFAULT},removal:{label:"Removed",color:s.tAb.ERROR},removing:{label:"In Review",color:s.tAb.CAUTION}},ee={[T.D$.DATABASE]:s.PJP.S9g,[T.D$.FIELD]:s.PJP.sgG,[T.D$.SCHEMA]:s.PJP.ehp,[T.D$.TABLE]:s.PJP.iA_},et={STATUS:"status-section",DATA_CATEGORY:"data-category-section",CONFIDENCE:"confidence-section"},en={[T.Ag.ADDITION]:{color:d().FIDESUI_SUCCESS,tooltip:"This resource was added in the latest scan"},[T.Ag.REMOVAL]:{color:d().FIDESUI_ERROR,tooltip:"This resource was removed in the latest scan"},[T.Ag.CHANGE]:{color:d().FIDESUI_WARNING,tooltip:"This resource was modified in the latest scan"}},er=(e,t)=>{if(!e||0===e.length)return[];let n=(e,t)=>{let r=t=>{if(t.value===e)return{title:t.label||e,children:t.children||[]};if(t.children&&t.children.length>0){let r=n(e,t.children);if(r)return r}return null};return t.reduce((e,t)=>null!=e?e:r(t),null)},r=new Map;e.forEach(e=>{let i=e.split(".");i.forEach((e,a)=>{let l=i.slice(0,a+1).join(".");if(!r.has(l)){let e=n(l,t);r.set(l,{title:(null==e?void 0:e.title)||(0,m.kC)(l.split(".").pop()||l),key:l,checkable:!0,selectable:!1})}})});let i=Array.from(r.values()),a=new Map;i.forEach(e=>{let t=e.key.toString().split(".");if(t.length>1){let n=t.slice(0,-1).join(".");a.has(n)||a.set(n,[]),a.get(n).push(e)}});let l=e=>(a.get(e)||[]).map(e=>{let t=l(e.key.toString());return{...e,children:t.length>0?t:void 0,isLeaf:0===t.length}});return i.filter(e=>1===e.key.toString().split(".").length).map(e=>{let t=l(e.key.toString());return{...e,children:t.length>0?t:void 0,isLeaf:0===t.length}})},ei=e=>{let{resourceStatus:t,setResourceStatus:n,dataCategory:r,setDataCategory:i,resetToInitialState:a,monitorId:l,stagedResourceUrn:c}=e,[u,d]=(0,f.useState)(t),[p,m]=(0,f.useState)(r),[h,g]=(0,f.useState)([et.STATUS]);(0,f.useEffect)(()=>{d(t)},[t]),(0,f.useEffect)(()=>{m(r)},[r]);let v=c.join(",");(0,f.useEffect)(()=>{a()},[v]);let{data:y,refetch:_}=(0,A.S0)({monitor_config_id:l,staged_resource_urn:c},{refetchOnMountOrArgChange:!0}),[x,{data:S=[]}]=(0,$.ci)();(0,f.useEffect)(()=>{x(J.ac.DATA_CATEGORY)},[x]);let E=(0,f.useMemo)(()=>(0,B.Cd)(S),[S]),T=(0,f.useMemo)(()=>[...Z],[]),j=(0,f.useMemo)(()=>T.map(e=>({title:e.replace(/\.{3}$/,""),key:e,checkable:!0,selectable:!1,isLeaf:!0})),[T]),C=(0,f.useMemo)(()=>(null==y?void 0:y.data_category)&&0!==y.data_category.length?er(y.data_category,E):[],[null==y?void 0:y.data_category,E]),b=(0,f.useMemo)(()=>{let e=[];return j.length>0&&e.push({title:"Status",key:et.STATUS,checkable:!0,selectable:!1,isLeaf:!1,children:j}),C.length>0&&e.push({title:"Data category",key:et.DATA_CATEGORY,checkable:!0,selectable:!1,isLeaf:!1,children:C}),e},[j,C]),D=(0,f.useMemo)(()=>{let e=[];return u&&e.push(...u),p&&e.push(...p),Array.from(new Set(e))},[u,p]),k=(0,f.useMemo)(()=>{let e=0;return t&&(e+=new Set(t).size),r&&(e+=new Set(r).size),e},[t,r]);return(0,o.jsx)(s.wn$,{treeProps:{checkable:!0,checkedKeys:D,onCheck:e=>{let t=Array.isArray(e)?e:e.checked,n=[],r=[],i=Object.values(et),a=(e,t)=>t.some(t=>t!==e&&t.startsWith("".concat(e,"."))),l=t.map(e=>e.toString());t.forEach(e=>{let t=e.toString();!i.includes(t)&&((null==T?void 0:T.includes(t))?n.push(t):a(t,l)||r.push(t))}),d(n.length>0?n:[]),m(r.length>0?r:[])},treeData:b,expandedKeys:h,onExpand:e=>{g(e)}},onApply:()=>{n(u&&u.length>0?Array.from(new Set(u)):u),i(p&&p.length>0?Array.from(new Set(p)):p)},onReset:()=>{a(),d(Q(T)),m([])},onClear:()=>{d([]),m([])},onOpenChange:e=>{if(e){_();return}d(t),m(r)},activeFiltersCount:k})},ea=e=>{switch(e){case 1:return T.D$.DATABASE;case 2:return T.D$.SCHEMA;case 3:return T.D$.TABLE;default:return T.D$.FIELD}},el=e=>{if(!e||"string"!=typeof e)return[];let t=e.trim();if(!t)return[];let n=t.split(".");if(n.length<2)return[];let r=n.filter(e=>e&&e.trim().length>0);return r.length<2?[]:(r.shift(),r.length>0&&r.pop(),0===r.length)?[]:r.map((e,t)=>{let n=ee[ea(t+1)];return{title:e.trim(),IconComponent:n}})};var eo=n(79283),es=n(34929),ec=e=>{let{onSelectDataCategory:t,...n}=e,{getDataCategoryDisplayNameProps:r,getDataCategories:i}=(0,es.Z)(),a=i(),[l,c]=(0,f.useState)(!1),u=a.map(e=>{let{name:t,primaryName:n}=r(e.fides_key);return{value:e.fides_key,label:(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:n||t}),n&&": ".concat(t)]}),name:t,primaryName:n,description:e.description||""}});return(0,o.jsx)(eo.l,{options:u,prefix:(0,o.jsx)(s.wpx,{"aria-label":"Add Data Category",type:"text",size:"small",icon:(0,o.jsx)(s.PJP.mm_,{})}),placeholder:"",suffixIcon:null,classNames:{root:"w-full max-w-full overflow-hidden p-0 cursor-pointer -ml-5"},variant:"borderless",autoFocus:!1,maxTagCount:"responsive",open:l,onOpenChange:e=>c(e),onSelect:e=>{t(e),c(!1)},...n})},eu=n(97947),ed=n.n(eu);let ep=e=>{let{label:t,closable:n,onClose:r,isFromClassifier:i}=e;return(0,o.jsx)(s.j8w,{color:"white",bordered:!0,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},closable:n,onClose:r,style:{marginInlineEnd:"calc((var(--ant-padding-xs) * 0.5))"},icon:i&&(0,o.jsx)(s.QMR,{}),children:(0,o.jsx)(s.lKn,{size:"sm",children:t})})},ef=e=>{let{title:t,IconComponent:n}=e;return{title:n?(0,o.jsxs)(s.jqI,{gap:3,align:"center",children:[(0,o.jsx)(n,{}),(0,o.jsx)("span",{children:t})]}):t}};var em=e=>{let{urn:t,classifications:n,name:r,diff_status:i,selected:l,onSelect:c,onSetDataCategories:u,onNavigate:d,preferred_data_categories:p,actions:f}=e;return(0,o.jsx)(s.krs.Item,{actions:[n&&n.length>0&&(0,o.jsx)(h,{percent:n.find(e=>e.confidence_score===a.HIGH)?100:25}),...null!=f?f:[]],children:(0,o.jsx)(s.krs.Item.Meta,{avatar:(0,o.jsx)(s.E_O,{checked:l,onChange:e=>c&&c(t,e.target.checked)}),title:(0,o.jsxs)(s.jqI,{gap:12,align:"center",className:ed()["monitor-field__title"],children:[(0,o.jsx)(s.wpx,{type:"text",size:"small",className:"-mx-2",onClick:()=>d&&d(t),children:r}),i&&i!==T.LL.ADDITION&&(0,o.jsx)(s.j8w,{bordered:!1,color:X[i].color,children:X[i].label}),(0,o.jsx)(s.esZ,{title:t,mouseEnterDelay:.5,children:(0,o.jsx)(s.zrq,{className:ed()["monitor-field__breadcrumb"],items:el(t).map(ef),role:"presentation",style:{overflow:"hidden"}})})]}),description:(0,o.jsx)(ec,{mode:"multiple",value:null!=p?p:[],tagRender:e=>{let r=!!(null==n?void 0:n.find(t=>t.label===e.value));return ep({...e,isFromClassifier:r,onClose:()=>{var n;u(t,null!==(n=null==p?void 0:p.filter(t=>t!==e.value))&&void 0!==n?n:[])}})},onSelectDataCategory:e=>{(null==p?void 0:p.includes(e))||u(t,[...null!=p?p:[],e])}})})},t)},eh=n(812);let eg=(e,t)=>e.find(e=>{let{children:n}=e;return n&&!!n.find(e=>e.key.toString()===t)}),ev=(e,t)=>e.reduce((e,n)=>{if(n.children){var r;return null!==(r=eg(n.children,t))&&void 0!==r?r:ev(n.children,t)}return e},null),ey=e=>{let{node:t,treeData:n,onLoadMore:r}=e;if(!t.title)return null;if(t.key.toString().startsWith(K)){let e=ev(n,t.key.toString());return(0,o.jsx)(s.wpx,{type:"link",block:!0,onClick:()=>{(null==e?void 0:e.key)&&r(e.key.toString())},className:"p-0",children:t.title})}if(t.key.toString().startsWith(V))return(0,o.jsx)(s.N_L,{paragraph:!1,title:{width:"80px"},active:!0,children:t.title});let i=t.status?en[t.status]:null;return(0,o.jsxs)(s.jqI,{gap:4,align:"center",className:"inline-flex",children:[i&&(0,o.jsx)(s.esZ,{title:i.tooltip,children:(0,o.jsx)(s.PJP.fRw,{className:"size-2",style:{color:i.color}})}),(0,o.jsx)(s.lKn,{ellipsis:{tooltip:t.title},children:t.title})]})},e_=(e,t,n)=>e.map(e=>e.key===t?{...e,status:n}:e.children?{...e,children:e_(e.children,t,n)}:e),ex=(e,t)=>e.map(e=>{if(e.key===t){let{children:t,...n}=e;return n}return e.children?{...e,children:ex(e.children,t)}:e}),eS=e=>{let t=[];return e.children&&e.children.length>0&&e.children.forEach(e=>{"string"==typeof e.key&&(t.push(e.key),t.push(...eS(e)))}),t},eE=(e,t)=>{for(let n of e){if(n.key===t)return n;if(n.children){let e=eE(n.children,t);if(e)return e}}},eA=(e,t)=>{var n;let r=e.items.map(e=>{let t=e.resource_type?ee[e.resource_type]:void 0;return{title:e.name,key:e.urn,selectable:!0,icon:t?()=>(0,o.jsx)(t,{className:"h-full"}):void 0,status:e.update_status,isLeaf:!e.has_grandchildren}});return(null!==(n=null==r?void 0:r.length)&&void 0!==n?n:0)<100?r:[...r,{title:"Load more...",key:"".concat(K,"-").concat(e.page,"-").concat(t),selectable:!1,isLeaf:!0}]},eT=(e,t,n)=>e.map(e=>{if(e.key===t){var r,i;return{...e,children:[...null!==(i=null===(r=e.children)||void 0===r?void 0:r.filter(e=>!(e.key.toString().startsWith(K)||e.key.toString().startsWith(V))))&&void 0!==i?i:[],...n]}}return e.children?{...e,children:eT(e.children,t,n)}:e}),ej=(e,t,n)=>e.map(e=>e.key===t?{...e,children:n}:e.children?{...e,children:ej(e.children,t,n)}:e),eC=(e,t,n)=>e.map(e=>{if(e.key===t){var r;let t=(null!==(r=e.children)&&void 0!==r?r:[]).filter(e=>!(e.key.toString().startsWith(K)||e.key.toString().startsWith(V))),i=new Map(n.map(e=>[e.key,e])),a=new Map(t.map(e=>[e.key,e])),l=t.map(e=>{let t=i.get(e.key);return null!=t?t:e});return n.forEach(e=>{a.has(e.key)||l.push(e)}),{...e,children:l}}return e.children?{...e,children:eC(e.children,t,n)}:e}),eb=(0,f.forwardRef)((e,t)=>{let{selectedNodeKeys:n,setSelectedNodeKeys:r,onClickClassifyButton:i}=e,a=(0,p.useRouter)(),{errorAlert:l}=(0,_.VY)(),c=decodeURIComponent(a.query.monitorId),[u]=(0,A.RV)(),[d]=(0,A.M8)(),[m,h]=(0,f.useState)({}),[g,v]=(0,f.useState)([]),[y,x]=(0,f.useState)([]),S=(0,f.useRef)({}),E=(0,f.useRef)({}),T=(0,f.useCallback)(async e=>{var t;let{nodeKey:n,queryParams:r,fastUpdateFn:i,detailedUpdateFn:a}=e,l=(null!==(t=S.current[n])&&void 0!==t?t:0)+1;S.current[n]=l;let o=u({...r,include_descendant_details:!1}),s=u({...r,include_descendant_details:!0});o.then(e=>{let{data:t}=e;t&&S.current[n]===l&&E.current[n]!==l&&i(t)}),s.then(e=>{let{data:t}=e;t&&S.current[n]===l&&(E.current[n]=l,(null!=a?a:i)(t))})},[u]),j=(0,f.useCallback)(e=>new Promise(t=>{let{children:n,key:r}=e;if(n){t();return}let i=r.toString();T({nodeKey:i,queryParams:{monitor_config_id:c,staged_resource_urn:i,size:100},fastUpdateFn:e=>{v(t=>ej(t,r,eA(e,i))),h(e=>({...e,[i]:{pageSize:100,pageIndex:1}}))}}),t()}),[T,c]),C=(0,f.useCallback)(e=>{let t=m[e];t&&(v(t=>eT(t,e,[...Array(100)].map((t,n)=>({key:"".concat(V,"-").concat(e,"-").concat(n),title:"SKELETON",isLeaf:!0})))),T({nodeKey:e,queryParams:{monitor_config_id:c,staged_resource_urn:e,size:100,page:t.pageIndex+1},fastUpdateFn:t=>{v(n=>eT(n,e,eA(t,e)))},detailedUpdateFn:t=>{v(n=>eC(n,e,eA(t,e))),h(t=>{var n,r;return{...t,[e]:{pageSize:100,pageIndex:(null!==(r=null===(n=t[e])||void 0===n?void 0:n.pageIndex)&&void 0!==r?r:0)+1}}})}}))},[m,T,c]),b=(0,f.useCallback)(e=>{v(t=>{let n=eE(t,e),r=[e];return n&&r.push(...eS(n)),x(e=>e.filter(e=>!r.includes(e.toString()))),h(e=>{let t={...e};return r.forEach(e=>{delete t[e]}),t}),r.forEach(e=>{delete S.current[e],delete E.current[e]}),ex(t,e)})},[]),D=(0,f.useCallback)(async e=>{let t=async e=>{try{let t=await d({monitor_config_id:c,...e&&{staged_resource_urn:e}});if(t.error){l((0,eh.e$)(t.error),"Failed to get schema explorer ancestors statuses");return}let n=t.data;if(!n)return;e?b(e):n.forEach(e=>{b(e.urn)}),v(e=>n.reduce((e,t)=>e_(e,t.urn,t.update_status),e))}catch(e){l("An unexpected error occurred while refreshing the schema explorer")}};if(0===e.length){await t();return}await Promise.all(e.map(e=>t(e)))},[d,c,b,l]),k=(0,f.useCallback)((e,t)=>{x(e),t.expanded&&!t.node.children&&j&&j(t.node)},[j]);return(0,f.useImperativeHandle)(t,()=>({refreshResourcesAndAncestors:D})),(0,f.useEffect)(()=>{(async()=>{g.length>0||T({nodeKey:"root",queryParams:{monitor_config_id:c,size:100},fastUpdateFn:e=>{v(eA(e))}})})()},[T,c,v,g.length]),(0,o.jsxs)(s.jqI,{gap:"middle",vertical:!0,className:"h-full",children:[(0,o.jsx)(s.lQT,{level:3,className:"sticky top-0",children:"Schema explorer"}),(0,o.jsx)(s.a$q,{loadData:j,treeData:g,expandedKeys:y,onExpand:k,onSelect:(e,t)=>r(t.selectedNodes.map(e=>{let{key:t}=e;return t})),showIcon:!0,showLine:!0,blockNode:!0,rootClassName:"h-full overflow-x-hidden",titleRender:e=>(0,o.jsx)(ey,{node:e,treeData:g,onLoadMore:C})}),n.length>0&&(0,o.jsxs)(s.jqI,{justify:"space-between",align:"center",children:[(0,o.jsxs)("span",{children:[n.length," selected"]}),(0,o.jsx)(s.wpx,{"aria-label":"Classify ".concat(n.length," Selected Nodes"),icon:(0,o.jsx)(s.QMR,{size:12}),size:"small",onClick:i})]})]})});eb.displayName="MonitorTree";var eD=n(31883);let ek=(e,t)=>({title:e,okText:e,content:t,...F}),eR=(e,t)=>"".concat(P[e]).concat((0,m._6)(null!=t?t:0,"","".concat(e===l.ASSIGN_CATEGORIES?" for":""," ").concat(null==t?void 0:t.toLocaleString()," resources"))),eI=e=>"".concat(P[e]," failed").concat(e===l.CLASSIFY||e===l.PROMOTE?": View summary in the activity tab":""),eP=(e,t,n,r)=>{let[i]=Y(),a=a=>async(o,s,c)=>{let u=Date.now();if(!await t.confirm(ek(R[a],q[a](c))))return;n.open({key:u,type:"loading",content:"".concat(I[a]," ").concat(c," ").concat((0,m._6)(c,"resource","resources"),"..."),duration:0});let d=await i({query:{...o.query},path:{monitor_config_id:e,action_type:a},body:{excluded_resource_urns:s}});if((0,eD.D4)(d)){n.open({key:u,type:"error",content:eI(a),duration:5});return}if(n.open({key:u,type:"success",content:eR(a,c),duration:5}),r&&a!==l.APPROVE){let e=o.query.staged_resource_urn||[];await r(e)}};return{"assign-categories":a(l.ASSIGN_CATEGORIES),"promote-removals":a(l.PROMOTE_REMOVALS),"un-approve":a(l.UN_APPROVE),"un-mute":a(l.UN_MUTE),approve:a(l.APPROVE),classify:a(l.CLASSIFY),mute:a(l.MUTE),promote:a(l.PROMOTE)}},ew=e=>e.map(e=>{let{itemKey:t}=e;return t}),eO=()=>{let[e,t]=(0,f.useState)("inclusive"),[n,r]=(0,f.useState)([]),[i,a]=(0,f.useState)([]),l=e=>{a(C().uniqBy(e,"itemKey"))},o=n.filter(e=>{let{itemKey:t}=e;return!i.find(e=>e.itemKey===t)}),s="inclusive"===e?i:o,c="exclusive"===e?i:o;return{excludedListItems:c,indeterminate:"inclusive"===e?s.length>0&&n.length!==s.length:c.length>0,isBulkSelect:"inclusive"===e?s.length>0&&n.length===s.length:0===c.length,listSelectMode:e,resetListSelect:()=>{a([]),t("inclusive")},selectedListItems:s,updateListItems:r,updateListSelectMode:e=>{t(e),a([])},updateSelectedListItem:(t,r)=>{let a=n.find(e=>t===e.itemKey);a&&((("inclusive"===e?r:!r)?"add":"remove")=="add"?l([...i,a]):l(i.filter(e=>e.itemKey!==t)))}}};var eM=n(70675);let eU=e=>{let[t,...n]=e.map(e=>L[e]);return n.reduce((e,t)=>C().intersection(e,[...t]),null!=t?t:[])},eL=(e,t,n,r)=>{let[i]=(0,eM.LI)(),[a]=(0,A.Av)(),[o]=(0,eM.zV)(),[s]=(0,eM.Hf)(),[c]=(0,eM._J)(),[u]=(0,eM.NA)(),d=(e,i)=>async(a,l)=>{let o=Date.now();if(!(1===a.length||await t.confirm(ek(R[e],q[e](a.length)))))return;n.open({key:o,type:"loading",content:"".concat(I[e]," ").concat(a.length," ").concat((0,m._6)(a.length,"resource","resources"),"..."),duration:0});let s=await i(a,l);if((0,eD.D4)(s)){n.open({key:o,type:"error",content:eI(e),duration:5});return}n.open({key:o,type:"success",content:eR(e,a.length),duration:5}),r&&await r(a)},p=async e=>o({staged_resource_urns:e}),f=async e=>c({staged_resource_urns:e}),h=async e=>s({staged_resource_urns:e}),g=async t=>a({monitor_config_key:e,staged_resource_urns:t}),v=async(t,n)=>{var r;let[i]=t;return u({monitor_config_id:e,staged_resource_urn:i,user_assigned_data_categories:null!==(r=null==n?void 0:n.user_assigned_data_categories)&&void 0!==r?r:void 0})},y=async t=>i({monitor_config_key:e,staged_resource_urns:t});return{"assign-categories":d(l.ASSIGN_CATEGORIES,v),"promote-removals":()=>{},"un-approve":()=>{},"un-mute":d(l.UN_MUTE,f),approve:d(l.APPROVE,y),classify:d(l.CLASSIFY,g),mute:d(l.MUTE,p),promote:d(l.PROMOTE,h)}};var eN=n(40431);let eq=()=>{let[e,t]=(0,eN.v1)("resourceStatus",(0,eN.S$)((0,eN.km)(Z))),[n,r]=(0,eN.v1)("confidenceScore",(0,eN.S$)((0,eN.jx)(Object.values(a)))),[i,l]=(0,eN.v1)("dataCategory",(0,eN.S$)(eN.Oi));return(0,f.useEffect)(()=>{if(null===e){let e=Q([...Z]);t(e.length>0?e:[])}},[]),{resourceStatus:e,setResourceStatus:t,confidenceScore:n,setConfidenceScore:r,dataCategory:i,setDataCategory:l,reset:()=>{t([]),r([]),l([])},resetToInitialState:()=>{t(Q([...Z])),r(null),l(null)}}},eF=e=>Object.values(T.LL).flatMap(t=>X[t].label===e?[t]:[]);var eY=()=>{var e,t,n,r,i,a,c,u,m;let T=decodeURIComponent((0,p.useRouter)().query.monitorId),j=(0,f.useRef)(null),[C,b]=s.Pg3.useMessage(),[D,I]=s.$zI.useModal(),{paginationProps:P,pageIndex:q,pageSize:F,resetPagination:Y}=(0,E.S)({defaultPageSize:25}),J=(0,_.Rx)(),{resourceStatus:B,confidenceScore:$,dataCategory:K,...V}=eq(),{data:Z}=(0,A.vc)({monitor_config_id:T}),[W,Q]=(0,f.useState)([]),ee={path:{monitor_config_id:T},query:{staged_resource_urn:W.map(e=>e.toString()),search:J.searchProps.value,diff_status:B?B.flatMap(eF):void 0,confidence_score:$||void 0,data_category:K||void 0}},{data:et,isFetching:en,refetch:er}=G({...ee,query:{...ee.query,size:F,page:q}}),[ea,el]=(0,f.useState)(),[eo,es]=(0,A.mC)(),[ec,{data:eu,isFetching:ed}]=z(),ep=es.data,ef=eP(T,D,C,async e=>{var t;await (null===(t=j.current)||void 0===t?void 0:t.refreshResourcesAndAncestors(e))}),eh=eL(T,D,C,async e=>{var t;await (null===(t=j.current)||void 0===t?void 0:t.refreshResourcesAndAncestors(e))}),{excludedListItems:eg,indeterminate:ev,isBulkSelect:ey,listSelectMode:e_,resetListSelect:ex,selectedListItems:eS,updateListItems:eE,updateListSelectMode:eA,updateSelectedListItem:eT}=eO(),ej=async e=>{el(e)},eC=ey?null==eu?void 0:eu.allowed_actions:eU(eS.flatMap(e=>e.diff_status?[H[e.diff_status]]:[])),eD=null!==(i=null==et?void 0:et.total)&&void 0!==i?i:0,ek="exclusive"===e_&&(null==et?void 0:et.total)?eD-eg.length:eS.length;return(0,f.useEffect)(()=>{et&&eE(et.items.map(e=>{let{urn:t,...n}=e;return{itemKey:t,urn:t,...n}}))},[null==et?void 0:et.items]),(0,f.useEffect)(()=>{ea&&eo({stagedResourceUrn:ea})},[ea]),(0,f.useEffect)(()=>{Y(),ex()},[B,$,W,J.searchQuery,K]),(0,o.jsxs)(y.Z,{title:"Action center - Discovered assets by system",mainProps:{overflow:"hidden"},fullHeight:!0,children:[(0,o.jsx)(S.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:x.vi},{title:T}],isSticky:!1}),(0,o.jsxs)(s.LgQ,{className:"h-[calc(100%-48px)] overflow-hidden",children:[(0,o.jsx)(s.LgQ.Panel,{defaultSize:250,style:{paddingRight:"var(--ant-padding-md)"},children:(0,o.jsx)(eb,{ref:j,selectedNodeKeys:W,setSelectedNodeKeys:Q,onClickClassifyButton:()=>{eh.classify(W.map(e=>e.toString()))}})}),(0,o.jsx)(s.LgQ.Panel,{style:{paddingLeft:"var(--ant-padding-md)"},children:(0,o.jsxs)(s.jqI,{vertical:!0,gap:"middle",className:"h-full overflow-hidden",children:[(0,o.jsxs)(s.jqI,{justify:"space-between",children:[(0,o.jsx)(s.lQT,{level:2,children:"Monitor results"}),(0,o.jsx)(s.jqI,{align:"center",children:(null==Z?void 0:Z.last_monitored)&&(0,o.jsxs)(s.lKn,{type:"secondary",children:["Last scan:"," ",new Date(null==Z?void 0:Z.last_monitored).toLocaleString()]})})]}),(0,o.jsxs)(s.jqI,{justify:"space-between",children:[(0,o.jsx)(g.f,{value:J.searchQuery,onChange:J.updateSearch,placeholder:"Search"}),(0,o.jsxs)(s.jqI,{gap:"small",children:[(0,o.jsx)(ei,{resourceStatus:B,confidenceScore:$,dataCategory:K,...V,monitorId:T,stagedResourceUrn:W.map(e=>e.toString())}),(0,o.jsx)(s.S0p,{onOpenChange:e=>{e&&ey&&ec({...ee,query:{...ee.query},body:{excluded_resource_urns:ew(eg).map(e=>e.toString())}})},menu:{items:[...O.map(e=>({key:e,label:!ed&&(null==eC?void 0:eC.includes(e))?R[e]:(0,o.jsx)(s.esZ,{title:U[e],children:R[e]}),disabled:ed||!(null==eC?void 0:eC.includes(e)),onClick:()=>{ey?ef[e](ee,eg.map(e=>e.itemKey.toString()),ek):eh[e](eS.map(e=>{let{itemKey:t}=e;return t.toString()}))}}))]},disabled:eS.length<=0,children:(0,o.jsx)(s.wpx,{type:"primary",icon:(0,o.jsx)(s.PJP._ME,{}),iconPosition:"end",loading:ed,children:"Actions"})}),(0,o.jsx)(s.esZ,{title:"Refresh",children:(0,o.jsx)(s.wpx,{icon:(0,o.jsx)(s.PJP.CQM,{}),onClick:()=>er(),"aria-label":"Refresh"})})]})]}),(0,o.jsxs)(s.jqI,{gap:"middle",align:"center",children:[(0,o.jsx)(s.E_O,{id:"select-all",checked:ey,indeterminate:ev,onChange:e=>eA(e.target.checked?"exclusive":"inclusive")}),(0,o.jsx)("label",{htmlFor:"select-all",children:"Select all"}),!!ek&&(0,o.jsxs)(s.lKn,{strong:!0,children:[ek.toLocaleString()," selected"]})]}),(0,o.jsx)(s.krs,{dataSource:null==et?void 0:et.items,className:"h-full overflow-scroll",loading:en,renderItem:e=>em({...e,selected:ew(eS).includes(e.urn),onSelect:eT,onNavigate:ej,onSetDataCategories:(e,t)=>eh["assign-categories"]([e],{user_assigned_data_categories:t}),actions:(null==e?void 0:e.diff_status)?M.map(t=>(0,o.jsx)(s.esZ,{title:R[t],children:(0,o.jsx)(s.wpx,{"aria-label":R[t],icon:N[t],onClick:()=>eh[t]([e.urn]),disabled:null==e||!e.diff_status||![...L[H[e.diff_status]]].includes(t),style:{fontSize:"var(--ant-button-content-font-size-lg)"}})},t)):[]})}),(0,o.jsx)(s.B7X,{...P,showSizeChanger:{suffixIcon:(0,o.jsx)(s.PJP._ME,{})},total:(null==et?void 0:et.total)||0,hideOnSinglePage:(null===(e=P.pageSize)||void 0===e?void 0:e.toString())===(null===(t=P.pageSizeOptions)||void 0===t?void 0:t[0])})]})})]}),(0,o.jsx)(k,{itemKey:null!==(a=null==ep?void 0:ep.urn)&&void 0!==a?a:"",title:null!==(c=null==ep?void 0:ep.name)&&void 0!==c?c:null,titleIcon:(0,o.jsx)(s.PJP.sgG,{}),titleTag:{bordered:!1,color:(null==ep?void 0:ep.diff_status)?X[ep.diff_status].color:void 0,className:"font-normal text-[var(--ant-font-size-sm)]",children:(null==ep?void 0:ep.diff_status)?X[ep.diff_status].label:null},actions:w.map(e=>({label:R[e],callback:t=>eh[e]([t]),disabled:null!=ep&&!!ep.diff_status&&![...L[H[ep.diff_status]]].includes(e)})),open:!!ea,onClose:()=>el(void 0),children:ep?(0,o.jsxs)(s.jqI,{gap:"middle",vertical:!0,children:[(0,o.jsx)(s.Yfl,{bordered:!0,size:"small",column:1,items:[{key:"system",label:"System",children:ep.system_key},{key:"path",label:"Path",children:ep.urn},{key:"data-type",label:"Data type",children:ep.resource_type},{key:"description",label:"Description",children:ep.description}]}),(0,o.jsx)(s.PPS,{layout:"vertical",children:(0,o.jsx)(s.PPS.Item,{label:"Data categories",children:(0,o.jsx)(v.Z,{variant:"outlined",mode:"multiple",maxTagCount:"responsive",value:[...null!==(u=null===(n=ep.classifications)||void 0===n?void 0:n.map(e=>{let{label:t}=e;return t}))&&void 0!==u?u:[],...null!==(m=null===(r=ep.user_assigned_data_categories)||void 0===r?void 0:r.map(e=>e))&&void 0!==m?m:[]],autoFocus:!1,disabled:null==ep||!ep.diff_status||![...L[H[ep.diff_status]]].includes(l.ASSIGN_CATEGORIES),onChange:e=>eh["assign-categories"]([ep.urn],{user_assigned_data_categories:e})})})}),ep.classifications&&ep.classifications.length>0&&(0,o.jsx)(s.krs,{dataSource:ep.classifications,renderItem:e=>(0,o.jsx)(s.krs.Item,{children:(0,o.jsx)(s.krs.Item.Meta,{avatar:(0,o.jsx)(s.t3Z,{style:{backgroundColor:null===d()||void 0===d()?void 0:d().FIDESUI_BG_DEFAULT},icon:(0,o.jsx)(s.QMR,{color:"black"})}),title:(0,o.jsxs)(s.jqI,{align:"center",gap:"middle",children:[(0,o.jsx)("div",{children:e.label}),(0,o.jsx)(h,{percent:100*e.score})]}),description:e.rationale})})})]}):null}),I,b]})};let eG=()=>(0,o.jsx)(o.Fragment,{children:"Attempting to access monitor results without the required feature flag enabled"});var ez=()=>{let{flags:e}=(0,c.hz)();return e.heliosV2?(0,o.jsx)(eY,{}):(0,o.jsx)(s.ux6,{status:"error",title:(0,o.jsx)(eG,{})})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=n(19043)},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}},97947:function(e){e.exports={"monitor-field__title":"MonitorFieldListItem_monitor-field__title__YrxOU","monitor-field__breadcrumb":"MonitorFieldListItem_monitor-field__breadcrumb__Rn4vE"}}},function(e){e.O(0,[431,8765,9278,5163,7245,7059,2888,9774,179],function(){return e(e.s=83806)}),_N_E=e.O()}]);
|
|
1
|
+
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6721],{74833:function(e,t,n){var r=n(56127),i=/^\s+/;e.exports=function(e){return e?e.slice(0,r(e)+1).replace(i,""):e}},56632:function(e,t,n){var r=n(89278),i=n(80068),a=n(50098);e.exports=function(e){return function(t,n,l){var o=Object(t);if(!i(t)){var s=r(n,3);t=a(t),n=function(e){return s(o[e],e,o)}}var c=e(t,n,l);return c>-1?o[s?t[c]:c]:void 0}}},56127:function(e){var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},66726:function(e,t,n){var r=n(11611),i=n(82846),a=n(91936),l=Math.max,o=Math.min;e.exports=function(e,t,n){var s,c,u,d,p,f,m=0,h=!1,g=!1,v=!0;if("function"!=typeof e)throw TypeError("Expected a function");function y(t){var n=s,r=c;return s=c=void 0,m=t,d=e.apply(r,n)}function _(e){var n=e-f,r=e-m;return void 0===f||n>=t||n<0||g&&r>=u}function x(){var e,n,r,a=i();if(_(a))return S(a);p=setTimeout(x,(e=a-f,n=a-m,r=t-e,g?o(r,u-n):r))}function S(e){return(p=void 0,v&&s)?y(e):(s=c=void 0,d)}function E(){var e,n=i(),r=_(n);if(s=arguments,c=this,f=n,r){if(void 0===p)return m=e=f,p=setTimeout(x,t),h?y(e):d;if(g)return clearTimeout(p),p=setTimeout(x,t),y(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=a(t)||0,r(n)&&(h=!!n.leading,u=(g="maxWait"in n)?l(a(n.maxWait)||0,t):u,v="trailing"in n?!!n.trailing:v),E.cancel=function(){void 0!==p&&clearTimeout(p),m=0,s=f=c=p=void 0},E.flush=function(){return void 0===p?d:S(i())},E}},64925:function(e,t,n){var r=n(56632)(n(66259));e.exports=r},66259:function(e,t,n){var r=n(95372),i=n(89278),a=n(47991),l=Math.max;e.exports=function(e,t,n){var o=null==e?0:e.length;if(!o)return -1;var s=null==n?0:a(n);return s<0&&(s=l(o+s,0)),r(e,i(t,3),s)}},82846:function(e,t,n){var r=n(77400);e.exports=function(){return r.Date.now()}},94919:function(e,t,n){var r=n(91936),i=1/0;e.exports=function(e){return e?(e=r(e))===i||e===-i?(e<0?-1:1)*17976931348623157e292:e==e?e:0:0===e?e:0}},47991:function(e,t,n){var r=n(94919);e.exports=function(e){var t=r(e),n=t%1;return t==t?n?t-n:t:0}},91936:function(e,t,n){var r=n(74833),i=n(11611),a=n(55193),l=0/0,o=/^[-+]0x[0-9a-f]+$/i,s=/^0b[01]+$/i,c=/^0o[0-7]+$/i,u=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(a(e))return l;if(i(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=i(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=r(e);var n=s.test(e);return n||c.test(e)?u(e.slice(2),n?2:8):o.test(e)?l:+e}},83806:function(e,t,n){(window.__NEXT_P=window.__NEXT_P||[]).push(["/data-discovery/action-center/datastore/[monitorId]",function(){return n(33569)}])},30952:function(e,t,n){"use strict";n.d(t,{f:function(){return s}});var r=n(24246),i=n(66726),a=n.n(i),l=n(27378),o=n(26917);let s=e=>{let{value:t,onChange:n,placeholder:i,...s}=e,[c,u]=(0,l.useState)(t);(0,l.useEffect)(()=>{u(t||"")},[t]);let d=a()(n,500),p=(0,l.useCallback)(e=>{u(e),d(e)},[]);return(0,r.jsx)(o.Z,{value:c,onChange:p,onClear:()=>{u(""),n("")},placeholder:i,...s})}},35287:function(e,t,n){"use strict";var r=n(24246),i=n(98227),a=n(88038),l=n.n(a);n(27378),t.Z=e=>{let{children:t,title:n,fullHeight:a,fullWidth:o,mainProps:s}=e;return(0,r.jsxs)(i.kCb,{"data-testid":n,direction:"column",height:a?"100vh":"calc(100vh - 48px)",width:o?"100vw":"calc(100vw - 240px)",children:[(0,r.jsxs)(l(),{children:[(0,r.jsxs)("title",{children:["Fides Admin UI - ",n]}),(0,r.jsx)("meta",{name:"description",content:"Privacy Engineering Platform"}),(0,r.jsx)("link",{rel:"icon",href:"/favicon.ico"})]}),(0,r.jsx)(i.kCb,{px:10,py:6,as:"main",overflow:"auto",direction:"column",flex:1,minWidth:0,...s,children:t})]})}},58754:function(e,t,n){"use strict";var r=n(24246),i=n(98227),a=n(70788);t.Z=e=>{let{heading:t,breadcrumbItems:n,isSticky:l=!0,children:o,rightContent:s,style:c,...u}=e;return(0,r.jsxs)("div",{...u,style:l?{position:"sticky",top:"-24px",paddingTop:"24px",paddingBottom:"24px",paddingLeft:"40px",marginLeft:"-40px",paddingRight:"40px",marginRight:"-40px",marginTop:"-24px",left:0,zIndex:20,backgroundColor:"white",...c}:{paddingBottom:"24px",...c},children:[(0,r.jsxs)(i.jqI,{justify:"space-between",children:["string"==typeof t?(0,r.jsx)(i.lQT,{className:n||o?"pb-4":void 0,level:1,"data-testid":"page-heading",children:t}):t,s&&(0,r.jsx)("div",{"data-testid":"page-header-right-content",children:s})]}),!!n&&(0,r.jsx)(a.m,{className:o?"pb-4":void 0,items:n,"data-testid":"page-breadcrumb"}),o]})}},12627:function(e,t,n){"use strict";var r=n(24246),i=n(79283),a=n(34929);t.Z=e=>{let{selectedTaxonomies:t,showDisabled:n=!1,...l}=e,{getDataCategoryDisplayNameProps:o,getDataCategories:s}=(0,a.Z)(),c=(n?s():s().filter(e=>e.active)).filter(e=>!(null==t?void 0:t.includes(e.fides_key))).map(e=>{let{name:t,primaryName:n}=o(e.fides_key);return{value:e.fides_key,name:t,primaryName:n,description:e.description||""}});return(0,r.jsx)(i.l,{options:c,...l})}},79283:function(e,t,n){"use strict";n.d(t,{l:function(){return u}});var r=n(24246),i=n(98227),a=n(72707),l=n.n(a);let o=e=>{let{data:{formattedTitle:t,description:n,name:a,primaryName:l}}=e;return(0,r.jsxs)(i.jqI,{gap:12,title:"".concat(t," - ").concat(n),children:[(0,r.jsxs)("div",{children:[(0,r.jsx)("strong",{children:l||a}),l&&": ".concat(a)]}),(0,r.jsx)("em",{children:n})]})},s=e=>"options"in e&&Array.isArray(e.options),c=e=>({...e,className:l().option,formattedTitle:e.formattedTitle||[e.primaryName,e.name].filter(e=>e).join(": ")}),u=e=>{let{options:t,...n}=e,a=null==t?void 0:t.map(e=>s(e)?{...e,options:e.options.map(c)}:c(e));return(0,r.jsx)(i.WPr,{options:a,filterOption:(e,t)=>{var n,r;return(null==t?void 0:null===(n=t.formattedTitle)||void 0===n?void 0:n.toLowerCase().includes(e.toLowerCase()))||(null==t?void 0:null===(r=t.value)||void 0===r?void 0:r.toLowerCase().includes(e.toLowerCase()))||!1},optionFilterProp:"label",autoFocus:!0,variant:"borderless",optionRender:o,styles:{popup:{root:{minWidth:"500px"}}},className:"w-full p-0","data-testid":"taxonomy-select",...n})}},34929:function(e,t,n){"use strict";var r=n(24246),i=n(64925),a=n.n(i),l=n(27378),o=n(16134),s=n(30002),c=n(28079),u=n(57072);let d=()=>{let{isLoading:e}=(0,c.fd)(),t=(0,o.C)(c.U3),{isLoading:n}=(0,u.MO)(),r=(0,o.C)(u.qb),{isLoading:i}=(0,s.te)();return{dataUses:t,dataSubjects:(0,o.C)(s.ZL),dataCategories:r,isLoading:e||n||i}};t.Z=()=>{let{dataUses:e,dataCategories:t,dataSubjects:n,isLoading:i}=d(),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;return e.split(".").slice(0,t).join(".")},s=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=t(e);if(!r)return{};let i=t(o(e,n)),a=!!r.parent_key;return{name:r.name||void 0,primaryName:a&&(null==i?void 0:i.name)!==r.name&&(null==i?void 0:i.name)||void 0}},c=function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,{name:i,primaryName:a}=s(e,t,n);return i?a?(0,r.jsxs)(l.Fragment,{children:[(0,r.jsxs)("strong",{children:[a,":"]})," ",i]},e):(0,r.jsx)("strong",{children:i},e):e},u=t=>a()(e,{fides_key:t}),p=e=>a()(t,{fides_key:e}),f=e=>a()(n,{fides_key:e});return{getDataUses:()=>e,getDataUseByKey:u,getDataUseDisplayName:e=>c(e,u,1),getDataUseDisplayNameProps:e=>s(e,u,1),getDataCategories:()=>t,getDataCategoryByKey:p,getDataCategoryDisplayName:e=>c(e,p,2),getDataCategoryDisplayNameProps:e=>s(e,p,2),getDataSubjects:()=>n,getDataSubjectByKey:f,getDataSubjectDisplayName:e=>{let t=f(e);return t?t.name:e},getPrimaryKey:o,isLoading:i}}},70788:function(e,t,n){"use strict";n.d(t,{m:function(){return c}});var r=n(24246),i=n(98227),a=n(79894),l=n.n(a),o=n(27378);let{Text:s}=i.AntTypography,c=e=>{let{items:t,...n}=e,a=(0,o.useMemo)(()=>null==t?void 0:t.map((e,n)=>{let a=n===t.length-1,o={...e},c=o.onClick&&!o.href;return("string"==typeof o.title&&(o.title=(0,r.jsx)(s,{style:{color:"inherit",maxWidth:a?void 0:400},ellipsis:!a,id:a?"breadcrumb-current-page":void 0,children:o.title})),c)?o.title=(0,r.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,r.jsxs)(r.Fragment,{children:[(0,r.jsx)("span",{className:"anticon align-text-bottom",children:o.icon}),o.title]})),o.href&&o.title&&(o.title=(0,r.jsx)(l(),{href:o.href,className:"ant-breadcrumb-link",children:o.title}),delete o.href)),o}),[t]);return(0,r.jsx)(i.zrq,{items:a,...n})}},9270:function(e,t,n){"use strict";n.d(t,{S:function(){return a}});var r=n(27378),i=n(36866);let a=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=(0,i.h)(e),{pageIndex:n,pageSize:a,updatePageIndex:l,updatePageSize:o,pageSizeOptions:s,showSizeChanger:c}=t,u=(0,r.useMemo)(()=>({current:n,pageSize:a,showSizeChanger:c,pageSizeOptions:s.map(String),onChange:l,onShowSizeChange:(e,t)=>{o(t)}}),[n,a,c,s,l,o]);return{...t,paginationProps:u}}},59001:function(e,t,n){"use strict";n.d(t,{Ch:function(){return s},Lo:function(){return l},_g:function(){return c},ac:function(){return a},aq:function(){return u}});var r,i,a,l,o=n(65735);let s="root";(r=a||(a={})).DATA_CATEGORY="data_category",r.DATA_USE="data_use",r.DATA_SUBJECT="data_subject",r.SYSTEM_GROUP="system_group",(i=l||(l={})).DATA_CATEGORIES="Data categories",i.DATA_USES="Data uses",i.DATA_SUBJECTS="Data subjects",i.SYSTEM_GROUPS="System groups";let c=e=>{switch(e){case"data_category":return"Data categories";case"data_use":return"Data uses";case"data_subject":return"Data subjects";case"system_group":return"System groups";default:return e}},u=e=>{switch(e){case"data_category":return{UPDATE:o.Sh.DATA_CATEGORY_UPDATE,CREATE:o.Sh.DATA_CATEGORY_CREATE,DELETE:o.Sh.DATA_CATEGORY_DELETE,READ:o.Sh.DATA_CATEGORY_READ};case"data_use":return{UPDATE:o.Sh.DATA_USE_UPDATE,CREATE:o.Sh.DATA_USE_CREATE,DELETE:o.Sh.DATA_USE_DELETE,READ:o.Sh.DATA_USE_READ};case"data_subject":return{UPDATE:o.Sh.DATA_SUBJECT_UPDATE,CREATE:o.Sh.DATA_SUBJECT_CREATE,DELETE:o.Sh.DATA_SUBJECT_DELETE,READ:o.Sh.DATA_SUBJECT_READ};case"system_group":return{UPDATE:o.Sh.SYSTEM_GROUP_UPDATE,CREATE:o.Sh.SYSTEM_GROUP_CREATE,DELETE:o.Sh.SYSTEM_GROUP_DELETE,READ:o.Sh.SYSTEM_GROUP_READ};default:return{UPDATE:o.Sh.TAXONOMY_UPDATE,CREATE:o.Sh.TAXONOMY_CREATE,DELETE:o.Sh.TAXONOMY_DELETE,READ:o.Sh.TAXONOMY_READ}}}},90673:function(e,t,n){"use strict";n.d(t,{Cd:function(){return a},Xl:function(){return l}});var r=n(65735),i=n(59001);let a=(e,t)=>{let n;if(null==t&&e.every(e=>void 0===e.parent_key))n=e;else{let r=null!=t?t:null;n=e.filter(e=>e.parent_key===r)}return n.map(t=>{var n,r;let i=t.fides_key;return{value:t.fides_key,label:t.name||t.fides_key,description:t.description,children:a(e,i),is_default:null!==(n=t.is_default)&&void 0!==n&&n,active:null!==(r=t.active)&&void 0!==r&&r}})},l=e=>{switch(e){case i.ac.DATA_CATEGORY:return r.P6.DATA_CATEGORY;case i.ac.DATA_SUBJECT:return r.P6.DATA_SUBJECT;case i.ac.DATA_USE:return r.P6.DATA_USE;default:return}}},57072:function(e,t,n){"use strict";n.d(t,{Bd:function(){return r.Bd},L5:function(){return r.L5},MO:function(){return r.MO},qb:function(){return r.qb}});var r=n(5785)},39864:function(e,t,n){"use strict";n.d(t,{Cy:function(){return l},J1:function(){return a},MU:function(){return r},ci:function(){return i},d9:function(){return o}});let{useGetCustomTaxonomiesQuery:r,useLazyGetTaxonomyQuery:i,useCreateTaxonomyMutation:a,useUpdateTaxonomyMutation:l,useDeleteTaxonomyMutation:o}=n(78780).u.injectEndpoints({endpoints:e=>({getCustomTaxonomies:e.query({query:()=>({url:"taxonomies"})}),getTaxonomy:e.query({query:e=>({url:"taxonomies/".concat(e)}),providesTags:(e,t,n)=>[{type:"Taxonomy",id:n}],transformResponse:e=>{let t=[],n=[...e],r=n.filter(e=>null===e.parent_key);r.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...r);let i=n.filter(e=>null!==e.parent_key);for(;i.length>0;){let e=i.filter(e=>t.some(t=>t.fides_key===e.parent_key));if(0===e.length){t.push(...i.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)));break}e.sort((e,t)=>e.fides_key.localeCompare(t.fides_key)),t.push(...e),i=i.filter(t=>!e.includes(t))}return t}}),createTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"POST",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),updateTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,...n}=e;return{url:"taxonomies/".concat(t),method:"PUT",body:n}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}}),deleteTaxonomy:e.mutation({query:e=>{let{taxonomyType:t,key:n}=e;return{url:"taxonomies/".concat(t,"/").concat(n),method:"DELETE"}},invalidatesTags:(e,t,n)=>{let{taxonomyType:r}=n;return[{type:"Taxonomy",id:r}]}})})})},33569:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return ez}});var r,i,a,l,o=n(24246),s=n(98227),c=n(25980),u=n(3124),d=n.n(u),p=n(86677),f=n(27378),m=n(16394);(r=a||(a={})).LOW="low",r.HIGH="high",r.MANUAL="manual";let h=e=>{let{percent:t,confidenceScore:n}=e;return null};var g=n(30952),v=n(12627),y=n(35287),_=n(17245),x=n(77830),S=n(58754),E=n(9270),A=n(37059),T=n(65735);(i=l||(l={})).CLASSIFY="classify",i.APPROVE="approve",i.UN_APPROVE="un-approve",i.PROMOTE="promote",i.PROMOTE_REMOVALS="promote-removals",i.MUTE="mute",i.UN_MUTE="un-mute",i.ASSIGN_CATEGORIES="assign-categories";var j=n(98784),C=n.n(j);let b=e=>{let{itemKey:t,actions:n}=e;return C().isEmpty(n)?null:(0,o.jsx)(s.jqI,{gap:"small",justify:"flex-end",children:n.map((e,r)=>{let{callback:i,label:a,disabled:l}=e;return(0,o.jsx)(s.wpx,{onClick:()=>i(t),type:r===n.length-1?"primary":"default",disabled:l,children:a},a)})})},D=e=>{let{title:t,titleIcon:n,titleTag:r}=e;return(0,o.jsxs)(s.jqI,{align:"center",gap:"small",children:[n,(0,o.jsx)("span",{children:t}),r&&(0,o.jsx)(s.j8w,{...r})]})},k=e=>{let{title:t,titleIcon:n,titleTag:r,actions:i,width:a=480,...l}=e;return(0,o.jsx)(s.To0,{title:(0,o.jsx)(D,{title:t,titleIcon:n,titleTag:r}),footer:l.footer||!i?l.footer:(0,o.jsx)(b,{itemKey:l.itemKey,actions:i}),width:a,...l})},R={approve:"Approve","assign-categories":"Assign categories",classify:"Classify",mute:"Ignore",promote:"Confirm","promote-removals":"Promote removals","un-approve":"Un-approve","un-mute":"Restore"},I={approve:"Approving","assign-categories":"Updating data categories",classify:"Classifying",mute:"Ignoring",promote:"Confirming","promote-removals":"Promoting removals","un-approve":"Un-approving","un-mute":"Restoring"},P={approve:"Approved","assign-categories":"Data category updated",classify:"Classified",mute:"Ignored",promote:"Confirmed","promote-removals":"Promoted removals","un-approve":"Un-approved","un-mute":"Restored"},w=[l.APPROVE,l.PROMOTE],O=[l.CLASSIFY,l.APPROVE,l.PROMOTE,l.MUTE,l.UN_MUTE],M=[l.CLASSIFY,l.PROMOTE],U={[l.APPROVE]:"You can only approve resources with a data category applied",[l.CLASSIFY]:"You cannot classify resources that are already in classification or ignored",[l.MUTE]:"You cannot ignore resources that are already ignored",[l.PROMOTE]:"You can only confirm resources that have a data category applied",[l.UN_MUTE]:"You can only restore resources that are ignored"},L={"In Review":[l.CLASSIFY,l.MUTE,l.APPROVE,l.PROMOTE],Approved:[l.MUTE,l.PROMOTE],Classifying:[],Confirmed:[],Ignored:[l.UN_MUTE],Removed:[],Unlabeled:[l.ASSIGN_CATEGORIES,l.CLASSIFY],"Confirming...":[]},N={"assign-categories":null,"promote-removals":null,"un-approve":null,"un-mute":(0,o.jsx)(s.PJP.G7x,{}),approve:(0,o.jsx)(s.PJP.MCw,{}),classify:(0,o.jsx)(s.QMR,{size:14}),mute:(0,o.jsx)(s.PJP.uzw,{}),promote:(0,o.jsx)(s.PJP.MCw,{})},q={"assign-categories":e=>null,"promote-removals":e=>null,"un-approve":e=>null,"un-mute":e=>"Are you sure you want to restore ".concat(e.toLocaleString()," resources?"),approve:e=>"Are you sure you want to approve ".concat(e.toLocaleString()," resources?"),classify:e=>"Are you sure you want to run the classifier and apply data categories to ".concat(e.toLocaleString()," unlabeled resources?"),mute:e=>"Are you sure you want to ignore ".concat(e.toLocaleString()," resources? After ignoring, these resources may reappear in future scans."),promote:e=>"Are you sure you want to confirm these ".concat(e.toLocaleString()," resources? After confirming this data can be used for policy automation and DSRs. ")},F={onCancel:async()=>!1,onOk:async()=>!0,icon:null,width:542},{useFieldActionsMutation:Y,useGetMonitorFieldsQuery:G,useLazyGetAllowedActionsQuery:z}=n(78780).u.injectEndpoints({endpoints:e=>({getMonitorFields:e.query({query:e=>{let{path:{monitor_config_id:t},query:{page:n=1,size:r=20,search:i,diff_status:a,confidence_score:l,...o}}=e,s=(0,m.$J)({...o,...i?{search:[i]}:{},...a?{diff_status:a}:{},...l?{confidence_score:l}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields?").concat(null==s?void 0:s.toString()),params:{page:n,size:r}}},providesTags:["Monitor Field Results"]}),fieldActions:e.mutation({query:e=>{let{path:{monitor_config_id:t,action_type:n},query:{search:r,diff_status:i,confidence_score:a,...l},...o}=e,s=(0,m.$J)({...l,...r?{search:[r]}:{},...i?{diff_status:i}:{},...a?{confidence_score:a}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields/").concat(n,"?").concat(s.toString()),method:"POST",body:o}},invalidatesTags:["Monitor Field Results","Monitor Field Details"]}),getAllowedActions:e.query({query:e=>{let{path:{monitor_config_id:t},query:{search:n,diff_status:r,confidence_score:i,...a},...l}=e,o=(0,m.$J)({...a,...n?{search:[n]}:{},...r?{diff_status:r}:{},...i?{confidence_score:i}:{}});return{url:"/plus/discovery-monitor/".concat(t,"/fields/allowed-actions?").concat(o.toString()),method:"POST",body:l}},providesTags:["Allowed Monitor Field Actions"]})})});var J=n(59001),B=n(90673),$=n(39864);let K="load_more",V="skeleton",Z=["Unlabeled","Classifying","In Review","Approved","Confirming...","Confirmed","Removed","Ignored"],W=["Confirmed","Ignored","Confirming..."],Q=e=>e.filter(e=>!W.includes(e)),H={addition:"Unlabeled",approved:"Approved",classification_addition:"In Review",classification_queued:"Classifying",classification_update:"In Review",classifying:"Classifying",monitored:"Confirmed",muted:"Ignored",promoting:"Confirming...",removal:"Removed",removing:"In Review"},X={addition:{label:"Unlabeled"},approved:{label:"Approved",color:s.tAb.SUCCESS},classification_addition:{label:"In Review",color:s.tAb.CAUTION},classification_queued:{label:"Classifying",color:s.tAb.INFO},classification_update:{label:"In Review",color:s.tAb.CAUTION},classifying:{label:"Classifying",color:s.tAb.INFO},monitored:{label:"Confirmed",color:s.tAb.MINOS},muted:{label:"Ignored",color:s.tAb.DEFAULT},promoting:{label:"Confirming...",color:s.tAb.DEFAULT},removal:{label:"Removed",color:s.tAb.ERROR},removing:{label:"In Review",color:s.tAb.CAUTION}},ee={[T.D$.DATABASE]:s.PJP.S9g,[T.D$.FIELD]:s.PJP.sgG,[T.D$.SCHEMA]:s.PJP.ehp,[T.D$.TABLE]:s.PJP.iA_},et={STATUS:"status-section",DATA_CATEGORY:"data-category-section",CONFIDENCE:"confidence-section"},en={[T.Ag.ADDITION]:{color:d().FIDESUI_SUCCESS,tooltip:"This resource was added in the latest scan"},[T.Ag.REMOVAL]:{color:d().FIDESUI_ERROR,tooltip:"This resource was removed in the latest scan"},[T.Ag.CHANGE]:{color:d().FIDESUI_WARNING,tooltip:"This resource was modified in the latest scan"}},er=(e,t)=>{if(!e||0===e.length)return[];let n=(e,t)=>{let r=t=>{if(t.value===e)return{title:t.label||e,children:t.children||[]};if(t.children&&t.children.length>0){let r=n(e,t.children);if(r)return r}return null};return t.reduce((e,t)=>null!=e?e:r(t),null)},r=new Map;e.forEach(e=>{let i=e.split(".");i.forEach((e,a)=>{let l=i.slice(0,a+1).join(".");if(!r.has(l)){let e=n(l,t);r.set(l,{title:(null==e?void 0:e.title)||(0,m.kC)(l.split(".").pop()||l),key:l,checkable:!0,selectable:!1})}})});let i=Array.from(r.values()),a=new Map;i.forEach(e=>{let t=e.key.toString().split(".");if(t.length>1){let n=t.slice(0,-1).join(".");a.has(n)||a.set(n,[]),a.get(n).push(e)}});let l=e=>(a.get(e)||[]).map(e=>{let t=l(e.key.toString());return{...e,children:t.length>0?t:void 0,isLeaf:0===t.length}});return i.filter(e=>1===e.key.toString().split(".").length).map(e=>{let t=l(e.key.toString());return{...e,children:t.length>0?t:void 0,isLeaf:0===t.length}})},ei=e=>{let{resourceStatus:t,setResourceStatus:n,dataCategory:r,setDataCategory:i,resetToInitialState:a,monitorId:l,stagedResourceUrn:c}=e,[u,d]=(0,f.useState)(t),[p,m]=(0,f.useState)(r),[h,g]=(0,f.useState)([et.STATUS]);(0,f.useEffect)(()=>{d(t)},[t]),(0,f.useEffect)(()=>{m(r)},[r]);let v=c.join(",");(0,f.useEffect)(()=>{a()},[v]);let{data:y,refetch:_}=(0,A.S0)({monitor_config_id:l,staged_resource_urn:c},{refetchOnMountOrArgChange:!0}),[x,{data:S=[]}]=(0,$.ci)();(0,f.useEffect)(()=>{x(J.ac.DATA_CATEGORY)},[x]);let E=(0,f.useMemo)(()=>(0,B.Cd)(S),[S]),T=(0,f.useMemo)(()=>[...Z],[]),j=(0,f.useMemo)(()=>T.map(e=>({title:e.replace(/\.{3}$/,""),key:e,checkable:!0,selectable:!1,isLeaf:!0})),[T]),C=(0,f.useMemo)(()=>(null==y?void 0:y.data_category)&&0!==y.data_category.length?er(y.data_category,E):[],[null==y?void 0:y.data_category,E]),b=(0,f.useMemo)(()=>{let e=[];return j.length>0&&e.push({title:"Status",key:et.STATUS,checkable:!0,selectable:!1,isLeaf:!1,children:j}),C.length>0&&e.push({title:"Data category",key:et.DATA_CATEGORY,checkable:!0,selectable:!1,isLeaf:!1,children:C}),e},[j,C]),D=(0,f.useMemo)(()=>{let e=[];return u&&e.push(...u),p&&e.push(...p),Array.from(new Set(e))},[u,p]),k=(0,f.useMemo)(()=>{let e=0;return t&&(e+=new Set(t).size),r&&(e+=new Set(r).size),e},[t,r]);return(0,o.jsx)(s.wn$,{treeProps:{checkable:!0,checkedKeys:D,onCheck:e=>{let t=Array.isArray(e)?e:e.checked,n=[],r=[],i=Object.values(et),a=(e,t)=>t.some(t=>t!==e&&t.startsWith("".concat(e,"."))),l=t.map(e=>e.toString());t.forEach(e=>{let t=e.toString();!i.includes(t)&&((null==T?void 0:T.includes(t))?n.push(t):a(t,l)||r.push(t))}),d(n.length>0?n:[]),m(r.length>0?r:[])},treeData:b,expandedKeys:h,onExpand:e=>{g(e)}},onApply:()=>{n(u&&u.length>0?Array.from(new Set(u)):u),i(p&&p.length>0?Array.from(new Set(p)):p)},onReset:()=>{a(),d(Q(T)),m([])},onClear:()=>{d([]),m([])},onOpenChange:e=>{if(e){_();return}d(t),m(r)},activeFiltersCount:k})},ea=e=>{switch(e){case 1:return T.D$.DATABASE;case 2:return T.D$.SCHEMA;case 3:return T.D$.TABLE;default:return T.D$.FIELD}},el=e=>{if(!e||"string"!=typeof e)return[];let t=e.trim();if(!t)return[];let n=t.split(".");if(n.length<2)return[];let r=n.filter(e=>e&&e.trim().length>0);return r.length<2?[]:(r.shift(),r.length>0&&r.pop(),0===r.length)?[]:r.map((e,t)=>{let n=ee[ea(t+1)];return{title:e.trim(),IconComponent:n}})};var eo=n(79283),es=n(34929),ec=e=>{let{onSelectDataCategory:t,...n}=e,{getDataCategoryDisplayNameProps:r,getDataCategories:i}=(0,es.Z)(),a=i().filter(e=>e.active),[l,c]=(0,f.useState)(!1),u=a.map(e=>{let{name:t,primaryName:n}=r(e.fides_key);return{value:e.fides_key,label:(0,o.jsxs)("div",{children:[(0,o.jsx)("strong",{children:n||t}),n&&": ".concat(t)]}),name:t,primaryName:n,description:e.description||""}});return(0,o.jsx)(eo.l,{options:u,prefix:(0,o.jsx)(s.wpx,{"aria-label":"Add Data Category",type:"text",size:"small",icon:(0,o.jsx)(s.PJP.mm_,{})}),placeholder:"",suffixIcon:null,classNames:{root:"w-full max-w-full overflow-hidden p-0 cursor-pointer -ml-5"},variant:"borderless",autoFocus:!1,maxTagCount:"responsive",open:l,onOpenChange:e=>c(e),onSelect:e=>{t(e),c(!1)},...n})},eu=n(97947),ed=n.n(eu);let ep=e=>{let{label:t,closable:n,onClose:r,isFromClassifier:i}=e;return(0,o.jsx)(s.j8w,{color:"white",bordered:!0,onMouseDown:e=>{e.preventDefault(),e.stopPropagation()},closable:n,onClose:r,style:{marginInlineEnd:"calc((var(--ant-padding-xs) * 0.5))"},icon:i&&(0,o.jsx)(s.QMR,{}),children:(0,o.jsx)(s.lKn,{size:"sm",children:t})})},ef=e=>{let{title:t,IconComponent:n}=e;return{title:n?(0,o.jsxs)(s.jqI,{gap:3,align:"center",children:[(0,o.jsx)(n,{}),(0,o.jsx)("span",{children:t})]}):t}};var em=e=>{let{urn:t,classifications:n,name:r,diff_status:i,selected:l,onSelect:c,onSetDataCategories:u,onNavigate:d,preferred_data_categories:p,actions:f}=e;return(0,o.jsx)(s.krs.Item,{actions:[n&&n.length>0&&(0,o.jsx)(h,{percent:n.find(e=>e.confidence_score===a.HIGH)?100:25}),...null!=f?f:[]],children:(0,o.jsx)(s.krs.Item.Meta,{avatar:(0,o.jsx)(s.E_O,{checked:l,onChange:e=>c&&c(t,e.target.checked)}),title:(0,o.jsxs)(s.jqI,{gap:12,align:"center",className:ed()["monitor-field__title"],children:[(0,o.jsx)(s.wpx,{type:"text",size:"small",className:"-mx-2",onClick:()=>d&&d(t),children:r}),i&&i!==T.LL.ADDITION&&(0,o.jsx)(s.j8w,{bordered:!1,color:X[i].color,children:X[i].label}),(0,o.jsx)(s.esZ,{title:t,mouseEnterDelay:.5,children:(0,o.jsx)(s.zrq,{className:ed()["monitor-field__breadcrumb"],items:el(t).map(ef),role:"presentation",style:{overflow:"hidden"}})})]}),description:(0,o.jsx)(ec,{mode:"multiple",value:null!=p?p:[],tagRender:e=>{let r=!!(null==n?void 0:n.find(t=>t.label===e.value));return ep({...e,isFromClassifier:r,onClose:()=>{var n;u(t,null!==(n=null==p?void 0:p.filter(t=>t!==e.value))&&void 0!==n?n:[])}})},onSelectDataCategory:e=>{(null==p?void 0:p.includes(e))||u(t,[...null!=p?p:[],e])}})})},t)},eh=n(812);let eg=(e,t)=>e.find(e=>{let{children:n}=e;return n&&!!n.find(e=>e.key.toString()===t)}),ev=(e,t)=>e.reduce((e,n)=>{if(n.children){var r;return null!==(r=eg(n.children,t))&&void 0!==r?r:ev(n.children,t)}return e},null),ey=e=>{let{node:t,treeData:n,onLoadMore:r}=e;if(!t.title)return null;if(t.key.toString().startsWith(K)){let e=ev(n,t.key.toString());return(0,o.jsx)(s.wpx,{type:"link",block:!0,onClick:()=>{(null==e?void 0:e.key)&&r(e.key.toString())},className:"p-0",children:t.title})}if(t.key.toString().startsWith(V))return(0,o.jsx)(s.N_L,{paragraph:!1,title:{width:"80px"},active:!0,children:t.title});let i=t.status?en[t.status]:null;return(0,o.jsxs)(s.jqI,{gap:4,align:"center",className:"inline-flex",children:[i&&(0,o.jsx)(s.esZ,{title:i.tooltip,children:(0,o.jsx)(s.PJP.fRw,{className:"size-2",style:{color:i.color}})}),(0,o.jsx)(s.lKn,{ellipsis:{tooltip:t.title},children:t.title})]})},e_=(e,t,n)=>e.map(e=>e.key===t?{...e,status:n}:e.children?{...e,children:e_(e.children,t,n)}:e),ex=(e,t)=>e.map(e=>{if(e.key===t){let{children:t,...n}=e;return n}return e.children?{...e,children:ex(e.children,t)}:e}),eS=e=>{let t=[];return e.children&&e.children.length>0&&e.children.forEach(e=>{"string"==typeof e.key&&(t.push(e.key),t.push(...eS(e)))}),t},eE=(e,t)=>{for(let n of e){if(n.key===t)return n;if(n.children){let e=eE(n.children,t);if(e)return e}}},eA=(e,t)=>{var n;let r=e.items.map(e=>{let t=e.resource_type?ee[e.resource_type]:void 0;return{title:e.name,key:e.urn,selectable:!0,icon:t?()=>(0,o.jsx)(t,{className:"h-full"}):void 0,status:e.update_status,isLeaf:!e.has_grandchildren}});return(null!==(n=null==r?void 0:r.length)&&void 0!==n?n:0)<100?r:[...r,{title:"Load more...",key:"".concat(K,"-").concat(e.page,"-").concat(t),selectable:!1,isLeaf:!0}]},eT=(e,t,n)=>e.map(e=>{if(e.key===t){var r,i;return{...e,children:[...null!==(i=null===(r=e.children)||void 0===r?void 0:r.filter(e=>!(e.key.toString().startsWith(K)||e.key.toString().startsWith(V))))&&void 0!==i?i:[],...n]}}return e.children?{...e,children:eT(e.children,t,n)}:e}),ej=(e,t,n)=>e.map(e=>e.key===t?{...e,children:n}:e.children?{...e,children:ej(e.children,t,n)}:e),eC=(e,t,n)=>e.map(e=>{if(e.key===t){var r;let t=(null!==(r=e.children)&&void 0!==r?r:[]).filter(e=>!(e.key.toString().startsWith(K)||e.key.toString().startsWith(V))),i=new Map(n.map(e=>[e.key,e])),a=new Map(t.map(e=>[e.key,e])),l=t.map(e=>{let t=i.get(e.key);return null!=t?t:e});return n.forEach(e=>{a.has(e.key)||l.push(e)}),{...e,children:l}}return e.children?{...e,children:eC(e.children,t,n)}:e}),eb=(0,f.forwardRef)((e,t)=>{let{selectedNodeKeys:n,setSelectedNodeKeys:r,onClickClassifyButton:i}=e,a=(0,p.useRouter)(),{errorAlert:l}=(0,_.VY)(),c=decodeURIComponent(a.query.monitorId),[u]=(0,A.RV)(),[d]=(0,A.M8)(),[m,h]=(0,f.useState)({}),[g,v]=(0,f.useState)([]),[y,x]=(0,f.useState)([]),S=(0,f.useRef)({}),E=(0,f.useRef)({}),T=(0,f.useCallback)(async e=>{var t;let{nodeKey:n,queryParams:r,fastUpdateFn:i,detailedUpdateFn:a}=e,l=(null!==(t=S.current[n])&&void 0!==t?t:0)+1;S.current[n]=l;let o=u({...r,include_descendant_details:!1}),s=u({...r,include_descendant_details:!0});o.then(e=>{let{data:t}=e;t&&S.current[n]===l&&E.current[n]!==l&&i(t)}),s.then(e=>{let{data:t}=e;t&&S.current[n]===l&&(E.current[n]=l,(null!=a?a:i)(t))})},[u]),j=(0,f.useCallback)(e=>new Promise(t=>{let{children:n,key:r}=e;if(n){t();return}let i=r.toString();T({nodeKey:i,queryParams:{monitor_config_id:c,staged_resource_urn:i,size:100},fastUpdateFn:e=>{v(t=>ej(t,r,eA(e,i))),h(e=>({...e,[i]:{pageSize:100,pageIndex:1}}))}}),t()}),[T,c]),C=(0,f.useCallback)(e=>{let t=m[e];t&&(v(t=>eT(t,e,[...Array(100)].map((t,n)=>({key:"".concat(V,"-").concat(e,"-").concat(n),title:"SKELETON",isLeaf:!0})))),T({nodeKey:e,queryParams:{monitor_config_id:c,staged_resource_urn:e,size:100,page:t.pageIndex+1},fastUpdateFn:t=>{v(n=>eT(n,e,eA(t,e)))},detailedUpdateFn:t=>{v(n=>eC(n,e,eA(t,e))),h(t=>{var n,r;return{...t,[e]:{pageSize:100,pageIndex:(null!==(r=null===(n=t[e])||void 0===n?void 0:n.pageIndex)&&void 0!==r?r:0)+1}}})}}))},[m,T,c]),b=(0,f.useCallback)(e=>{v(t=>{let n=eE(t,e),r=[e];return n&&r.push(...eS(n)),x(e=>e.filter(e=>!r.includes(e.toString()))),h(e=>{let t={...e};return r.forEach(e=>{delete t[e]}),t}),r.forEach(e=>{delete S.current[e],delete E.current[e]}),ex(t,e)})},[]),D=(0,f.useCallback)(async e=>{let t=async e=>{try{let t=await d({monitor_config_id:c,...e&&{staged_resource_urn:e}});if(t.error){l((0,eh.e$)(t.error),"Failed to get schema explorer ancestors statuses");return}let n=t.data;if(!n)return;e?b(e):n.forEach(e=>{b(e.urn)}),v(e=>n.reduce((e,t)=>e_(e,t.urn,t.update_status),e))}catch(e){l("An unexpected error occurred while refreshing the schema explorer")}};if(0===e.length){await t();return}await Promise.all(e.map(e=>t(e)))},[d,c,b,l]),k=(0,f.useCallback)((e,t)=>{x(e),t.expanded&&!t.node.children&&j&&j(t.node)},[j]);return(0,f.useImperativeHandle)(t,()=>({refreshResourcesAndAncestors:D})),(0,f.useEffect)(()=>{(async()=>{g.length>0||T({nodeKey:"root",queryParams:{monitor_config_id:c,size:100},fastUpdateFn:e=>{v(eA(e))}})})()},[T,c,v,g.length]),(0,o.jsxs)(s.jqI,{gap:"middle",vertical:!0,className:"h-full",children:[(0,o.jsx)(s.lQT,{level:3,className:"sticky top-0",children:"Schema explorer"}),(0,o.jsx)(s.a$q,{loadData:j,treeData:g,expandedKeys:y,onExpand:k,onSelect:(e,t)=>r(t.selectedNodes.map(e=>{let{key:t}=e;return t})),showIcon:!0,showLine:!0,blockNode:!0,rootClassName:"h-full overflow-x-hidden",titleRender:e=>(0,o.jsx)(ey,{node:e,treeData:g,onLoadMore:C})}),n.length>0&&(0,o.jsxs)(s.jqI,{justify:"space-between",align:"center",children:[(0,o.jsxs)("span",{children:[n.length," selected"]}),(0,o.jsx)(s.wpx,{"aria-label":"Classify ".concat(n.length," Selected Nodes"),icon:(0,o.jsx)(s.QMR,{size:12}),size:"small",onClick:i})]})]})});eb.displayName="MonitorTree";var eD=n(31883);let ek=(e,t)=>({title:e,okText:e,content:t,...F}),eR=(e,t)=>"".concat(P[e]).concat((0,m._6)(null!=t?t:0,"","".concat(e===l.ASSIGN_CATEGORIES?" for":""," ").concat(null==t?void 0:t.toLocaleString()," resources"))),eI=e=>"".concat(P[e]," failed").concat(e===l.CLASSIFY||e===l.PROMOTE?": View summary in the activity tab":""),eP=(e,t,n,r)=>{let[i]=Y(),a=a=>async(o,s,c)=>{let u=Date.now();if(!await t.confirm(ek(R[a],q[a](c))))return;n.open({key:u,type:"loading",content:"".concat(I[a]," ").concat(c," ").concat((0,m._6)(c,"resource","resources"),"..."),duration:0});let d=await i({query:{...o.query},path:{monitor_config_id:e,action_type:a},body:{excluded_resource_urns:s}});if((0,eD.D4)(d)){n.open({key:u,type:"error",content:eI(a),duration:5});return}if(n.open({key:u,type:"success",content:eR(a,c),duration:5}),r&&a!==l.APPROVE){let e=o.query.staged_resource_urn||[];await r(e)}};return{"assign-categories":a(l.ASSIGN_CATEGORIES),"promote-removals":a(l.PROMOTE_REMOVALS),"un-approve":a(l.UN_APPROVE),"un-mute":a(l.UN_MUTE),approve:a(l.APPROVE),classify:a(l.CLASSIFY),mute:a(l.MUTE),promote:a(l.PROMOTE)}},ew=e=>e.map(e=>{let{itemKey:t}=e;return t}),eO=()=>{let[e,t]=(0,f.useState)("inclusive"),[n,r]=(0,f.useState)([]),[i,a]=(0,f.useState)([]),l=e=>{a(C().uniqBy(e,"itemKey"))},o=n.filter(e=>{let{itemKey:t}=e;return!i.find(e=>e.itemKey===t)}),s="inclusive"===e?i:o,c="exclusive"===e?i:o;return{excludedListItems:c,indeterminate:"inclusive"===e?s.length>0&&n.length!==s.length:c.length>0,isBulkSelect:"inclusive"===e?s.length>0&&n.length===s.length:0===c.length,listSelectMode:e,resetListSelect:()=>{a([]),t("inclusive")},selectedListItems:s,updateListItems:r,updateListSelectMode:e=>{t(e),a([])},updateSelectedListItem:(t,r)=>{let a=n.find(e=>t===e.itemKey);a&&((("inclusive"===e?r:!r)?"add":"remove")=="add"?l([...i,a]):l(i.filter(e=>e.itemKey!==t)))}}};var eM=n(70675);let eU=e=>{let[t,...n]=e.map(e=>L[e]);return n.reduce((e,t)=>C().intersection(e,[...t]),null!=t?t:[])},eL=(e,t,n,r)=>{let[i]=(0,eM.LI)(),[a]=(0,A.Av)(),[o]=(0,eM.zV)(),[s]=(0,eM.Hf)(),[c]=(0,eM._J)(),[u]=(0,eM.NA)(),d=(e,i)=>async(a,l)=>{let o=Date.now();if(!(1===a.length||await t.confirm(ek(R[e],q[e](a.length)))))return;n.open({key:o,type:"loading",content:"".concat(I[e]," ").concat(a.length," ").concat((0,m._6)(a.length,"resource","resources"),"..."),duration:0});let s=await i(a,l);if((0,eD.D4)(s)){n.open({key:o,type:"error",content:eI(e),duration:5});return}n.open({key:o,type:"success",content:eR(e,a.length),duration:5}),r&&await r(a)},p=async e=>o({staged_resource_urns:e}),f=async e=>c({staged_resource_urns:e}),h=async e=>s({staged_resource_urns:e}),g=async t=>a({monitor_config_key:e,staged_resource_urns:t}),v=async(t,n)=>{var r;let[i]=t;return u({monitor_config_id:e,staged_resource_urn:i,user_assigned_data_categories:null!==(r=null==n?void 0:n.user_assigned_data_categories)&&void 0!==r?r:void 0})},y=async t=>i({monitor_config_key:e,staged_resource_urns:t});return{"assign-categories":d(l.ASSIGN_CATEGORIES,v),"promote-removals":()=>{},"un-approve":()=>{},"un-mute":d(l.UN_MUTE,f),approve:d(l.APPROVE,y),classify:d(l.CLASSIFY,g),mute:d(l.MUTE,p),promote:d(l.PROMOTE,h)}};var eN=n(40431);let eq=()=>{let[e,t]=(0,eN.v1)("resourceStatus",(0,eN.S$)((0,eN.km)(Z))),[n,r]=(0,eN.v1)("confidenceScore",(0,eN.S$)((0,eN.jx)(Object.values(a)))),[i,l]=(0,eN.v1)("dataCategory",(0,eN.S$)(eN.Oi));return(0,f.useEffect)(()=>{if(null===e){let e=Q([...Z]);t(e.length>0?e:[])}},[]),{resourceStatus:e,setResourceStatus:t,confidenceScore:n,setConfidenceScore:r,dataCategory:i,setDataCategory:l,reset:()=>{t([]),r([]),l([])},resetToInitialState:()=>{t(Q([...Z])),r(null),l(null)}}},eF=e=>Object.values(T.LL).flatMap(t=>X[t].label===e?[t]:[]);var eY=()=>{var e,t,n,r,i,a,c,u,m;let T=decodeURIComponent((0,p.useRouter)().query.monitorId),j=(0,f.useRef)(null),[C,b]=s.Pg3.useMessage(),[D,I]=s.$zI.useModal(),{paginationProps:P,pageIndex:q,pageSize:F,resetPagination:Y}=(0,E.S)({defaultPageSize:25}),J=(0,_.Rx)(),{resourceStatus:B,confidenceScore:$,dataCategory:K,...V}=eq(),{data:Z}=(0,A.vc)({monitor_config_id:T}),[W,Q]=(0,f.useState)([]),ee={path:{monitor_config_id:T},query:{staged_resource_urn:W.map(e=>e.toString()),search:J.searchProps.value,diff_status:B?B.flatMap(eF):void 0,confidence_score:$||void 0,data_category:K||void 0}},{data:et,isFetching:en,refetch:er}=G({...ee,query:{...ee.query,size:F,page:q}}),[ea,el]=(0,f.useState)(),[eo,es]=(0,A.mC)(),[ec,{data:eu,isFetching:ed}]=z(),ep=es.data,ef=eP(T,D,C,async e=>{var t;await (null===(t=j.current)||void 0===t?void 0:t.refreshResourcesAndAncestors(e))}),eh=eL(T,D,C,async e=>{var t;await (null===(t=j.current)||void 0===t?void 0:t.refreshResourcesAndAncestors(e))}),{excludedListItems:eg,indeterminate:ev,isBulkSelect:ey,listSelectMode:e_,resetListSelect:ex,selectedListItems:eS,updateListItems:eE,updateListSelectMode:eA,updateSelectedListItem:eT}=eO(),ej=async e=>{el(e)},eC=ey?null==eu?void 0:eu.allowed_actions:eU(eS.flatMap(e=>e.diff_status?[H[e.diff_status]]:[])),eD=null!==(i=null==et?void 0:et.total)&&void 0!==i?i:0,ek="exclusive"===e_&&(null==et?void 0:et.total)?eD-eg.length:eS.length;return(0,f.useEffect)(()=>{et&&eE(et.items.map(e=>{let{urn:t,...n}=e;return{itemKey:t,urn:t,...n}}))},[null==et?void 0:et.items]),(0,f.useEffect)(()=>{ea&&eo({stagedResourceUrn:ea})},[ea]),(0,f.useEffect)(()=>{Y(),ex()},[B,$,W,J.searchQuery,K]),(0,o.jsxs)(y.Z,{title:"Action center - Discovered assets by system",mainProps:{overflow:"hidden"},fullHeight:!0,children:[(0,o.jsx)(S.Z,{heading:"Action center",breadcrumbItems:[{title:"All activity",href:x.vi},{title:T}],isSticky:!1}),(0,o.jsxs)(s.LgQ,{className:"h-[calc(100%-48px)] overflow-hidden",children:[(0,o.jsx)(s.LgQ.Panel,{defaultSize:250,style:{paddingRight:"var(--ant-padding-md)"},children:(0,o.jsx)(eb,{ref:j,selectedNodeKeys:W,setSelectedNodeKeys:Q,onClickClassifyButton:()=>{eh.classify(W.map(e=>e.toString()))}})}),(0,o.jsx)(s.LgQ.Panel,{style:{paddingLeft:"var(--ant-padding-md)"},children:(0,o.jsxs)(s.jqI,{vertical:!0,gap:"middle",className:"h-full overflow-hidden",children:[(0,o.jsxs)(s.jqI,{justify:"space-between",children:[(0,o.jsx)(s.lQT,{level:2,children:"Monitor results"}),(0,o.jsx)(s.jqI,{align:"center",children:(null==Z?void 0:Z.last_monitored)&&(0,o.jsxs)(s.lKn,{type:"secondary",children:["Last scan:"," ",new Date(null==Z?void 0:Z.last_monitored).toLocaleString()]})})]}),(0,o.jsxs)(s.jqI,{justify:"space-between",children:[(0,o.jsx)(g.f,{value:J.searchQuery,onChange:J.updateSearch,placeholder:"Search"}),(0,o.jsxs)(s.jqI,{gap:"small",children:[(0,o.jsx)(ei,{resourceStatus:B,confidenceScore:$,dataCategory:K,...V,monitorId:T,stagedResourceUrn:W.map(e=>e.toString())}),(0,o.jsx)(s.S0p,{onOpenChange:e=>{e&&ey&&ec({...ee,query:{...ee.query},body:{excluded_resource_urns:ew(eg).map(e=>e.toString())}})},menu:{items:[...O.map(e=>({key:e,label:!ed&&(null==eC?void 0:eC.includes(e))?R[e]:(0,o.jsx)(s.esZ,{title:U[e],children:R[e]}),disabled:ed||!(null==eC?void 0:eC.includes(e)),onClick:()=>{ey?ef[e](ee,eg.map(e=>e.itemKey.toString()),ek):eh[e](eS.map(e=>{let{itemKey:t}=e;return t.toString()}))}}))]},disabled:eS.length<=0,children:(0,o.jsx)(s.wpx,{type:"primary",icon:(0,o.jsx)(s.PJP._ME,{}),iconPosition:"end",loading:ed,children:"Actions"})}),(0,o.jsx)(s.esZ,{title:"Refresh",children:(0,o.jsx)(s.wpx,{icon:(0,o.jsx)(s.PJP.CQM,{}),onClick:()=>er(),"aria-label":"Refresh"})})]})]}),(0,o.jsxs)(s.jqI,{gap:"middle",align:"center",children:[(0,o.jsx)(s.E_O,{id:"select-all",checked:ey,indeterminate:ev,onChange:e=>eA(e.target.checked?"exclusive":"inclusive")}),(0,o.jsx)("label",{htmlFor:"select-all",children:"Select all"}),!!ek&&(0,o.jsxs)(s.lKn,{strong:!0,children:[ek.toLocaleString()," selected"]})]}),(0,o.jsx)(s.krs,{dataSource:null==et?void 0:et.items,className:"h-full overflow-scroll",loading:en,renderItem:e=>em({...e,selected:ew(eS).includes(e.urn),onSelect:eT,onNavigate:ej,onSetDataCategories:(e,t)=>eh["assign-categories"]([e],{user_assigned_data_categories:t}),actions:(null==e?void 0:e.diff_status)?M.map(t=>(0,o.jsx)(s.esZ,{title:R[t],children:(0,o.jsx)(s.wpx,{"aria-label":R[t],icon:N[t],onClick:()=>eh[t]([e.urn]),disabled:null==e||!e.diff_status||![...L[H[e.diff_status]]].includes(t),style:{fontSize:"var(--ant-button-content-font-size-lg)"}})},t)):[]})}),(0,o.jsx)(s.B7X,{...P,showSizeChanger:{suffixIcon:(0,o.jsx)(s.PJP._ME,{})},total:(null==et?void 0:et.total)||0,hideOnSinglePage:(null===(e=P.pageSize)||void 0===e?void 0:e.toString())===(null===(t=P.pageSizeOptions)||void 0===t?void 0:t[0])})]})})]}),(0,o.jsx)(k,{itemKey:null!==(a=null==ep?void 0:ep.urn)&&void 0!==a?a:"",title:null!==(c=null==ep?void 0:ep.name)&&void 0!==c?c:null,titleIcon:(0,o.jsx)(s.PJP.sgG,{}),titleTag:{bordered:!1,color:(null==ep?void 0:ep.diff_status)?X[ep.diff_status].color:void 0,className:"font-normal text-[var(--ant-font-size-sm)]",children:(null==ep?void 0:ep.diff_status)?X[ep.diff_status].label:null},actions:w.map(e=>({label:R[e],callback:t=>eh[e]([t]),disabled:null!=ep&&!!ep.diff_status&&![...L[H[ep.diff_status]]].includes(e)})),open:!!ea,onClose:()=>el(void 0),children:ep?(0,o.jsxs)(s.jqI,{gap:"middle",vertical:!0,children:[(0,o.jsx)(s.Yfl,{bordered:!0,size:"small",column:1,items:[{key:"system",label:"System",children:ep.system_key},{key:"path",label:"Path",children:ep.urn},{key:"data-type",label:"Data type",children:ep.resource_type},{key:"description",label:"Description",children:ep.description}]}),(0,o.jsx)(s.PPS,{layout:"vertical",children:(0,o.jsx)(s.PPS.Item,{label:"Data categories",children:(0,o.jsx)(v.Z,{variant:"outlined",mode:"multiple",maxTagCount:"responsive",value:[...null!==(u=null===(n=ep.classifications)||void 0===n?void 0:n.map(e=>{let{label:t}=e;return t}))&&void 0!==u?u:[],...null!==(m=null===(r=ep.user_assigned_data_categories)||void 0===r?void 0:r.map(e=>e))&&void 0!==m?m:[]],autoFocus:!1,disabled:null==ep||!ep.diff_status||![...L[H[ep.diff_status]]].includes(l.ASSIGN_CATEGORIES),onChange:e=>eh["assign-categories"]([ep.urn],{user_assigned_data_categories:e})})})}),ep.classifications&&ep.classifications.length>0&&(0,o.jsx)(s.krs,{dataSource:ep.classifications,renderItem:e=>(0,o.jsx)(s.krs.Item,{children:(0,o.jsx)(s.krs.Item.Meta,{avatar:(0,o.jsx)(s.t3Z,{style:{backgroundColor:null===d()||void 0===d()?void 0:d().FIDESUI_BG_DEFAULT},icon:(0,o.jsx)(s.QMR,{color:"black"})}),title:(0,o.jsxs)(s.jqI,{align:"center",gap:"middle",children:[(0,o.jsx)("div",{children:e.label}),(0,o.jsx)(h,{percent:100*e.score})]}),description:e.rationale})})})]}):null}),I,b]})};let eG=()=>(0,o.jsx)(o.Fragment,{children:"Attempting to access monitor results without the required feature flag enabled"});var ez=()=>{let{flags:e}=(0,c.hz)();return e.heliosV2?(0,o.jsx)(eY,{}):(0,o.jsx)(s.ux6,{status:"error",title:(0,o.jsx)(eG,{})})}},31883:function(e,t,n){"use strict";n.d(t,{Bw:function(){return r.Bw},D4:function(){return r.D4}});var r=n(19043)},72707:function(e){e.exports={option:"TaxonomySelect_option__vY6v2"}},97947:function(e){e.exports={"monitor-field__title":"MonitorFieldListItem_monitor-field__title__YrxOU","monitor-field__breadcrumb":"MonitorFieldListItem_monitor-field__breadcrumb__Rn4vE"}}},function(e){e.O(0,[431,8765,9278,5163,7245,7059,2888,9774,179],function(){return e(e.s=83806)}),_N_E=e.O()}]);
|