From a0e7553aa57755f16ea81a60c4aefec13454cb1d Mon Sep 17 00:00:00 2001 From: Manuel Gutierrez <1380243+xr09@users.noreply.github.com> Date: Thu, 7 Jan 2021 13:36:55 +0100 Subject: [PATCH] Port all tests from Ansible repo --- .goss.yaml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/.goss.yaml b/.goss.yaml index b2f5864d..cabb680b 100644 --- a/.goss.yaml +++ b/.goss.yaml @@ -13,6 +13,13 @@ file: group: root filetype: file contains: [] + /var/ossec/etc/lists/audit-keys: + exists: true + mode: "0660" + owner: ossec + group: ossec + filetype: file + contains: [] /var/ossec/etc/ossec.conf: exists: true mode: "0660" @@ -20,6 +27,27 @@ file: group: ossec filetype: file contains: [] + /var/ossec/etc/rules/local_rules.xml: + exists: true + mode: "0660" + owner: ossec + group: ossec + filetype: file + contains: [] + /var/ossec/etc/sslmanager.cert: + exists: true + mode: "0640" + owner: root + group: root + filetype: file + contains: [] + /var/ossec/etc/sslmanager.key: + exists: true + mode: "0640" + owner: root + group: root + filetype: file + contains: [] package: filebeat: installed: true @@ -71,6 +99,12 @@ process: running: true ossec-authd: running: true + ossec-execd: + running: true + ossec-monitord: + running: true + ossec-remoted: + running: true ossec-syscheckd: running: true s6-supervise: