-
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 (#11795) * Added Watchlist-Item endpoint to Add/Update/Delete Watchlist Item resource * Adjustments as per ARM Review * Adjustments as per ARM Review * Fixed Avecado issues and enhaced Watchlist examples * Updated Watchlist Item definition
- Loading branch information
1 parent
bd71f9a
commit 7f5e878
Showing
4 changed files
with
304 additions
and
19 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
92 changes: 92 additions & 0 deletions
92
....SecurityInsights/preview/2019-01-01-preview/examples/watchlists/CreateWatchlistItem.json
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 |
---|---|---|
@@ -0,0 +1,92 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-01-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"watchlistAlias": "highValueAsset", | ||
"watchlistItemId": "82ba292c-dc97-4dfc-969d-d4dd9e666842", | ||
"watchlistItem": { | ||
"etag": "0300bf09-0000-0000-0000-5c37296e0000", | ||
"properties": { | ||
"itemsKeyValue": { | ||
"Gateway subnet": "10.0.255.224/27", | ||
"Web Tier": "10.0.1.0/24", | ||
"Business tier": "10.0.2.0/24", | ||
"Data tier": "10.0.2.0/24", | ||
"Private DMZ in": "10.0.0.0/27", | ||
"Public DMZ out": "10.0.0.96/27" | ||
} | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/Watchlists/highValueAsset/WatchlistItems/82ba292c-dc97-4dfc-969d-d4dd9e666842", | ||
"etag": "0300bf09-0000-0000-0000-5c37296e0000", | ||
"type": "Microsoft.SecurityInsights/Watchlists/WatchlistItems", | ||
"properties": { | ||
"watchlistItemType": "watchlist-item", | ||
"watchlistItemId": "82ba292c-dc97-4dfc-969d-d4dd9e666842", | ||
"tenantId": "4008512e-1d30-48b2-9ee2-d3612ed9d3ea", | ||
"isDeleted": false, | ||
"created": "2020-11-15T04:58:56.0748363+00:00", | ||
"updated": "2020-11-16T16:05:20+00:00", | ||
"createdBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "john@contoso.com", | ||
"name": "john doe" | ||
}, | ||
"updatedBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "john@contoso.com", | ||
"name": "john doe" | ||
}, | ||
"itemsKeyValue": { | ||
"Gateway subnet": "10.0.255.224/27", | ||
"Web Tier": "10.0.1.0/24", | ||
"Business tier": "10.0.2.0/24", | ||
"Data tier": "10.0.2.0/24", | ||
"Private DMZ in": "10.0.0.0/27", | ||
"Public DMZ out": "10.0.0.96/27" | ||
} | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/Watchlists/highValueAsset/WatchlistItems/82ba292c-dc97-4dfc-969d-d4dd9e666842", | ||
"etag": "0300bf09-0000-0000-0000-5c37296e0000", | ||
"type": "Microsoft.SecurityInsights/Watchlists/WatchlistItems", | ||
"properties": { | ||
"watchlistItemType": "watchlist-item", | ||
"watchlistItemId": "82ba292c-dc97-4dfc-969d-d4dd9e666842", | ||
"tenantId": "4008512e-1d30-48b2-9ee2-d3612ed9d3ea", | ||
"isDeleted": false, | ||
"created": "2020-11-15T04:58:56.0748363+00:00", | ||
"updated": "2020-11-16T16:05:20+00:00", | ||
"createdBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "john@contoso.com", | ||
"name": "john doe" | ||
}, | ||
"updatedBy": { | ||
"objectId": "2046feea-040d-4a46-9e2b-91c2941bfa70", | ||
"email": "john@contoso.com", | ||
"name": "john doe" | ||
}, | ||
"itemsKeyValue": { | ||
"Gateway subnet": "10.0.255.224/27", | ||
"Web Tier": "10.0.1.0/24", | ||
"Business tier": "10.0.2.0/24", | ||
"Data tier": "10.0.2.0/24", | ||
"Private DMZ in": "10.0.0.0/27", | ||
"Public DMZ out": "10.0.0.96/27" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
....SecurityInsights/preview/2019-01-01-preview/examples/watchlists/DeleteWatchlistItem.json
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 |
---|---|---|
@@ -0,0 +1,15 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-01-01-preview", | ||
"subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
"resourceGroupName": "myRg", | ||
"workspaceName": "myWorkspace", | ||
"operationalInsightsResourceProvider": "Microsoft.OperationalInsights", | ||
"watchlistAlias": "highValueAsset", | ||
"watchlistItemId": "4008512e-1d30-48b2-9ee2-d3612ed9d3ea" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |