capabilities.work

Rescan and Report a Full Scan

A 3-step recipe with Socket. We can help you get access.

Recipe · 3 steps

Rescan and Report a Full Scan

with Socket

Rescan an existing full scan, wait for completion, and export its alert CSV.

  1. Rescan the existing full scan, producing a new full scan that reflects the latest policies.
  2. Read the new scan's metadata and branch on scan_state, looping while it is still resolving or scanning and continuing once processing completes.
  3. Export a CSV of all alerts detected in the refreshed full scan, including license details.
What you'll need to have ready
  • orgSlug: The slug of the organization.
  • fullScanId: The ID of the existing full scan to rescan.
  • mode: The rescan mode, shallow (re-apply policies) or deep (re-resolve dependencies).
For your developer

Arazzo workflow socket-dev:rescan-and-report, 3 operations: rescanOrgFullScan → getOrgFullScanMetadata → getOrgFullScanCsv. Specs on APIs.io.