Retrieve discovery audit report
GET/api/v1/discovery-audit
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.
Request
Query Parameters
Possible values: [NEW_REPOSITORY
, REPOSITORY_DELETED
, REPOSITORY_ARCHIVED
, NEW_K8S_RESOURCE
, NEW_APM_RESOURCE
, APM_RESOURCE_NOT_DETECTED
, NEW_ECS_RESOURCE
, ECS_RESOURCE_NOT_DETECTED
, NEW_AWS_RESOURCE
, AWS_RESOURCE_NOT_DETECTED
, NEW_GOOGLE_CLOUD_RESOURCE
, GOOGLE_CLOUD_RESOURCE_NOT_DETECTED
, NEW_AZURE_RESOURCE
, AZURE_RESOURCE_NOT_DETECTED
]
Filter based on type of the event
Possible values: [AWS
, AZURE_DEVOPS
, AZURE_RESOURCES
, BITBUCKET
, DATADOG
, DYNATRACE
, ECS
, GCP
, GITHUB
, GITLAB
, INSTANA
, K8S
, LIGHTSTEP
, LAMBDA
, LAMBDA_CLOUD_CONTROL
, NEWRELIC
, SERVICENOW
, SERVICENOW_DOMAIN
]
Filter based on integration source
Flag to include ignored events in result
Default value: 250
Number of results to return per page, between 1 and 1000. Default 250.
Default value: 0
Page number to return, 0-indexed. Default 0.
Responses
- 200
Successfully retrieved discovery audit report
- application/json
- Schema
- Example (from schema)
Schema
Array [
]
events
object[]
required
entity
object
Related Cortex entity
Description of the entity visible in the catalog. This may contain markdown.
Human-readable name for the entity
Unique identifier for the entity. Corresponds to the x-cortex-tag field in the entity descriptor.
Type of the entity. Corresponds to the x-cortex-type field in the entity descriptor or 'service' for services.
Specifies whether discovered event is marked as ignored
mappingKey
object
required
Mapping key of the event. Its schema is dependent on the source
Possible values: [AWS
, AZURE_DEVOPS
, AZURE_RESOURCES
, BITBUCKET
, DATADOG
, DYNATRACE
, ECS
, GCP
, GITHUB
, GITLAB
, INSTANA
, K8S
, LIGHTSTEP
, LAMBDA
, LAMBDA_CLOUD_CONTROL
, NEWRELIC
, SERVICENOW
, SERVICENOW_DOMAIN
]
Integration source
Possible values: [NEW_REPOSITORY
, REPOSITORY_DELETED
, REPOSITORY_ARCHIVED
, NEW_K8S_RESOURCE
, NEW_APM_RESOURCE
, APM_RESOURCE_NOT_DETECTED
, NEW_ECS_RESOURCE
, ECS_RESOURCE_NOT_DETECTED
, NEW_AWS_RESOURCE
, AWS_RESOURCE_NOT_DETECTED
, NEW_GOOGLE_CLOUD_RESOURCE
, GOOGLE_CLOUD_RESOURCE_NOT_DETECTED
, NEW_AZURE_RESOURCE
, AZURE_RESOURCE_NOT_DETECTED
]
Type of the event
Current page number, 0-indexed
Total number of results
Total number of pages
{
"events": [
{
"entity": {
"description": "string",
"name": "My Favorite Entity",
"tag": "my-favorite-entity",
"type": "service"
},
"isIgnored": true,
"mappingKey": {
"type": "AWS",
"arn": "arn"
},
"source": "AWS",
"type": "NEW_REPOSITORY"
}
],
"page": 0,
"total": 0,
"totalPages": 0
}