Skip to content
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

[Hub Generated] Publish private branch 'oravital-update--dev-security-Microsoft.Security-2022-01-01-preview' #22288

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
"200": {},
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/providers/Microsoft.Security/governanceRules/ad9a8e26-29d9-4829-bb30-e597a58cdbb8/operationResults/58b33f4f-c8c7-4b01-99cc-d437db4d40dd?api-version=2022-01-01-preview"
}
},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
"200": {},
"202": {
"headers": {
"location": "https://management.azure.com/providers/Microsoft.Management/managementGroups/contoso/providers/Microsoft.Security/governanceRules/ad9a8e26-29d9-4829-bb30-e597a58cdbb8/operationResults/58b33f4f-c8c7-4b01-99cc-d437db4d40dd?api-version=2022-01-01-preview"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"operationId": "58b33f4f-c8c7-4b01-99cc-d437db4d40dd"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"operationId": "58b33f4f-c8c7-4b01-99cc-d437db4d40dd"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"operationId": "58b33f4f-c8c7-4b01-99cc-d437db4d40dd"
},
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8"
},
"responses": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector"
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"ExecuteGovernanceRuleBody": {
"override": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"ExecuteGovernanceRuleBody": {
"override": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"ExecuteGovernanceRuleBody": {
"override": false
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"governanceRule": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"managementGroupId": "contoso",
"scope": "providers/Microsoft.Management/managementGroups/contoso",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"governanceRule": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
{
"parameters": {
"api-version": "2022-01-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "gcpResourceGroup",
"securityConnectorName": "gcpconnector",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/gcpResourceGroup/providers/Microsoft.Security/securityConnectors/gcpconnector",
"ruleId": "ad9a8e26-29d9-4829-bb30-e597a58cdbb8",
"governanceRule": {
"properties": {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"swagger": "2.0",
"info": {
"title": "Security Center",
"title": "Microsoft Defender for Cloud",
"description": "API spec for Microsoft.Security (Microsoft Defender for Cloud) resource provider",
"version": "2022-01-01-preview"
},
Expand Down Expand Up @@ -51,7 +51,7 @@
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/Scope"
"$ref": "#/parameters/Scope"
},
{
"$ref": "#/parameters/AssessmentName"
Expand Down Expand Up @@ -93,7 +93,7 @@
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/Scope"
"$ref": "#/parameters/Scope"
},
{
"$ref": "#/parameters/AssessmentName"
Expand Down Expand Up @@ -133,7 +133,7 @@
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/Scope"
"$ref": "#/parameters/Scope"
},
{
"$ref": "#/parameters/AssessmentName"
Expand Down Expand Up @@ -182,7 +182,7 @@
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "../../../common/v1/types.json#/parameters/Scope"
"$ref": "#/parameters/Scope"
},
{
"$ref": "#/parameters/AssessmentName"
Expand Down Expand Up @@ -356,6 +356,14 @@
},
"description": "Governance assignment over a subscription scope",
"x-ms-parameter-location": "method"
},
"Scope": {
"name": "scope",
"in": "path",
"required": true,
"type": "string",
"description": "The scope of the Governance assignments. Valid scopes are: subscription (format: 'subscriptions/{subscriptionId}'), or security connector (format: 'subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Security/securityConnectors/{securityConnectorName})'",
"x-ms-parameter-location": "method"
}
}
}
Loading