From faeb13efb1e42b81c3a2dd78c837ca43a9208053 Mon Sep 17 00:00:00 2001 From: Michael Hohn Date: Thu, 26 Sep 2024 13:33:29 -0700 Subject: [PATCH] 7. [X] Download the sarif files, optionally also get databases. For the current --- notes/cli-end-to-end-demo.org | 15 +++++---------- 1 file changed, 5 insertions(+), 10 deletions(-) diff --git a/notes/cli-end-to-end-demo.org b/notes/cli-end-to-end-demo.org index 36525d2..1cc7260 100644 --- a/notes/cli-end-to-end-demo.org +++ b/notes/cli-end-to-end-demo.org @@ -330,18 +330,13 @@ #+END_SRC - 7. [ ] Download the sarif files, optionally also get databases. For the current + 7. [X] Download the sarif files, optionally also get databases. For the current query / database combination there are zero result hence no downloads. #+BEGIN_SRC sh - cd ~/work-gh/mrva/gh-mrva/ - # Just download the sarif files - ./gh-mrva download --session mirva-session-1360 \ - --output-dir mirva-session-1360 - - # Download the sarif files and CodeQL dbs - ./gh-mrva download --session mirva-session-1360 \ - --download-dbs \ - --output-dir mirva-session-1360 + docker exec -i mrvacommander-client-ghmrva-1 /usr/local/bin/gh-mrva \ + download --session mirva-session-1360 \ + --download-dbs \ + --output-dir mirva-session-1360 #+END_SRC ** Write query that has some results