Group the number of occurrences by status
GET /v2/compliance/stats/configurations/clusters/{clusterId}
GetComplianceClusterScanStats lists the current scan stats for a cluster for each scan configuration
Name | Description | Required | Default | Pattern |
---|---|---|---|---|
query.query |
- |
null |
||
query.pagination.limit |
- |
null |
||
query.pagination.offset |
- |
null |
||
query.pagination.sortOption.field |
- |
null |
||
query.pagination.sortOption.reversed |
- |
null |
||
query.pagination.sortOption.aggregateBy.aggrFunc |
- |
UNSET |
||
query.pagination.sortOption.aggregateBy.distinct |
- |
null |
Code | Message | Datatype |
---|---|---|
200 |
A successful response. |
|
0 |
An unexpected error response. |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
code |
Integer |
int32 |
|||
message |
String |
||||
details |
List of ProtobufAny |
Enum Values |
---|
UNSET_CHECK_STATUS |
PASS |
FAIL |
ERROR |
INFO |
MANUAL |
NOT_APPLICABLE |
INCONSISTENT |
Group the number of occurrences by status
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
count |
Integer |
int32 |
|||
status |
UNSET_CHECK_STATUS, PASS, FAIL, ERROR, INFO, MANUAL, NOT_APPLICABLE, INCONSISTENT, |
ComplianceClusterScanStats provides scan stats overview based on cluster
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
scanStats |
|||||
cluster |
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
clusterId |
String |
||||
clusterName |
String |
ComplianceScanStatsShim models statistics of checks for a given scan configuration
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
scanName |
String |
||||
checkStats |
List of V2ComplianceCheckStatusCount |
||||
lastScan |
Date |
date-time |
|||
scanConfigId |
String |
ListComplianceClusterScanStatsResponse provides stats for the clusters within the scans
Field Name | Required | Nullable | Type | Description | Format |
---|---|---|---|---|---|
scanStats |
List of V2ComplianceClusterScanStats |
||||
totalCount |
Integer |
int32 |