Install mrva cli
This commit is contained in:
committed by
=Michael Hohn
parent
02b9869ff6
commit
a3f044ce96
22
README.org
22
README.org
@@ -91,10 +91,22 @@
|
|||||||
}
|
}
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
** Run MRVA from command line
|
** 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
|
#+BEGIN_SRC sh
|
||||||
cd ~/local/gh-mrva
|
cd ~/local/gh-mrva
|
||||||
|
|
||||||
@@ -112,7 +124,7 @@
|
|||||||
eof
|
eof
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
2. Submit the mrva job
|
3. Submit the mrva job
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
gh mrva submit --help
|
gh mrva submit --help
|
||||||
|
|
||||||
@@ -121,7 +133,7 @@
|
|||||||
--query /Users/hohn/local/gh-mrva/FlatBuffersFunc.ql
|
--query /Users/hohn/local/gh-mrva/FlatBuffersFunc.ql
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
3. Check the status and download the sarif files
|
4. Check the status and download the sarif files
|
||||||
#+BEGIN_SRC sh
|
#+BEGIN_SRC sh
|
||||||
cd ~/local/gh-mrva
|
cd ~/local/gh-mrva
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user