vw_watchlist_items
Creates, updates, deletes, gets or lists a vw_watchlist_items
resource.
Overview
Name | vw_watchlist_items |
Type | View |
Id | azure.sentinel.vw_watchlist_items |
Fields
See the SQL Definition (view DDL) for fields returned by this view.
SQL Definition
- Sqlite3
- Postgres
SELECT
etag as etag,
JSON_EXTRACT(properties, '$.watchlistItemType') as "watchlist_item_type",
JSON_EXTRACT(properties, '$.watchlistItemId') as "watchlist_item_id",
JSON_EXTRACT(properties, '$.tenantId') as "tenant_id",
JSON_EXTRACT(properties, '$.isDeleted') as "is_deleted",
JSON_EXTRACT(properties, '$.created') as "created",
JSON_EXTRACT(properties, '$.updated') as "updated",
JSON_EXTRACT(properties, '$.createdBy') as "created_by",
JSON_EXTRACT(properties, '$.updatedBy') as "updated_by",
JSON_EXTRACT(properties, '$.itemsKeyValue') as "items_key_value",
JSON_EXTRACT(properties, '$.entityMapping') as "entity_mapping",
subscriptionId,
resourceGroupName,
workspaceName,
watchlistAlias,
watchlistItemId
FROM azure.sentinel.watchlist_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND watchlistAlias = 'replace-me';
SELECT
etag as etag,
json_extract_path_text(properties, '$.watchlistItemType') as "watchlist_item_type",
json_extract_path_text(properties, '$.watchlistItemId') as "watchlist_item_id",
json_extract_path_text(properties, '$.tenantId') as "tenant_id",
json_extract_path_text(properties, '$.isDeleted') as "is_deleted",
json_extract_path_text(properties, '$.created') as "created",
json_extract_path_text(properties, '$.updated') as "updated",
json_extract_path_text(properties, '$.createdBy') as "created_by",
json_extract_path_text(properties, '$.updatedBy') as "updated_by",
json_extract_path_text(properties, '$.itemsKeyValue') as "items_key_value",
json_extract_path_text(properties, '$.entityMapping') as "entity_mapping",
subscriptionId,
resourceGroupName,
workspaceName,
watchlistAlias,
watchlistItemId
FROM azure.sentinel.watchlist_items
WHERE subscriptionId = 'replace-me' AND resourceGroupName = 'replace-me' AND workspaceName = 'replace-me' AND watchlistAlias = 'replace-me';