GithubHelp home page GithubHelp logo

clarkio / snyk-cli-action Goto Github PK

View Code? Open in Web Editor NEW
20.0 4.0 9.0 8 KB

(Deprecated) Use the official Snyk Actions instead... A GitHub action to run snyk test for vulnerabilities in the project

License: MIT License

Dockerfile 91.04% Shell 8.96%
snyk snyk-cli-action

snyk-cli-action's Introduction

snyk-cli-action (deprecated)

⚠️⚠️ Use the official GitHub Action from Snyk instead: https://github.com/snyk/actions ⚠️⚠️

Original Description: A GitHub action to run snyk test for vulnerabilities in the project

How to Use

  1. Add Action
  2. Enter clarkio/snyk-cli-action@master
  3. Add Secret named SNYK_TOKEN
  4. Go to your Snyk Account Settings and get your API token value
  5. Enter the value of the token you copied from Snyk as the secret in the GitHub Action

Contributors

Thank you to the following folks from the Twitch stream who helped make this happen!

@lannonbr, @roberttables, @ikoa, @HugoDahl, @jtsom, @wwsean08, @BraveCobra2

snyk-cli-action's People

Contributors

clarkio avatar lannonbr avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

snyk-cli-action's Issues

snyk update check failed, incorrect syntax

I added the github action to my workflow and it's telling me the formatting is wrong, PLUS, it's reporting back in my actions that it worked (big green checkmark), so I only noticed it wasn't working because I checked the logs.

Here's a link to my workflow. https://github.com/shehackspurple/dotnetcore-webapp/actions?query=workflow%3A%22.NET+Core%22

End of call error:
snyk update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /github/home/.config

Start of call from Action:
Run clarkio/[email protected]
/usr/bin/docker run --name dfb6583098546074a5c84006bcc961773e2_fa3685 --label 488dfb --workdir /github/workspace --rm -e DOTNET_ROOT -e INPUT_NAME -e INPUT_PATH -e HOME -e GITHUB_REF -e GITHUB_SHA -e GITHUB_REPOSITORY -e GITHUB_RUN_ID -e GITHUB_RUN_NUMBER -e GITHUB_ACTOR -e GITHUB_WORKFLOW -e GITHUB_HEAD_REF -e GITHUB_BASE_REF -e GITHUB_EVENT_NAME -e GITHUB_WORKSPACE -e GITHUB_ACTION -e GITHUB_EVENT_PATH -e RUNNER_OS -e RUNNER_TOOL_CACHE -e RUNNER_TEMP -e RUNNER_WORKSPACE -e ACTIONS_RUNTIME_URL -e ACTIONS_RUNTIME_TOKEN -e GITHUB_ACTIONS=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/dotnetcore-webapp/dotnetcore-webapp":"/github/workspace" 488dfb:6583098546074a5c84006bcc961773e2

Thanks in advance for your help!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.