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 Microsoft.Security NetworkData API #6860

Closed
wants to merge 55 commits into from
Closed
Show file tree
Hide file tree
Changes from 52 commits
Commits
Show all changes
55 commits
Select commit Hold shift + click to select a range
61f5a59
Merge pull request #1 from Azure/master
DanaPeled Oct 16, 2018
556ffa5
Merge pull request #2 from Azure/master
DanaPeled Jun 10, 2019
b2ac914
Merge pull request #3 from Azure/master
DanaPeled Jun 23, 2019
faa2211
Merge pull request #4 from Azure/master
DanaPeled Jul 23, 2019
4f1e974
Merge pull request #5 from Azure/master
DanaPeled Aug 4, 2019
6ff019d
added asc network trafic api
DanaPeled Aug 4, 2019
7ab778a
Merge branch 'master' of https://github.com/DanaPeled/azure-rest-api-…
DanaPeled Aug 4, 2019
770cd79
fixed errors
DanaPeled Aug 4, 2019
740c0c4
fixed errors
DanaPeled Aug 4, 2019
9cdaa74
fixed errors
DanaPeled Aug 4, 2019
5a478c4
fixed errors
DanaPeled Aug 4, 2019
bd26635
fixed path
DanaPeled Aug 5, 2019
5b0291d
fixed examples
DanaPeled Aug 5, 2019
6bbca92
fixed errors
DanaPeled Aug 5, 2019
cec7f3c
fixed errors
DanaPeled Aug 5, 2019
a0e2f58
fixed errors
DanaPeled Aug 5, 2019
659e402
fixed errors
DanaPeled Aug 5, 2019
e7ea903
fixed errors
DanaPeled Aug 5, 2019
9a57cd8
fixed errors
DanaPeled Aug 5, 2019
96156c6
fixed errors
DanaPeled Aug 5, 2019
6caec2a
fixed errors
DanaPeled Aug 5, 2019
d5085a4
change swagger
DanaPeled Aug 15, 2019
308e872
fixed error
DanaPeled Aug 15, 2019
ff74e63
fixed error
DanaPeled Aug 15, 2019
99b8f43
fixed pr comment
DanaPeled Aug 18, 2019
aa4904a
fixed pr comments
DanaPeled Aug 22, 2019
792f6d7
fixed errors
DanaPeled Aug 22, 2019
a0b2077
fixed errors
DanaPeled Aug 22, 2019
83367f0
fixed errors
DanaPeled Aug 22, 2019
6b71c7d
fixed error
DanaPeled Aug 22, 2019
aa2ff50
changed params
DanaPeled Aug 22, 2019
4eac415
removed params
DanaPeled Aug 22, 2019
c1fd800
fixed comments
DanaPeled Aug 22, 2019
8ae88fa
fixed comments
DanaPeled Aug 22, 2019
193cacb
fixed comments
DanaPeled Aug 22, 2019
892d900
fixed comments
DanaPeled Aug 22, 2019
5d3c3c4
fixed error
DanaPeled Aug 22, 2019
749e391
fixed error
DanaPeled Aug 22, 2019
29fad3f
fixed error
DanaPeled Aug 22, 2019
95cf757
fixed error
DanaPeled Aug 22, 2019
b017690
change object name
DanaPeled Sep 1, 2019
2063ff7
changed params
DanaPeled Sep 2, 2019
0b8bd5e
changed params
DanaPeled Sep 2, 2019
8ba0ef0
add params location
DanaPeled Sep 2, 2019
b3e8e48
removed file
DanaPeled Sep 2, 2019
21feb5b
fixed error
DanaPeled Sep 2, 2019
0ba80dc
Merge pull request #6 from Azure/master
DanaPeled Sep 4, 2019
79b4053
fixed pr comments
DanaPeled Sep 5, 2019
e6a40e3
Merge branch 'master' of https://github.com/DanaPeled/azure-rest-api-…
DanaPeled Sep 5, 2019
1837e68
fixed pr comments
DanaPeled Sep 8, 2019
dd02bbb
fixed operation name
DanaPeled Sep 8, 2019
badc5ab
fixed description
DanaPeled Sep 8, 2019
b941614
fixed comment
DanaPeled Sep 10, 2019
af255d1
fixed comment
DanaPeled Sep 10, 2019
1712a86
fixed error
DanaPeled Sep 10, 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
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"parameters": {
"resourceId": "subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7rg/providers/Microsoft.Compute/virtualMachines/WebApp7",
"api-version": "2019-01-01-preview",
"$expand": true
},
"responses": {
"200": {
"body": {
"id": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7rg/providers/Microsoft.Compute/virtualMachines/WebApp7/providers/Microsoft.Security/networkData/default",
"name": "default",
"type": "Microsoft.Security/networkData",
"properties": {
"connectableResources": [
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm1",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-13T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20,
"tcpPorts": "[0-21,23-79,81-3388,3390-5984,5987-65535]",
"udpPorts": "[0-21,23-3388,3390-5984,5987-65535]"
},
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20,
"tcpPorts": "[0-21,23-79,81-3388,3390-5984,5987-65535]",
"udpPorts": "[0-21,23-3388,3390-5984,5987-65535]"
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B",
"connectionsDetails": [
{
"portAndProtocol": "tcp/80",
"volume": "100 B"
},
{
"portAndProtocol": "udp/80",
"volume": "356 B"
}
]
}
,
"outboundConnectedResources":
{
"volume": "521 B",
"connectionsDetails": [
{
"portAndProtocol": "tcp/80",
"volume": "150 B"
},
{
"portAndProtocol": "udp/80",
"volume": "371 B"
}
]
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20,
"tcpPorts": "[0-21,23-79,81-3388,3390-5984,5987-65535]",
"udpPorts": "[0-21,23-3388,3390-5984,5987-65535]"
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20,
"tcpPorts": "[0-21,23-79,81-3388,3390-5984,5987-65535]",
"udpPorts": "[0-21,23-3388,3390-5984,5987-65535]"
}
}
}
]
}
}
}
}
}


Original file line number Diff line number Diff line change
@@ -0,0 +1,119 @@
{
"parameters": {
"resourceId": "subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7rg/providers/Microsoft.Compute/virtualMachines/WebApp7",
"api-version": "2019-01-01-preview",
"$expand": false
},
"responses": {
"200": {
"body": {
"value": [{
"id": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7/providers/Microsoft.Compute/virtualMachines/WebApp7/providers/Microsoft.Security/networkData/default",
"name": "default",
"type": "Microsoft.Security/networkData",
"properties": {
"connectableResources": [
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm1",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-14T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B"
}
,
"outboundConnectedResources":
{
"volume": "521 B"
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
}
},
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm2",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-14T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B"
}
,
"outboundConnectedResources":
{
"volume": "521 B"
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
}
}
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{
"parameters": {
"subscriptionId": "37fb3b20-b5ac-4604-a523-445f27082302",
"api-version": "2019-01-01-preview"
},
"responses": {
"200": {
"body": {
"value": [{
"id": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7/providers/Microsoft.Compute/virtualMachines/WebApp7/providers/Microsoft.Security/networkData/default",
"name": "default",
"type": "Microsoft.Security/networkData",
"properties": {
"connectableResources": [
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm1",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-14T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B"
}
,
"outboundConnectedResources":
{
"volume": "521 B"
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
}
},
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm2",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-14T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B"
}
,
"outboundConnectedResources":
{
"volume": "521 B"
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
}
}
]
}
},
{
"id": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/webapp7/providers/Microsoft.Compute/virtualMachines/WebApp7/providers/Microsoft.Security/networkData/default",
"name": "default",
"type": "Microsoft.Security/networkData",
"properties": {
"connectableResources": [
{
"connectableResourceId": "/subscriptions/37fb3b20-b5ac-4604-a523-445f27082302/resourceGroups/rg/providers/Microsoft.Compute/virtualMachines/vm1",
"connectionType": "Azure VM",
"allowedConnections":
{
"calculatedDateTime": "2019-05-14T11:55:47.4222892Z",
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
},
"actualTraffic":
{
"startTime": "2019-05-13T11:55:47.4222892Z",
"endTime": "2019-06-13T11:55:47.4222892Z",
"trafficDataState": "Available",
"inboundConnectedResources":
{
"volume": "456 B"
}
,
"outboundConnectedResources":
{
"volume": "521 B"
}
},
"unusedPorts":
{
"inboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
,
"outboundConnectedResources":
{
"tcpPortsCount": 7,
"udpPortsCount": 20
}
}
}
]
}
}
]
}
}
}
}
Loading