Skip to main content

Get Event Stats

GET 

/api/v32.04/stats/events

x-prisma-cloud-target-env: {"permission":"accessUI","saas":true,"self-hosted":true}
x-public: true

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

EventStats holds counters for all event types

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

    .

Loading...