CloudSecurity
Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
List recent cloud security activity
/v1/cloud-security/activityList recent cloud security activity in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Query parameters
connectionIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/activity?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'List supported cloud providers
/v1/cloud-security/providersList supported cloud providers in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/providers \
--header 'X-API-Key: <api-key>'List cloud security findings
/v1/cloud-security/findingsList cloud security findings discovered by scans so teams can prioritize remediation before issues become audit findings.
Responses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/findings \
--header 'X-API-Key: <api-key>'Mark a finding as an exception so it no longer appears in the active Scan Results list
/v1/cloud-security/findings/{findingId}/exceptionAccepts 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 and the audit log description records the calling key/service name.
Path parameters
findingIdstringrequiredRequest body
reasonstringrequiredDocumentation for why this finding does not apply or is being accepted. Minimum 20 non-whitespace characters.
reviewedBystringFree-text reviewer or approval reference.
expiresAtstringISO date when this exception should auto-expire. Null/missing = never.
Responses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/findings/<findingId>/exception \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"reason": "Bucket hosts intentionally public marketing assets; writes restricted to the marketing IAM role.",
"reviewedBy": "Approved by CISO 2026-Q1",
"expiresAt": "2026-08-13"
}'Switch the AWS scan engine for a connection (Complianz scanners ↔ Security Hub)
/v1/cloud-security/connections/{connectionId}/scan-modeAccepts 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.
Path parameters
connectionIdstringrequiredRequest body
modeenumrequiredWhich scan engine to use for this AWS connection.
One of: comp_scanners security_hub
Responses
200
curl --request PATCH \
--url https://api.complianz.ai/v1/cloud-security/connections/<connectionId>/scan-mode \
--header 'X-API-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data '{
"mode": "security_hub"
}'Revoke an exception, reopening the finding
/v1/cloud-security/exceptions/{exceptionId}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.
Path parameters
exceptionIdstringrequiredResponses
200
curl --request DELETE \
--url https://api.complianz.ai/v1/cloud-security/exceptions/<exceptionId> \
--header 'X-API-Key: <api-key>'List resolution, exception, and regression history for a connection
/v1/cloud-security/historyList resolution, exception, and regression history for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Query parameters
connectionIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/history?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'Resolve the "About this check" description for a finding (AI-cached for AWS; provider-derived for GCP/Azure)
/v1/cloud-security/findings/{findingId}/check-definitionResolve the "About this check" description for a finding (AI-cached for AWS; provider-derived for GCP/Azure) in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture.
Path parameters
findingIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/findings/<findingId>/check-definition \
--header 'X-API-Key: <api-key>'Resolve short-lived AWS credentials for a connection (internal only)
/v1/cloud-security/resolve-session/{connectionId}Resolve short-lived AWS credentials for a connection (internal only) in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/resolve-session/<connectionId> \
--header 'X-API-Key: <api-key>'Run cloud security scan
/v1/cloud-security/scan/{connectionId}Trigger a cloud security scan for a connected AWS, Azure, or GCP account and collect findings for compliance remediation.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/scan/<connectionId> \
--header 'X-API-Key: <api-key>'Detect available cloud services for a connection
/v1/cloud-security/detect-services/{connectionId}Detect available cloud services for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/detect-services/<connectionId> \
--header 'X-API-Key: <api-key>'Detect the GCP organization for a connection
/v1/cloud-security/detect-gcp-org/{connectionId}Detect the GCP organization for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/detect-gcp-org/<connectionId> \
--header 'X-API-Key: <api-key>'Select GCP projects for a connection
/v1/cloud-security/select-gcp-projects/{connectionId}Select GCP projects for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/select-gcp-projects/<connectionId> \
--header 'X-API-Key: <api-key>'Set up GCP for a connection
/v1/cloud-security/setup-gcp/{connectionId}Set up GCP for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/setup-gcp/<connectionId> \
--header 'X-API-Key: <api-key>'Resolve a GCP setup step
/v1/cloud-security/setup-gcp/{connectionId}/resolve-stepResolve a GCP setup step in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/setup-gcp/<connectionId>/resolve-step \
--header 'X-API-Key: <api-key>'Set up Azure for a connection
/v1/cloud-security/setup-azure/{connectionId}Set up Azure for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/setup-azure/<connectionId> \
--header 'X-API-Key: <api-key>'Validate Azure credentials for a connection
/v1/cloud-security/validate-azure/{connectionId}Validate Azure credentials for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/validate-azure/<connectionId> \
--header 'X-API-Key: <api-key>'Trigger a cloud security run for a connection
/v1/cloud-security/trigger/{connectionId}Trigger a cloud security run for a connection in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
connectionIdstringrequiredResponses
201
curl --request POST \
--url https://api.complianz.ai/v1/cloud-security/trigger/<connectionId> \
--header 'X-API-Key: <api-key>'Get a cloud security scan run by ID
/v1/cloud-security/runs/{runId}Get a cloud security scan run by ID in Complianz. Run AWS, Azure, and GCP cloud security scans, detect enabled services, review findings, and connect cloud posture results to compliance work.
Path parameters
runIdstringrequiredQuery parameters
connectionIdstringrequiredResponses
200
curl --request GET \
--url https://api.complianz.ai/v1/cloud-security/runs/<runId>?connectionId=<connectionId> \
--header 'X-API-Key: <api-key>'