Assured Workloads API . projects . locations . dbFrameworkComplianceReports . dbControlComplianceSummaries

Instance Methods

close()

Close httplib2 connections.

list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)

Lists the control compliance summary for a given scope.

list_next()

Retrieves the next page of results.

Method Details

close()
Close httplib2 connections.
list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)
Lists the control compliance summary for a given scope.

Args:
  parent: string, Required. The parent scope for the framework overview page. Format: organizations/{organization}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} folders/{folder}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} projects/{project}/locations/{location}/dbFrameworkComplianceReports/{db_framework_compliance_report} (required)
  filter: string, Optional. The filtering results.
  pageSize: integer, Optional. The requested page size. The server might return fewer items than requested. If unspecified, the default page size is 50. The maximum value is 1000.
  pageToken: string, Optional. A token that identifies the page of results that the server should return.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # The response message for ListDBControlComplianceSummaries.
  "dbControlComplianceSummaries": [ # The list of control compliance details.
    { # The details for control compliance.
      "cloudControlReports": [ # The list of cloud control reports.
        { # The cloud control report.
          "categories": [ # The list of categories for the cloud control.
            "A String",
          ],
          "cloudControl": "A String", # The name of the cloud control.
          "cloudControlAssessmentDetails": { # The cloud control assessment details for non-manual cloud controls. # The details of a cloud control assessment.
            "evaluationState": "A String", # Output only. The evaluation status of the cloud control.
            "findingsCount": 42, # The number of findings for the cloud control.
          },
          "cloudControlDeployment": "A String", # The name of the cloud control deployment.
          "cloudControlType": "A String", # The type of the cloud control.
          "description": "A String", # The description of the cloud control.
          "displayName": "A String", # The display name of the cloud control.
          "enforcementMode": "A String", # The enforcement mode of the cloud control.
          "findingCategory": "A String", # The category of the finding.
          "findingSeverity": "A String", # The severity of the finding.
          "frameworkMajorRevisionIds": [ # The major revision IDs of the frameworks that the cloud control belongs to.
            "A String",
          ],
          "majorRevisionId": "A String", # The major revision ID of the cloud control.
          "manualCloudControlAssessmentDetails": { # The details for a manual cloud control assessment. # The details of a manual cloud control assessment.
            "manualCloudControlGuide": [ # The guide for assessing a cloud control manually.
              "A String",
            ],
          },
          "minorRevisionId": "A String", # The minor revision ID of the cloud control.
          "rules": [ # The list of rules that correspond to the cloud control.
            { # A rule in the cloud control.
              "celExpression": { # A Common Expression Language (CEL) expression that's used to create a rule. # The rule's logic expression in Common Expression Language (CEL).
                "expression": "A String", # Required. The logical expression in CEL. The maximum length of the condition is 1000 characters. For more information, see [CEL expression](https://cloud.google.com/security-command-center/docs/compliance-manager-write-cel-expressions).
                "resourceTypesValues": { # A list of strings for the parameter value. # The resource instance types on which this expression is defined. The format is `/`. For example: `compute.googleapis.com/Instance`
                  "values": [ # Required. The strings in the list.
                    "A String",
                  ],
                },
              },
              "description": "A String", # Optional. The rule description. The maximum length is 2000 characters.
              "ruleActionTypes": [ # Required. The functionality that's enabled by the rule.
                "A String",
              ],
            },
          ],
          "similarControls": [ # The list of similar controls.
            { # The similar controls.
              "controlId": "A String", # The ID of the control.
              "framework": "A String", # The name of the framework.
            },
          ],
        },
      ],
      "complianceFrameworks": [ # The list of compliance frameworks that the control belongs to.
        "A String",
      ],
      "control": "A String", # The name of the control.
      "controlResponsibilityType": "A String", # The responsibility type for the control.
      "description": "A String", # The description of the control.
      "displayName": "A String", # The display name of the control.
      "isFakeControl": True or False, # Whether the control is a fake control. Fake controls are created and mapped to cloud controls that don't belong to a control group.
      "name": "A String", # Identifier. The name of the control compliance summary.
      "overallEvaluationState": "A String", # Output only. The overall evaluation status of the control.
      "similarControls": [ # The list of similar controls.
        { # The similar controls.
          "controlId": "A String", # The ID of the control.
          "framework": "A String", # The name of the framework.
        },
      ],
      "totalFindingsCount": 42, # The total number of findings for the control.
    },
  ],
  "nextPageToken": "A String", # Output only. The token to retrieve the next page of results.
}
list_next()
Retrieves the next page of results.

        Args:
          previous_request: The request for the previous page. (required)
          previous_response: The response from the request for the previous page. (required)

        Returns:
          A request object that you can call 'execute()' on to request the next
          page. Returns None if there are no more items in the collection.