-
Notifications
You must be signed in to change notification settings - Fork 5.8k
Workspace manager assignments #23130
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
msyyc
merged 12 commits into
Azure:release-Sentinel-2023-04-01-preview
from
rheabansal:feature-Sentinel-2023-04-01-preview-WorkspaceManager-Assignments
Mar 22, 2023
Merged
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
7f2e914
Adds base for updating Microsoft.SecurityInsights from version previe…
rheabansal 80cb67b
Updates readme
rheabansal 5e21417
Updates API version in new specs and examples
rheabansal fa17e20
Workspace Manager Assignments/Jobs
rheabansal 55803da
resolving conflicts from merging
rheabansal f8476dd
update readme
rheabansal fe55232
updated from comments
rheabansal 0ed8642
update from lint diff errors
rheabansal c03f2cb
Merge branch 'release-Sentinel-2023-04-01-preview' into feature-Senti…
rheabansal 75229e3
Merge branch 'release-Sentinel-2023-04-01-preview' into feature-Senti…
rheabansal 9d3dadf
updated descriptions
rheabansal fb9c3c0
Merge branch 'feature-Sentinel-2023-04-01-preview-WorkspaceManager-As…
rheabansal File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
737 changes: 737 additions & 0 deletions
737
...er/Microsoft.SecurityInsights/preview/2023-04-01-preview/WorkspaceManagerAssignments.json
Large diffs are not rendered by default.
Oops, something went wrong.
24 changes: 24 additions & 0 deletions
24
...tyInsights/preview/2023-04-01-preview/examples/workspaceManagerAssignments/CreateJob.json
This file contains hidden or 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,24 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "jobName": "cfbe1338-8276-4d5d-8b96-931117f9fa0e" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58/jobs/cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "etag": "\"f20a2523-7817-47b5-a3b2-21539c00c788\"", | ||
| "name": "cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments/jobs", | ||
| "properties": { | ||
| "startTime": "2022-06-14T04:47:52.9614956Z", | ||
| "provisioningState": "InProgress" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } | ||
62 changes: 62 additions & 0 deletions
62
...review/examples/workspaceManagerAssignments/CreateOrUpdateWorkspaceManagerAssignment.json
This file contains hidden or 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,62 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "workspaceManagerAssignment": { | ||
| "properties": { | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo" | ||
| } | ||
| ], | ||
| "targetResourceName": "37207a7a-3b8a-438f-a559-c7df400e1b96" | ||
| } | ||
| } | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "etag": "\"190057d0-0000-0d00-0000-5c6f5adb0000\"", | ||
| "name": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments", | ||
| "properties": { | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo" | ||
| } | ||
| ], | ||
| "targetResourceName": "37207a7a-3b8a-438f-a559-c7df400e1b96" | ||
| } | ||
| } | ||
| }, | ||
| "201": { | ||
| "body": { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "etag": "\"190057d0-0000-0d00-0000-5c6f5adb0000\"", | ||
| "name": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments", | ||
| "properties": { | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo" | ||
| } | ||
| ], | ||
| "targetResourceName": "37207a7a-3b8a-438f-a559-c7df400e1b96" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
14 changes: 14 additions & 0 deletions
14
...tyInsights/preview/2023-04-01-preview/examples/workspaceManagerAssignments/DeleteJob.json
This file contains hidden or 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,14 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "jobName": "cfbe1338-8276-4d5d-8b96-931117f9fa0e" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
13 changes: 13 additions & 0 deletions
13
...-04-01-preview/examples/workspaceManagerAssignments/DeleteWorkspaceManagerAssignment.json
This file contains hidden or 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,13 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58" | ||
| }, | ||
| "responses": { | ||
| "200": {}, | ||
| "204": {} | ||
| } | ||
| } |
46 changes: 46 additions & 0 deletions
46
...yInsights/preview/2023-04-01-preview/examples/workspaceManagerAssignments/GetAllJobs.json
This file contains hidden or 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,46 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58/jobs/cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "etag": "\"f20a2523-7817-47b5-a3b2-21539c00c788\"", | ||
| "name": "cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments/jobs", | ||
| "properties": { | ||
| "endTime": "2022-06-14T04:52:52.9614956Z", | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne", | ||
| "status": "Succeeded", | ||
| "executionTime": "2022-06-14T04:49:52.9614956Z" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo", | ||
| "status": "Failed", | ||
| "executionTime": "2022-06-14T04:50:52.9614956Z", | ||
| "errors": [ | ||
| { | ||
| "memberResourceName": "f5fa104e-c0e3-4747-9182-d342dc048a9e", | ||
| "errorMessage": "Failed to write. Status code: Forbidden." | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "startTime": "2022-06-14T04:47:52.9614956Z", | ||
| "provisioningState": "Failed" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } |
35 changes: 35 additions & 0 deletions
35
...04-01-preview/examples/workspaceManagerAssignments/GetAllWorkspaceManagerAssignments.json
This file contains hidden or 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,35 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "value": [ | ||
| { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "etag": "\"190057d0-0000-0d00-0000-5c6f5adb0000\"", | ||
| "name": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments", | ||
| "properties": { | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo" | ||
| } | ||
| ], | ||
| "targetResourceName": "37207a7a-3b8a-438f-a559-c7df400e1b96", | ||
|
rheabansal marked this conversation as resolved.
|
||
| "lastJobEndTime": "2022-06-14T04:52:52.9614956Z", | ||
| "lastJobProvisioningState": "Failed" | ||
| } | ||
| } | ||
| ] | ||
| } | ||
| } | ||
| } | ||
| } | ||
43 changes: 43 additions & 0 deletions
43
...urityInsights/preview/2023-04-01-preview/examples/workspaceManagerAssignments/GetJob.json
This file contains hidden or 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,43 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "jobName": "cfbe1338-8276-4d5d-8b96-931117f9fa0e" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58/jobs/cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "etag": "\"f20a2523-7817-47b5-a3b2-21539c00c788\"", | ||
| "name": "cfbe1338-8276-4d5d-8b96-931117f9fa0e", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments/jobs", | ||
| "properties": { | ||
| "endTime": "2022-06-14T04:52:52.9614956Z", | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne", | ||
| "status": "Succeeded", | ||
| "executionTime": "2022-06-14T04:49:52.9614956Z" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo", | ||
| "status": "Failed", | ||
| "executionTime": "2022-06-14T04:50:52.9614956Z", | ||
| "errors": [ | ||
| { | ||
| "memberResourceName": "f5fa104e-c0e3-4747-9182-d342dc048a9e", | ||
| "errorMessage": "Failed to write. Status code: Forbidden." | ||
| } | ||
| ] | ||
| } | ||
| ], | ||
| "startTime": "2022-06-14T04:47:52.9614956Z", | ||
| "provisioningState": "Failed" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
32 changes: 32 additions & 0 deletions
32
...023-04-01-preview/examples/workspaceManagerAssignments/GetWorkspaceManagerAssignment.json
This file contains hidden or 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,32 @@ | ||
| { | ||
| "parameters": { | ||
| "api-version": "2023-04-01-preview", | ||
| "subscriptionId": "d0cfe6b2-9ac0-4464-9919-dccaee2e48c0", | ||
| "resourceGroupName": "myRg", | ||
| "workspaceName": "myWorkspace", | ||
| "workspaceManagerAssignmentName": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58" | ||
| }, | ||
| "responses": { | ||
| "200": { | ||
| "body": { | ||
| "id": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace/providers/Microsoft.SecurityInsights/workspaceManagerAssignments/47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "etag": "\"190057d0-0000-0d00-0000-5c6f5adb0000\"", | ||
| "name": "47cdc5f5-37c4-47b5-bd5f-83c84b8bdd58", | ||
| "type": "Microsoft.SecurityInsights/workspaceManagerAssignments", | ||
| "properties": { | ||
| "items": [ | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleOne" | ||
| }, | ||
| { | ||
| "resourceId": "/subscriptions/d0cfe6b2-9ac0-4464-9919-dccaee2e48c0/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspac-es/myWorkspace/providers/Microsoft.SecurityInsights/alertRules/microsoftSecurityIncidentCreationRuleExampleTwo" | ||
| } | ||
| ], | ||
| "targetResourceName": "37207a7a-3b8a-438f-a559-c7df400e1b96", | ||
| "lastJobEndTime": "2022-06-14T04:52:52.9614956Z", | ||
| "lastJobProvisioningState": "Failed" | ||
| } | ||
| } | ||
| } | ||
| } | ||
| } |
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.