Skip to content

Instantly share code, notes, and snippets.

View alljames's full-sized avatar

Aled James alljames

  • Wales
View GitHub Profile
@alljames
alljames / purl_list_issues.sh
Last active May 26, 2023 16:15
Using the Snyk API to list issues found on a package URL (purl)
#!/bin/bash
# A basic bash script to summarise usage of Snyk's purl list issues API
# A background on purl (Package URL): https://github.com/package-url/purl-spec#solution
# REQUIREMENTS
# ensure the environment variables SNYK_TOKEN and SNYK_ORG_ID are set
# note: use the Organization ID, not the Organization slug/name
# USAGE

Keybase proof

I hereby claim:

  • I am alljames on github.
  • I am alljames (https://keybase.io/alljames) on keybase.
  • I have a public key ASA5u1biVcNOKG8SsM38WSqPem0lJOxxUGHuulliYJylZAo

To claim this, I am signing this object: