Class: Aws::CodeGuruSecurity::Types::Vulnerability

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

Overview

Information about a security vulnerability that Amazon CodeGuru Security detected.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#file_pathTypes::FilePath

An object that describes the location of the detected security vulnerability in your code.

Returns:



1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1312

class Vulnerability < Struct.new(
  :file_path,
  :id,
  :item_count,
  :reference_urls,
  :related_vulnerabilities)
  SENSITIVE = []
  include Aws::Structure
end

#idString

The identifier for the vulnerability.

Returns:

  • (String)


1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1312

class Vulnerability < Struct.new(
  :file_path,
  :id,
  :item_count,
  :reference_urls,
  :related_vulnerabilities)
  SENSITIVE = []
  include Aws::Structure
end

#item_countInteger

The number of times the vulnerability appears in your code.

Returns:

  • (Integer)


1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1312

class Vulnerability < Struct.new(
  :file_path,
  :id,
  :item_count,
  :reference_urls,
  :related_vulnerabilities)
  SENSITIVE = []
  include Aws::Structure
end

#reference_urlsArray<String>

One or more URL addresses that contain details about a vulnerability.

Returns:

  • (Array<String>)


1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1312

class Vulnerability < Struct.new(
  :file_path,
  :id,
  :item_count,
  :reference_urls,
  :related_vulnerabilities)
  SENSITIVE = []
  include Aws::Structure
end

One or more vulnerabilities that are related to the vulnerability being described.

Returns:

  • (Array<String>)


1312
1313
1314
1315
1316
1317
1318
1319
1320
# File 'lib/aws-sdk-codegurusecurity/types.rb', line 1312

class Vulnerability < Struct.new(
  :file_path,
  :id,
  :item_count,
  :reference_urls,
  :related_vulnerabilities)
  SENSITIVE = []
  include Aws::Structure
end