forked from webscale-formulas/ufw-formula
-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(kitchen+inspec): move inline pillar to file
- Loading branch information
Showing
2 changed files
with
35 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |