Class: Aws::Inspector2::Types::CodeFilePath

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

Overview

Contains information on where a code vulnerability is located in your Lambda function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#end_lineInteger

The line number of the last line of code that a vulnerability was found in.

Returns:

  • (Integer)


1662
1663
1664
1665
1666
1667
1668
1669
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1662

class CodeFilePath < Struct.new(
  :end_line,
  :file_name,
  :file_path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#file_nameString

The name of the file the code vulnerability was found in.

Returns:

  • (String)


1662
1663
1664
1665
1666
1667
1668
1669
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1662

class CodeFilePath < Struct.new(
  :end_line,
  :file_name,
  :file_path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathString

The file path to the code that a vulnerability was found in.

Returns:

  • (String)


1662
1663
1664
1665
1666
1667
1668
1669
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1662

class CodeFilePath < Struct.new(
  :end_line,
  :file_name,
  :file_path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#start_lineInteger

The line number of the first line of code that a vulnerability was found in.

Returns:

  • (Integer)


1662
1663
1664
1665
1666
1667
1668
1669
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1662

class CodeFilePath < Struct.new(
  :end_line,
  :file_name,
  :file_path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end