Commit Graph

13 Commits

Author SHA1 Message Date
ff10400706 debugged sudden failure to download sarif results. Cause: gh.HTTPClient(nil)
Switch
client, err := gh.HTTPClient(nil)
to
client := &http.Client{}
and everything works again
2025-05-19 13:50:41 -07:00
Michael Hohn
e5016b2c9b Use the slog package and provide command-line argument to control log level 2024-08-19 16:02:17 -07:00
Michael Hohn
d545b863a7 testing: more hardcoded local urls 2024-02-27 18:02:51 -08:00
Michael Hohn
f3de11e72d testing: hardcode a local url
Avoids
   2024/02/27 14:42:55 Post
   "https://localhost/api/v3/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses":
   dial tcp [::1]:443: connect: connection refused
2024-02-27 15:23:33 -08:00
Alvaro Muñoz
cf4eb8ae31 Add --additional-packs argument 2023-10-26 12:51:04 +02:00
Alvaro Muñoz
2c13e0f578 List downloaded artifacts 2023-10-26 12:04:23 +02:00
Alvaro Muñoz
4aa9205a6f Replace remote-query id with original query id on dowloaded SARIFs 2023-09-13 12:16:29 +02:00
Alvaro Muñoz
21bd3a405b Refactor ResolveQueryId to use codeql resolve metadata 2023-09-13 12:15:19 +02:00
Alvaro Muñoz
5b54ffbf91 Add download run subcommand and --output-filename option 2023-09-11 16:56:37 +02:00
Alvaro Muñoz
361fa7c833 Formatting 2023-09-11 16:55:32 +02:00
Alvaro Muñoz
81de79e4c8 Store Query Id for each run 2023-09-11 16:51:45 +02:00
Alvaro Muñoz
402cb36db9 Add prefix options for the status command 2023-07-06 16:27:27 +02:00
Alvaro Muñoz
d60ef906fe initial refactor to use Cobra 2023-04-21 13:43:20 +02:00