forked from Azure/azure-rest-api-specs
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hub Generated] Review request for Microsoft.Security to add version …
…stable/2019-08-01 (Azure#9979) * recos * Remove system id * spellcheck * dataSource * Rename category to control * remove provider, add couple of other fields * productName/compnent * Inherit from resource, update example * Prettier Co-authored-by: Liran Chen <lirche@microsoft.com>
- Loading branch information
Showing
10 changed files
with
668 additions
and
2 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
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
30 changes: 30 additions & 0 deletions
30
....Security/stable/2019-08-01/examples/IotRecommendationTypes/GetIoTRecommendationType.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,30 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-01", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "myGroup", | ||
"solutionName": "mySolution", | ||
"iotRecommendationTypeName": "IoT_VulnerableTLSCipherSuite" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotRecommendationTypes/IoT_VulnerableTLSCipherSuite", | ||
"name": "IoT_VulnerableTLSCipherSuite", | ||
"type": "Microsoft.Security/iotSecuritySolutions/iotRecommendationTypes", | ||
"properties": { | ||
"recommendationDisplayName": "TLS cipher suite upgrade needed", | ||
"severity": "Medium", | ||
"description": "Insecure TLS configurations detected. Immediate TLS cipher suite upgrade recommended.", | ||
"remediationSteps": [ | ||
"Upgrade your TLS cipher suite to a secure configuration. See the Guide to TLS Standards Compliance for more information." | ||
], | ||
"vendorName": "Microsoft", | ||
"control": "Communication between device and IoT Hub is not optimized", | ||
"productName": "Azure Security Center for IoT", | ||
"productComponentName": "IoT Hub" | ||
} | ||
} | ||
} | ||
} | ||
} |
33 changes: 33 additions & 0 deletions
33
...urity/stable/2019-08-01/examples/IotRecommendationTypes/GetIoTRecommendationTypeList.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,33 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-01", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "myGroup", | ||
"solutionName": "mySolution" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotRecommendationTypes/IoT_VulnerableTLSCipherSuite", | ||
"name": "IoT_VulnerableTLSCipherSuite", | ||
"type": "Microsoft.Security/iotSecuritySolutions/iotRecommendationTypes", | ||
"properties": { | ||
"recommendationDisplayName": "TLS cipher suite upgrade needed", | ||
"severity": "Medium", | ||
"description": "Insecure TLS configurations detected. Immediate TLS cipher suite upgrade recommended.", | ||
"remediationSteps": [ | ||
"Upgrade your TLS cipher suite to a secure configuration. See the Guide to TLS Standards Compliance for more information." | ||
], | ||
"vendorName": "Microsoft", | ||
"control": "Communication between device and IoT Hub is not optimized", | ||
"productName": "Azure Security Center for IoT", | ||
"productComponentName": "IoT Hub" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
29 changes: 29 additions & 0 deletions
29
...icrosoft.Security/stable/2019-08-01/examples/IotRecommendations/GetIoTRecommendation.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,29 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-01", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "myGroup", | ||
"solutionName": "mySolution", | ||
"iotRecommendationId": "903e76ff-17eb-4bac-ac8a-2bc31ab68fd8" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "IoT_Baseline|device-1", | ||
"properties": { | ||
"recommendationType": "IoT_Baseline", | ||
"deviceId": "device-1", | ||
"discoveredTimeUtc": "2020-05-13T06:32:25Z", | ||
"recommendationAdditionalData": { | ||
"SnapshotId": "48519d58-4e35-46cd-aed5-6251af95ed50", | ||
"TotalFailedRules": "7", | ||
"TotalRulesFailedDuoToError": "1", | ||
"TotalInformationalFailedRules": "2", | ||
"TotalCriticalFailedRules": "3", | ||
"TotalWarningFailedRules": "1" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
36 changes: 36 additions & 0 deletions
36
...soft.Security/stable/2019-08-01/examples/IotRecommendations/GetIoTRecommendationList.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,36 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2019-08-01", | ||
"subscriptionId": "20ff7fc3-e762-44dd-bd96-b71116dcdc23", | ||
"resourceGroupName": "myGroup", | ||
"solutionName": "mySolution", | ||
"recommendationType": "IoT_Baseline", | ||
"$limit": 1 | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "IoT_Baseline|device-1", | ||
"properties": { | ||
"recommendationType": "IoT_Baseline", | ||
"deviceId": "device-1", | ||
"discoveredTimeUtc": "2020-05-13T06:32:25Z", | ||
"recommendationAdditionalData": { | ||
"SnapshotId": "48519d58-4e35-46cd-aed5-6251af95ed50", | ||
"TotalFailedRules": "7", | ||
"TotalRulesFailedDuoToError": "1", | ||
"TotalInformationalFailedRules": "2", | ||
"TotalCriticalFailedRules": "3", | ||
"TotalWarningFailedRules": "1" | ||
} | ||
} | ||
} | ||
], | ||
"nextLink": "https://management.azure.com/subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myGroup/providers/Microsoft.Security/iotSecuritySolutions/mySolution/iotRecommendations?api-version=2019-08-01&recommendationType=IoT_Baseline&$limit=1&$skipToken=903e76ff-17eb-4bac-ac8a-2bc31ab68fd8", | ||
"totalCount": 23 | ||
} | ||
} | ||
} | ||
} |
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
Oops, something went wrong.