mirror of
https://github.com/home-assistant/supervisor.git
synced 2025-11-09 10:59:43 +00:00
Adds host PID mode support for add-ons (#700)
* ✨ Adds host PID mode support for add-ons. * 🔒 Disables host PID mode when in protected mode * 🚦 Adds more negative rating weight to host PID mode
This commit is contained in:
committed by
Pascal Vizeli
parent
061420f279
commit
622e99e04c
@@ -40,6 +40,10 @@ def rating_security(addon):
|
||||
if addon.host_network:
|
||||
rating += -1
|
||||
|
||||
# Insecure PID namespace
|
||||
if addon.host_pid:
|
||||
rating += -2
|
||||
|
||||
# Full Access
|
||||
if addon.with_full_access:
|
||||
rating += -2
|
||||
|
||||
Reference in New Issue
Block a user