-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Users/huliu/fist 2021 11 10 privatepreview prod1119 (#5585)
* initial checkin spec * fixed some typo * validation fixes * add provisioningState * operations response fix * remove operation properties * fixed operations api * passed validation Co-authored-by: Huinan Liu <huliu@microsoft.com>
- Loading branch information
Showing
28 changed files
with
2,002 additions
and
0 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
31 changes: 31 additions & 0 deletions
31
...crosoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/CreateFirmware.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"parameters": { | ||
"properties": { | ||
"fileName": "Contoso Printer A1212 - 20.1", | ||
"vendor": "Contoso", | ||
"model": "A1212", | ||
"version": "20.1", | ||
"description": "Printer firmware by Contoso" | ||
} | ||
}, | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"fileName": "Contoso Printer A1212 - 20.1", | ||
"vendor": "Contoso", | ||
"model": "A1212", | ||
"version": "20.1", | ||
"description": "Printer firmware by Contoso", | ||
"status": "Processing" | ||
} | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...ft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/CreateFirmwareGroup.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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"parameters": {}, | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"name": "default" | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...crosoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/DeleteFirmware.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,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
...ft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/DeleteFirmwareGroup.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,11 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
.../Microsoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/GetFirmware.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,22 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"properties": { | ||
"fileName": "Contoso Printer A1212 - 20.1", | ||
"vendor": "Contoso", | ||
"model": "A1212", | ||
"version": "20.1", | ||
"description": "Printer firmware by Contoso", | ||
"status": "Processing" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...osoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/GetFirmwareGroup.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"parameters": {}, | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": {} | ||
} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...eDefense/preview/2021-11-10-privatepreview/examples/ListFirmwareGroupsBySubscription.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,20 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Contoso Firmware1" | ||
}, | ||
{ | ||
"name": "Contoso Firmware2" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
35 changes: 35 additions & 0 deletions
35
...t.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/ListFirmwaresByGroup.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,35 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"properties": { | ||
"fileName": "Contoso Printer A1212 - 20.1", | ||
"vendor": "Contoso", | ||
"model": "A1212", | ||
"version": "20.1", | ||
"description": "Printer firmware by Contoso", | ||
"status": "Processing" | ||
} | ||
}, | ||
{ | ||
"properties": { | ||
"fileName": "Contoso Printer A1212 - 20.2", | ||
"vendor": "Contoso", | ||
"model": "A1212", | ||
"version": "20.2", | ||
"description": "Printer firmware by Contoso", | ||
"status": "Processing" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
22 changes: 22 additions & 0 deletions
22
...crosoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/ListOperations.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,22 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "microsoft.iotfirmwaredefense/firmwaregroups/read", | ||
"display": { | ||
"provider": "Microsoft.IoTFirmwareDefense", | ||
"resource": "firmwareGroups", | ||
"operation": "read", | ||
"description": "Read operation of firmwareGroups" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...rmwareDefense/preview/2021-11-10-privatepreview/examples/PostGenerateBinaryHardening.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,26 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"binaryId": "1cfac91b-072a-42f3-b464-9561ea7aaad3", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"binaryHardeningId": "1cfac91b-072a-42f3-b464-9561ea7aaad3", | ||
"features": { | ||
"nx": "True", | ||
"pie": "False", | ||
"relro": "False", | ||
"canary": "False", | ||
"stripped": "False" | ||
}, | ||
"architecture": "MIPS", | ||
"path": "/extractions/2/ext-root/bin/busybox.so", | ||
"class": "busybox" | ||
} | ||
} | ||
} | ||
} |
42 changes: 42 additions & 0 deletions
42
...reDefense/preview/2021-11-10-privatepreview/examples/PostGenerateBinaryHardeningList.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,42 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"binaryHardeningId": "1f23ab87-8d12-4bd9-a2fe-4a6dccc5dcd2", | ||
"features": { | ||
"nx": "True", | ||
"pie": "False", | ||
"relro": "False", | ||
"canary": "False", | ||
"stripped": "False" | ||
}, | ||
"architecture": "MIPS", | ||
"path": "/extractions/2/ext-root/bin/busybox.so", | ||
"class": "busybox" | ||
}, | ||
{ | ||
"binaryHardeningId": "f91688a4-1ab8-4b81-a1ed-30f71e401f10", | ||
"features": { | ||
"nx": "True", | ||
"pie": "False", | ||
"relro": "False", | ||
"canary": "False", | ||
"stripped": "False" | ||
}, | ||
"architecture": "MIPS", | ||
"path": "/extractions/2/ext-root/lib/libc-2.18.so", | ||
"class": "library218" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
....IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/PostGenerateComponent.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,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"componentId": "0cd53d87-290a-47c9-89f8-a8031bb29230", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"componentId": "0cd53d87-290a-47c9-89f8-a8031bb29230", | ||
"componentName": "glibc", | ||
"version": "2.18.0", | ||
"license": "GNU General Public v2.0 or later", | ||
"releaseDate": "2020-06-17T14:00:00Z", | ||
"paths": [ | ||
"/extractions/2/ext-root/bin/glibc" | ||
], | ||
"isUpdateAvailable": "True" | ||
} | ||
} | ||
} | ||
} |
38 changes: 38 additions & 0 deletions
38
...FirmwareDefense/preview/2021-11-10-privatepreview/examples/PostGenerateComponentList.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,38 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"componentId": "0cd53d87-290a-47c9-89f8-a8031bb29230", | ||
"componentName": "glibc", | ||
"version": "2.18.0", | ||
"license": "GNU General Public v2.0 or later", | ||
"releaseDate": "2020-06-17T14:00:00Z", | ||
"paths": [ | ||
"/extractions/2/ext-root/bin/glibc" | ||
], | ||
"isUpdateAvailable": "True" | ||
}, | ||
{ | ||
"componentId": "921c5ba9-3a44-4a74-91ad-8c3f7de79eb6", | ||
"componentName": "dnmasq", | ||
"version": "1.19.4", | ||
"license": "GNU General Public v2.0 only", | ||
"releaseDate": "2020-06-20T14:00:00Z", | ||
"paths": [ | ||
"/extractions/2/ext-root/bin/dnmasq" | ||
], | ||
"isUpdateAvailable": "True" | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
19 changes: 19 additions & 0 deletions
19
...ft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/PostGenerateSummary.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,19 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"extractedSize": 123, | ||
"extractedFileCount": 23, | ||
"componentCount": 10, | ||
"binaryCount": 2, | ||
"analysisTimeSeconds": 2000 | ||
} | ||
} | ||
} | ||
} |
15 changes: 15 additions & 0 deletions
15
...osoft.IoTFirmwareDefense/preview/2021-11-10-privatepreview/examples/PostGetUploadUrl.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,15 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "48e3be20-30fb-4e17-89e0-2e960c4f7617", | ||
"firmwareGroupName": "default", | ||
"firmwareId": "974f3c50-a0d7-4916-a68e-6ca8807f103e", | ||
"api-version": "2021-11-10-privatepreview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"uploadUrl": "https://exampleurl.blob.core.windows.net" | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.