Class: AWSCDK::SecurityHub::CfnAutomationRule::AutomationRulesFindingFiltersProperty

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

Overview

The criteria that determine which findings a rule applies to.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(aws_account_id: nil, company_name: nil, compliance_associated_standards_id: nil, compliance_security_control_id: nil, compliance_status: nil, confidence: nil, created_at: nil, criticality: nil, description: nil, first_observed_at: nil, generator_id: nil, id: nil, last_observed_at: nil, note_text: nil, note_updated_at: nil, note_updated_by: nil, product_arn: nil, product_name: nil, record_state: nil, related_findings_id: nil, related_findings_product_arn: nil, resource_details_other: nil, resource_id: nil, resource_partition: nil, resource_region: nil, resource_tags: nil, resource_type: nil, severity_label: nil, source_url: nil, title: nil, type: nil, updated_at: nil, user_defined_fields: nil, verification_state: nil, workflow_status: nil) ⇒ AutomationRulesFindingFiltersProperty

Returns a new instance of AutomationRulesFindingFiltersProperty.

Parameters:



825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
# File 'security_hub/cfn_automation_rule.rb', line 825

def initialize(aws_account_id: nil, company_name: nil, compliance_associated_standards_id: nil, compliance_security_control_id: nil, compliance_status: nil, confidence: nil, created_at: nil, criticality: nil, description: nil, first_observed_at: nil, generator_id: nil, id: nil, last_observed_at: nil, note_text: nil, note_updated_at: nil, note_updated_by: nil, product_arn: nil, product_name: nil, record_state: nil, related_findings_id: nil, related_findings_product_arn: nil, resource_details_other: nil, resource_id: nil, resource_partition: nil, resource_region: nil, resource_tags: nil, resource_type: nil, severity_label: nil, source_url: nil, title: nil, type: nil, updated_at: nil, user_defined_fields: nil, verification_state: nil, workflow_status: nil)
  @aws_account_id = 
  Jsii::Type.check_type(@aws_account_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "awsAccountId") unless @aws_account_id.nil?
  @company_name = company_name
  Jsii::Type.check_type(@company_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "companyName") unless @company_name.nil?
  @compliance_associated_standards_id = compliance_associated_standards_id
  Jsii::Type.check_type(@compliance_associated_standards_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "complianceAssociatedStandardsId") unless @compliance_associated_standards_id.nil?
  @compliance_security_control_id = compliance_security_control_id
  Jsii::Type.check_type(@compliance_security_control_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "complianceSecurityControlId") unless @compliance_security_control_id.nil?
  @compliance_status = compliance_status
  Jsii::Type.check_type(@compliance_status, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "complianceStatus") unless @compliance_status.nil?
  @confidence = confidence
  Jsii::Type.check_type(@confidence, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuTnVtYmVyRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "confidence") unless @confidence.nil?
  @created_at = created_at
  Jsii::Type.check_type(@created_at, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuRGF0ZUZpbHRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "createdAt") unless @created_at.nil?
  @criticality = criticality
  Jsii::Type.check_type(@criticality, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuTnVtYmVyRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "criticality") unless @criticality.nil?
  @description = description
  Jsii::Type.check_type(@description, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "description") unless @description.nil?
  @first_observed_at = first_observed_at
  Jsii::Type.check_type(@first_observed_at, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuRGF0ZUZpbHRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "firstObservedAt") unless @first_observed_at.nil?
  @generator_id = generator_id
  Jsii::Type.check_type(@generator_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "generatorId") unless @generator_id.nil?
  @id = id
  Jsii::Type.check_type(@id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "id") unless @id.nil?
  @last_observed_at = last_observed_at
  Jsii::Type.check_type(@last_observed_at, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuRGF0ZUZpbHRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "lastObservedAt") unless @last_observed_at.nil?
  @note_text = note_text
  Jsii::Type.check_type(@note_text, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "noteText") unless @note_text.nil?
  @note_updated_at = note_updated_at
  Jsii::Type.check_type(@note_updated_at, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuRGF0ZUZpbHRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "noteUpdatedAt") unless @note_updated_at.nil?
  @note_updated_by = note_updated_by
  Jsii::Type.check_type(@note_updated_by, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "noteUpdatedBy") unless @note_updated_by.nil?
  @product_arn = product_arn
  Jsii::Type.check_type(@product_arn, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "productArn") unless @product_arn.nil?
  @product_name = product_name
  Jsii::Type.check_type(@product_name, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "productName") unless @product_name.nil?
  @record_state = record_state
  Jsii::Type.check_type(@record_state, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "recordState") unless @record_state.nil?
  @related_findings_id = related_findings_id
  Jsii::Type.check_type(@related_findings_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "relatedFindingsId") unless @related_findings_id.nil?
  @related_findings_product_arn = related_findings_product_arn
  Jsii::Type.check_type(@related_findings_product_arn, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "relatedFindingsProductArn") unless @related_findings_product_arn.nil?
  @resource_details_other = resource_details_other
  Jsii::Type.check_type(@resource_details_other, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuTWFwRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceDetailsOther") unless @resource_details_other.nil?
  @resource_id = resource_id
  Jsii::Type.check_type(@resource_id, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceId") unless @resource_id.nil?
  @resource_partition = resource_partition
  Jsii::Type.check_type(@resource_partition, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourcePartition") unless @resource_partition.nil?
  @resource_region = resource_region
  Jsii::Type.check_type(@resource_region, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceRegion") unless @resource_region.nil?
  @resource_tags = resource_tags
  Jsii::Type.check_type(@resource_tags, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuTWFwRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceTags") unless @resource_tags.nil?
  @resource_type = resource_type
  Jsii::Type.check_type(@resource_type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "resourceType") unless @resource_type.nil?
  @severity_label = severity_label
  Jsii::Type.check_type(@severity_label, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "severityLabel") unless @severity_label.nil?
  @source_url = source_url
  Jsii::Type.check_type(@source_url, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "sourceUrl") unless @source_url.nil?
  @title = title
  Jsii::Type.check_type(@title, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "title") unless @title.nil?
  @type = type
  Jsii::Type.check_type(@type, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "type") unless @type.nil?
  @updated_at = updated_at
  Jsii::Type.check_type(@updated_at, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuRGF0ZUZpbHRlclByb3BlcnR5In1dfX0sImtpbmQiOiJhcnJheSJ9fV19fQ==")), "updatedAt") unless @updated_at.nil?
  @user_defined_fields = user_defined_fields
  Jsii::Type.check_type(@user_defined_fields, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuTWFwRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "userDefinedFields") unless @user_defined_fields.nil?
  @verification_state = verification_state
  Jsii::Type.check_type(@verification_state, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "verificationState") unless @verification_state.nil?
  @workflow_status = workflow_status
  Jsii::Type.check_type(@workflow_status, JSON.parse(Base64.strict_decode64("eyJ1bmlvbiI6eyJ0eXBlcyI6W3siZnFuIjoiYXdzLWNkay1saWIuSVJlc29sdmFibGUifSx7ImNvbGxlY3Rpb24iOnsiZWxlbWVudHR5cGUiOnsidW5pb24iOnsidHlwZXMiOlt7ImZxbiI6ImF3cy1jZGstbGliLklSZXNvbHZhYmxlIn0seyJmcW4iOiJhd3MtY2RrLWxpYi5hd3Nfc2VjdXJpdHlodWIuQ2ZuQXV0b21hdGlvblJ1bGUuU3RyaW5nRmlsdGVyUHJvcGVydHkifV19fSwia2luZCI6ImFycmF5In19XX19")), "workflowStatus") unless @workflow_status.nil?
end

Instance Attribute Details

#aws_account_idAWSCDK::IResolvable, ... (readonly)

The AWS account ID in which a finding was generated.

Array Members: Minimum number of 1 item. Maximum number of 100 items.



904
905
906
# File 'security_hub/cfn_automation_rule.rb', line 904

def 
  @aws_account_id
end

#company_nameAWSCDK::IResolvable, ... (readonly)

The name of the company for the product that generated the finding.

For control-based findings, the company is AWS .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



913
914
915
# File 'security_hub/cfn_automation_rule.rb', line 913

def company_name
  @company_name
end

#compliance_associated_standards_idAWSCDK::IResolvable, ... (readonly)

The unique identifier of a standard in which a control is enabled.

This field consists of the resource portion of the Amazon Resource Name (ARN) returned for a standard in the DescribeStandards API response.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



922
923
924
# File 'security_hub/cfn_automation_rule.rb', line 922

def compliance_associated_standards_id
  @compliance_associated_standards_id
end

#compliance_security_control_idAWSCDK::IResolvable, ... (readonly)

The security control ID for which a finding was generated. Security control IDs are the same across standards.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



929
930
931
# File 'security_hub/cfn_automation_rule.rb', line 929

def compliance_security_control_id
  @compliance_security_control_id
end

#compliance_statusAWSCDK::IResolvable, ... (readonly)

The result of a security check. This field is only used for findings generated from controls.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



936
937
938
# File 'security_hub/cfn_automation_rule.rb', line 936

def compliance_status
  @compliance_status
end

#confidenceAWSCDK::IResolvable, ... (readonly)

The likelihood that a finding accurately identifies the behavior or issue that it was intended to identify.

Confidence is scored on a 0–100 basis using a ratio scale. A value of 0 means 0 percent confidence, and a value of 100 means 100 percent confidence. For example, a data exfiltration detection based on a statistical deviation of network traffic has low confidence because an actual exfiltration hasn't been verified. For more information, see Confidence in the AWS Security Hub CSPM User Guide .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



945
946
947
# File 'security_hub/cfn_automation_rule.rb', line 945

def confidence
  @confidence
end

#created_atAWSCDK::IResolvable, ... (readonly)

A timestamp that indicates when this finding record was created.

For more information about the validation and formatting of timestamp fields in AWS Security Hub CSPM , see Timestamps .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



954
955
956
# File 'security_hub/cfn_automation_rule.rb', line 954

def created_at
  @created_at
end

#criticalityAWSCDK::IResolvable, ... (readonly)

The level of importance that is assigned to the resources that are associated with a finding.

Criticality is scored on a 0–100 basis, using a ratio scale that supports only full integers. A score of 0 means that the underlying resources have no criticality, and a score of 100 is reserved for the most critical resources. For more information, see Criticality in the AWS Security Hub CSPM User Guide .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



963
964
965
# File 'security_hub/cfn_automation_rule.rb', line 963

def criticality
  @criticality
end

#descriptionAWSCDK::IResolvable, ... (readonly)

A finding's description.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



970
971
972
# File 'security_hub/cfn_automation_rule.rb', line 970

def description
  @description
end

#first_observed_atAWSCDK::IResolvable, ... (readonly)

A timestamp that indicates when the potential security issue captured by a finding was first observed by the security findings product.

For more information about the validation and formatting of timestamp fields in AWS Security Hub CSPM , see Timestamps .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



979
980
981
# File 'security_hub/cfn_automation_rule.rb', line 979

def first_observed_at
  @first_observed_at
end

#generator_idAWSCDK::IResolvable, ... (readonly)

The identifier for the solution-specific component that generated a finding.

Array Members: Minimum number of 1 item. Maximum number of 100 items.



986
987
988
# File 'security_hub/cfn_automation_rule.rb', line 986

def generator_id
  @generator_id
end

#idAWSCDK::IResolvable, ... (readonly)

The product-specific identifier for a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



993
994
995
# File 'security_hub/cfn_automation_rule.rb', line 993

def id
  @id
end

#last_observed_atAWSCDK::IResolvable, ... (readonly)

A timestamp that indicates when the security findings provider most recently observed a change in the resource that is involved in the finding.

For more information about the validation and formatting of timestamp fields in AWS Security Hub CSPM , see Timestamps .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1002
1003
1004
# File 'security_hub/cfn_automation_rule.rb', line 1002

def last_observed_at
  @last_observed_at
end

#note_textAWSCDK::IResolvable, ... (readonly)

The text of a user-defined note that's added to a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1009
1010
1011
# File 'security_hub/cfn_automation_rule.rb', line 1009

def note_text
  @note_text
end

#note_updated_atAWSCDK::IResolvable, ... (readonly)

The timestamp of when the note was updated.

For more information about the validation and formatting of timestamp fields in AWS Security Hub CSPM , see Timestamps .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1018
1019
1020
# File 'security_hub/cfn_automation_rule.rb', line 1018

def note_updated_at
  @note_updated_at
end

#note_updated_byAWSCDK::IResolvable, ... (readonly)

The principal that created a note.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1025
1026
1027
# File 'security_hub/cfn_automation_rule.rb', line 1025

def note_updated_by
  @note_updated_by
end

#product_arnAWSCDK::IResolvable, ... (readonly)

The Amazon Resource Name (ARN) for a third-party product that generated a finding in Security Hub CSPM.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1032
1033
1034
# File 'security_hub/cfn_automation_rule.rb', line 1032

def product_arn
  @product_arn
end

#product_nameAWSCDK::IResolvable, ... (readonly)

Provides the name of the product that generated the finding.

For control-based findings, the product name is Security Hub CSPM.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1041
1042
1043
# File 'security_hub/cfn_automation_rule.rb', line 1041

def product_name
  @product_name
end

#record_stateAWSCDK::IResolvable, ... (readonly)

Provides the current state of a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1048
1049
1050
# File 'security_hub/cfn_automation_rule.rb', line 1048

def record_state
  @record_state
end

The product-generated identifier for a related finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1055
1056
1057
# File 'security_hub/cfn_automation_rule.rb', line 1055

def related_findings_id
  @related_findings_id
end

The ARN for the product that generated a related finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1062
1063
1064
# File 'security_hub/cfn_automation_rule.rb', line 1062

def related_findings_product_arn
  @related_findings_product_arn
end

#resource_details_otherAWSCDK::IResolvable, ... (readonly)

Custom fields and values about the resource that a finding pertains to.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1069
1070
1071
# File 'security_hub/cfn_automation_rule.rb', line 1069

def resource_details_other
  @resource_details_other
end

#resource_idAWSCDK::IResolvable, ... (readonly)

The identifier for the given resource type.

For AWS resources that are identified by Amazon Resource Names (ARNs), this is the ARN. For AWS resources that lack ARNs, this is the identifier as defined by the AWS service that created the resource. For non- AWS resources, this is a unique identifier that is associated with the resource.

Array Members: Minimum number of 1 item. Maximum number of 100 items.



1078
1079
1080
# File 'security_hub/cfn_automation_rule.rb', line 1078

def resource_id
  @resource_id
end

#resource_partitionAWSCDK::IResolvable, ... (readonly)

The partition in which the resource that the finding pertains to is located.

A partition is a group of AWS Regions . Each AWS account is scoped to one partition.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1087
1088
1089
# File 'security_hub/cfn_automation_rule.rb', line 1087

def resource_partition
  @resource_partition
end

#resource_regionAWSCDK::IResolvable, ... (readonly)

The AWS Region where the resource that a finding pertains to is located.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1094
1095
1096
# File 'security_hub/cfn_automation_rule.rb', line 1094

def resource_region
  @resource_region
end

#resource_tagsAWSCDK::IResolvable, ... (readonly)

A list of AWS tags associated with a resource at the time the finding was processed.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1101
1102
1103
# File 'security_hub/cfn_automation_rule.rb', line 1101

def resource_tags
  @resource_tags
end

#resource_typeAWSCDK::IResolvable, ... (readonly)

A finding's title.

Array Members: Minimum number of 1 item. Maximum number of 100 items.



1108
1109
1110
# File 'security_hub/cfn_automation_rule.rb', line 1108

def resource_type
  @resource_type
end

#severity_labelAWSCDK::IResolvable, ... (readonly)

The severity value of the finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1115
1116
1117
# File 'security_hub/cfn_automation_rule.rb', line 1115

def severity_label
  @severity_label
end

#source_urlAWSCDK::IResolvable, ... (readonly)

Provides a URL that links to a page about the current finding in the finding product.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1122
1123
1124
# File 'security_hub/cfn_automation_rule.rb', line 1122

def source_url
  @source_url
end

#titleAWSCDK::IResolvable, ... (readonly)

A finding's title.

Array Members: Minimum number of 1 item. Maximum number of 100 items.



1129
1130
1131
# File 'security_hub/cfn_automation_rule.rb', line 1129

def title
  @title
end

#typeAWSCDK::IResolvable, ... (readonly)

One or more finding types in the format of namespace/category/classifier that classify a finding.

For a list of namespaces, classifiers, and categories, see Types taxonomy for ASFF in the AWS Security Hub CSPM User Guide .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1138
1139
1140
# File 'security_hub/cfn_automation_rule.rb', line 1138

def type
  @type
end

#updated_atAWSCDK::IResolvable, ... (readonly)

A timestamp that indicates when the finding record was most recently updated.

For more information about the validation and formatting of timestamp fields in AWS Security Hub CSPM , see Timestamps .

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1147
1148
1149
# File 'security_hub/cfn_automation_rule.rb', line 1147

def updated_at
  @updated_at
end

#user_defined_fieldsAWSCDK::IResolvable, ... (readonly)

A list of user-defined name and value string pairs added to a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1154
1155
1156
# File 'security_hub/cfn_automation_rule.rb', line 1154

def user_defined_fields
  @user_defined_fields
end

#verification_stateAWSCDK::IResolvable, ... (readonly)

Provides the veracity of a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1161
1162
1163
# File 'security_hub/cfn_automation_rule.rb', line 1161

def verification_state
  @verification_state
end

#workflow_statusAWSCDK::IResolvable, ... (readonly)

Provides information about the status of the investigation into a finding.

Array Members: Minimum number of 1 item. Maximum number of 20 items.



1168
1169
1170
# File 'security_hub/cfn_automation_rule.rb', line 1168

def workflow_status
  @workflow_status
end

Class Method Details

.jsii_propertiesObject



1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
# File 'security_hub/cfn_automation_rule.rb', line 1170

def self.jsii_properties
  {
    :aws_account_id => "awsAccountId",
    :company_name => "companyName",
    :compliance_associated_standards_id => "complianceAssociatedStandardsId",
    :compliance_security_control_id => "complianceSecurityControlId",
    :compliance_status => "complianceStatus",
    :confidence => "confidence",
    :created_at => "createdAt",
    :criticality => "criticality",
    :description => "description",
    :first_observed_at => "firstObservedAt",
    :generator_id => "generatorId",
    :id => "id",
    :last_observed_at => "lastObservedAt",
    :note_text => "noteText",
    :note_updated_at => "noteUpdatedAt",
    :note_updated_by => "noteUpdatedBy",
    :product_arn => "productArn",
    :product_name => "productName",
    :record_state => "recordState",
    :related_findings_id => "relatedFindingsId",
    :related_findings_product_arn => "relatedFindingsProductArn",
    :resource_details_other => "resourceDetailsOther",
    :resource_id => "resourceId",
    :resource_partition => "resourcePartition",
    :resource_region => "resourceRegion",
    :resource_tags => "resourceTags",
    :resource_type => "resourceType",
    :severity_label => "severityLabel",
    :source_url => "sourceUrl",
    :title => "title",
    :type => "type",
    :updated_at => "updatedAt",
    :user_defined_fields => "userDefinedFields",
    :verification_state => "verificationState",
    :workflow_status => "workflowStatus",
  }
end

Instance Method Details

#to_jsiiObject



1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
# File 'security_hub/cfn_automation_rule.rb', line 1210

def to_jsii
  result = {}
  result.merge!({
    "awsAccountId" => @aws_account_id,
    "companyName" => @company_name,
    "complianceAssociatedStandardsId" => @compliance_associated_standards_id,
    "complianceSecurityControlId" => @compliance_security_control_id,
    "complianceStatus" => @compliance_status,
    "confidence" => @confidence,
    "createdAt" => @created_at,
    "criticality" => @criticality,
    "description" => @description,
    "firstObservedAt" => @first_observed_at,
    "generatorId" => @generator_id,
    "id" => @id,
    "lastObservedAt" => @last_observed_at,
    "noteText" => @note_text,
    "noteUpdatedAt" => @note_updated_at,
    "noteUpdatedBy" => @note_updated_by,
    "productArn" => @product_arn,
    "productName" => @product_name,
    "recordState" => @record_state,
    "relatedFindingsId" => @related_findings_id,
    "relatedFindingsProductArn" => @related_findings_product_arn,
    "resourceDetailsOther" => @resource_details_other,
    "resourceId" => @resource_id,
    "resourcePartition" => @resource_partition,
    "resourceRegion" => @resource_region,
    "resourceTags" => @resource_tags,
    "resourceType" => @resource_type,
    "severityLabel" => @severity_label,
    "sourceUrl" => @source_url,
    "title" => @title,
    "type" => @type,
    "updatedAt" => @updated_at,
    "userDefinedFields" => @user_defined_fields,
    "verificationState" => @verification_state,
    "workflowStatus" => @workflow_status,
  })
  result.compact
end