Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Snyk scheduled scan GitHub Action throws error #390

Open
pvannierop opened this issue Oct 8, 2024 · 0 comments
Open

Snyk scheduled scan GitHub Action throws error #390

pvannierop opened this issue Oct 8, 2024 · 0 comments

Comments

@pvannierop
Copy link
Contributor

pvannierop commented Oct 8, 2024

It complains about missing /tmp/test.json output file of the Snyk scan. I make the release 0.8.11 regardless because the Snyk scan itself reports no errors.

Run thehyve/report-vulnerability@master
/usr/bin/docker run --name quayiothehyvereportvulnerabilitylatest_a7afad --label d36125 --workdir /github/workspace --rm -e "REPORT_FILE" -e "JAVA_HOME" -e "JAVA_HOME_17_X64" -e "GRADLE_BUILD_ACTION_SETUP_COMPLETED" -e "GRADLE_BUILD_ACTION_CACHE_RESTORED" -e "TOKEN" -e "INPUT_REPORT-FILE" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e "ACTIONS_RESULTS_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/RADAR-Schemas/RADAR-Schemas":"/github/workspace" quay.io/thehyve/report-vulnerability:latest "/tmp/test.json"
Traceback (most recent call last):
File "/entrypoint.py", line 143, in
main()
File "/entrypoint.py", line 118, in main
with open(args.report_file) as f:
FileNotFoundError: [Errno 2] No such file or directory: '/tmp/test.json'

@pvannierop pvannierop changed the title Snyk scheduled scan GitHub Action trows error Snyk scheduled scan GitHub Action throws error Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant