Fix logging formatting and update logs

This commit is contained in:
Michael Hohn
2024-02-21 11:59:32 -08:00
committed by =Michael Hohn
parent 26e2aa28e7
commit 22fba84261
6 changed files with 1712 additions and 1540 deletions

View File

@@ -1,12 +1,12 @@
# Check the status
./gh-mrva status --session mirva-session-71
./gh-mrva status --session mirva-session-73
hohn@gh-hohn:~/local/gh-mrva
0:$ 2024/02/21 11:26:12 >> GET https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/9163
2024/02/21 11:26:12 << 200 https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/9163
2024/02/21 11:26:12 >> response body: {
0:$ 2024/02/21 11:56:21 >> GET https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/9165
2024/02/21 11:56:21 << 200 https://api.github.com/repos/hohn/mirva-controller/code-scanning/codeql/variant-analyses/9165
2024/02/21 11:56:21 >> response body: {
{
"id": 9163,
"id": 9165,
"controller_repo": {
"id": 747492529,
"node_id": "R_kgDOLI3UsQ",
@@ -95,12 +95,11 @@ hohn@gh-hohn:~/local/gh-mrva
"site_admin": true
},
"query_language": "cpp",
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/9163/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240221T192614Z&X-Amz-Expires=3600&X-Amz-Signature=d617edda4abf688ac965e241824e8aa20e3ac9e315ce4f98909a13f79760b3eb&X-Amz-SignedHeaders=host",
"created_at": "2024-02-21T19:24:40Z",
"updated_at": "2024-02-21T19:24:41Z",
"actions_workflow_run_id": 7994456372,
"completed_at": "2024-02-21T19:25:20Z",
"status": "succeeded",
"query_pack_url": "https://objects-origin.githubusercontent.com/codeql-query-console/variant_analyses/9165/query_pack?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=queryconsoleprod%2F20240221%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20240221T195623Z&X-Amz-Expires=3600&X-Amz-Signature=f536a871818d8204ec12bb100c3a9cdbb06727b6da529e456d1e0d10dc468099&X-Amz-SignedHeaders=host",
"created_at": "2024-02-21T19:55:46Z",
"updated_at": "2024-02-21T19:55:47Z",
"actions_workflow_run_id": 7994786107,
"status": "in_progress",
"scanned_repositories": [
{
"repository": {
@@ -124,9 +123,7 @@ hohn@gh-hohn:~/local/gh-mrva
"stargazers_count": 21765,
"updated_at": "2024-02-21T18:58:59Z"
},
"analysis_status": "succeeded",
"result_count": 1,
"artifact_size_in_bytes": 1326
"analysis_status": "in_progress"
}
],
"skipped_repositories": {
@@ -149,21 +146,20 @@ hohn@gh-hohn:~/local/gh-mrva
}
}
}
Run name: mirva-session-71
Status: succeeded
Run name: mirva-session-73
Status: in_progress
Total runs: 1
Total successful scans: 2
Total successful scans: 1
Total failed scans: 0
Total skipped repositories: 0
Total skipped repositories due to access mismatch: 0
Total skipped repositories due to not found: 0
Total skipped repositories due to no database: 0
Total skipped repositories due to over limit: 0
Total repositories with findings: 2
Total findings: 2
Total repositories with findings: 1
Total findings: 1
Repositories with findings:
psycopg/psycopg2 (cpp-flatbuffer-func): 1
google/flatbuffers (cpp-flatbuffer-func): 1
hohn@gh-hohn:~/local/gh-mrva
0:$ hohn@gh-hohn:~/local/gh-mrva
0:$