errors patch
This commit is contained in:
@@ -1,11 +1,11 @@
|
||||
package : comi-audit-freespace-template
|
||||
package : comi-hardening
|
||||
version : 1.0-4
|
||||
architecture : all
|
||||
section : base
|
||||
priority : optional
|
||||
name : Audit FreeSpace
|
||||
name : comi-hardening
|
||||
categories : System and network
|
||||
maintainer : WAPT Team,Tranquil IT,Jimmy PELÉ
|
||||
maintainer : ComiTeam
|
||||
description : Audit FreeSpace
|
||||
depends :
|
||||
conflicts :
|
||||
|
||||
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