Select your cookie preferences

We use cookies and similar tools to enhance your experience, provide our services, deliver relevant advertising, and make improvements. Approved third parties also use these tools to help us deliver advertising and provide certain site features.

update_standards_control

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