Skip to content

Commit

Permalink
feat(formula): add suricata-formula
Browse files Browse the repository at this point in the history
  • Loading branch information
myii committed Jun 24, 2020
1 parent f6ce1c5 commit ad1f45b
Show file tree
Hide file tree
Showing 3 changed files with 68 additions and 2 deletions.
1 change: 1 addition & 0 deletions pillar.example
Original file line number Diff line number Diff line change
Expand Up @@ -150,6 +150,7 @@ ssf:
- strongswan
- stunnel
- sudoers
- suricata
- sysctl
- syslog-ng
- sysstat
Expand Down
5 changes: 3 additions & 2 deletions ssf/defaults.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,8 @@ ssf_node_anchors:
# An alternative method could be to use:
# `git describe --abbrev=0 --tags`
# yamllint disable rule:line-length rule:quoted-strings
title: "ci(kitchen+travis): adjust matrix to add '`'3001'`'"
body: '* Semi-automated using https://github.com/myii/ssf-formula/pull/230'
title: "chore: use standardised structure"
body: '* Automated using https://github.com/myii/ssf-formula/pull/231'
# yamllint enable rule:line-length rule:quoted-strings
github:
owner: 'saltstack-formulas'
Expand Down Expand Up @@ -764,6 +764,7 @@ ssf:
strongswan: *formula_default
stunnel: *formula_default
sudoers: *formula_default
suricata: *formula_default
sysctl: *formula_default
syslog-ng: *formula_default
sysstat: *formula_default
Expand Down
64 changes: 64 additions & 0 deletions ssf/formulas.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -3688,6 +3688,70 @@ ssf:
- .
- .included
semrel_files: *semrel_files_default
suricata:
context:
codeowners:
entries:
global:
- '*': '@alias454'
git:
github:
repo: 'suricata-formula'
inspec_suites_kitchen:
0:
inspec_yml:
summary: >-
Verify that the suricata formula is setup and configured correctly
supports: *supports_debian_ubuntu_centos
provisioner:
pillars_from_files:
- .sls: 'test/salt/pillar/default.sls'
platforms:
# Effectively from `*platforms_new`
# [os , os_ver, salt_ver, py_ver]
- [ubuntu , 20.04, master, 3]
- [ubuntu , 18.04, master, 3]
- [centos , 8 , master, 3]
- [ubuntu , 20.04, 3001 , 3]
- [ubuntu , 18.04, 3001 , 3]
- [centos , 8 , 3001 , 3]
- [centos , 7 , 3001 , 3]
- [ubuntu , 18.04, 3000.3, 3]
- [centos , 8 , 3000.3, 3]
- [centos , 7 , 3000.3, 3]
- [ubuntu , 18.04, 3000.3, 2]
- [ubuntu , 16.04, 3000.3, 2]
- [ubuntu , 18.04, 2019.2, 3]
- [ubuntu , 16.04, 2019.2, 3]
- [centos , 8 , 2019.2, 3]
- [centos , 7 , 2019.2, 3]
# # - [centos , 6 , 2019.2, 2]
platforms_matrix:
# [os , os_ver, salt_ver, py_ver, inspec_suite]
- [ubuntu , 20.04, master, 3, default]
# - [ubuntu , 18.04, master, 3, default]
# - [centos , 8 , master, 3, default]
# - [ubuntu , 20.04, 3001 , 3, default]
# - [ubuntu , 18.04, 3001 , 3, default]
- [centos , 8 , 3001 , 3, default]
# - [centos , 7 , 3001 , 3, default]
- [ubuntu , 18.04, 3000.3, 3, default]
# - [centos , 8 , 3000.3, 3, default]
# - [centos , 7 , 3000.3, 3, default]
# - [ubuntu , 18.04, 3000.3, 2, default]
- [ubuntu , 16.04, 3000.3, 2, default]
# - [ubuntu , 18.04, 2019.2, 3, default]
# - [ubuntu , 16.04, 2019.2, 3, default]
# - [centos , 8 , 2019.2, 3, default]
- [centos , 7 , 2019.2, 3, default]
# # - [centos , 6 , 2019.2, 2, default]
yamllint:
ignore:
additional:
- suricata/files/suricata-update.yaml
- test/salt/pillar/default.sls
- pillar.example
semrel_files: *semrel_files_default
sysctl:
context:
codeowners:
Expand Down

0 comments on commit ad1f45b

Please sign in to comment.