try docker for inspec-auditor

Signed-off-by: Martin Schurz <[email protected]>
This commit is contained in:
Martin Schurz committed 2023-04-10 22:58:28 +02:00
1 parent 5357f9e718
commit ebab98930c
2 files changed
+9 -12

No files matched your search

+2 -2
View File
@@ -46,8 +46,8 @@ jobs:
- debian10
- debian11
- amazon2023
# - arch # needs to be fixed
# - opensuse_tumbleweed # baseline is not compatible with suse
- arch
- opensuse_tumbleweed
steps:
- name: Checkout repo
uses: actions/checkout@v3
+7 -10
View File
@@ -32,17 +32,14 @@
name: libxcrypt-compat
when: ansible_facts.distribution == 'Fedora'
- name: download cinc-auditor
get_url:
url: https://omnitruck.cinc.sh/install.sh
dest: /tmp/install.sh
mode: '0775'
- name: install cinc-auditor
shell: "bash /tmp/install.sh -s -- -P cinc-auditor -v 4"
- name: Execute cinc-auditor tests
command: "/opt/cinc-auditor/bin/cinc-auditor exec --no-show-progress --no-color --no-distinct-exit https://github.com/dev-sec/ssh-baseline/archive/refs/heads/master.zip"
command: >
docker run
--volume /run/docker.sock:/run/docker.sock
docker.io/cincproject/auditor exec
-t docker://instance
--sudo --no-show-progress --no-color
--no-distinct-exit https://github.com/dev-sec/ssh-baseline/archive/refs/heads/master.zip
register: test_results
changed_when: false
ignore_errors: true