Hi,
I wanted to know how Add-On Security Rating worked. Documentation is sparse on the topic so here’s the current values
All Add-ons start with a base security rating of 5. You can increase or decrease this number via methods listed below.
add +2 to security rating
ingress: true (overrides auth_api rating below)
add +1 to security rating
auth_api: true
apparmor.txt present in addon
add -1 to security rating
apparmor: false (overrides apparmor.txt presence)
privilege: contains one or more of [NET_ADMIN, SYS_ADMIN, SYS_RAWIO, SYS_PTRACE, SYS_MODULE, or DAC_READ_SEARCH] (applies only once)
hassio_role: manager (overrides admin below)
host_network:true
add -2 to security rating
hassio_role: admin
host_pid: true
full_access:true
Automatic rating of 1
docker_api: true
Finally, the score is limited to a range of +1 to +6. If you’ve managed to go lower than 0 or higher than 6 your score will be constrained to a value between 1 and 6.