Class: AWSCDK::SecurityHub::CfnAutomationRule::WorkflowUpdateProperty

Inherits:
Jsii::Struct
  • Object
show all
Defined in:
security_hub/cfn_automation_rule.rb

Overview

Used to update information about the investigation into the finding.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(status:) ⇒ WorkflowUpdateProperty

Returns a new instance of WorkflowUpdateProperty.

Parameters:

  • status (String)

    The status of the investigation into the finding.



1721
1722
1723
1724
# File 'security_hub/cfn_automation_rule.rb', line 1721

def initialize(status:)
  @status = status
  Jsii::Type.check_type(@status, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "status")
end

Instance Attribute Details

#statusString (readonly)

The status of the investigation into the finding.

The workflow status is specific to an individual finding. It does not affect the generation of new findings. For example, setting the workflow status to SUPPRESSED or RESOLVED does not prevent a new finding for the same issue.

The allowed values are the following.

  • NEW - The initial state of a finding, before it is reviewed.

Security Hub CSPM also resets WorkFlowStatus from NOTIFIED or RESOLVED to NEW in the following cases:

  • The record state changes from ARCHIVED to ACTIVE .
  • The compliance status changes from PASSED to either WARNING , FAILED , or NOT_AVAILABLE .
  • NOTIFIED - Indicates that you notified the resource owner about the security issue. Used when the initial reviewer is not the resource owner, and needs intervention from the resource owner.
  • RESOLVED - The finding was reviewed and remediated and is now considered resolved.
  • SUPPRESSED - Indicates that you reviewed the finding and don't believe that any action is needed. The finding is no longer updated.


1744
1745
1746
# File 'security_hub/cfn_automation_rule.rb', line 1744

def status
  @status
end

Class Method Details

.jsii_propertiesObject



1746
1747
1748
1749
1750
# File 'security_hub/cfn_automation_rule.rb', line 1746

def self.jsii_properties
  {
    :status => "status",
  }
end

Instance Method Details

#to_jsiiObject



1752
1753
1754
1755
1756
1757
1758
# File 'security_hub/cfn_automation_rule.rb', line 1752

def to_jsii
  result = {}
  result.merge!({
    "status" => @status,
  })
  result.compact
end