CveResource Class

Definition

CVE analysis result resource

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CveResourceTypeConverter))]
public class CveResource : Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.ICveResource, Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Runtime.IValidates
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CveResourceTypeConverter))>]
type CveResource = class
    interface ICveResource
    interface IJsonSerializable
    interface IResource
    interface IValidates
Public Class CveResource
Implements ICveResource, IValidates
Inheritance
CveResource
Attributes
Implements

Constructors

CveResource()

Creates an new CveResource instance.

Properties

ComponentId

ID of the SBOM component

ComponentName

Name of the SBOM component

ComponentVersion

Version of the SBOM component.

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. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link

The list of reference links for the CVE.

Name

The name of the resource

PropertiesName

Name of the CVE.

Severity

Severity of the CVE.

SystemDataCreatedAt

The timestamp of resource creation (UTC).

SystemDataCreatedBy

The identity that created the resource.

SystemDataCreatedByType

The type of identity that created the resource.

SystemDataLastModifiedAt

The timestamp of resource last modification (UTC)

SystemDataLastModifiedBy

The identity that last modified the resource.

SystemDataLastModifiedByType

The type of identity that last modified the resource.

Type

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

Methods

DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of CveResource.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of CveResource.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.ICveResource.

FromJsonString(String)

Creates a new instance of CveResource, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of CveResource into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()
Validate(IEventListener)

Validates that this object meets the validation criteria.

Applies to