76 Commits

Author SHA1 Message Date
Michael Hohn
56e68f5eed fix test configuration
Some checks failed
release / release (push) Has been cancelled
v0.4.5
2025-08-19 11:23:48 -07:00
Michael Hohn
28f94e4690 Get MRVA_SERVER_URL from environment 2025-07-28 19:58:39 -07:00
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
68dba0ce37 Add go version info for vs code 2025-05-19 13:45:54 -07:00
Michael Hohn
12a0e3ef4f minor 2025-02-05 10:00:57 -08:00
Michael Hohn
5e9187312a local list update 2025-01-30 14:52:56 -08: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
c9dbba5014 Additions for end-to-end walkthrough 2024-08-13 12:51:22 -07:00
Michael Hohn
3aea9f8625 minor change 2024-08-13 12:20:27 -07:00
Michael Hohn
ab30b03752 path changes 2024-06-04 10:40:48 -07:00
Michael Hohn
2fa9871a23 Server test modifications 2024-03-13 10:45:01 -07:00
Michael Hohn
2f3dc904ba Check for recent versions of codeql for compatibility with server 2024-03-01 10:48:39 -08: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
Michael Hohn
22fba84261 Fix logging formatting and update logs 2024-02-21 11:59:32 -08:00
Michael Hohn
26e2aa28e7 Surround expanded json log output with {} 2024-02-21 11:30:42 -08:00
Michael Hohn
16010d1a35 Update to run query successfully on two repositories 2024-02-21 11:06:47 -08:00
Michael Hohn
bed2c62d1b Add parens to log 2024-02-16 17:44:56 -08:00
Michael Hohn
8cf36f124c add tags for cross-referencing 2024-02-14 18:23:40 -08:00
Michael Hohn
33532d46d5 Format logged json and update logs
New format logs are in
    ls log*60*
2024-02-14 10:34:32 -08:00
Michael Hohn
ff94bfa9f5 Clean up and fix custom logging code
Unrecognized json caused duplicate output.

Specifically:
     2024/02/12 18:58:54 WARNING: json decode error: json: unknown field "id"
2024-02-13 11:30:14 -08:00
Michael Hohn
2877835899 List query pack file names in log when in request/response bodies
- [ ] List file names in log when request/response bodies are base64 encoded
     gzipped tar file
     : base64 -d < foo1 | gunzip | tar t| head -20
2024-02-12 19:02:29 -08:00
Michael Hohn
45f184d061 List file names in log when request/response bodies are pk zip archives 2024-02-09 19:26:39 -08:00
Michael Hohn
70768469d6 Extract LogBody() function 2024-02-09 14:34:11 -08:00
Michael Hohn
5f235371f5 Unpack the request/response payload contents in the shell and keep annotated logs 2024-02-08 19:38:02 -08:00
Michael Hohn
6b7a21d4d1 ** Use the delve debugger to find sigsev 2024-02-08 15:28:40 -08:00
Michael Hohn
c541abacc2 Add full request log output 2024-02-08 14:57:10 -08:00
Michael Hohn
2a80ff0bc2 Added request/response logger to main for expansion 2024-02-08 13:32:14 -08:00
Michael Hohn
d57f9a855f shell log cleanup 2024-02-05 11:51:20 -08:00
Michael Hohn
4713b001ff Add logs 2024-01-29 12:04:52 -08:00
Michael Hohn
e6a8282391 download the sarif files and CodeQL dbs when finished 2024-01-24 13:27:36 -08:00
Michael Hohn
a3f044ce96 Install mrva cli 2024-01-24 13:13:33 -08:00
Michael Hohn
02b9869ff6 Add * Miscellaneous Notes 2024-01-24 12:18:48 -08:00
Michael Hohn
8b076cfd53 ** Run MRVA from command line 2024-01-24 12:17:28 -08:00
Michael Hohn
edb9714b37 ** Use custom list with target repos in VS Code 2024-01-24 12:12:13 -08:00
Michael Hohn
1c786ae600 Action logs on Controller Repository 2024-01-24 12:07:05 -08:00
Michael Hohn
39f535d82e Fixed database listing format 2024-01-24 11:50:21 -08:00
Michael Hohn
b1c8dfbd67 databases.json from vscode 2024-01-24 11:40:45 -08:00
Michael Hohn
bab68337e0 Run MRVA using trivial query and default top 10 list 2024-01-23 19:42:53 -08:00
Alvaro Muñoz
88ce3e2039 Merge pull request #4 from RasmusWL/patch-1
Update docs on `codeql_path`
2023-10-26 12:58:50 +02:00
Rasmus Wriedt Larsen
dca4182c3b Update docs on codeql_path 2023-10-26 12:58:03 +02: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
c2f8630a91 Remove outputfilename option 2023-09-13 12:14:33 +02:00
Alvaro Muñoz
94f7572d92 Formatting 2023-09-11 16:57:59 +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