fix: code logic updates: make sessionID consistent with original

This commit is contained in:
Michael Hohn
2025-07-17 10:28:31 -07:00
committed by =Michael Hohn
parent d55d586900
commit cb24af65c1
2 changed files with 9 additions and 9 deletions

View File

@@ -354,6 +354,8 @@
#+END_SRC
** Use gh-mrva container to send request via cli
*** As shell script
In [[./bin/ma.send-request]]
*** Start container and check gh-mrva tool
#+BEGIN_SRC sh
# Start an interactive bash shell inside the running Docker container
@@ -497,8 +499,6 @@
#+END_SRC
*** As shell script
In [[./bin/ma.send-request]]
** Send request via gui, using vs code
The following sequence works when run from a local vs code with the custom

View File

@@ -106,22 +106,22 @@ eof
# Submit a new MRVA job with the second query
cd ~/work-gh/mrva/gh-mrva/
gh-mrva submit \
--language cpp --session mirva-session-2899 \
--language cpp --session mirva-session-3901 \
--list mirva-list \
--query ~/work-gh/mrva/gh-mrva/Fprintf.ql
# Check the status of the second session
gh-mrva status --session mirva-session-2899
gh-mrva status --session mirva-session-3901
# Download databases and sarif for the second query
cd ~/work-gh/mrva/gh-mrva/
gh-mrva download --session mirva-session-2899 \
gh-mrva download --session mirva-session-3901 \
--download-dbs \
--output-dir mirva-session-2899
ls -l *2899*
--output-dir mirva-session-3901
ls -l *3901*
# Download only SARIF files
gh-mrva download --session mirva-session-2899 \
--output-dir mirva-session-2899
gh-mrva download --session mirva-session-3901 \
--output-dir mirva-session-3901