Skip to content

Commit

Permalink
Add Microsoft.IoTSecurity provider (Azure#12644)
Browse files Browse the repository at this point in the history
* Add Microsoft.IoTSecurity provider

* Run prettier

* Add MD

* rename files

* update MD

* resolve the Avocado

* Remove unused files

* Add operations API

* update operations.json

* update markdown

* remove dot

* re-use types

* remove comma

* Remove duplicated common types

* Use ProxyResource

* Remove IoT prefix

* Add example

* undo changes

* Run prettier

* Use capital letter

* run prettier

Co-authored-by: Orel Kayam <[email protected]>
  • Loading branch information
orkayam and Orel Kayam authored Jan 28, 2021
1 parent 5ffc332 commit 7374f2a
Show file tree
Hide file tree
Showing 10 changed files with 1,373 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {},
"204": {}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
"headers": {
"content-type": "application/zip"
},
"body": "{Binary}"
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
"body": {
"name": "default",
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
"type": "Microsoft.IoTSecurity/defenderSettings",
"properties": {
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "default",
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
"type": "Microsoft.IoTSecurity/defenderSettings",
"properties": {
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,170 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23"
},
"responses": {
"200": {
"body": {
"sensor": {
"full": {
"iso": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.11",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
],
"ovf": {
"enterprise": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.11",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
],
"medium": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.11",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
],
"line": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.11",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
]
}
},
"upgrade": [
{
"version": "2.8.2",
"fromVersion": "2.8.0",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.10",
"fromVersion": "2.8.0",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
]
},
"centralManager": {
"full": {
"iso": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.11",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
],
"ovf": {
"enterprise": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
}
],
"enterpriseHighAvailability": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
}
],
"medium": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
}
],
"mediumHighAvailability": [
{
"version": "3.1",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
}
]
}
},
"upgrade": [
{
"version": "2.8.2",
"fromVersion": "2.8.0",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Latest"
},
{
"version": "2.8.10",
"fromVersion": "2.8.0",
"link": "http://microsoft.com/downloadLocation",
"versionKind": "Previous"
}
]
},
"threatIntelligence": [
{
"link": "http://microsoft.com/downloadLocation",
"version": "2020.02.10"
}
],
"snmp": [
{
"link": "http://microsoft.com/downloadLocation",
"version": "2020.02.10"
}
],
"wmiTool": [
{
"link": "http://microsoft.com/downloadLocation",
"version": "2020.02.10"
}
],
"authorizedDevicesImportTemplate": [
{
"link": "http://microsoft.com/downloadLocation",
"version": "2020.02.10"
}
],
"deviceInformationUpdateImportTemplate": [
{
"link": "http://microsoft.com/downloadLocation",
"version": "2020.02.10"
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"parameters": {
"api-version": "2021-02-01-preview",
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23",
"DefenderSettingsModel": {
"properties": {
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
}
}
},
"responses": {
"200": {
"body": {
"name": "default",
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
"type": "Microsoft.IoTSecurity/defenderSettings",
"properties": {
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
}
}
},
"201": {
"body": {
"name": "default",
"id": "/subscriptions/{subscriptionId}/providers/Microsoft.IoTSecurity/defenderSettings/default",
"type": "Microsoft.IoTSecurity/defenderSettings",
"properties": {
"deviceQuota": 2000,
"sentinelWorkspaceResourceIds": [
"/subscriptions/c4930e90-cd72-4aa5-93e9-2d081d129569/resourceGroups/myRg/providers/Microsoft.OperationalInsights/workspaces/myWorkspace1"
]
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
{
"parameters": {
"subscriptionId": "12345678-1234-1234-12345678abc",
"api-version": "2021-02-01-preview"
},
"responses": {
"200": {
"headers": {
"Date": "Wed, 13 Sep 2017 18:04:32 GMT",
"x-ms-request-id": "d5496da4-9c52-402f-b067-83cc9ddea888",
"X-Content-Type-Options": "nosniff",
"x-ms-ratelimit-remaining-tenant-reads": "14999",
"x-ms-correlation-request-id": "25c78f97-0b0a-4fe9-ad39-883a482265cd"
},
"body": {
"value": [
{
"name": "Microsoft.IoTSecurity/unregister/action",
"display": {
"provider": "Microsoft IoT Security",
"resource": "Subscription",
"operation": "Unregister Subscription",
"description": "Unregisters the subscription for Azure Defender for IoT"
},
"origin": "user,system"
},
{
"name": "Microsoft.IoTSecurity/register/action",
"display": {
"provider": "Microsoft IoT Security",
"resource": "Subscription",
"operation": "Register Subscription",
"description": "Registers the subscription for Azure Defender for IoT"
},
"origin": "user,system"
},
{
"name": "Microsoft.IoTSecurity/defenderSettings/read",
"display": {
"provider": "Microsoft IoT Security",
"resource": "IoT Defender Settings",
"operation": "Get IoT Defender Settings",
"description": "Gets IoT Defender Settings"
},
"origin": "user"
},
{
"name": "Microsoft.IoTSecurity/defenderSettings/write",
"display": {
"provider": "Microsoft IoT Security",
"resource": "IoT Defender Settings",
"operation": "Create or update IoT Defender Settings",
"description": "Creates or updates IoT Defender Settings"
},
"origin": "user"
},
{
"name": "Microsoft.IoTSecurity/defenderSettings/delete",
"display": {
"provider": "Microsoft IoT Security",
"resource": "IoT Defender Settings",
"operation": "Delete IoT Defender Settings",
"description": "Deletes IoT Defender Settings"
},
"origin": "user"
},
{
"name": "Microsoft.IoTSecurity/defenderSettings/packageDownloads/action",
"display": {
"provider": "Microsoft IoT Security",
"resource": "IoT Defender Settings",
"operation": "Get downloadable IoT Defender packages information",
"description": "Gets downloadable IoT Defender packages information"
},
"origin": "user"
},
{
"name": "Microsoft.IoTSecurity/defenderSettings/downloadManagerActivation/action",
"display": {
"provider": "Microsoft IoT Security",
"resource": "IoT Defender Settings",
"operation": "Download manager activation file",
"description": "Download manager activation file"
},
"origin": "user"
}
]
}
}
}
}
Loading

0 comments on commit 7374f2a

Please sign in to comment.