Skip to main content

db_control_compliance_summaries

Creates, updates, deletes, gets or lists a db_control_compliance_summaries resource.

Overview​

Namedb_control_compliance_summaries
TypeResource
Idgoogle.assuredworkloads.db_control_compliance_summaries

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the control compliance summary.
cloudControlReportsarrayThe list of cloud control reports.
complianceFrameworksarrayThe list of compliance frameworks that the control belongs to.
controlstringThe name of the control.
controlResponsibilityTypestringThe responsibility type for the control. (REGULATORY_CONTROL_RESPONSIBILITY_TYPE_UNSPECIFIED, GOOGLE, CUSTOMER, SHARED)
descriptionstringThe description of the control.
displayNamestringThe display name of the control.
isFakeControlbooleanWhether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group.
overallEvaluationStatestringOutput only. The overall evaluation status of the control. (EVALUATION_STATE_UNSPECIFIED, EVALUATION_STATE_PASSED, EVALUATION_STATE_FAILED, EVALUATION_STATE_NOT_ASSESSED)
similarControlsarrayThe list of similar controls.
totalFindingsCountinteger (int32)The total number of findings for the control.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectfoldersId, locationsId, dbFrameworkComplianceReportsIdfilter, pageSize, pageTokenLists the control compliance summary for a given scope.

Parameters​

Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.

NameDatatypeDescription
dbFrameworkComplianceReportsIdstring
foldersIdstring
locationsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring

SELECT examples​

Lists the control compliance summary for a given scope.

SELECT
name,
cloudControlReports,
complianceFrameworks,
control,
controlResponsibilityType,
description,
displayName,
isFakeControl,
overallEvaluationState,
similarControls,
totalFindingsCount
FROM google.assuredworkloads.db_control_compliance_summaries
WHERE foldersId = '{{ foldersId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND dbFrameworkComplianceReportsId = '{{ dbFrameworkComplianceReportsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
;