capabilities.work

Schedule a Recurring Scan

A 4-step recipe with Microsoft Purview. We can help you get access.

Recipe · 4 steps

Schedule a Recurring Scan

Configure a scan and put it on a recurring schedule.

  1. Create or replace the scan configuration on the data source.
  2. Attach a recurring trigger to the scan.
  3. Enable the trigger so scheduled scans begin running.
  4. Read the trigger back to confirm the recurring schedule is in place.
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 of the existing data source.
  • scanName: The name of the scan to create or replace.
  • scanKind: The scan kind, e.g. "AzureSqlDatabaseMsi".
  • scanRulesetName: The scan ruleset name the scan should use.
  • frequency: The recurrence frequency (Week, Month, or Day).
  • interval: The recurrence interval.
  • startTime: The ISO 8601 start time for the recurrence.
For your developer

Arazzo workflow microsoft-purview:schedule-recurring-scan, 4 operations: createOrReplaceScan → createOrReplaceTrigger → enableTrigger → getTrigger. Specs on APIs.io.