Values.GetRecommendedPolicyV2RequestSourceRetrieves the recommended policy to remediate a Security Hub finding. GetRecommendedPolicyV2 only supports findings for unused permissions.
type nonrec t = {metadataUid : NonEmptyString.t;The unique identifier (ID) of Security Hub OCSF findings found under the metadata.uid field of the finding.
*)nextToken : NextToken.t option;The token used to paginate the RecommendationSteps list returned. On your first call to GetRecommendedPolicyV2, omit this parameter or set it to NULL. For subsequent calls, use the NextToken value returned in the previous response to retrieve the next page of results.
*)maxResults : MaxResults.t option;The maximum number of recommendation steps to return.
*)}val to_value :
t ->
[> `Structure of
(string * [> `Integer of MaxResults.t | `String of NonEmptyString.t ])
list ]