commit b90c71fea96a967afa1f735c640b01a83b7bb33e Author: corentin Date: Thu Mar 24 08:19:03 2022 +0100 script goss diff --git a/goss.yaml b/goss.yaml new file mode 100644 index 0000000..57fc9b0 --- /dev/null +++ b/goss.yaml @@ -0,0 +1,54 @@ +file: + /root/sv/dump.latest.tgz: + exists: true + mode: "0644" + size: 9676 + owner: root + group: root + filetype: file + contains: [] +port: + tcp:22: + listening: true + ip: + - 0.0.0.0 + tcp6:22: + listening: true + ip: + - '::' +service: + ssh: + enabled: true + running: true + sshd: + enabled: true + running: true +command: + crontab -l: + exit-status: 0 + stdout: + - 0 21 * * 1-5 /root/sauvegarde_script.sh + stderr: [] + timeout: 10000 + ip r |grep default: + exit-status: 0 + stdout: + - default via 192.168.0.1 dev enp0s3 + stderr: [] + timeout: 10000 + ssh ap21 hostname: + exit-status: 0 + stdout: + - ap21 + stderr: [] + timeout: 10000 +dns: + A:ns.sio.lan: + resolvable: true + addrs: + - 10.121.38.7 + timeout: 500 + server: 10.121.38.7 +interface: + eth0: + exists: false