Class: AWSCDK::SecurityHub::CfnAutomationRule::SeverityUpdateProperty
- Inherits:
-
Jsii::Struct
- Object
- Jsii::Struct
- AWSCDK::SecurityHub::CfnAutomationRule::SeverityUpdateProperty
- Defined in:
- security_hub/cfn_automation_rule.rb
Overview
Updates to the severity information for a finding.
Instance Attribute Summary collapse
-
#label ⇒ String?
readonly
The severity value of the finding.
-
#normalized ⇒ Numeric?
readonly
The normalized severity for the finding.
-
#product ⇒ Numeric?
readonly
The native severity as defined by the AWS service or integrated partner product that generated the finding.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(label: nil, normalized: nil, product: nil) ⇒ SeverityUpdateProperty
constructor
A new instance of SeverityUpdateProperty.
- #to_jsii ⇒ Object
Constructor Details
#initialize(label: nil, normalized: nil, product: nil) ⇒ SeverityUpdateProperty
Returns a new instance of SeverityUpdateProperty.
1582 1583 1584 1585 1586 1587 1588 1589 |
# File 'security_hub/cfn_automation_rule.rb', line 1582 def initialize(label: nil, normalized: nil, product: nil) @label = label Jsii::Type.check_type(@label, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJzdHJpbmcifQ==")), "label") unless @label.nil? @normalized = normalized Jsii::Type.check_type(@normalized, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "normalized") unless @normalized.nil? @product = product Jsii::Type.check_type(@product, JSON.parse(Base64.strict_decode64("eyJwcmltaXRpdmUiOiJudW1iZXIifQ==")), "product") unless @product.nil? end |
Instance Attribute Details
#label ⇒ String? (readonly)
The severity value of the finding. The allowed values are the following.
INFORMATIONAL- No issue was found.LOW- The issue does not require action on its own.MEDIUM- The issue must be addressed but not urgently.HIGH- The issue must be addressed as a priority.CRITICAL- The issue must be remediated immediately to avoid it escalating.
1601 1602 1603 |
# File 'security_hub/cfn_automation_rule.rb', line 1601 def label @label end |
#normalized ⇒ Numeric? (readonly)
The normalized severity for the finding. This attribute is to be deprecated in favor of Label .
If you provide Normalized and don't provide Label , Label is set automatically as follows.
- 0 -
INFORMATIONAL - 1–39 -
LOW - 40–69 -
MEDIUM - 70–89 -
HIGH - 90–100 -
CRITICAL
1614 1615 1616 |
# File 'security_hub/cfn_automation_rule.rb', line 1614 def normalized @normalized end |
#product ⇒ Numeric? (readonly)
The native severity as defined by the AWS service or integrated partner product that generated the finding.
1619 1620 1621 |
# File 'security_hub/cfn_automation_rule.rb', line 1619 def product @product end |
Class Method Details
.jsii_properties ⇒ Object
1621 1622 1623 1624 1625 1626 1627 |
# File 'security_hub/cfn_automation_rule.rb', line 1621 def self.jsii_properties { :label => "label", :normalized => "normalized", :product => "product", } end |
Instance Method Details
#to_jsii ⇒ Object
1629 1630 1631 1632 1633 1634 1635 1636 1637 |
# File 'security_hub/cfn_automation_rule.rb', line 1629 def to_jsii result = {} result.merge!({ "label" => @label, "normalized" => @normalized, "product" => @product, }) result.compact end |