Skip to main content

Get Daily Compliance Stats

GET 

/api/v32.04/stats/daily

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

Returns a historical list of per-day statistics for the resources protected by Prisma Cloud Compute, including the total number of runtime audits, image vulnerabilities, and compliance violations.

The following example command uses curl and basic auth to retrieve the daily stats:

$ curl -k \
-u <USER> \
-H 'Content-Type: application/json' \
-X GET \
https://<CONSOLE>/api/v<VERSION>/stats/daily

Responses

Schema
  • Array [
  • AgentlessAppFirewall object

    AppFirewallStats are the daily stats for app firewall audits TODO #20802 - replace string key with WAAS attack type type when mongo changed to avoid encoding map keys without stringer

    property name* int (integer)
    _id string

    ID is the metric type.

    access object

    AccessStats are stats for the access flows

    docker object

    AccessStatsCount stores the total amount of access audits

    allowed integer

    .

    denied integer

    .

    sshd object

    AccessStatsCount stores the total amount of access audits

    allowed integer

    .

    denied integer

    .

    sudo object

    AccessStatsCount stores the total amount of access audits

    allowed integer

    .

    denied integer

    .

    appEmbeddedAppFirewall object

    AppFirewallStats are the daily stats for app firewall audits TODO #20802 - replace string key with WAAS attack type type when mongo changed to avoid encoding map keys without stringer

    property name* int (integer)
    container object

    RuntimeStats are stats for runtime flows (sum of audits per flow)

    filesystem integer

    .

    kubernetes integer

    .

    network integer

    .

    processes integer

    .

    containerAppFirewall object

    AppFirewallStats are the daily stats for app firewall audits TODO #20802 - replace string key with WAAS attack type type when mongo changed to avoid encoding map keys without stringer

    property name* int (integer)
    containerNetworkFirewall object

    NetworkFirewallStats stores the total amount of network firewall audits

    alerted integer

    .

    blocked integer

    .

    host object

    RuntimeStats are stats for runtime flows (sum of audits per flow)

    filesystem integer

    .

    kubernetes integer

    .

    network integer

    .

    processes integer

    .

    hostAppFirewall object

    AppFirewallStats are the daily stats for app firewall audits TODO #20802 - replace string key with WAAS attack type type when mongo changed to avoid encoding map keys without stringer

    property name* int (integer)
    hostComplianceCount integer

    HostComplianceCount is the host compliance count.

    hostNetworkFirewall object

    NetworkFirewallStats stores the total amount of network firewall audits

    alerted integer

    .

    blocked integer

    .

    incidentsCount integer

    IncidentsCount is the incidents count.

    serverless object

    RuntimeStats are stats for runtime flows (sum of audits per flow)

    filesystem integer

    .

    kubernetes integer

    .

    network integer

    .

    processes integer

    .

    serverlessAppFirewall object

    AppFirewallStats are the daily stats for app firewall audits TODO #20802 - replace string key with WAAS attack type type when mongo changed to avoid encoding map keys without stringer

    property name* int (integer)
    time int64

    UnixTimestamp is the unix timestamp.

    vulnerabilities object

    VulnerabilitiesStats are measures the total number of vulnerabilities in a specific images

    containerCompliance integer

    ContainerCompliance is the sum of all compliance issues for all running containers.

    imageCompliance integer

    ImageCompliance is the sum of all compliance issues of all running images.

    imageCve integer

    ImageCVE is the sum of cve vulnerabilities of all running images.

  • ]
Loading...