Skip to content

Update Standards Control

securityhub_update_standards_control R Documentation

Used to control whether an individual security standard control is enabled or disabled

Description

Used to control whether an individual security standard control is enabled or disabled.

Calls to this operation return a RESOURCE_NOT_FOUND_EXCEPTION error when the standard subscription for the control has StandardsControlsUpdatable value NOT_READY_FOR_UPDATES.

Usage

securityhub_update_standards_control(StandardsControlArn, ControlStatus,
  DisabledReason)

Arguments

StandardsControlArn

[required] The ARN of the security standard control to enable or disable.

ControlStatus

The updated status of the security standard control.

DisabledReason

A description of the reason why you are disabling a security standard control. If you are disabling a control, then this is required.

Value

An empty list.

Request syntax

svc$update_standards_control(
  StandardsControlArn = "string",
  ControlStatus = "ENABLED"|"DISABLED",
  DisabledReason = "string"
)