27 Commits

Author SHA1 Message Date
Michael Hohn
28f94e4690 Get MRVA_SERVER_URL from environment 2025-07-28 19:58:39 -07:00
Michael Hohn
12a0e3ef4f minor 2025-02-05 10:00:57 -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
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
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
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
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
bab68337e0 Run MRVA using trivial query and default top 10 list 2024-01-23 19:42:53 -08:00