-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into contoso-stable
- Loading branch information
Showing
39 changed files
with
4,208 additions
and
3 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
51 changes: 51 additions & 0 deletions
51
...e/2025-03-01/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsOrgs_example.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,51 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"orgName": "myAzDevOpsOrg", | ||
"azureDevOpsOrg": { | ||
"properties": { | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"onboardingState": "Onboarded", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg", | ||
"name": "myAzDevOpsOrg", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "None" | ||
}, | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg", | ||
"name": "myAzDevOpsOrg", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs" | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...25-03-01/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsProjects_example.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,56 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"orgName": "myAzDevOpsOrg", | ||
"projectName": "myAzDevOpsProject", | ||
"azureDevOpsProject": { | ||
"properties": { | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"parentOrgName": "myAzDevOpsOrg", | ||
"projectId": "9ebbed8f-a9cc-405f-a647-b235e22179de", | ||
"onboardingState": "Onboarded", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg/projects/myAzDevOpsProject", | ||
"name": "myAzDevOpsProject", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs/projects" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"parentOrgName": "myAzDevOpsOrg", | ||
"projectId": "9ebbed8f-a9cc-405f-a647-b235e22179de", | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "None" | ||
}, | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg/projects/myAzDevOpsProject", | ||
"name": "myAzDevOpsProject", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs/projects" | ||
} | ||
} | ||
} | ||
} |
59 changes: 59 additions & 0 deletions
59
.../2025-03-01/examples/SecurityConnectorsDevOps/CreateOrUpdateAzureDevOpsRepos_example.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,59 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"orgName": "myAzDevOpsOrg", | ||
"projectName": "myAzDevOpsProject", | ||
"repoName": "myAzDevOpsRepo", | ||
"azureDevOpsRepository": { | ||
"properties": { | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
} | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"parentOrgName": "myAzDevOpsOrg", | ||
"parentProjectName": "myAzDevOpsProject", | ||
"repoId": "cb64ab91-c9ba-46df-b44c-c769358bccdf", | ||
"onboardingState": "Onboarded", | ||
"actionableRemediation": { | ||
"state": "Enabled" | ||
}, | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg/projects/myAzDevOpsProject/repos/myAzDevOpsRepo", | ||
"name": "myAzDevOpsRepo", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs/projects/repos" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"parentOrgName": "myAzDevOpsOrg", | ||
"parentProjectName": "myAzDevOpsProject", | ||
"repoId": "cb64ab91-c9ba-46df-b44c-c769358bccdf", | ||
"onboardingState": "NotApplicable", | ||
"actionableRemediation": { | ||
"state": "None" | ||
}, | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/azureDevOpsOrgs/myAzDevOpsOrg/projects/myAzDevOpsProject/repos/myAzDevOpsRepo", | ||
"name": "myAzDevOpsRepo", | ||
"type": "Microsoft.Security/securityConnectors/devops/azureDevOpsOrgs/projects/repos" | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...tyConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentAndFuture_example.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,56 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"devOpsConfiguration": { | ||
"properties": { | ||
"authorization": { | ||
"code": "00000000000000000000" | ||
}, | ||
"autoDiscovery": "Enabled" | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"autoDiscovery": "Enabled", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
} | ||
} | ||
} |
56 changes: 56 additions & 0 deletions
56
...ecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardCurrentOnly_example.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,56 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"devOpsConfiguration": { | ||
"properties": { | ||
"authorization": { | ||
"code": "00000000000000000000" | ||
}, | ||
"autoDiscovery": "Disabled" | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"autoDiscovery": "Disabled", | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
} | ||
} | ||
} |
64 changes: 64 additions & 0 deletions
64
...s/SecurityConnectorsDevOps/CreateOrUpdateDevOpsConfigurationsOnboardSelected_example.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,64 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "0806e1cd-cfda-4ff8-b99c-2b0af42cffd3", | ||
"resourceGroupName": "myRg", | ||
"securityConnectorName": "mySecurityConnectorName", | ||
"devOpsConfiguration": { | ||
"properties": { | ||
"authorization": { | ||
"code": "00000000000000000000" | ||
}, | ||
"autoDiscovery": "Disabled", | ||
"topLevelInventoryList": [ | ||
"org1", | ||
"org2" | ||
] | ||
} | ||
}, | ||
"api-version": "2025-03-01" | ||
}, | ||
"responses": { | ||
"200": { | ||
"headers": {}, | ||
"body": { | ||
"properties": { | ||
"autoDiscovery": "Disabled", | ||
"topLevelInventoryList": [ | ||
"org1", | ||
"org2" | ||
], | ||
"provisioningState": "Succeeded" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"201": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
}, | ||
"202": { | ||
"headers": { | ||
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default/operationResults/4e826cf1-5c36-4808-a7d2-fb4f5170978b?api-version=2025-03-01" | ||
}, | ||
"body": { | ||
"properties": { | ||
"provisioningState": "Accepted" | ||
}, | ||
"id": "/subscriptions/0806e1cd-cfda-4ff8-b99c-2b0af42cffd3/resourceGroups/myRg/providers/Microsoft.Security/securityConnectors/mySecurityConnectorName/devops/default", | ||
"name": "default", | ||
"type": "Microsoft.Security/securityConnectors/devops" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.