check_sys/audit/system/plugins/grub.py
2023-09-12 16:49:18 +02:00

9 lines
200 B
Python

#!/usr/bin/env python3
def grub() -> dict:
grub = dict()
grub['description'] = 'Change boot permission'
grub['filename'] = '/boot/grub/grub.cfg'
grub['value'] = 0o600
return grub