Assurance / Client / get_control_group

get_control_group

Assurance.Client.get_control_group(**kwargs)

Retrieves a single control group’s own attributes (title, description, status) within a framework version. Use ListControls with the group’s controlId to retrieve the leaf controls within it.

See also: AWS API Documentation

Request Syntax

response = client.get_control_group(
    environmentArn='string',
    framework='string',
    controlId='string',
    frameworkVersion='string'
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • framework (string) –

    [REQUIRED]

    The name of the compliance framework.

  • controlId (string) –

    [REQUIRED]

    The control identifier. Optional. If omitted, the operation applies to the full framework.

  • frameworkVersion (string) –

    [REQUIRED]

    The version of the compliance framework.

Return type:

dict

Returns:

Response Syntax

{
    'controlGroup': {
        'type': 'MANAGED'|'CUSTOM',
        'framework': 'string',
        'controlId': 'string',
        'frameworkVersion': 'string',
        'title': 'string',
        'description': 'string',
        'status': 'ACTIVE'|'PENDING'|'PRE_PROD'
    }
}

Response Structure

  • (dict) –

    • controlGroup (dict) –

      The control group.

      • type (string) –

        The type of the control group.

      • framework (string) –

        The name of the compliance framework.

      • controlId (string) –

        The control identifier. Optional. If omitted, the operation applies to the full framework.

      • frameworkVersion (string) –

        The version of the compliance framework.

      • title (string) –

        The human-readable title of the control group.

      • description (string) –

        A description of the control group.

      • status (string) –

        The lifecycle status of the control group.

Exceptions