Criteria
APIs for managing Criteria
Retrieves a paginated list of all criteria.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security with Application Security Add-on.
Current page number in the paginated response.
Total number of items in the current page.
Ok
Current page number in the paginated response.
Total number of pages for the paginated response.
Number of entries in each page.
Total number of items in the response.
GET /public_api/appsec/v1/application/criteria/all HTTP/1.1
Host: api-yourfqdn
Accept: */*
Ok
{
"items": [
{
"id": "text",
"name": "text",
"description": "text",
"creationMethod": "manual",
"createdBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"metadata": {
"applicationCount": 1,
"assetCount": 1,
"refreshStatus": "in_progress",
"deletedFromUai": true
},
"type": "code",
"config": {
"unifyWithinProvider": true,
"unifyAcrossProviders": true,
"criteriaDefinitions": [
{
"type": "tags",
"provider": "GITLAB",
"tagKeys": [
"text"
]
}
],
"criteriaPrettyName": "text",
"criteriaPrettyNameTags": [
"text"
],
"applicationMetaData": {
"businessOwner": "none",
"businessCriticality": "Critical",
"exposedToInternetOverride": true
}
}
}
],
"currentPage": 1,
"totalPages": 1,
"pageSize": 1,
"totalItems": 1
}Retrieves detailed information for a specific criteria using its unique Id.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security with Application Security Add-on.
Unique identifier for the criteria
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241Ok
GET /public_api/appsec/v1/application/criteria/{criteriaId} HTTP/1.1
Host: api-yourfqdn
Authorization: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Accept: */*
Ok
{
"id": "text",
"name": "text",
"description": "text",
"creationMethod": "manual",
"createdBy": "text",
"createdAt": "2026-01-01T00:00:00.000Z",
"lastUpdated": "2026-01-01T00:00:00.000Z",
"deletedAt": "2026-01-01T00:00:00.000Z",
"metadata": {
"applicationCount": 1,
"assetCount": 1,
"refreshStatus": "in_progress",
"deletedFromUai": true
},
"type": "code",
"config": {
"unifyWithinProvider": true,
"unifyAcrossProviders": true,
"criteriaDefinitions": [
{
"type": "tags",
"provider": "GITLAB",
"tagKeys": [
"text"
]
}
],
"criteriaPrettyName": "text",
"criteriaPrettyNameTags": [
"text"
],
"applicationMetaData": {
"businessOwner": "none",
"businessCriticality": "Critical",
"exposedToInternetOverride": true
}
}
}Deletes a specific criteria identified by its unique Id.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security with Application Security Add-on.
Unique identifier for the criteria
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241No content
No content
DELETE /public_api/appsec/v1/application/criteria/{criteriaId} HTTP/1.1
Host: api-yourfqdn
Authorization: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Accept: */*
No content
No content
Creates a Criteria based on the provided details.
Required license:
Cortex Cloud Posture Management or Cortex Cloud Runtime Security with Application Security Add-on.
{api_key}
UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP{api_key_id}
241Creates a new criteria object.
Unique name for the criteria.
Optional description for the criteria.
Criteria Type. Allowed values - cloud.
Ok
Unique Id of the criteria.
Unique name of the criteria.
POST /public_api/appsec/v1/application/criteria HTTP/1.1
Host: api-yourfqdn
Authorization: UCoWpG4rkNzgCp2dsh8m02iVpZsskwKHz7N1tErPcUV3Wmf59Gc9kytmgOv0pDWoem3PBlORyRIPiir4OcYdWUOWAM3JyTgoCxQf4nQoTlKmFRKz9Bj5vIjluw66p9WP
x-xdr-auth-id: 241
Content-Type: application/json
Accept: */*
Content-Length: 371
{
"name": "text",
"description": "text",
"type": "cloud",
"config": {
"unifyWithinProvider": true,
"unifyAcrossProviders": true,
"criteriaDefinitions": [
{
"type": "tags",
"provider": "GITLAB",
"tagKeys": [
"text"
]
}
],
"criteriaPrettyName": "text",
"criteriaPrettyNameTags": [
"text"
],
"applicationMetaData": {
"businessOwner": "none",
"businessCriticality": "Critical",
"exposedToInternetOverride": true
}
}
}Ok
{
"id": "text",
"name": "text"
}Last updated
Was this helpful?
