SecurityHub / Client / update_standards_control
update_standards_control#
- SecurityHub.Client.update_standards_control(**kwargs)#
- Used to control whether an individual security standard control is enabled or disabled. - See also: AWS API Documentation - Request Syntax- response = client.update_standards_control( StandardsControlArn='string', ControlStatus='ENABLED'|'DISABLED', DisabledReason='string' ) - Parameters:
- StandardsControlArn (string) – - [REQUIRED] - The ARN of the security standard control to enable or disable. 
- ControlStatus (string) – The updated status of the security standard control. 
- DisabledReason (string) – A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required. 
 
- Return type:
- dict 
- Returns:
- Response Syntax- {}- Response Structure- (dict) – 
 
 - Exceptions- SecurityHub.Client.exceptions.InternalException
- SecurityHub.Client.exceptions.InvalidInputException
- SecurityHub.Client.exceptions.InvalidAccessException
- SecurityHub.Client.exceptions.ResourceNotFoundException
- SecurityHub.Client.exceptions.AccessDeniedException