Parsing postfix

This commit is contained in:
2023-09-10 18:08:48 +02:00
parent 3cd25dce85
commit 582b85bb07
14 changed files with 281 additions and 77 deletions
@@ -1,6 +1,6 @@
#!/usr/bin/env python3
def apaches_ssl() -> list:
def apache() -> list:
ssl = list()
# Check if apaches has disabled the bad SSL/TLS version
+10 -2
View File
@@ -3,7 +3,15 @@
def postfix() -> list:
postfix = list()
postfix.append({
'directive': "inet_interfaces",
'value': "loopback-only",
'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