Saltstack Official UFW Formula
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

default.sls 628B

feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
feat(yamllint): include for this repo and apply rules throughout * Semi-automated using `ssf-formula` (v0.5.0) * Fix errors shown below: ```bash ufw-formula$ $(grep "\- yamllint" .travis.yml | sed -e "s:^\s\+-\s\(.*\):\1:") pillar.example 1:1 warning missing document start "---" (document-start) 3:12 warning truthy value should be one of [false, true] (truthy) 7:11 warning truthy value should be one of [false, true] (truthy) 12:22 warning truthy value should be one of [false, true] (truthy) 64:13 warning truthy value should be one of [false, true] (truthy) 69:13 warning truthy value should be one of [false, true] (truthy) 77:13 warning truthy value should be one of [false, true] (truthy) 84:14 warning truthy value should be one of [false, true] (truthy) 101:16 warning truthy value should be one of [false, true] (truthy) 106:14 warning truthy value should be one of [false, true] (truthy) 110:13 warning truthy value should be one of [false, true] (truthy) test/salt/pillar/default.sls 1:1 warning missing document start "---" (document-start) 2:12 warning truthy value should be one of [false, true] (truthy) 9:14 warning truthy value should be one of [false, true] (truthy) 12:13 warning truthy value should be one of [false, true] (truthy) 15:13 warning truthy value should be one of [false, true] (truthy) 19:13 warning truthy value should be one of [false, true] (truthy) 25:14 warning truthy value should be one of [false, true] (truthy) 29:13 warning truthy value should be one of [false, true] (truthy) ```
5 anos atrás
123456789101112131415161718192021222324252627282930313233343536
  1. # -*- coding: utf-8 -*-
  2. # vim: ft=yaml
  3. ---
  4. ufw:
  5. enabled: true
  6. settings:
  7. loglevel: 'low'
  8. applications:
  9. MySQL:
  10. comment: Allow MySQL
  11. Postgresql:
  12. limit: true
  13. comment: Limit Postgresql
  14. SSH223:
  15. deny: true
  16. comment: Deny Webscale SSH
  17. '*':
  18. deny: true
  19. from_addr: 10.0.0.0/8
  20. services:
  21. '*':
  22. deny: true
  23. from_addr:
  24. - 10.0.0.1
  25. - 10.0.0.2
  26. '22':
  27. protocol: tcp
  28. limit: true
  29. comment: Limit SSH
  30. '80':
  31. protocol: tcp
  32. deny: true
  33. comment: Deny HTTP
  34. '443':
  35. protocol: tcp
  36. comment: Allow HTTPS