class Aws::SecurityHub::Types::Compliance

Contains finding details that are specific to control-based findings. Only returned for findings generated from controls.

@note When making an API call, you may pass Compliance

data as a hash:

    {
      status: "PASSED", # accepts PASSED, WARNING, FAILED, NOT_AVAILABLE
      related_requirements: ["NonEmptyString"],
      status_reasons: [
        {
          reason_code: "NonEmptyString", # required
          description: "NonEmptyString",
        },
      ],
    }

@!attribute [rw] 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 was `NOT_APPLICABLE`. If the Config evaluation result
    was `NOT_APPLICABLE`, then after 3 days, Security Hub
    automatically archives the finding.
@return [String]

@!attribute [rw] related_requirements

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.
@return [Array<String>]

@!attribute [rw] status_reasons

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][1] in the
*Security Hub User Guide*.

[1]: https://docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-results.html#securityhub-standards-results-asff
@return [Array<Types::StatusReason>]

@see docs.aws.amazon.com/goto/WebAPI/securityhub-2018-10-26/Compliance AWS API Documentation

Constants

SENSITIVE