Class: Aws::CodeGuruSecurity::Types::CodeLine

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

Overview

The line of code where a finding was detected.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#contentString

The code that contains a vulnerability.

Returns:

  • (String)


174
175
176
177
178
179
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 174

class CodeLine < Struct.new(
  :content,
  :number)
  SENSITIVE = []
  include Aws::Structure
end

#numberInteger

The code line number.

Returns:

  • (Integer)


174
175
176
177
178
179
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 174

class CodeLine < Struct.new(
  :content,
  :number)
  SENSITIVE = []
  include Aws::Structure
end