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.
Usage¶
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"
)
Examples¶
## Not run:
# The following example disables the specified control in the specified
# security standard.
svc$update_standards_control(
ControlStatus = "DISABLED",
DisabledReason = "Not applicable to my service",
StandardsControlArn = "arn:aws:securityhub:us-west-1:123456789012:control..."
)
## End(Not run)