Skip to content

Instantly share code, notes, and snippets.

View dynamike's full-sized avatar

Michael Kania dynamike

View GitHub Profile
@dynamike
dynamike / snyk-api-issues-test.py
Last active March 28, 2024 16:34
Snyk v1 issues API missing fixed findings.
import requests
import json
# Replace these API_KEY with your actual values
API_TOKEN = "xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxx"
ORG_ID = "3fc34622-339a-449f-9d9c-6e1e9a2aafde"
PROJECT_ID = "42142d4f-5511-4be3-a569-2eeaa6e49fe0"
ISSUE_ID = "SNYK-GOLANG-GOLANGORGXNETHTTP2-5953327"
# Set up headers with the API token
2018/05/01 11:07:44 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161
2018/05/01 11:07:44 [INFO] Go runtime version: go1.10.1
2018/05/01 11:07:44 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/0.6.0/versions/0.11.7/terraform", "apply", "--auto-approve"}
2018/05/01 11:07:44 [DEBUG] Attempting to open CLI config file: /Users/dynamike/.terraformrc
2018/05/01 11:07:44 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2018/05/01 11:07:44 [INFO] CLI command args: []string{"apply", "--auto-approve"}
2018/05/01 11:07:44 [INFO] command: empty backend config, returning nil
2018/05/01 11:07:44 [DEBUG] command: no data state file found for backend config
2018/05/01 11:07:44 [DEBUG] New state was assigned lineage "684ce1d8-1361-4b76-6611-d4e10d0f2b6f"
2018/05/01 11:07:44 [INFO] command: backend initialized: <nil>
# checkout code
git clone https://github.com/trussworks/Truss-PQVP.git
#nodenv
git clone https://github.com/nodenv/nodenv.git ~/.nodenv
cd ~/.nodenv && src/configure && make -C src
echo 'export PATH="$HOME/.nodenv/bin:$PATH"' >> ~/.bash_profile
echo ‘eval "$(nodenv init -)"' >> ~/.bash_profile
git clone https://github.com/nodenv/node-build.git $(nodenv root)/plugins/node-build
pushd Truss-PQVP

Keybase proof

I hereby claim:

  • I am dynamike on github.
  • I am dynamike (https://keybase.io/dynamike) on keybase.
  • I have a public key whose fingerprint is 2CF7 D75A 198E 987E 54FA 7C60 0082 81F6 B8A7 8230

To claim this, I am signing this object: