Skip to content

Commit

Permalink
Sensor Threat Intelligence Package Update (Azure#11915)
Browse files Browse the repository at this point in the history
* add ti package update

* remove redundant spec

* fix case sensitive path

* prettier

Co-authored-by: Gal Moshe <gamoshe@gamoshe.local>
Co-authored-by: Gal Moshe <gamoshe@microsoft.com>
  • Loading branch information
3 people authored and dabenhamMic committed Dec 14, 2020
1 parent acbdfc2 commit 9fdac23
Show file tree
Hide file tree
Showing 2 changed files with 46 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"parameters": {
"api-version": "2020-08-06-preview",
"scope": "subscriptions/20ff7fc3-e762-44dd-bd96-b71116dcdc23/resourceGroups/myRg/providers/Microsoft.Devices/IotHubs/myHub",
"iotSensorName": "mySensor"
},
"responses": {
"200": {}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -287,6 +287,42 @@
}
}
}
},
"/{scope}/providers/Microsoft.Security/iotSensors/{iotSensorName}/triggerTiPackageUpdate": {
"post": {
"x-ms-examples": {
"Trigger threat intelligence package update": {
"$ref": "./examples/IotSensors/TriggerTiPackageUpdate.json"
}
},
"tags": [
"IoT Sensors"
],
"operationId": "IotSensors_TriggerTiPackageUpdate",
"description": "Trigger threat intelligence package update",
"parameters": [
{
"$ref": "../../../common/v1/types.json#/parameters/ApiVersion"
},
{
"$ref": "#/parameters/IotSensorScope"
},
{
"$ref": "#/parameters/IotSensorName"
}
],
"responses": {
"200": {
"description": "Triggered threat intelligence package update"
},
"default": {
"description": "Error response describing why the operation failed.",
"schema": {
"$ref": "../../../common/v1/types.json#/definitions/CloudError"
}
}
}
}
}
},
"definitions": {
Expand Down

0 comments on commit 9fdac23

Please sign in to comment.