check_sys/audit/system/plugins/postfix/postfix.py
2023-09-10 18:08:48 +02:00

18 lines
390 B
Python

#!/usr/bin/env python3
def postfix() -> list:
postfix = list()
postfix.append({
'from': 'cis',
'id': '',
'description': 'Disable the listening from all interfaces',
'flag': "inet_interfaces",
'level': 'medium',
'value': [
"127.0.0.1",
"loopback-only",
"[::1]",
]
})
return postfix