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

Adding the NorthSouth API for Public Preview #4932

Merged
merged 21 commits into from
Mar 25, 2019
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
21 commits
Select commit Hold shift + click to select a range
437fd70
Adding the NorthSouth API for Public Preview
Dec 16, 2018
60f423c
Fixed some JSON schema validation errors discovered by Open API HUB
Dec 16, 2018
8b757a2
Fixed bad indenetation + missing API method
Dec 16, 2018
2005269
Added missing NorthSouthResourceName parameter definition
Dec 16, 2018
6f1e5a9
Fixed typos found in CR
Dec 17, 2018
65fea15
Added EnforceTrafficHardeningRules action
Dec 17, 2018
a582baa
Fixed invalid action name in URI discovered by ARM validation tools (…
Dec 17, 2018
ff15ca3
Renamed NorthSouthHardenings to AdaptiveNetworkControls and fixed iss…
Jan 15, 2019
2f29b6f
Fixed a bad reference to ListByExtendedResourceAdaptiveNetworkControl…
Jan 15, 2019
57ef341
Changes AdaptiveNetworkControls protocol property to array instead of…
Jan 15, 2019
84f9472
Moving 'x-ms-long-running-operation' to the right location
Jan 15, 2019
33bdd8a
Fixing R2005 LongRunningResponseStatusCode error on AdaptiveNetworkCo…
Jan 16, 2019
2e6d2ab
Updating EnforceAdaptiveNetworkControlsRules_example.json with the ne…
Jan 16, 2019
03ec6bc
Merged from master
Mar 5, 2019
eb822ba
Renamed AdaptiveNetworkControls to AdaptiveNetworkHardenings due to m…
Mar 5, 2019
0b7b156
Merge branch 'Azure-master'
Mar 5, 2019
c2cdb72
Fixing an invalid reference to CloudError
Mar 5, 2019
69d5e7e
Renaming the parameters and paths so only collection resources will b…
Mar 5, 2019
b31b187
aligned all operation ids
Mar 7, 2019
408ebd9
Adding enforce request body schema
Mar 8, 2019
0efd3e5
Adding Adaptive Network Hardenings to Security readme.md
Mar 25, 2019
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
Prev Previous commit
Next Next commit
Renamed NorthSouthHardenings to AdaptiveNetworkControls and fixed iss…
…ues raised in PR
  • Loading branch information
Matan Shabtay committed Jan 15, 2019
commit ff15ca3bc26df5378ded1748b8757cc8f3a250a4
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,18 @@
"extendedResourceProvider": "Microsoft.Compute",
"extendedResourceType": "virtualMachines",
"extendedResourceName": "vm1",
"northSouthResourceName": "ns1",
"trafficHardeningsRulesEnforceAction": "enforce",
"adaptiveNetworkControlsResourceName": "77d1fe4b880e2af0922e556392aa45953fc2a308",
"adaptiveNetworkControlsEnforceAction": "enforce",
"body": {
"trafficHardeningRules": [
"rules": [
{
"name": "rule1",
"direction": "Inbound",
"destinationPort": 3389,
"protocols": [
"TCP"
],
"allowRemoteAddresses": [
"ipAddresses": [
"100.10.1.1",
"200.20.2.2",
"50.5.5.5-50.5.5.6"
Expand All @@ -30,13 +30,18 @@
"protocols": [
"TCP"
],
"allowRemoteAddresses": []
"ipAddresses": []
}
],
"networkSecurityGroups": [
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nsg1",
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nsg2"
]
}
},
"responses": {
"202": {},
"204": {}
"202": {
"description": "HTTP 202 (Accepted) if the operation was successfully started and will complete asynchronously."
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"parameters": {
"api-version": "2015-06-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "rg1",
"extendedResourceProvider": "Microsoft.Compute",
"extendedResourceType": "virtualMachines",
"extendedResourceName": "vm1",
"adaptiveNetworkControlsResourceName": "77d1fe4b880e2af0922e556392aa45953fc2a308"
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/adaptiveNetworkControls/77d1fe4b880e2af0922e556392aa45953fc2a308",
"name": "77d1fe4b880e2af0922e556392aa45953fc2a308",
"type": "Microsoft.Security/adaptiveNetworkControls",
"properties": {
"rulesCalculationTime": "2018-08-15T00:00:00.0000000Z",
"rules": [
{
"name": "rule1",
"direction": "Inbound",
"destinationPort": 3389,
"protocols": [
"TCP"
],
"ipAddresses": [
"100.10.1.1",
"200.20.2.2",
"50.5.5.5-50.5.5.6"
]
},
{
"name": "rule2",
"direction": "Inbound",
"destinationPort": 22,
"protocols": [
"TCP"
],
"ipAddresses": []
}
],
"effectiveNetworkSecurityGroups": [
{
"networkInterface": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1",
"networkSecurityGroups": [
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nicNsg",
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/subnetNsg"
]
},
{
"networkInterface": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg2/providers/Microsoft.Network/networkInterfaces/nic2",
"networkSecurityGroups": [
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg2/providers/Microsoft.Network/networkSecurityGroups/nicNsg"
]
}
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"parameters": {
"api-version": "2015-06-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"resourceGroupName": "rg1",
"extendedResourceProvider": "Microsoft.Compute",
"extendedResourceType": "virtualMachines",
"extendedResourceName": "vm1"
},
"responses": {
"200": {
"body": {
"value": [
{
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Compute/virtualMachines/vm1/providers/Microsoft.Security/adaptiveNetworkControls/77d1fe4b880e2af0922e556392aa45953fc2a308",
"name": "77d1fe4b880e2af0922e556392aa45953fc2a308",
"type": "Microsoft.Security/adaptiveNetworkControls",
"properties": {
"rulesCalculationTime": "2018-08-15T00:00:00.0000000Z",
"rules": [
{
"name": "rule1",
"direction": "Inbound",
"destinationPort": 3389,
"protocols": [
"TCP"
],
"ipAddresses": [
"100.10.1.1",
"200.20.2.2",
"50.5.5.5-50.5.5.6"
]
},
{
"name": "rule2",
"direction": "Inbound",
"destinationPort": 22,
"protocols": [
"TCP"
],
"ipAddresses": []
}
],
"effectiveNetworkSecurityGroups": [
{
"networkInterface": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Network/networkInterfaces/nic1",
"networkSecurityGroups": [
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nicNsg",
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/subnetNsg"
]
},
{
"networkInterface": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourcegroups/rg1/providers/Microsoft.Network/networkInterfaces/nic2",
"networkSecurityGroups": [
"/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/rg1/providers/Microsoft.Network/networkSecurityGroups/nicNsg2"
]
}
]
}
}
]
}
}
}
}

This file was deleted.

This file was deleted.

Loading