errors patch
This commit is contained in:
4
setup.py
4
setup.py
@@ -239,9 +239,9 @@ def install():
|
||||
#CIS - Ensure 'Windows Firewall: Domain: Firewall state' is set to 'On (recommended)'.
|
||||
run("netsh advfirewall set allprofiles state on")
|
||||
#CIS - Ensure 'Windows Firewall: Domain: Inbound connections' is set to 'Block (default)'.
|
||||
run("netsh advfirewall firewall add rule name="BlockInbound" dir=in action=block")
|
||||
run('netsh advfirewall firewall add rule name="BlockInbound" dir=in action=block')
|
||||
#CIS - Ensure 'Windows Firewall: Domain: Inbound connections' is set to 'Block (default)'.
|
||||
run("netsh advfirewall firewall add rule name="BlockOutbound" dir=out action=allow")
|
||||
run('netsh advfirewall firewall add rule name="BlockOutbound" dir=out action=allow')
|
||||
#CIS - Ensure 'Windows Firewall: Domain: Settings: Display a notification' is set to 'No'.
|
||||
run("netsh advfirewall set allprofiles settings notifications off")
|
||||
#CIS - Ensure 'Windows Firewall: Domain: Logging: Name' is set to '%SystemRoot%\System32\logfiles\firewall\domainfw.log'.
|
||||
|
||||
Reference in New Issue
Block a user