{"id":15430559,"url":"https://github.com/lenisha/catalog-scanner","last_synced_at":"2025-11-09T07:30:33.526Z","repository":{"id":40878915,"uuid":"256604013","full_name":"lenisha/catalog-scanner","owner":"lenisha","description":"Babylon scanning setup and results retrieval samples","archived":false,"fork":false,"pushed_at":"2022-12-08T10:18:56.000Z","size":2097,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-10-18T06:16:18.851Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lenisha.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-04-17T20:33:00.000Z","updated_at":"2023-06-23T18:26:53.000Z","dependencies_parsed_at":"2023-01-25T07:00:57.231Z","dependency_job_id":null,"html_url":"https://github.com/lenisha/catalog-scanner","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenisha%2Fcatalog-scanner","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenisha%2Fcatalog-scanner/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenisha%2Fcatalog-scanner/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lenisha%2Fcatalog-scanner/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lenisha","download_url":"https://codeload.github.com/lenisha/catalog-scanner/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239571542,"owners_count":19661164,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-01T18:16:57.741Z","updated_at":"2025-11-09T07:30:33.469Z","avatar_url":"https://github.com/lenisha.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Detect Database Classifications using Atlas API and Setup Scans with Babylon API\n\nThis repo contains two samples\n- [catalog-scan-trigger](./catalog-scan-trigger) sample .net core app that calls Babylon API to setup DataSource and schedule the scan or run it immediately\n- [catalog-results-scanner](./catalog-results-scanner) sample .net core app that calls Atlas API to find classified columns in the tables on Azure SQL server databases ( results of the scheduled or runed scans)\n- [rest-apis](./rest-apis) - open API (swagger) specifications for Babylon and Atlas APIs and generated calsses in C# and Java\n\nFor sample API calls JSON see Postman collection in this directory \n\n## Catalog Setup\n- provision Babylon account - ARM template in this directory - and take note of API Urls\n![docs](./catalog-scan-trigger/docs/portalurl.png)\n\nSolution works without the need for service principals ( only locally for debugging) and leverages MSI for all connections\n\n- create User Managed Idenity and bind it to K8S Pod using AAD Pod Identity, it will be used to get Token to invoke Atlas and Babylon API. Add it to Babylon Catalog Adminstrators\n![docs](./catalog-scan-trigger/docs/sp.png)\n\n- Babylon Catalog is provisioned with system assigned Identity, add it to Azure SQL Server admin group to give it access to scan databases. To find the system identity Id navigate to Babylon account properties\n![docs](./catalog-scan-trigger/docs/CatalogMI.png)\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenisha%2Fcatalog-scanner","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flenisha%2Fcatalog-scanner","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flenisha%2Fcatalog-scanner/lists"}