You are viewing documentation for version 2 of the AWS SDK for Ruby. Version 3 documentation can be found here.

Class: Aws::SecurityHub::Types::Compliance

Inherits:
Struct
  • Object
show all
Defined in:
(unknown)

Overview

Note:

When passing Compliance as input to an Aws::Client method, you can use a vanilla Hash:

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

Exclusive to findings that are generated as the result of a check run against a specific rule in a supported security standard, such as CIS AWS Foundations. Contains security standard-related finding details.

Values include the following:

  • Allowed values are the following:

    • PASSED - Standards check passed for all evaluated resources.

    • WARNING - Some information is missing or this check is not supported given 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 AWS Config evaluation was NOT_APPLICABLE. If the AWS Config evaluation result was NOT_APPLICABLE, then after 3 days, Security Hub automatically archives the finding.

Returned by:

Instance Attribute Summary collapse

Instance Attribute Details

List of requirements that are related to a standards control.

Returns:

  • (Array<String>)

    List of requirements that are related to a standards control.

#statusString

The result of a standards check.

Possible values:

  • PASSED
  • WARNING
  • FAILED
  • NOT_AVAILABLE

Returns:

  • (String)

    The result of a standards check.