Get Discovery Criteria
GET/appid/api/v1/app/criteria
Discovery criteria is a set of filter strings based on which the assets are scanned and grouped into applications. The discovery criteria can be a predefined criteria or a custom criteria. You can use this endpoint to download all discovery criteria details including the criteria that were deleted.
Note: You need
application
feature withRead
permission to access this endpoint. Verify if your permission group includes this feature using the Get Permission Group by ID endpoint. You can also check this in the Prisma Cloud console by ensuring that Application Inventory > Applications is enabled.
Request
Query Parameters
True to get deleted criteria; False to exclude the deleted criteria.
Responses
- 200
- 400
- 401
- 403
- 413
Successful operation
- application/json
- Schema
- Example (from schema)
Schema
object
{}
Bad Request - request body contains a query that is not grammatically valid
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"code": "string",
"message": "string"
}
}
Unauthorized - user cannot be authenticated to service the request
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"code": "string",
"message": "string"
}
}
Forbidden - user is not authorized, or does not have the correct permissions, to make the call
- application/json
- Schema
- Example (from schema)
Schema
error object
{
"error": {
"code": "string",
"message": "string"
}
}
Payload Too Large
- */*
- Schema
- Example (from schema)
Schema
object
{}