編輯

共用方式為


Get-AzFirmwareAnalysisCve

Lists CVE analysis results of a firmware.

Syntax

Get-AzFirmwareAnalysisCve
   -FirmwareId <String>
   -ResourceGroupName <String>
   -WorkspaceName <String>
   [-SubscriptionId <String[]>]
   [-DefaultProfile <PSObject>]
   [<CommonParameters>]

Description

Lists CVE analysis results of a firmware.

Examples

Example 1: List all the cve analysis results for a firmware.

Get-AzFirmwareAnalysisCve -FirmwareId FirmwareId -ResourceGroupName ResourceGroupName -WorkspaceName WorkspaceName | ConvertTo-Json

[
  {
    "ComponentId": ,
    "ComponentName": "",
    "ComponentVersion": "",
    "CveId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "CvssScore": "",
    "CvssV2Score": "",
    "CvssV3Score": "",
    "CvssVersion": "",
    "Description": "",
    "Id": "",
    "Link": [
      "",
      ""
    ],
    "Name": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
    "PropertiesName": "",
    "Severity": "",
    "SystemDataCreatedAt": ,
    "SystemDataCreatedBy": ,
    "SystemDataCreatedByType": ,
    "SystemDataLastModifiedAt": ,
    "SystemDataLastModifiedBy": ,
    "SystemDataLastModifiedByType": ,
    "Type": "Microsoft.IoTFirmwareDefense/workspaces/firmwares/cves"
  }
]

List all the cve analysis results for a firmware.

Parameters

-DefaultProfile

The DefaultProfile parameter is not functional. Use the SubscriptionId parameter when available if executing the cmdlet against a different subscription.

Type:PSObject
Aliases:AzureRMContext, AzureCredential
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-FirmwareId

The id of the firmware.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-ResourceGroupName

The name of the resource group. The name is case insensitive.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-SubscriptionId

The ID of the target subscription. The value must be an UUID.

Type:String[]
Position:Named
Default value:(Get-AzContext).Subscription.Id
Required:False
Accept pipeline input:False
Accept wildcard characters:False

-WorkspaceName

The name of the firmware analysis workspace.

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Outputs

ICveResource