|
| 1 | +{ |
| 2 | + "parameters": { |
| 3 | + "api-version": "2022-01-01-preview", |
| 4 | + "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", |
| 5 | + "resourceGroupName": "myRg", |
| 6 | + "workspaceName": "myWorkspace", |
| 7 | + "operationalInsightsResourceProvider": "Microsoft.OperationalInsights", |
| 8 | + "watchlistAlias": "highValueAsset", |
| 9 | + "watchlist": { |
| 10 | + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", |
| 11 | + "properties": { |
| 12 | + "displayName": "High Value Assets Watchlist", |
| 13 | + "sourceType": "Remote storage", |
| 14 | + "provider": "Microsoft", |
| 15 | + "description": "Watchlist from a large CSV file under Blob storage", |
| 16 | + "numberOfLinesToSkip": 1, |
| 17 | + "sasUri": "https://storagesample.blob.core.windows.net/sample-contaier/sampleBlob.csv?sp=r&st=2021-09-24T01:15:52Z&se=2021-10-01T09:15:52Z&spr=https&sv=2020-08-04&sr=b&sig=HRRRMc43ZJz634eBc402X%2FFPxam5sZVPSkLOY14baEd%4Z", |
| 18 | + "itemsSearchKey": "header1" |
| 19 | + } |
| 20 | + } |
| 21 | + }, |
| 22 | + "responses": { |
| 23 | + "200": { |
| 24 | + "body": { |
| 25 | + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/watchlists/highValueAsset", |
| 26 | + "name": "highValueAsset", |
| 27 | + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", |
| 28 | + "type": "Microsoft.SecurityInsights/Watchlists", |
| 29 | + "properties": { |
| 30 | + "watchlistId": "76d5a51f-ba1f-4038-9d22-59fda38dc017", |
| 31 | + "displayName": "High Value Assets Watchlist", |
| 32 | + "provider": "Microsoft", |
| 33 | + "sourceType": "Local file", |
| 34 | + "created": "2020-09-28T00:26:54.7746089+00:00", |
| 35 | + "updated": "2020-09-28T00:26:57+00:00", |
| 36 | + "createdBy": { |
| 37 | + "objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", |
| 38 | + |
| 39 | + "name": "john doe" |
| 40 | + }, |
| 41 | + "updatedBy": { |
| 42 | + "objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", |
| 43 | + |
| 44 | + "name": "john doe" |
| 45 | + }, |
| 46 | + "description": "Watchlist from CSV content", |
| 47 | + "watchlistType": "watchlist", |
| 48 | + "watchlistAlias": "highValueAsset", |
| 49 | + "itemsSearchKey": "header1", |
| 50 | + "isDeleted": false, |
| 51 | + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" |
| 52 | + } |
| 53 | + } |
| 54 | + }, |
| 55 | + "201": { |
| 56 | + "body": { |
| 57 | + "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/watchlists/highValueAsset", |
| 58 | + "name": "highValueAsset", |
| 59 | + "etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", |
| 60 | + "type": "Microsoft.SecurityInsights/Watchlists", |
| 61 | + "properties": { |
| 62 | + "watchlistId": "76d5a51f-ba1f-4038-9d22-59fda38dc017", |
| 63 | + "displayName": "High Value Assets Watchlist", |
| 64 | + "provider": "Microsoft", |
| 65 | + "sourceType": "Local file", |
| 66 | + "created": "2020-09-28T00:26:54.7746089+00:00", |
| 67 | + "updated": "2020-09-28T00:26:57+00:00", |
| 68 | + "createdBy": { |
| 69 | + "objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", |
| 70 | + |
| 71 | + "name": "john doe" |
| 72 | + }, |
| 73 | + "updatedBy": { |
| 74 | + "objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", |
| 75 | + |
| 76 | + "name": "john doe" |
| 77 | + }, |
| 78 | + "description": "Watchlist from CSV content", |
| 79 | + "watchlistType": "watchlist", |
| 80 | + "watchlistAlias": "highValueAsset", |
| 81 | + "itemsSearchKey": "header1", |
| 82 | + "isDeleted": false, |
| 83 | + "tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" |
| 84 | + } |
| 85 | + } |
| 86 | + } |
| 87 | + } |
| 88 | +} |
0 commit comments