Imran Iqbal
vor 5 Jahren
Ursprung
Commit
00053754b4
Es ist kein Account mit der E-Mail-Adresse des Committers verbunden
2 geänderte Dateien mit
35 neuen und
34 gelöschten Zeilen
-
kitchen.yml
-
test/salt/pillar/default.sls
|
|
@@ -123,40 +123,8 @@ provisioner: |
|
|
|
base: |
|
|
|
'*': |
|
|
|
- ufw |
|
|
|
ufw.sls: |
|
|
|
ufw: |
|
|
|
enabled: True |
|
|
|
settings: |
|
|
|
loglevel: 'low' |
|
|
|
applications: |
|
|
|
MySQL: |
|
|
|
comment: Allow MySQL |
|
|
|
Postgresql: |
|
|
|
limit: True |
|
|
|
comment: Limit Postgresql |
|
|
|
SSH223: |
|
|
|
deny: True |
|
|
|
comment: Deny Webscale SSH |
|
|
|
'*': |
|
|
|
deny: True |
|
|
|
from_addr: 10.0.0.0/8 |
|
|
|
services: |
|
|
|
'*': |
|
|
|
deny: True |
|
|
|
from_addr: |
|
|
|
- 10.0.0.1 |
|
|
|
- 10.0.0.2 |
|
|
|
'22': |
|
|
|
protocol: tcp |
|
|
|
limit: True |
|
|
|
comment: Limit SSH |
|
|
|
'80': |
|
|
|
protocol: tcp |
|
|
|
deny: True |
|
|
|
comment: Deny HTTP |
|
|
|
'443': |
|
|
|
protocol: tcp |
|
|
|
comment: Allow HTTPS |
|
|
|
pillars_from_files: |
|
|
|
ufw.sls: test/salt/pillar/default.sls |
|
|
|
|
|
|
|
verifier: |
|
|
|
# https://www.inspec.io/ |
|
|
@@ -0,0 +1,33 @@ |
|
|
|
ufw: |
|
|
|
enabled: True |
|
|
|
settings: |
|
|
|
loglevel: 'low' |
|
|
|
applications: |
|
|
|
MySQL: |
|
|
|
comment: Allow MySQL |
|
|
|
Postgresql: |
|
|
|
limit: True |
|
|
|
comment: Limit Postgresql |
|
|
|
SSH223: |
|
|
|
deny: True |
|
|
|
comment: Deny Webscale SSH |
|
|
|
'*': |
|
|
|
deny: True |
|
|
|
from_addr: 10.0.0.0/8 |
|
|
|
services: |
|
|
|
'*': |
|
|
|
deny: True |
|
|
|
from_addr: |
|
|
|
- 10.0.0.1 |
|
|
|
- 10.0.0.2 |
|
|
|
'22': |
|
|
|
protocol: tcp |
|
|
|
limit: True |
|
|
|
comment: Limit SSH |
|
|
|
'80': |
|
|
|
protocol: tcp |
|
|
|
deny: True |
|
|
|
comment: Deny HTTP |
|
|
|
'443': |
|
|
|
protocol: tcp |
|
|
|
comment: Allow HTTPS |