Scorecards
Required permissions
Operations
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Filter based on groups, which correspond to the x-cortex-groups field in the Catalog Descriptor. Accepts a comma-delimited list of groups
Filter based on entity (either tags or CIDs). Accepts a comma-delimited list of entity tag or CIDs, please use only one type of identifier
Filter based on team (either tags or CIDs). Accepts a comma-delimited list of team tag or CIDs, please use only one type of identifier
Page number to return, 0-indexed. Default 0.
0Number of results to return per page, between 1 and 1000. Default 250.
250OK
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistEntity tag (x-cortex-tag)
Number of results to return per page, between 1 and 1000. Default 250.
250Page number to return, 0-indexed. Default 0.
0Scorecard scores
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Entity identifier - can be a tag or CID
All entity Scorecard scores
Entity not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully retrieved Scorecard
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully retrieved Scorecard descriptor
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard.
Entity identifier - can be a tag or CID
Shields.io badge
Entity or Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Any rules remaining for the entity to reach the next level in the Scorecard.
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
When true, this endpoint only validates the descriptor contents and returns any errors or warnings.
Created Scorecard
Bad Request
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Number of days how long rule should be exempt. If not set, rule will be exempt until exempt until revoked.
Reason for creating exemption
Identifier of the Scorecard rule to request exemption for
Successfully requested Scorecard rule exemption
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Scorecard score evaluation triggered successfully
No content
Unauthorized
Scorecard not found
Already evaluating scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
Scorecard evaluation failed
No content
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Revoked Scorecard rule exemptions
No approved exemptions to revoke found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Successfully approved Scorecard rule exemptions
No pending exemptions to approve found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistThe entity tag (x-cortex-tag) that identifies the entity.
Identifier of the Scorecard rule
Denied Scorecard rule exemptions
No pending exemptions to approve found
Scorecard not found, entity not found, or rule with given identifier not found within the Scorecard
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.
Unique tag for the Scorecard
my-production-readiness-checklistSuccessfully deleted Scorecard
No content
Scorecard not found
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
No content
Last updated
Was this helpful?