Class: Aws::Inspector2::Types::CodeVulnerabilityDetails

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

Overview

Contains information on the code vulnerability identified in your Lambda function.

Constant Summary collapse

SENSITIVE =
[]

Instance Attribute Summary collapse

Instance Attribute Details

#cwesArray<String>

The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.

Returns:

  • (Array<String>)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#detector_idString

The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see [Amazon CodeGuru Detector Library].

[1]: docs.aws.amazon.com/codeguru/detector-library

Returns:

  • (String)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#detector_nameString

The name of the detector used to identify the code vulnerability. For more information on detectors see [CodeGuru Detector Library].

[1]: docs.aws.amazon.com/codeguru/detector-library

Returns:

  • (String)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#detector_tagsArray<String>

The detector tag associated with the vulnerability. Detector tags group related vulnerabilities by common themes or tactics. For a list of available tags by programming language, see [Java tags], or [Python tags].

[1]: docs.aws.amazon.com/codeguru/detector-library/java/tags/ [2]: docs.aws.amazon.com/codeguru/detector-library/python/tags/

Returns:

  • (Array<String>)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#file_pathTypes::CodeFilePath

Contains information on where the code vulnerability is located in your code.

Returns:



1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#reference_urlsArray<String>

A URL containing supporting documentation about the code vulnerability detected.

Returns:

  • (Array<String>)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#rule_idString

The identifier for a rule that was used to detect the code vulnerability.

Returns:

  • (String)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end

#source_lambda_layer_arnString

The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.

Returns:

  • (String)


1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
# File 'lib/aws-sdk-inspector2/types.rb', line 1813

class CodeVulnerabilityDetails < Struct.new(
  :cwes,
  :detector_id,
  :detector_name,
  :detector_tags,
  :file_path,
  :reference_urls,
  :rule_id,
  :source_lambda_layer_arn)
  SENSITIVE = []
  include Aws::Structure
end