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

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
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)


1659
1660
1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-inspector2/types.rb', line 1659

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)


1659
1660
1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-inspector2/types.rb', line 1659

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)


1659
1660
1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-inspector2/types.rb', line 1659

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)


1659
1660
1661
1662
1663
1664
1665
1666
# File 'lib/aws-sdk-inspector2/types.rb', line 1659

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