Copyright | (c) 2013-2021 Brendan Hay |
---|---|
License | Mozilla Public License, v. 2.0. |
Maintainer | Brendan Hay <brendan.g.hay+amazonka@gmail.com> |
Stability | auto-generated |
Portability | non-portable (GHC extensions) |
Safe Haskell | None |
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 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.
- Resources are considered noncompliant for Network Firewall policies if a firewall is missing in the VPC, if the firewall endpoint isn't set up in an expected Availability Zone and subnet, if a subnet created by the Firewall Manager doesn't have the expected route table, and for modifications to a firewall policy that violate the Firewall Manager policy's rules.
- Resources are considered noncompliant for DNS Firewall policies if a DNS Firewall rule group is missing from the rule group associations for the VPC.
Synopsis
- data GetComplianceDetail = GetComplianceDetail' {
- policyId :: Text
- memberAccount :: Text
- newGetComplianceDetail :: Text -> Text -> GetComplianceDetail
- getComplianceDetail_policyId :: Lens' GetComplianceDetail Text
- getComplianceDetail_memberAccount :: Lens' GetComplianceDetail Text
- data GetComplianceDetailResponse = GetComplianceDetailResponse' {}
- newGetComplianceDetailResponse :: Int -> GetComplianceDetailResponse
- getComplianceDetailResponse_policyComplianceDetail :: Lens' GetComplianceDetailResponse (Maybe PolicyComplianceDetail)
- getComplianceDetailResponse_httpStatus :: Lens' GetComplianceDetailResponse Int
Creating a Request
data GetComplianceDetail Source #
See: newGetComplianceDetail
smart constructor.
GetComplianceDetail' | |
|
Instances
newGetComplianceDetail Source #
:: Text | |
-> Text | |
-> GetComplianceDetail |
Create a value of GetComplianceDetail
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policyId:GetComplianceDetail'
, getComplianceDetail_policyId
- The ID of the policy that you want to get the details for. PolicyId
is
returned by PutPolicy
and by ListPolicies
.
$sel:memberAccount:GetComplianceDetail'
, getComplianceDetail_memberAccount
- The Amazon Web Services account that owns the resources that you want to
get the details for.
Request Lenses
getComplianceDetail_policyId :: Lens' GetComplianceDetail Text Source #
The ID of the policy that you want to get the details for. PolicyId
is
returned by PutPolicy
and by ListPolicies
.
getComplianceDetail_memberAccount :: Lens' GetComplianceDetail Text Source #
The Amazon Web Services account that owns the resources that you want to get the details for.
Destructuring the Response
data GetComplianceDetailResponse Source #
See: newGetComplianceDetailResponse
smart constructor.
GetComplianceDetailResponse' | |
|
Instances
newGetComplianceDetailResponse Source #
Create a value of GetComplianceDetailResponse
with all optional fields omitted.
Use generic-lens or optics to modify other optional fields.
The following record fields are available, with the corresponding lenses provided for backwards compatibility:
$sel:policyComplianceDetail:GetComplianceDetailResponse'
, getComplianceDetailResponse_policyComplianceDetail
- Information about the resources and the policy that you specified in the
GetComplianceDetail
request.
$sel:httpStatus:GetComplianceDetailResponse'
, getComplianceDetailResponse_httpStatus
- The response's http status code.
Response Lenses
getComplianceDetailResponse_policyComplianceDetail :: Lens' GetComplianceDetailResponse (Maybe PolicyComplianceDetail) Source #
Information about the resources and the policy that you specified in the
GetComplianceDetail
request.
getComplianceDetailResponse_httpStatus :: Lens' GetComplianceDetailResponse Int Source #
The response's http status code.