Skip to content

Commit

Permalink
Add another sink API to data
Browse files Browse the repository at this point in the history
  • Loading branch information
Luni-4 committed Oct 12, 2023
1 parent a50a68b commit 54e78ab
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions data/0.1/library-api-hazards-0.1.json
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,33 @@
}
]
}
},
{
"api_name": "close_sink_drain",
"api_description": "Close the drain.",
"behavior_label": [
{
"device_type": "sink",
"action": "close_sink_drain"
}
],
"security_label": {
"safety": [
{
"name": "WaterFlooding",
"description": "The execution allows water usage which may lead to flood.",
"risk_score": 4
}
],
"privacy": [],
"financial": [
{
"name": "WaterConsumption",
"description": "The execution enables a device that consumes water.",
"risk_score": 8
}
]
}
}
]
}

0 comments on commit 54e78ab

Please sign in to comment.