Register a Data Source and Launch a Scan
A 4-step recipe with Microsoft Purview. We can help you get access.
Recipe · 4 steps
Register a Data Source and Launch a Scan
with Microsoft Purview
Register a data source, configure a scan, and run it.
- Register or replace the data source in the Purview account.
- Read the data source back to confirm it was registered.
- Create or replace the scan configuration on the data source.
- Launch a scan run for the configured scan using the supplied run GUID.
What you'll need to have ready
- authorization: The OAuth2 bearer token value, e.g. "Bearer eyJ0...".
- apiVersion: The Scanning API version.
- dataSourceName: The name to register the data source under.
- dataSourceKind: The data source kind, e.g. "AzureSqlDatabase" or "AdlsGen2".
- scanName: The name of the scan to create on the data source.
- scanKind: The scan kind, e.g. "AzureSqlDatabaseMsi".
- scanRulesetName: The scan ruleset name the scan should use.
- runId: A caller-supplied GUID identifying this scan run.
For your developer
Arazzo workflow microsoft-purview:register-source-and-scan, 4 operations: createOrReplaceDataSource → getDataSource → createOrReplaceScan → runScan. Specs on APIs.io.