You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am having issue running the Kics Scan in my enterprise repo. I keep getting this error "Error: open /github/workspace/results.json: permission denied". I think the container does not have the permissions to write to the github/workspace. After doing some research I noted that GitHub Actions must be run by the default Docker user (root). it there a way to specify this in my workflow to ensure the container runs as root.
Please any help with this will be appreciated
The text was updated successfully, but these errors were encountered:
dayor123
changed the title
Permission Denied error for Kics Scan Result.Json
Permission Denied error for Kics Scan Result.Json : "Error: open /github/workspace/results.json: permission denied"
Jun 14, 2023
I have the similar erro due to using a container manager that does not require root (podman). Here is how I got around the error:
podman run -t -v .:/path checkmarx/kics scan -p /path --verbose | tee kics.log
Instead of writing the log to the container dir /report, which is a mounted volume from the host, the command outputs the log to stdOut then pipes it to tee. In turn tee writes the log on the host.
Hello,
I am having issue running the Kics Scan in my enterprise repo. I keep getting this error "Error: open /github/workspace/results.json: permission denied". I think the container does not have the permissions to write to the github/workspace. After doing some research I noted that GitHub Actions must be run by the default Docker user (root). it there a way to specify this in my workflow to ensure the container runs as root.
Please any help with this will be appreciated
The text was updated successfully, but these errors were encountered: