CveResource Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The object representing a firmware analysis CVE 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
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.FirmwareAnalysis.Models.CveResourceTypeConverter))>]
type CveResource = class
interface ICveResource
interface IJsonSerializable
interface IProxyResource
interface IResource
interface IValidates
Public Class CveResource
Implements ICveResource, IValidates
- Inheritance
-
CveResource
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| CveResource() |
Creates an new CveResource instance. |
Properties
| Name | Description |
|---|---|
| ComponentId |
ID of the SBOM component |
| ComponentName |
Name of the affected SBOM component. |
| ComponentVersion |
Version of the affected SBOM component. |
| CveId |
ID of the CVE result. |
| CveName |
Name of the CVE. |
| CvssScore |
Legacy property for the effective CVE score. |
| CvssScores |
All known CVSS scores for the CVE. |
| CvssV2Score |
Legacy property for the CVE CVSS version 2 score, if one existed. |
| CvssV3Score |
Legacy property for the CVE CVSS version 3 score, if one existed. |
| CvssVersion |
Legacy property for the what CVSS version score was stored in the cvssScore property |
| Description |
The CVE description. |
| EffectiveCvssScore |
The most recent CVSS score of the CVE. |
| EffectiveCvssVersion |
The version of the effectiveCvssScore property. |
| 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 |
| PropertiesComponentComponentId |
ID of the SBOM component. |
| PropertiesComponentId |
ID of the affected SBOM component. |
| PropertiesComponentName |
Name of the SBOM component. |
| PropertiesName |
Name of the CVE. |
| ProvisioningState |
The status of the last operation. |
| 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" |
| Version |
Version of the SBOM component. |
Methods
| Name | Description |
|---|---|
| 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. |