Assurance / Client / create_control
create_control¶
- Assurance.Client.create_control(**kwargs)¶
Creates a leaf control, which is a control with no child controls, in a custom framework.
See also: AWS API Documentation
Request Syntax
response = client.create_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) –
[REQUIRED]
The identifier of the parent control group.
title (string) –
[REQUIRED]
The display name for the control.
description (string) – A description of the control.
requirements (list) –
The individual checks an assessment scores for this control. Assign each one an
idthat findings, assessment results, and remediation tasks reference.(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
Assurance.Client.exceptions.ConflictExceptionAssurance.Client.exceptions.ValidationExceptionAssurance.Client.exceptions.InternalServerExceptionAssurance.Client.exceptions.ThrottlingExceptionAssurance.Client.exceptions.AccessDeniedExceptionAssurance.Client.exceptions.ResourceNotFoundException