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

Inherits:
Struct
  • Object
show all
Includes:
Aws::Structure
Defined in:
lib/aws-sdk-securityhub/types.rb

Overview

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

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#associated_standardsArray<Types::AssociatedStandard>

The enabled security standards in which a security control is currently enabled.

Returns:



23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end

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.

Array Members: Maximum number of 32 items.

Returns:

  • (Array<String>)


23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#security_control_idString

The unique identifier of a control across standards. Values for this field typically consist of an Amazon Web Servicesservice and a number, such as APIGateway.5.

Returns:

  • (String)


23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#security_control_parametersArray<Types::SecurityControlParameter>

An object that includes security control parameter names and values.



23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#statusString

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` for a Security Hub control, Security Hub automatically archives the finding after 3 days.

Returns:

  • (String)


23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end

#status_reasonsArray<Types::StatusReason>

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

[1]: docs.aws.amazon.com/securityhub/latest/userguide/securityhub-standards-results.html#securityhub-standards-results-asff

Returns:



23180
23181
23182
23183
23184
23185
23186
23187
23188
23189
# File 'lib/aws-sdk-securityhub/types.rb', line 23180

class Compliance < Struct.new(
  :status,
  :related_requirements,
  :status_reasons,
  :security_control_id,
  :associated_standards,
  :security_control_parameters)
  SENSITIVE = []
  include Aws::Structure
end