Partager via


ArmIotFirmwareDefenseModelFactory.CveResult Method

Definition

Initializes a new instance of CveResult.

public static Azure.ResourceManager.IotFirmwareDefense.Models.CveResult CveResult (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string cveId = default, Azure.ResourceManager.IotFirmwareDefense.Models.CveComponent component = default, string severity = default, string namePropertiesName = default, string cvssScore = default, string cvssVersion = default, string cvssV2Score = default, string cvssV3Score = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> links = default, string description = default);
static member CveResult : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.ResourceManager.IotFirmwareDefense.Models.CveComponent * string * string * string * string * string * string * seq<Azure.ResourceManager.IotFirmwareDefense.Models.CveLink> * string -> Azure.ResourceManager.IotFirmwareDefense.Models.CveResult
Public Shared Function CveResult (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional cveId As String = Nothing, Optional component As CveComponent = Nothing, Optional severity As String = Nothing, Optional namePropertiesName As String = Nothing, Optional cvssScore As String = Nothing, Optional cvssVersion As String = Nothing, Optional cvssV2Score As String = Nothing, Optional cvssV3Score As String = Nothing, Optional links As IEnumerable(Of CveLink) = Nothing, Optional description As String = Nothing) As CveResult

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

cveId
String

ID of the CVE result.

component
CveComponent

The SBOM component for the CVE.

severity
String

Severity of the CVE.

namePropertiesName
String

Name of the CVE.

cvssScore
String

A single CVSS score to represent the CVE. If a V3 score is specified, then it will use the V3 score. Otherwise if the V2 score is specified it will be the V2 score.

cvssVersion
String

CVSS version of the CVE.

cvssV2Score
String

CVSS V2 score of the CVE.

cvssV3Score
String

CVSS V3 score of the CVE.

links
IEnumerable<CveLink>

The list of reference links for the CVE.

description
String

The CVE description.

Returns

A new CveResult instance for mocking.

Applies to