cves
Creates, updates, deletes, gets or lists a cves resource.
Overview
| Name | cves |
| Type | Resource |
| Id | azure_extras.iot_firmware_defense.cves |
Fields
The following fields are returned by SELECT queries:
- list_by_firmware
| Name | Datatype | Description |
|---|---|---|
id | string | Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}. |
name | string | The name of the resource. |
component | object | Legacy property for what is now componentName. |
componentId | string | ID of the affected SBOM component. |
componentName | string | Name of the affected SBOM component. |
componentVersion | string | Version of the affected SBOM component. |
cveId | string | ID of the CVE result. |
cveName | string | Name of the CVE. |
cvssScore | string | Legacy property for the effective CVE score. |
cvssScores | array | All known CVSS scores for the CVE. |
cvssV2Score | string | Legacy property for the CVE CVSS version 2 score, if one existed. |
cvssV3Score | string | Legacy property for the CVE CVSS version 3 score, if one existed. |
cvssVersion | string | Legacy property for the what CVSS version score was stored in the cvssScore property. |
description | string | The CVE description. |
effectiveCvssScore | number | The most recent CVSS score of the CVE. |
effectiveCvssVersion | integer | The version of the effectiveCvssScore property. |
links | array | The list of reference links for the CVE. |
provisioningState | string | The status of the last operation. Known values are: "Succeeded", "Failed", "Canceled", "Pending", "Extracting", and "Analyzing". (Succeeded, Failed, Canceled, Pending, Extracting, Analyzing) |
severity | string | Severity of the CVE. |
systemData | object | Azure Resource Manager metadata containing createdBy and modifiedBy information. |
type | string | The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts". |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_firmware | select | resource_group_name, workspace_name, firmware_id, subscription_id | Lists CVE analysis results of a firmware. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
firmware_id | string | The id of the firmware. Required. |
resource_group_name | string | The name of the resource group. The name is case insensitive. Required. |
subscription_id | string | |
workspace_name | string | The name of the firmware analysis workspace. Required. |
SELECT examples
- list_by_firmware
Lists CVE analysis results of a firmware.
SELECT
id,
name,
component,
componentId,
componentName,
componentVersion,
cveId,
cveName,
cvssScore,
cvssScores,
cvssV2Score,
cvssV3Score,
cvssVersion,
description,
effectiveCvssScore,
effectiveCvssVersion,
links,
provisioningState,
severity,
systemData,
type
FROM azure_extras.iot_firmware_defense.cves
WHERE resource_group_name = '{{ resource_group_name }}' -- required
AND workspace_name = '{{ workspace_name }}' -- required
AND firmware_id = '{{ firmware_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
;