SecurityHub / Client / generate_recommended_policy_v2
generate_recommended_policy_v2¶
- SecurityHub.Client.generate_recommended_policy_v2(**kwargs)¶
Begins the recommended policy generation to remediate a Security Hub finding.
GenerateRecommendedPolicyV2only supports findings for unused permissions.See also: AWS API Documentation
Request Syntax
response = client.generate_recommended_policy_v2( MetadataUid='string' )
- Parameters:
MetadataUid (string) –
[REQUIRED]
The unique identifier (ID) of Security Hub OCSF findings found under the
metadata.uidfield of the finding.- Return type:
dict
- Returns:
Response Syntax
{}Response Structure
(dict) –
Exceptions