Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Terrascan Deployment using ArgoCD #1708

Open
guillermocol opened this issue Oct 7, 2024 · 0 comments
Open

Terrascan Deployment using ArgoCD #1708

guillermocol opened this issue Oct 7, 2024 · 0 comments

Comments

@guillermocol
Copy link

guillermocol commented Oct 7, 2024

  • terrascan version: latest
  • Operating System: Linux

Description

I would like to get a prehook deployed in my ArgoCD test environment to run terrascan in the repository.
The user guide I am trying to use is the following one:

https://runterrascan.io/docs/integrations/argocd/
''Method 1. Configure terrascan as a PreSync hook and scan the remote repository.
Configure a PreSync hook
The following example of a hook yaml is nearly ready to be added to an existing kubernetes configuration. To complete the configutation, you need to:

Ensure that the secrets, known_hosts, and ssh_config volume are relevant for your specific environment.
Specify a terrascan image.''

What I Did

I am trying to follow the steps on the option one creating a prehook and i have several questions:

- Which terrascan docker image could we use?
- Is it necessary the known_hosts and ssh_config file? I am going to connect it to my github repository, I thought that it would be enough just the ssh key? 

If there is more documentation in regards to this topic, it would be really helpful. 

Thank you for your help
Best regards,
GC
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant