Get Event Stats
GET/api/v33.01/stats/events
x-prisma-cloud-target-env: {"permission":"accessUI"}
Returns events statistics for your environment.
cURL Request
Refer to the following example cURL command retrieves event stats:
$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
https://<CONSOLE>/api/v<VERSION>/stats/events
Response
{
"containerAppFirewall": 0,
"hostAppFirewall": 0,
"containerRuntime": 0,
"containerNetworkFirewall": 0,
"hostRuntime": 0,
"hostNetworkFirewall": 0,
"hostActivities": 0,
"raspAppFirewall": 0,
"raspRuntime": 0,
"serverlessRuntime": 0,
"logInspection": 0,
"fileIntegrity": 0,
"dockerAccess": 0,
"kubernetesAudits": 0,
"trustAudits": 0
}
Request
Query Parameters
collections string[]
Collections are collections scoping the query.
accountIDs string[]
AccountIDs are the account IDs scoping the query.
from date-time
From is an optional minimum time constraints for the audit.
to date-time
To is an optional maximum time constraints for the audit.
attackTechniques string[]
AttackTechniques are the MITRE attack techniques.
Responses
- 200
- default
EventStats holds counters for all event types
- application/json
- Schema
- Example (from schema)
Schema
admissionAudits integer
.
agentlessAppFirewall integer
.
appEmbeddedAppFirewall integer
.
appEmbeddedRuntime integer
.
containerAppFirewall integer
.
containerNetworkFirewall integer
.
containerRuntime integer
.
containerSecurityEvents integer
Cloud Security Agent event stats.
dockerAccess integer
.
fileIntegrity integer
.
hostActivities integer
.
hostAppFirewall integer
.
hostNetworkFirewall integer
.
hostRuntime integer
.
hostSecurityEvents integer
.
kubernetesAudits integer
.
logInspection integer
.
serverlessAppFirewall integer
.
serverlessRuntime integer
.
trustAudits integer
.
{
"admissionAudits": 0,
"agentlessAppFirewall": 0,
"appEmbeddedAppFirewall": 0,
"appEmbeddedRuntime": 0,
"containerAppFirewall": 0,
"containerNetworkFirewall": 0,
"containerRuntime": 0,
"containerSecurityEvents": 0,
"dockerAccess": 0,
"fileIntegrity": 0,
"hostActivities": 0,
"hostAppFirewall": 0,
"hostNetworkFirewall": 0,
"hostRuntime": 0,
"hostSecurityEvents": 0,
"kubernetesAudits": 0,
"logInspection": 0,
"serverlessAppFirewall": 0,
"serverlessRuntime": 0,
"trustAudits": 0
}
Loading...