{"id":18689689,"url":"https://github.com/mrseanryan/snyk-issue-cli","last_synced_at":"2025-11-08T07:30:30.396Z","repository":{"id":96810008,"uuid":"404756039","full_name":"mrseanryan/snyk-issue-cli","owner":"mrseanryan","description":":bug: Simple Unix CLI to show security issues from Snyk for projects for your organisation","archived":false,"fork":false,"pushed_at":"2022-04-29T13:24:39.000Z","size":6,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-12-28T01:49:30.335Z","etag":null,"topics":["cli","security","snyk","unix"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mrseanryan.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-09T14:34:16.000Z","updated_at":"2022-04-29T13:24:42.000Z","dependencies_parsed_at":null,"dependency_job_id":"3f3c7350-987e-44e4-8eec-853d21a4537b","html_url":"https://github.com/mrseanryan/snyk-issue-cli","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fsnyk-issue-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fsnyk-issue-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fsnyk-issue-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mrseanryan%2Fsnyk-issue-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mrseanryan","download_url":"https://codeload.github.com/mrseanryan/snyk-issue-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239550286,"owners_count":19657541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","security","snyk","unix"],"created_at":"2024-11-07T10:44:41.682Z","updated_at":"2025-11-08T07:30:30.326Z","avatar_url":"https://github.com/mrseanryan.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# snyk-issue-cli\n\n:bug: Simple Unix CLI to show security issues from Snyk for projects for your organisation.\n\n## Dependencies\n\n| What | Details |\n|---|---|\n| OS | Unix (tested on Mac) |\n| curl | The Unix command line tool to download from a URL |\n| jq | The Unix command line to process JSON |\n\n## Setup\n\n1. Install the dependencies, if they are missing\n\n2. Create a file `api_token.txt` that contains your Snyk API key\n\n3. Create a file `org_id.txt` that contains the ID of your Snyk 'organisation'. Note: you may have many such 'organisations', depending on how you use Snyk.\n\nYou can get a list of your Snyk organisation IDs using curl:\n\n```\ncurl --include \\\n     --header \"Content-Type: application/json; charset=utf-8\" \\\n     --header \"Authorization: token \u003cAPI_KEY\u003e\" \\\n  'https://snyk.io/api/v1/orgs'\n```\n\n4. Create a file `jq_project_filter.txt` that contains a jq filter on your Snyk project names.\n\nExample:\n\n```\ncontains(\"MyProject1\") or contains(\"Project2\")\n```\n\n## Usage\n\n`go.sh`\n\nExample output:\n\n```\nsrc/my-project(master):my-app/My.Project.One/My.Project.One.csproj\n\"Vulnerability: Remote Code Execution (RCE) in System.Text.Encodings.Web@4.6.0 - https://snyk.io/vuln/SNYK-DOTNET-SYSTEMTEXTENCODINGSWEB-1253267\"\n---------\nsrc/my-project(release/1.1):my-app/My.Project.One.View/My.Project.One.View.csproj\n\"Vulnerability: Regular Expression Denial of Service (ReDoS) in RestSharp@106.6.9 - https://snyk.io/vuln/SNYK-DOTNET-RESTSHARP-1316436\"\n---------\nsrc/my-project(release/1.1):modeler/My.Project.One/My.Project.One.csproj\n\"Vulnerability: Regular Expression Denial of Service (ReDoS) in RestSharp@105.0.1 - https://snyk.io/vuln/SNYK-DOTNET-RESTSHARP-1316436\"\n\"Vulnerability: Denial of Service (DoS) in RestSharp@105.0.1 - https://snyk.io/vuln/SNYK-DOTNET-RESTSHARP-1316436\"\n```\n\n## References\n\n- [Snyk API via curl](https://snyk.io/blog/using-the-snyk-api-to-get-your-vulnerabilities/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fsnyk-issue-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmrseanryan%2Fsnyk-issue-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmrseanryan%2Fsnyk-issue-cli/lists"}