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
, NEWRELIC
, SERVICENOW
]
Filter based on integration source
Flag to include ignored events in result
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 objectrequired
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
, NEWRELIC
, SERVICENOW
]
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
{
"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"
}
]
}