Skip to main content

software_inventories

Creates, updates, deletes, gets or lists a software_inventories resource.

Overview

Namesoftware_inventories
TypeResource
Idazure.security.software_inventories

Fields

NameDatatypeDescription
idtextResource Id
nametextResource name
device_idtextfield from the properties object
end_of_support_datetextfield from the properties object
end_of_support_statustextfield from the properties object
first_seen_attextfield from the properties object
number_of_known_vulnerabilitiestextfield from the properties object
os_platformtextfield from the properties object
resourceGroupNametextfield from the properties object
resourceNametextfield from the properties object
resourceNamespacetextfield from the properties object
resourceTypetextfield from the properties object
softwareNametextfield from the properties object
software_nametextfield from the properties object
subscriptionIdtextfield from the properties object
typetextResource type
vendortextfield from the properties object
versiontextfield from the properties object

Methods

NameAccessible byRequired ParamsDescription
getSELECTresourceGroupName, resourceName, resourceNamespace, resourceType, softwareName, subscriptionIdGets a single software data of the virtual machine.
list_by_extended_resourceSELECTresourceGroupName, resourceName, resourceNamespace, resourceType, subscriptionIdGets the software inventory of the virtual machine.
list_by_subscriptionSELECTsubscriptionIdGets the software inventory of all virtual machines in the subscriptions.

SELECT examples

Gets the software inventory of all virtual machines in the subscriptions.

SELECT
id,
name,
device_id,
end_of_support_date,
end_of_support_status,
first_seen_at,
number_of_known_vulnerabilities,
os_platform,
resourceGroupName,
resourceName,
resourceNamespace,
resourceType,
softwareName,
software_name,
subscriptionId,
type,
vendor,
version
FROM azure.security.vw_software_inventories
WHERE subscriptionId = '{{ subscriptionId }}';