AWS SDK Version 3 for .NET
API Reference

AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.

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

Inheritance Hierarchy

System.Object
  Amazon.Inspector2.Model.CodeVulnerabilityDetails

Namespace: Amazon.Inspector2.Model
Assembly: AWSSDK.Inspector2.dll
Version: 3.x.y.z

Syntax

C#
public class CodeVulnerabilityDetails

The CodeVulnerabilityDetails type exposes the following members

Constructors

NameDescription
Public Method CodeVulnerabilityDetails()

Properties

NameTypeDescription
Public Property Cwes System.Collections.Generic.List<System.String>

Gets and sets the property Cwes.

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

Public Property DetectorId System.String

Gets and sets the property DetectorId.

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

Public Property DetectorName System.String

Gets and sets the property DetectorName.

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

Public Property DetectorTags System.Collections.Generic.List<System.String>

Gets and sets the property DetectorTags.

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.

Public Property FilePath Amazon.Inspector2.Model.CodeFilePath

Gets and sets the property FilePath.

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

Public Property ReferenceUrls System.Collections.Generic.List<System.String>

Gets and sets the property ReferenceUrls.

A URL containing supporting documentation about the code vulnerability detected.

Public Property RuleId System.String

Gets and sets the property RuleId.

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

Public Property SourceLambdaLayerArn System.String

Gets and sets the property SourceLambdaLayerArn.

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

Version Information

.NET:
Supported in: 8.0 and newer, Core 3.1

.NET Standard:
Supported in: 2.0

.NET Framework:
Supported in: 4.5 and newer, 3.5