Skip to main content

Get Compliance Trend for Standard ID V2 - GET

GET 

/v2/compliance/posture/trend/:complianceId

Returns a compliance posture summary that describes the passed/failed statistics trend for the specified compliance standard ID.

The fields request body parameter allows you to request specific fields. These fields are separate from the filters you specify. The following are valid fields items.

  • cloud.account
  • account.group
  • cloud.region
  • cloud.type
  • policy.complianceStandard
  • policy.complianceRequirement
  • policy.complianceSection

The filters request body parameter enables you to narrow your request for alerts. See Get Compliance Overview Filters and Options for for an API request to list all the valid filters.

Request

Path Parameters

    complianceId uuidrequired

    Compliance standard ID

Query Parameters

    cloud.account string

    Cloud account

    cloud.type string

    Cloud type

    cloud.region string

    Cloud region

    policy.complianceRequirement string

    Policy compliance requirement name

    policy.complianceSection string

    Policy compliance section ID

Responses

success

Schema
  • Array [
  • criticalSeverityFailedResources int64

    Number of scanned compliance resources whose highest policy failure is critical

    failedResources int64

    Number of failed scanned compliance resources

    highSeverityFailedResources int64

    Number of scanned compliance resources that failed high severity policies

    informationalSeverityFailedResources int64

    Number of scanned compliance resources whose highest policy failure is informational

    lowSeverityFailedResources int64

    Number of scanned compliance resources whose highest policy failure is low

    mediumSeverityFailedResources int64

    Number of scanned compliance resources whose highest policy failure is medium

    passedResources int64

    Number of passed scanned compliance resources

    timestamp int64

    Timestamp

    totalResources int64

    Total number of scanned compliance resources

  • ]
Loading...