luci-app-statistics.json 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. {
  2. "luci-app-statistics": {
  3. "description": "Grant access to statistics resources",
  4. "read": {
  5. "cgi-io": [ "read", "exec" ],
  6. "file": {
  7. "/etc/filesystems": [ "read" ],
  8. "/etc/group": [ "read" ],
  9. "/etc/passwd": [ "read" ],
  10. "/proc/filesystems": [ "read" ],
  11. "/proc/interrupts": [ "read" ],
  12. "/proc/mounts": [ "read" ],
  13. "/proc/partitions": [ "read" ],
  14. "/proc/sys/kernel/hostname": [ "read" ],
  15. "/tmp/rrd": [ "list" ],
  16. "/usr/bin/rrdtool graph - -a PNG -s *": [ "exec" ],
  17. "/usr/lib/collectd": [ "list" ],
  18. "/usr/sbin/iptables-save": [ "exec" ],
  19. "/usr/sbin/ip6tables-save": [ "exec" ],
  20. "/usr/sbin/sensors -j": [ "exec" ],
  21. "/usr/share/luci/statistics/plugins": [ "list" ],
  22. "/usr/share/luci/statistics/plugins/*.json": [ "read" ],
  23. "/var/run": [ "list" ],
  24. "/www/luci-static/resources/statistics/rrdtool/definitions": [ "list" ]
  25. },
  26. "ubus": {
  27. "file": [ "list", "read" ]
  28. },
  29. "uci": [ "luci_statistics" ]
  30. },
  31. "write": {
  32. "uci": [ "luci_statistics" ]
  33. }
  34. }
  35. }