Skip to content

Switch the AWS scan engine for a connection (Varman scanners ↔ Security Hub)

PATCH
/v1/cloud-security/connections/{connectionId}/scan-mode
curl --request PATCH \
--url https://api.varman.io/v1/cloud-security/connections/example/scan-mode \
--header 'Content-Type: application/json' \
--data '{ "mode": "comp_scanners" }'

Accepts session, API key, or service token auth. For API key / service token callers without an explicit user attribution, the action is attributed to the org’s owner.

connectionId
required
string
Media typeapplication/json
object
mode
required

Which scan engine to use for this AWS connection.

string
Allowed values: comp_scanners security_hub

Example

security_hub