CmdID / aws / aws securityhub
aws securityhub generate-recommended-policy-v2
Begins the recommended policy generation to remediate a Security Hub finding. AWS CLI reference
1 option Its page in the AWS CLI reference
Options
--metadata-uidThe unique identifier (ID) of Security Hub OCSF findings found under the metadata.uid field of the finding.