-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.SecurityInsights to add …
…version preview/2019-01-01-preview (#10965) * Update swagger for Watchlist public preview * Suppress R4017 * Adjust numberOfLinesToSkip type * Add type format to numberOfLinesToSkip * numberOfLinesToSkip : adjust example * Enhanced Put description
- Loading branch information
1 parent
9b24fde
commit bfbfa7d
Showing
6 changed files
with
114 additions
and
216 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,22 +12,18 @@ | |
"createdBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70" | ||
}, | ||
"updatedBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70" | ||
}, | ||
"lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", | ||
"createdTimeUtc": "2019-01-01T13:15:30Z", | ||
"displayName": "High Value Assets Watchlist", | ||
"watchlistType": "watchlist", | ||
"source": "Local file", | ||
"provider": "Azure Sentinel", | ||
"description": "Watchlist Description", | ||
"notes": "A note for the watchlist", | ||
"provider": "Microsoft", | ||
"description": "Watchlist from CSV content", | ||
"labels": [ | ||
"Tag1", | ||
"Tag2" | ||
], | ||
"defaultDuration": "P1D2H3M4S" | ||
"defaultDuration": "P1279DT12H30M5S", | ||
"numberOfLinesToSkip": 1, | ||
"rawContent": "This line will be skipped\nheader1,header2\nvalue1,value2", | ||
"contentType": "text/csv" | ||
} | ||
} | ||
}, | ||
|
@@ -36,9 +32,15 @@ | |
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/watchlists/highValueAsset", | ||
"name": "highValueAsset", | ||
"type": "Microsoft.SecurityInsights/Watchlists", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"type": "Microsoft.SecurityInsights/Watchlists", | ||
"properties": { | ||
"watchlistId": "76d5a51f-ba1f-4038-9d22-59fda38dc017", | ||
"displayName": "High Value Assets Watchlist", | ||
"provider": "Microsoft", | ||
"source": "Local file", | ||
"created": "2020-09-28T00:26:54.7746089+00:00", | ||
"updated": "2020-09-28T00:26:57+00:00", | ||
"createdBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "[email protected]", | ||
|
@@ -49,29 +51,32 @@ | |
"email": "[email protected]", | ||
"name": "john doe" | ||
}, | ||
"lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", | ||
"createdTimeUtc": "2019-01-01T13:15:30Z", | ||
"displayName": "High Value Assets Watchlist", | ||
"description": "Watchlist from CSV content", | ||
"watchlistType": "watchlist", | ||
"source": "Local file", | ||
"provider": "Azure Sentinel", | ||
"description": "Watchlist Description", | ||
"notes": "A note for the watchlist", | ||
"watchlistAlias": "highValueAsset", | ||
"isDeleted": false, | ||
"labels": [ | ||
"Tag1", | ||
"Tag2" | ||
], | ||
"defaultDuration": "P1D2H3M4S" | ||
"defaultDuration": "P1279DT12H30M5S", | ||
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalIinsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/watchlists/highValueAsset", | ||
"name": "highValueAsset", | ||
"type": "Microsoft.SecurityInsights/Watchlists", | ||
"etag": "\"0300bf09-0000-0000-0000-5c37296e0000\"", | ||
"type": "Microsoft.SecurityInsights/Watchlists", | ||
"properties": { | ||
"watchlistId": "76d5a51f-ba1f-4038-9d22-59fda38dc017", | ||
"displayName": "High Value Assets Watchlist", | ||
"provider": "Microsoft", | ||
"source": "Local file", | ||
"created": "2020-09-28T00:26:54.7746089+00:00", | ||
"updated": "2020-09-28T00:26:57+00:00", | ||
"createdBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "[email protected]", | ||
|
@@ -82,19 +87,16 @@ | |
"email": "[email protected]", | ||
"name": "john doe" | ||
}, | ||
"lastUpdatedTimeUtc": "2019-01-01T13:15:30Z", | ||
"createdTimeUtc": "2019-01-01T13:15:30Z", | ||
"displayName": "High Value Assets Watchlist", | ||
"description": "Watchlist from CSV content", | ||
"watchlistType": "watchlist", | ||
"source": "Local file", | ||
"provider": "Azure Sentinel", | ||
"description": "Watchlist Description", | ||
"notes": "A note for the watchlist", | ||
"watchlistAlias": "highValueAsset", | ||
"isDeleted": false, | ||
"labels": [ | ||
"Tag1", | ||
"Tag2" | ||
], | ||
"defaultDuration": "P1D2H3M4S" | ||
"defaultDuration": "P1279DT12H30M5S", | ||
"tenantId": "f686d426-8d16-42db-81b7-ab578e110ccd" | ||
} | ||
} | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.