CmdID

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

Opens CmdID with your command. It is read in your browser and sent nowhere.

Examples

from aws-cli, each command read by CmdID

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

3 in the AWS CLI reference
--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.