Class: Aws::Inspector2::Types::CodeVulnerabilityDetails
- Inherits:
-
Struct
- Object
- Struct
- Aws::Inspector2::Types::CodeVulnerabilityDetails
- Defined in:
- gems/aws-sdk-inspector2/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
-
#cwes ⇒ Array<String>
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
-
#detector_id ⇒ String
The ID for the Amazon CodeGuru detector associated with the finding.
-
#detector_name ⇒ String
The name of the detector used to identify the code vulnerability.
-
#detector_tags ⇒ Array<String>
The detector tag associated with the vulnerability.
-
#file_path ⇒ Types::CodeFilePath
Contains information on where the code vulnerability is located in your code.
-
#reference_urls ⇒ Array<String>
A URL containing supporting documentation about the code vulnerability detected.
-
#rule_id ⇒ String
The identifier for a rule that was used to detect the code vulnerability.
-
#source_lambda_layer_arn ⇒ String
The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.
Instance Attribute Details
#cwes ⇒ Array<String>
The Common Weakness Enumeration (CWE) item associated with the detected vulnerability.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_id ⇒ String
The ID for the Amazon CodeGuru detector associated with the finding. For more information on detectors see Amazon CodeGuru Detector Library.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_name ⇒ String
The name of the detector used to identify the code vulnerability. For more information on detectors see CodeGuru Detector Library.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_tags ⇒ Array<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.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_path ⇒ Types::CodeFilePath
Contains information on where the code vulnerability is located in your code.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_urls ⇒ Array<String>
A URL containing supporting documentation about the code vulnerability detected.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_id ⇒ String
The identifier for a rule that was used to detect the code vulnerability.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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_arn ⇒ String
The Amazon Resource Name (ARN) of the Lambda layer that the code vulnerability was detected in.
1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 |
# File 'gems/aws-sdk-inspector2/lib/aws-sdk-inspector2/types.rb', line 1816 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 |