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 |
Synopsis
- data EvaluationResult = EvaluationResult' {}
- newEvaluationResult :: EvaluationResult
- evaluationResult_violatorCount :: Lens' EvaluationResult (Maybe Natural)
- evaluationResult_complianceStatus :: Lens' EvaluationResult (Maybe PolicyComplianceStatusType)
- evaluationResult_evaluationLimitExceeded :: Lens' EvaluationResult (Maybe Bool)
Documentation
data EvaluationResult Source #
Describes the compliance status for the account. An account is considered noncompliant if it includes resources that are not protected by the specified policy or that don't comply with the policy.
See: newEvaluationResult
smart constructor.
EvaluationResult' | |
|
Instances
newEvaluationResult :: EvaluationResult Source #
Create a value of EvaluationResult
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:violatorCount:EvaluationResult'
, evaluationResult_violatorCount
- The number of resources that are noncompliant with the specified policy.
For WAF and Shield Advanced policies, a resource is considered
noncompliant if it is not associated with the policy. For security group
policies, a resource is considered noncompliant if it doesn't comply
with the rules of the policy and remediation is disabled or not
possible.
$sel:complianceStatus:EvaluationResult'
, evaluationResult_complianceStatus
- Describes an Amazon Web Services account's compliance with the Firewall
Manager policy.
$sel:evaluationLimitExceeded:EvaluationResult'
, evaluationResult_evaluationLimitExceeded
- Indicates that over 100 resources are noncompliant with the Firewall
Manager policy.
evaluationResult_violatorCount :: Lens' EvaluationResult (Maybe Natural) Source #
The number of resources that are noncompliant with the specified policy. For WAF and Shield Advanced policies, a resource is considered noncompliant if it is not associated with the policy. For security group policies, a resource is considered noncompliant if it doesn't comply with the rules of the policy and remediation is disabled or not possible.
evaluationResult_complianceStatus :: Lens' EvaluationResult (Maybe PolicyComplianceStatusType) Source #
Describes an Amazon Web Services account's compliance with the Firewall Manager policy.
evaluationResult_evaluationLimitExceeded :: Lens' EvaluationResult (Maybe Bool) Source #
Indicates that over 100 resources are noncompliant with the Firewall Manager policy.