Skip to main content
PATCH
/
v1
/
cloud-security
/
connections
/
{connectionId}
/
scan-mode
Switch the AWS scan engine for a connection (Comp AI scanners ↔ Security Hub)
curl --request PATCH \
  --url https://api.trycomp.ai/v1/cloud-security/connections/{connectionId}/scan-mode \
  --header 'Content-Type: application/json' \
  --data '
{
  "mode": "security_hub"
}
'

Documentation Index

Fetch the complete documentation index at: https://www.trycomp.ai/docs/llms.txt

Use this file to discover all available pages before exploring further.

Path Parameters

connectionId
string
required

Body

application/json
mode
enum<string>
required

Which scan engine to use for this AWS connection.

Available options:
comp_scanners,
security_hub
Example:

"security_hub"

Response

200 - undefined