Skip to content

CLI import

DRACO can import the results of the open-source Prowler CLI: scans of accounts DRACO cannot reach, or scans that run in a CI pipeline. Imported results become scans with the trigger imported and go through the same pipeline as live scans: deltas, compliance, summaries and notifications.

Importing needs Read-Write in the Scans area.

Upload a report

  1. Run the CLI with the OCSF output, for example prowler aws --output-formats json-ocsf. It writes *.ocsf.json.
  2. On the Scans page, click Import findings and upload the file (100 MB at most).

Push from the CLI

The CLI can send its results straight to DRACO with an API key:

export DRACO_CLOUD_API_BASE_URL=https://draco.example.com   # your DRACO address
export DRACO_CLOUD_API_KEY=<API key from Profile > API keys>
prowler aws --push-to-cloud

(The older names PROWLER_CLOUD_API_BASE_URL and PROWLER_CLOUD_API_KEY still work.)

What happens to the data

  • Each account in the report becomes a provider, or reuses the provider with the same ID. Providers known only from imports have no credentials: DRACO cannot scan them itself until you add credentials.
  • Finding IDs of the CLI start with prowler-; DRACO stores them with its own draco- prefix, so an imported finding is the same finding as in DRACO's live scans and earlier imports (first seen, new or changed, mute rules and triage carry over).
  • Checks unknown to this DRACO version are skipped and counted as invalid.
  • Imported scans appear on the Scans page and in every report like other scans.