Skip to main content
POST
Add a scan to an application's pipeline

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

authorization
string | null
x-ankra-organisation-id
string | null

Path Parameters

application_id
string
required

Body

application/json
scanners
enum<string>[]

Scanners to add. Empty or absent adds trivy, which runs the image and the dependency scan.

Available options:
trivy,
semgrep,
checkov
component
string

Monorepo component whose build the scan follows. Empty targets every build stage.

Response

Successful Response

outcome
enum<string>
required
Available options:
started,
already_open,
already_scans
message
string
required
pull_request_url
string
added_stages
string[]
extended_stages
string[]