Skip to main content

saved_filters

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

Overview

Namesaved_filters
TypeResource
Idazure.defender_easm_dataplane.saved_filters

Fields

The following fields are returned by SELECT queries:

SELECT not supported for this resource, use SHOW METHODS to view available operations for the resource.

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
deletedeletefilter_name, subscription_id, resource_group_name, workspace_name, endpointDelete a saved filter with a given filterName. Delete a saved filter with a given filterName.
get_rawexecfilter_name, subscription_id, resource_group_name, workspace_name, endpointRetrieve a saved filter by filterName. Retrieve a saved filter by filterName.
putexecfilter_name, subscription_id, resource_group_name, workspace_name, endpointCreate or update a saved filter with a given filterName. Create or update a saved filter with a given filterName.
list_rawexecsubscription_id, resource_group_name, workspace_name, endpointfilter, skipRetrieve a list of saved filters for the provided search parameters. Retrieve a list of saved filters for the provided search parameters.

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
endpointstringThe service endpoint host (no scheme), e.g. myaccount.table.cosmos.azure.com:443 - value of the client endpoint parameter. (default: )
filter_namestringThe unique identifier for the saved filter. Required.
resource_group_namestring
subscription_idstring
workspace_namestring
filterstringAn expression on the resource type that selects the resources to be returned. Default value is None.
skipintegerAn offset into the collection of the first item to be returned. Default value is 0.

DELETE examples

Delete a saved filter with a given filterName. Delete a saved filter with a given filterName.

DELETE FROM azure.defender_easm_dataplane.saved_filters
WHERE filter_name = '{{ filter_name }}' --required
AND subscription_id = '{{ subscription_id }}' --required
AND resource_group_name = '{{ resource_group_name }}' --required
AND workspace_name = '{{ workspace_name }}' --required
AND endpoint = '{{ endpoint }}' --required
;

Lifecycle Methods

Retrieve a saved filter by filterName. Retrieve a saved filter by filterName.

EXEC azure.defender_easm_dataplane.saved_filters.get_raw 
@filter_name='{{ filter_name }}' --required,
@subscription_id='{{ subscription_id }}' --required,
@resource_group_name='{{ resource_group_name }}' --required,
@workspace_name='{{ workspace_name }}' --required,
@endpoint='{{ endpoint }}' --required
;