Discovery Audit
Use these operations to interact with the discovered entities list in Cortex.
Required permissions
Your API key must have the Configure discovery audit events
permission.
Operations
This report shows you recent changes in your environment that aren't reflected in Cortex, including newly created repositories, services, and resources that we discover from your integrations or which were deleted in the environment but corresponding Cortex entities are still present.
Authorizations
Query parameters
typestring · enumOptionalPossible values:
Filter based on type of the event
sourcestring · enumOptionalPossible values:
Filter based on integration source
includeIgnoredbooleanOptionalDefault:
Flag to include ignored events in result
false
pageSizeinteger · int32RequiredDefault:
Number of results to return per page, between 1 and 1000. Default 250.
250
pageinteger · int32RequiredDefault:
Page number to return, 0-indexed. Default 0.
0
Responses
200
Successfully retrieved discovery audit report
application/json
429
The client has exceeded the rate limit by performing too many requests in a short period. Retry the request after a delay.
application/problem+json
get
GET /api/v1/discovery-audit HTTP/1.1
Host: api.getcortexapp.com
Authorization: Bearer JWT
Accept: */*
{
"events": [
{
"entity": {
"description": "text",
"name": "My Favorite Entity",
"tag": "my-favorite-entity",
"type": "service"
},
"isIgnored": true,
"mappingKey": {
"type": "AWS",
"arn": "arn"
},
"source": "AWS",
"type": "NEW_REPOSITORY"
}
],
"page": 1,
"total": 1,
"totalPages": 1
}
Last updated
Was this helpful?