Skip to main content

security_advisory_impacted_resources

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

Overview

Namesecurity_advisory_impacted_resources
TypeResource
Idazure.resource_health.security_advisory_impacted_resources

Fields

The following fields are returned by SELECT queries:

NameDatatypeDescription
idstringFully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
namestringThe name of the resource.
infoarrayAdditional information.
systemDataobjectAzure Resource Manager metadata containing createdBy and modifiedBy information.
targetRegionstringImpacted resource region name.
targetResourceIdstringIdentity for resource within Microsoft cloud.
targetResourceTypestringResource type within Microsoft cloud.
typestringThe type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
list_by_subscription_id_and_event_idselectevent_tracking_id, subscription_id$filterLists impacted resources in the subscription by an event (Security Advisory).
list_by_tenant_id_and_event_idselectevent_tracking_id$filterLists impacted resources in the tenant by an event (Security Advisory).

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.

NameDatatypeDescription
event_tracking_idstringEvent Id which uniquely identifies ServiceHealth event. Required.
subscription_idstring
$filterstringThe filter to apply on the operation. For more information please see https://docs.microsoft.com/en-us/rest/api/apimanagement/apis?redirectedfrom=MSDN _. Default value is None.

SELECT examples

Lists impacted resources in the subscription by an event (Security Advisory).

SELECT
id,
name,
info,
systemData,
targetRegion,
targetResourceId,
targetResourceType,
type
FROM azure.resource_health.security_advisory_impacted_resources
WHERE event_tracking_id = '{{ event_tracking_id }}' -- required
AND subscription_id = '{{ subscription_id }}' -- required
AND $filter = '{{ $filter }}'
;