feat(docker): Add ssh-client to Docker image to access private modules via ssh (#553)

This commit is contained in:
Laurent 2023-08-15 17:02:32 +02:00 committed by GitHub
commit 1d76157c9d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 1 deletions

View file

@ -73,6 +73,11 @@ commandTests:
command: "su-exec"
expectedOutput: ["^Usage: su-exec user-spec command \\[args\\]\\n$"]
- name: "ssh"
command: "ssh"
args: [ "-V" ]
expectedError: ["^OpenSSH_9\\.[0-9]+"]
fileExistenceTests:
- name: 'terrascan init'
path: '/root/.terrascan/pkg/policies/opa/rego/github/github_repository/privateRepoEnabled.rego'