Class: Aws::Imagebuilder::Types::ScanResultCondition

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

Overview

A condition that sets which findings from an on-demand AMI scan fail the image. Image Builder checks the output AMI's findings against this condition during the test phase.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#fix_available ⇒ Boolean

Specifies whether only findings that have a fix available count toward maximumSeverityLabel. When false, Image Builder counts every finding. The default is true.

Returns:

  • (Boolean)


8869
8870
8871
8872
8873
8874
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 8869

class ScanResultCondition < Struct.new(
  :maximum_severity_label,
  :fix_available)
  SENSITIVE = []
  include Aws::Structure
end

#maximum_severity_label ⇒ String

The maximum severity allowed for findings on the output AMI. A finding above this severity fails the image, unless fixAvailable excludes it. Valid values are INFORMATIONAL, LOW, MEDIUM, and HIGH. A CRITICAL finding that counts always fails the image.

Returns:

  • (String)


8869
8870
8871
8872
8873
8874
# File 'gems/aws-sdk-imagebuilder/lib/aws-sdk-imagebuilder/types.rb', line 8869

class ScanResultCondition < Struct.new(
  :maximum_severity_label,
  :fix_available)
  SENSITIVE = []
  include Aws::Structure
end