mirror of
https://github.com/home-assistant/developers.home-assistant.git
synced 2025-04-28 07:17:15 +00:00
Integrity check (#1316)
* Add integrity check documentation * add untested * Add examples * Update docs/api/supervisor/endpoints.md Co-authored-by: Joakim Sørensen <joasoe@gmail.com> * Update docs/api/supervisor/endpoints.md Co-authored-by: Joakim Sørensen <joasoe@gmail.com> Co-authored-by: Joakim Sørensen <joasoe@gmail.com>
This commit is contained in:
parent
4703ac058d
commit
20cf80ebe7
@ -2345,6 +2345,38 @@ Returns information about the security features
|
|||||||
|
|
||||||
</ApiEndpoint>
|
</ApiEndpoint>
|
||||||
|
|
||||||
|
<ApiEndpoint path="/security/integrity" method="post">
|
||||||
|
|
||||||
|
Run a full platform integrity check.
|
||||||
|
|
||||||
|
**Returned data:**
|
||||||
|
|
||||||
|
| key | type | description |
|
||||||
|
| ----| ---- | ----------- |
|
||||||
|
| supervisor | str | `pass`, `error`, `failed`, `untested` |
|
||||||
|
| core | str | `pass`, `error`, `failed`, `untested` |
|
||||||
|
| plugins | dict | A dictionary with key per plugin as `pass`, `error`, `failed`, `untested` |
|
||||||
|
| addons | dict | A dictionary with key per addon as `pass`, `error`, `failed`, `untested` |
|
||||||
|
|
||||||
|
**Example response:**
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"supervisor": "pass",
|
||||||
|
"core": "pass",
|
||||||
|
"plugins": {
|
||||||
|
"audio": "pass",
|
||||||
|
"cli": "pass"
|
||||||
|
},
|
||||||
|
"addons": {
|
||||||
|
"core_ssh": "untested",
|
||||||
|
"xj3493_test": "pass"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|
</ApiEndpoint>
|
||||||
|
|
||||||
### Supervisor
|
### Supervisor
|
||||||
|
|
||||||
<ApiEndpoint path="/supervisor/info" method="get">
|
<ApiEndpoint path="/supervisor/info" method="get">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user