Assurance / Client / update_control

update_control

Assurance.Client.update_control(**kwargs)

Updates a custom control. Supply only the fields you want to change; the operation leaves omitted fields unchanged.

See also: AWS API Documentation

Request Syntax

response = client.update_control(
    environmentArn='string',
    framework='string',
    frameworkVersion='string',
    controlId='string',
    parentControlId='string',
    title='string',
    description='string',
    requirements=[
        {
            'id': 'string',
            'description': 'string'
        },
    ],
    displayOrder=123,
    controlIntents=[
        'string',
    ],
    workflowType='automated-scan'|'document'|'hybrid'
)
Parameters:
  • environmentArn (string) –

    [REQUIRED]

    The ARN of this governance environment.

  • framework (string) –

    [REQUIRED]

    The name of the compliance framework.

  • frameworkVersion (string) –

    [REQUIRED]

    The version of the compliance framework.

  • controlId (string) –

    [REQUIRED]

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

  • parentControlId (string) – The identifier of the parent control group.

  • title (string) – The new display name for the control. Omit to leave it unchanged.

  • description (string) – The new description for the control. Omit to leave it unchanged.

  • requirements (list) –

    The replacement set of requirements. Supplying this replaces the control’s existing requirements in full; omit to leave them unchanged.

    • (dict) –

      A single check within a leaf control, scored independently during an assessment. For document-based controls, the description defines what the evaluation looks for. Findings, assessment results, and remediation tasks reference the requirement by id.

      • id (string) – [REQUIRED]

        The unique identifier of the requirement.

      • description (string) – [REQUIRED]

        A description of the requirement.

  • displayOrder (integer) – The ordering key that determines the display sequence within the framework.

  • controlIntents (list) –

    The technical control intents that classify how an assessment evaluates this leaf control. Supplying at least one intent makes the control eligible for automated scanning. Leaf controls only.

    • (string) –

      A technical control-intent identifier used to classify how a leaf control is evaluated.

  • workflowType (string) – The optional evaluation workflow type. When omitted and controlIntents are present, the service defaults this to automated-scan. Leaf controls only.

Return type:

dict

Returns:

Response Syntax

{}

Response Structure

  • (dict) –

Exceptions