Get Vulnerabilities and Alerts for a Service
POST/appid/search/api/v1/app/service
Returns the counts of assets, vulnerabilities, and alerts associated with each service.
Note: You need
investigateApplicationRql
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 thatInvestigate
>Applications
is enabled.
Request
- application/json
Body
required
Responses
- 200
- 400
A JSON object containing service vulnerability and alert counts.
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
services object[]
List of services with associated counts.
The name of the service.
counts object
Count details related to the service.
The number of assets associated with the service.
The number of vulnerabilities associated with the service.
The number of alerts associated with the service.
Token for fetching the next page of results.
{
"services": [
{
"service": "string",
"counts": {
"assetCount": 0,
"vulnCount": 0,
"alertCount": 0
}
}
],
"nextPageToken": "string"
}
Invalid request parameters.