How ballipongala/microsoft-purview-unified-catalog works
This repository is a suite of Microsoft Purview governance tools, with the React/Flask Utility as its primary interactive application. Its user workflow is to browse catalog assets, select them, and curate metadata or discover lineage; separate scripts handle extraction, compliance, cleanup, and contact auditing. Utility backend dispatches and several subsystem implementations are supported by excerpts or the SOURCE INDEX; links from frontend actions to API operations are left unverified where wiring was not shown.
Main entry points: api_server.py Flask API · App.tsx Utility app routes · datamap_extract_azure_sql.py SQL metadata export · datamap_extract_fabric_notebook.py Fabric metadata export
Components 34
Catalog interface
- Utility app routes
Microsoft_Purview_Utility/src/App.tsx - Dashboard
Microsoft_Purview_Utility/src/pages/Dashboard.tsx - Asset browsing
Microsoft_Purview_Utility/src/pages/BrowseAssets.tsx - Type browsing
Microsoft_Purview_Utility/src/pages/BrowseByAssetType.tsx - Data products
Microsoft_Purview_Utility/src/pages/DataProducts.tsx - Curation portal view
Microsoft_Purview_Utility/src/pages/CurationPortal.tsx - Bulk curation
Microsoft_Purview_Utility/src/pages/Curate.tsx - Selected assets
Microsoft_Purview_Utility/src/contexts/SelectedAssetsContext.tsx - Selection panel
Microsoft_Purview_Utility/src/components/catalog/SelectedAssetsPanel.tsx
Curation services
- Flask API
Microsoft_Purview_Utility/backend/api_server.py - Catalog retrieval
Microsoft_Purview_Utility/backend/get_data.py - Product retrieval
Microsoft_Purview_Utility/backend/get_data_product.py - Tag operations
Microsoft_Purview_Utility/backend/add_tag.py - Classification operations
Microsoft_Purview_Utility/backend/add_classificiation.py - Classification removal
Microsoft_Purview_Utility/backend/delete_classification.py - Tag removal
Microsoft_Purview_Utility/backend/delete_tag.py - Owner operations
Microsoft_Purview_Utility/backend/add_owner.py - User lookup
Microsoft_Purview_Utility/backend/get_entra_id_users.py - Auto suggestions
Microsoft_Purview_Utility/backend/auto_classify.py - Lineage discovery
Microsoft_Purview_Utility/backend/create_lineage.py - Glossary synchronization
Microsoft_Purview_Utility/backend/sync_glossary.py - Orphan detection
Microsoft_Purview_Utility/backend/orphaned_asset.py
Metadata extraction
- SQL metadata export
Microsoft_Purview_Datamap_extractor_Public/datamap_extract_azure_sql.py - Fabric metadata export
Microsoft_Purview_Datamap_extractor_Public/datamap_extract_fabric_notebook.py - Asset schema retrieval
Microsoft_Purview_Get_Asset_Schema/Get_Data_Asset_Schema.py - Product export script
Microsoft_Purview_Get_Data_Product/get_data_product.py
Governance scripts
- PII labeling
Microsoft_Purview_Add_PII_Label/Add_PII_Label.py - Collection asset deletion
Microsoft_Purview_Delete_Assets_Collection/delete_assets.py - Inactive contact audit
Microsoft_Purview_Get_Inactive_Experts_Owners/get_inactive_owner_experts.py
Other components
- Governance team
- Purview catalog
- Entra ID / Graph
- Azure SQL
- Fabric Lakehouse
Connections 47
- Governance team → Utility app routes: uses
- Utility app routes → Dashboard: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Asset browsing: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Type browsing: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Data products: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Curation portal view: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Bulk curation: routes to
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Selection panel: renders
Microsoft_Purview_Utility/src/App.tsx - Utility app routes → Selected assets: provides state
Microsoft_Purview_Utility/src/App.tsx - Asset browsing → Selected assets: selects assets
- Bulk curation → Flask API: submits curation
- Flask API → Catalog retrieval: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Product retrieval: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Tag operations: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Classification operations: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Classification removal: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Tag removal: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Owner operations: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → User lookup: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Auto suggestions: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Lineage discovery: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Glossary synchronization: calls
Microsoft_Purview_Utility/backend/api_server.py - Flask API → Orphan detection: dispatches
- Catalog retrieval → Purview catalog: reads catalog
- Tag operations → Purview catalog: updates tags
- Classification operations → Purview catalog: updates labels
- Owner operations → Purview catalog: updates contacts
- User lookup → Entra ID / Graph: looks up users
- Auto suggestions → Purview catalog: suggests labels
- Lineage discovery → Purview catalog: creates lineage
- Glossary synchronization → Purview catalog: syncs glossary
- SQL metadata export → Purview catalog: extracts metadata
- SQL metadata export → Azure SQL: exports metadata
- Fabric metadata export → Purview catalog: extracts metadata
- Fabric metadata export → Fabric Lakehouse: exports metadata
- Asset schema retrieval → Purview catalog: retrieves schema
- Product export script → Purview catalog: retrieves products
- PII labeling → Purview catalog: labels assets
- Collection asset deletion → Purview catalog: deletes assets
- Inactive contact audit → Purview catalog: audits contacts
- Inactive contact audit → Entra ID / Graph: checks contacts
- Governance team → Asset schema retrieval: requests schema
- Governance team → SQL metadata export: exports metadata
- Governance team → Fabric metadata export: exports metadata
- Governance team → PII labeling: automates labeling
- Governance team → Collection asset deletion: manages cleanup
- Governance team → Inactive contact audit: audits ownership