API endpoints for C2C
Retrieve Code-to-Cloud coverage programmatically.
Retrieve Code-to-Cloud coverage in automation and reporting workflows.
Coverage
Get the Code-to-Cloud coverage ratio
GET
/public_api/appsec/v1/code-to-cloud/coverage
The response returns a ratio from 0 to 1. Multiply it by 100 for a percentage.
Required query parameters
direction:code_to_cloudorcloud_to_code.type:artifactorinfrastructure.
Optional query parameters
only_onboarded: Limits artifact Code-to-Cloud results to onboarded repositories.application: Limits results to an application name.provider: Limits results to a provider name.
only_onboarded applies only to code_to_cloud with artifact.
Use Authorization and x-xdr-auth-id headers for authentication.
Required license: Cortex Cloud Posture Management or Cortex Cloud Runtime Security with Application Security add-on.
For request schemas and response details, see Cloud Coverage.
Last updated
Was this helpful?
