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)


1649
1650
1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1649

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)


1649
1650
1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1649

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)


1649
1650
1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1649

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)


1649
1650
1651
1652
1653
1654
1655
1656
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1649

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