Returns detailed compliance information about the specified member account. Details include resources that are in and out of compliance with the specified policy. Resources are considered noncompliant for AWS WAF and Shield Advanced policies if the specified policy has not been applied to them. Resources are considered noncompliant for security group policies if they are in scope of the policy, they violate one or more of the policy rules, and remediation is disabled or not possible.
fms_get_compliance_detail(PolicyId, MemberAccount)
[required] The ID of the policy that you want to get the details for. PolicyId
is
returned by PutPolicy
and by ListPolicies
.
[required] The AWS account that owns the resources that you want to get the details for.
svc$get_compliance_detail( PolicyId = "string", MemberAccount = "string" )