Partager via


CveResult Class

Definition

CVE analysis result resource.

public class CveResult : Azure.ResourceManager.Models.ResourceData, System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.IotFirmwareDefense.Models.CveResult>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.IotFirmwareDefense.Models.CveResult>
type CveResult = class
    inherit ResourceData
    interface IJsonModel<CveResult>
    interface IPersistableModel<CveResult>
Public Class CveResult
Inherits ResourceData
Implements IJsonModel(Of CveResult), IPersistableModel(Of CveResult)
Inheritance
CveResult
Implements

Constructors

CveResult()

Initializes a new instance of CveResult.

Properties

Component

The SBOM component for the CVE.

CveId

ID of the CVE result.

CvssScore

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.

CvssV2Score

CVSS V2 score of the CVE.

CvssV3Score

CVSS V3 score of the CVE.

CvssVersion

CVSS version of the CVE.

Description

The CVE description.

Id

Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.

(Inherited from ResourceData)
Links

The list of reference links for the CVE.

Name

The name of the resource.

(Inherited from ResourceData)
NamePropertiesName

Name of the CVE.

ResourceType

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

(Inherited from ResourceData)
Severity

Severity of the CVE.

SystemData

Azure Resource Manager metadata containing createdBy and modifiedBy information.

(Inherited from ResourceData)

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions) (Inherited from ResourceData)

Explicit Interface Implementations

IJsonModel<CveResult>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<CveResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<CveResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<CveResult>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<CveResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to