Class: Aws::CodeGuruSecurity::Types::FilePath

Inherits:
Struct
  • Object
show all
Includes:
Structure
Defined in:
lib/aws-sdk-codegurusecurity/types.rb

Overview

Information about the location of security vulnerabilities that Amazon CodeGuru Security detected in your code.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#code_snippetArray<Types::CodeLine>

A list of ‘CodeLine` objects that describe where the security vulnerability appears in your code.

Returns:



392
393
394
395
396
397
398
399
400
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 392

class FilePath < Struct.new(
  :code_snippet,
  :end_line,
  :name,
  :path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#end_lineInteger

The last line number of the code snippet where the security vulnerability appears in your code.

Returns:

  • (Integer)


392
393
394
395
396
397
398
399
400
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 392

class FilePath < Struct.new(
  :code_snippet,
  :end_line,
  :name,
  :path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#nameString

The name of the file.

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 392

class FilePath < Struct.new(
  :code_snippet,
  :end_line,
  :name,
  :path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#pathString

The path to the resource with the security vulnerability.

Returns:

  • (String)


392
393
394
395
396
397
398
399
400
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 392

class FilePath < Struct.new(
  :code_snippet,
  :end_line,
  :name,
  :path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end

#start_lineInteger

The first line number of the code snippet where the security vulnerability appears in your code.

Returns:

  • (Integer)


392
393
394
395
396
397
398
399
400
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 392

class FilePath < Struct.new(
  :code_snippet,
  :end_line,
  :name,
  :path,
  :start_line)
  SENSITIVE = []
  include Aws::Structure
end