libZSservicesZSamazonka-fmsZSamazonka-fms
Copyright(c) 2013-2021 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay <brendan.g.hay+amazonka@gmail.com>
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellNone

Amazonka.FMS.Types.EvaluationResult

Description

 
Synopsis

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.

Constructors

EvaluationResult' 

Fields

  • violatorCount :: Maybe Natural

    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.

  • complianceStatus :: Maybe PolicyComplianceStatusType

    Describes an Amazon Web Services account's compliance with the Firewall Manager policy.

  • evaluationLimitExceeded :: Maybe Bool

    Indicates that over 100 resources are noncompliant with the Firewall Manager policy.

Instances

Instances details
Eq EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Read EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Show EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Generic EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Associated Types

type Rep EvaluationResult :: Type -> Type #

NFData EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Methods

rnf :: EvaluationResult -> () #

Hashable EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

FromJSON EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

type Rep EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

type Rep EvaluationResult = D1 ('MetaData "EvaluationResult" "Amazonka.FMS.Types.EvaluationResult" "libZSservicesZSamazonka-fmsZSamazonka-fms" 'False) (C1 ('MetaCons "EvaluationResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "violatorCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)) :*: (S1 ('MetaSel ('Just "complianceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyComplianceStatusType)) :*: S1 ('MetaSel ('Just "evaluationLimitExceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)))))

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.