Skip to content

Commit

Permalink
Install mrva cli
Browse files Browse the repository at this point in the history
  • Loading branch information
hohn committed Jan 24, 2024
1 parent 02b9869 commit a3f044c
Showing 1 changed file with 17 additions and 5 deletions.
22 changes: 17 additions & 5 deletions README.org
Original file line number Diff line number Diff line change
Expand Up @@ -91,10 +91,22 @@
}
#+end_src



** Run MRVA from command line
1. Set up the configuration
1. Install mrva cli
#+BEGIN_SRC sh
cd ~/local/gh-mrva
# Build it
go mod edit -replace="github.com/GitHubSecurityLab/gh-mrva=/Users/hohn/local/gh-mrva"
go build

# Install
gh extension install .

# Sanity check
gh mrva -h
#+END_SRC

2. Set up the configuration
#+BEGIN_SRC sh
cd ~/local/gh-mrva

Expand All @@ -112,7 +124,7 @@
eof
#+END_SRC

2. Submit the mrva job
3. Submit the mrva job
#+BEGIN_SRC sh
gh mrva submit --help

Expand All @@ -121,7 +133,7 @@
--query /Users/hohn/local/gh-mrva/FlatBuffersFunc.ql
#+END_SRC

3. Check the status and download the sarif files
4. Check the status and download the sarif files
#+BEGIN_SRC sh
cd ~/local/gh-mrva

Expand Down

0 comments on commit a3f044c

Please sign in to comment.