Class: Aws::SecurityHub::Types::StatusReason

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

Overview

Note:

When making an API call, you may pass StatusReason data as a hash:

{
  reason_code: "NonEmptyString", # required
  description: "NonEmptyString",
}

Provides additional context for the value of Compliance.Status.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#descriptionString

The corresponding description for the status reason code.

Returns:

  • (String)


42727
42728
42729
42730
42731
42732
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 42727

class StatusReason < Struct.new(
  :reason_code,
  :description)
  SENSITIVE = []
  include Aws::Structure
end

#reason_codeString

A code that represents a reason for the control status. For the list of status reason codes and their meanings, see Standards-related information in the ASFF in the Security Hub User Guide.

Returns:

  • (String)


42727
42728
42729
42730
42731
42732
# File 'gems/aws-sdk-securityhub/lib/aws-sdk-securityhub/types.rb', line 42727

class StatusReason < Struct.new(
  :reason_code,
  :description)
  SENSITIVE = []
  include Aws::Structure
end