CmdID / aws / aws securityhub
aws securityhub update-security-control
Updates the properties of a security control. AWS CLI reference
1 example 3 options Its page in the AWS CLI reference
Examples
To update security control properties
The following update-security-control example specifies custom values for a Security Hub security control parameter.
aws securityhub update-security-control --security-control-id ACM.1 --parameters '{"daysToExpiration": {"ValueType": "CUSTOM", "Value": {"Integer": 15}}}' --last-update-reason "Internal compliance requirement"Identify--security-control-idThe Amazon Resource Name (ARN) or ID of the control to update.--parametersAn object that specifies which security control parameters to update.--last-update-reasonThe most recent reason for updating the properties of the security control.This command produces no output.
For more information, see Custom control parameters in the AWS Security Hub User Guide.
Options
--last-update-reasonThe most recent reason for updating the properties of the security control.--parametersAn object that specifies which security control parameters to update.--security-control-idThe Amazon Resource Name (ARN) or ID of the control to update.