| 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 |
Amazonka.SecurityHub.Types.Compliance
Description
Synopsis
Documentation
data Compliance Source #
Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.
See: newCompliance smart constructor.
Constructors
| Compliance' | |
Fields
| |
Instances
newCompliance :: Compliance Source #
Create a value of Compliance 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:status:Compliance', compliance_status - The result of a standards check.
The valid values for Status are as follows.
-
PASSED- Standards check passed for all evaluated resources.WARNING- Some information is missing or this check is not supported for your configuration.FAILED- Standards check failed for at least one evaluated resource.NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
$sel:relatedRequirements:Compliance', compliance_relatedRequirements - For a control, the industry or regulatory framework requirements that
are related to the control. The check for that control is aligned with
these requirements.
$sel:statusReasons:Compliance', compliance_statusReasons - For findings generated from controls, a list of reasons behind the value
of Status. For the list of status reason codes and their meanings, see
Standards-related information in the ASFF
in the Security Hub User Guide.
compliance_status :: Lens' Compliance (Maybe ComplianceStatus) Source #
The result of a standards check.
The valid values for Status are as follows.
-
PASSED- Standards check passed for all evaluated resources.WARNING- Some information is missing or this check is not supported for your configuration.FAILED- Standards check failed for at least one evaluated resource.NOT_AVAILABLE- Check could not be performed due to a service outage, API error, or because the result of the Config evaluation wasNOT_APPLICABLE. If the Config evaluation result wasNOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.
compliance_relatedRequirements :: Lens' Compliance (Maybe [Text]) Source #
For a control, the industry or regulatory framework requirements that are related to the control. The check for that control is aligned with these requirements.
compliance_statusReasons :: Lens' Compliance (Maybe [StatusReason]) Source #
For findings generated from controls, a list of reasons behind the value
of Status. For the list of status reason codes and their meanings, see
Standards-related information in the ASFF
in the Security Hub User Guide.