Skip to main content

db_framework_compliance_summaries

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

Overview​

Namedb_framework_compliance_summaries
TypeResource
Idgoogle.assuredworkloads.db_framework_compliance_summaries

Fields​

The following fields are returned by SELECT queries:

NameDatatypeDescription
namestringIdentifier. The name of the framework compliance summary.
controlAssessmentDetailsobjectThe control assessment details of the framework. (id: GoogleCloudAssuredworkloadsV1ControlAssessmentDetails)
controlsPassingTrendobjectOutput only. The trend of controls that are passing for the given duration. (id: GoogleCloudAssuredworkloadsV1Trend)
findingCountstring (int64)Output only. The count of the findings generated against the framework.
frameworkstringThe name of the framework.
frameworkCategoriesarrayThe list of framework categories supported by the framework.
frameworkDisplayNamestringOptional. The display name for the framework.
frameworkTypestringThe type of framework. (FRAMEWORK_TYPE_UNSPECIFIED, BUILT_IN, CUSTOM)
majorRevisionIdstring (int64)The major revision ID of the framework.
minorRevisionIdstring (int64)The minor revision ID of the framework.
supportedCloudProvidersarrayThe list of cloud providers supported by the framework.
targetResourceDetailsarrayThe target resource details for the framework.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectfoldersId, locationsIdfilter, pageSize, pageToken, viewLists the framework 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
foldersIdstring
locationsIdstring
filterstring
pageSizeinteger (int32)
pageTokenstring
viewstring

SELECT examples​

Lists the framework compliance summary for a given scope.

SELECT
name,
controlAssessmentDetails,
controlsPassingTrend,
findingCount,
framework,
frameworkCategories,
frameworkDisplayName,
frameworkType,
majorRevisionId,
minorRevisionId,
supportedCloudProviders,
targetResourceDetails
FROM google.assuredworkloads.db_framework_compliance_summaries
WHERE foldersId = '{{ foldersId }}' -- required
AND locationsId = '{{ locationsId }}' -- required
AND filter = '{{ filter }}'
AND pageSize = '{{ pageSize }}'
AND pageToken = '{{ pageToken }}'
AND view = '{{ view }}'
;