amazonka-fms-2.0: Amazon Firewall Management Service SDK.
Copyright(c) 2013-2023 Brendan Hay
LicenseMozilla Public License, v. 2.0.
MaintainerBrendan Hay
Stabilityauto-generated
Portabilitynon-portable (GHC extensions)
Safe HaskellSafe-Inferred
LanguageHaskell2010

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

  • 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.

  • 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.

Instances

Instances details
FromJSON 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 #

Read EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Show EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

NFData EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Methods

rnf :: EvaluationResult -> () #

Eq EvaluationResult Source # 
Instance details

Defined in Amazonka.FMS.Types.EvaluationResult

Hashable 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" "amazonka-fms-2.0-351knTjuYAjE9GRQTo0ohx" 'False) (C1 ('MetaCons "EvaluationResult'" 'PrefixI 'True) (S1 ('MetaSel ('Just "complianceStatus") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe PolicyComplianceStatusType)) :*: (S1 ('MetaSel ('Just "evaluationLimitExceeded") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Bool)) :*: S1 ('MetaSel ('Just "violatorCount") 'NoSourceUnpackedness 'NoSourceStrictness 'DecidedStrict) (Rec0 (Maybe Natural)))))

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: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.

$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.

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.

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.