Sunil Mohan Adapa
7b9149d048
security: Properly handle sandbox analysis of timer units
...
- When a timer is provided to 'systemctl show' not all expected keys are
provided in the result. This leads to a KeyError exception.
- Also the security analysis for a timer unit is not useful. Instead perform the
analysis on the corresponding .service unit.
Closes : #2145
Tests:
- Before the patch, Wordpress shows as not sandboxed. The security report page
crashes on Debian testing setup.
- After the patch, there is no crash. Wordpress shows as sandboxed with 86%
coverage.
Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org>
Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
2021-11-08 20:44:49 -05:00
..
2021-11-08 16:03:42 -08:00
2021-09-20 16:50:47 -04:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-10-09 22:08:50 -04:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-09-20 16:50:47 -04:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-03 19:44:48 -04:00
2021-11-08 16:03:42 -08:00
2021-09-20 16:50:47 -04:00
2021-11-08 16:03:42 -08:00
2021-09-27 15:10:07 -07:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-09-20 16:50:47 -04:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-09-20 16:50:47 -04:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 20:44:49 -05:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-10-05 15:22:42 -07:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00
2021-11-08 16:03:42 -08:00