PUT
Set the scanner selection for one target kind

Authorizations

Authorization
string
header
required

Authorization: Bearer twk_<prefix>_<secret>.

The prefix is public and safe to log: it is what identifies which credential leaked. The secret is never logged, never returned after creation, and stored only as a SHA-256 hash.

Path Parameters

kind
enum<string>
required
Available options:
container_image,
repository,
filesystem,
sbom,
web_application

Body

application/json
scanners
enum<string>[]
required

sast, dast and quality are accepted only where the deployment can run it. Every value here is validated against the ENGINE's declared capability rather than against this list, so a deployment with no SAST_RULES and no semgrep binary refuses sast with 400, because storing a scanner that can never run would configure detection that silently never happens.

At least one is required. A selection that disables every scanner would produce a scan that looks successful and detects nothing, which is the most dangerous output this product can produce; delete the setting to return to the deployment default instead.

Minimum array length: 1
Available options:
vulnerability,
secret,
misconfiguration,
license,
sbom,
sast,
dast,
quality

Response

The stored setting.

The response is of type object.