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 error message using jenkins #1709

Open
guillermocol opened this issue Oct 9, 2024 · 1 comment
Open

Terrascan error message using jenkins #1709

guillermocol opened this issue Oct 9, 2024 · 1 comment

Comments

@guillermocol
Copy link

guillermocol commented Oct 9, 2024

  • terrascan version:
  • Operating System:

Description

I am trying to run terrascan in a docker image for a jenkins build

What I Did

I tried to run terrascan scan in the jenkins file using these commands, but i get this error message
terrascan scan -t aws
terrascan scan

�[31merror�[0m	cli/init.go:42	failed to initialize terrascan. error : unable to delete base folder. error: 'unlinkat //.terrascan: permission denied'

If I run the container myself in local, it works fine with no issue, do we know what is unlinkat or a potential workaround?

Thank you,
GC

@guillermocol
Copy link
Author

guillermocol commented Oct 10, 2024

Any thoughts on this?
I am really curious now about this error as in my local test environment in my pc doesn't occur
Thank you for your help

# 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