Software Inventories - Get
Gets a single software data of the virtual machine.
GET https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceNamespace}/{resourceType}/{resourceName}/providers/Microsoft.Security/softwareInventories/{softwareName}?api-version=2021-05-01-preview
URI Parameters
Name | In | Required | Type | Description |
---|---|---|---|---|
resource
|
path | True |
string |
The name of the resource group within the user's subscription. The name is case insensitive. Regex pattern: |
resource
|
path | True |
string |
Name of the resource. |
resource
|
path | True |
string |
The namespace of the resource. |
resource
|
path | True |
string |
The type of the resource. |
software
|
path | True |
string |
Name of the installed software. |
subscription
|
path | True |
string |
Azure subscription ID Regex pattern: |
api-version
|
query | True |
string |
API version for the operation |
Responses
Name | Type | Description |
---|---|---|
200 OK |
OK |
|
Other Status Codes |
Error response describing why the operation failed. |
Security
azure_auth
Azure Active Directory OAuth2 Flow
Type:
oauth2
Flow:
implicit
Authorization URL:
https://login.microsoftonline.com/common/oauth2/authorize
Scopes
Name | Description |
---|---|
user_impersonation | impersonate your user account |
Examples
Gets a single software data of the virtual machine
Sample request
GET https://management.azure.com/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourceGroups/EITAN-TESTS/providers/Microsoft.Compute/virtualMachines/Eitan-Test1/providers/Microsoft.Security/softwareInventories/outlook_16.0.10371.20060?api-version=2021-05-01-preview
Sample response
{
"id": "/subscriptions/e5d1b86c-3051-44d5-8802-aa65d45a279b/resourcegroups/EITAN-TESTS/providers/Microsoft.Compute/virtualMachines/Eitan-Test1/providers/Microsoft.Security/softwareInventories/outlook_16.0.10371.20060",
"name": "outlook_16.0.10371.20060",
"type": "Microsoft.Security/softwareInventories",
"properties": {
"deviceId": "7bd19ed6b07553e52a2844451bcec68d25963a53",
"osPlatform": "Windows10",
"vendor": "microsoft",
"softwareName": "outlook",
"version": "16.0.10371.20060",
"endOfSupportStatus": "None",
"numberOfKnownVulnerabilities": 0,
"firstSeenAt": "2021-01-26 15:48:56"
}
}
Definitions
Name | Description |
---|---|
Cloud |
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.). |
Cloud |
The error detail. |
End |
End of support status. |
Error |
The resource management error additional info. |
Software |
Represents a software data |
CloudError
Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.).
Name | Type | Description |
---|---|---|
error.additionalInfo |
The error additional info. |
|
error.code |
string |
The error code. |
error.details |
The error details. |
|
error.message |
string |
The error message. |
error.target |
string |
The error target. |
CloudErrorBody
The error detail.
Name | Type | Description |
---|---|---|
additionalInfo |
The error additional info. |
|
code |
string |
The error code. |
details |
The error details. |
|
message |
string |
The error message. |
target |
string |
The error target. |
EndOfSupportStatus
End of support status.
Name | Type | Description |
---|---|---|
None |
string |
|
noLongerSupported |
string |
|
upcomingNoLongerSupported |
string |
|
upcomingVersionNoLongerSupported |
string |
|
versionNoLongerSupported |
string |
ErrorAdditionalInfo
The resource management error additional info.
Name | Type | Description |
---|---|---|
info |
object |
The additional info. |
type |
string |
The additional info type. |
Software
Represents a software data
Name | Type | Description |
---|---|---|
id |
string |
Resource Id |
name |
string |
Resource name |
properties.deviceId |
string |
Unique identifier for the virtual machine in the service. |
properties.endOfSupportDate |
string |
The end of support date in case the product is upcoming end of support. |
properties.endOfSupportStatus |
End of support status. |
|
properties.firstSeenAt |
string |
First time that the software was seen in the device. |
properties.numberOfKnownVulnerabilities |
integer |
Number of weaknesses. |
properties.osPlatform |
string |
Platform of the operating system running on the device. |
properties.softwareName |
string |
Name of the software product. |
properties.vendor |
string |
Name of the software vendor. |
properties.version |
string |
Version number of the software product. |
type |
string |
Resource type |