capabilities.work

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

Register a data source, configure a scan, and run it.

  1. Register or replace the data source in the Purview account.
  2. Read the data source back to confirm it was registered.
  3. Create or replace the scan configuration on the data source.
  4. 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.