WASViking Docs
⌘K
API Reference

Scopes catalog

Every scope a WASViking API key can carry and what it allows.

A scope is a permission carried by an API key. An endpoint answers only a key that holds its scope; any other key receives 403. Give each integration its own key with only the scopes it needs.

Scopes you tick when creating a key

Scope What it allows
infrastructure:read Read the Infrastructure Defense hosts and their vulnerabilities. Read only.
findings:read Read the findings of your organization, with their evidence. Read only.
audit_logs:read Read the audit log of your organization. Read only.
targets:read List the targets registered in your organization.
scan:start Start a scan of a target that is already registered.
scan:read Read the status of a scan.
ci:scan Run scans from a CI/CD pipeline.
sca:submit Submit SBOM documents from the Sentinel command line.
secrets:submit Submit secret detections from the Sentinel command line.
mobile:scan Submit mobile applications for assessment from a pipeline.
ai_guardian:install Install the AI Guardian endpoint agent.
ai_guardian:data_admin Export and administer AI Guardian evidence. Never part of the default set.

Scopes of the default set only

A key created without any scope ticked also carries these, used by the integrations named next to them:

Scope What it allows
ticketing:read Read the links between findings and tickets.
ticketing:write Send a finding to the ticket tool connected to the portal.
sca:intel:read Read the supply chain advisories that match your inventory.
sca:ioc Submit supply chain indicators by hand.

Choosing scopes

Use Scopes
A SIEM or a CMDB that reads infrastructure data infrastructure:read
A SIEM that also reads findings and the audit log infrastructure:read, findings:read, audit_logs:read
A pipeline that scans and submits an SBOM ci:scan, sca:submit
A script that starts scans and follows them targets:read, scan:start, scan:read

The scopes of a key can be changed later on the API Keys tab.