Parsing postfix
This commit is contained in:
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user