mirror of
https://github.com/hohn/codeql-cli-end-to-end.git
synced 2025-12-16 13:13:03 +01:00
View raw sarif with =jq= and fzf
This commit is contained in:
committed by
=Michael Hohn
parent
25984a70ef
commit
60e7e04d8a
16
readme.org
16
readme.org
@@ -443,17 +443,25 @@
|
|||||||
| cpp/buffer_overflow |
|
| cpp/buffer_overflow |
|
||||||
| cpp/use_after_free |
|
| cpp/use_after_free |
|
||||||
|
|
||||||
*** TODO View raw sarif with =jq= and fzf
|
*** View raw sarif with =jq= and fzf
|
||||||
Install the fuzzy finder
|
Install the fuzzy finder
|
||||||
: brew install fzf
|
: brew install fzf
|
||||||
or =apt-get=/=yum= on linux
|
or =apt-get=/=yum= on linux
|
||||||
|
|
||||||
XX: echo '' | fzf --print-query --preview='jq {q} < results.sarif'
|
Try working to =.runs[0].tool.driver.rules= and follow the output in real
|
||||||
|
time.
|
||||||
|
|
||||||
|
#+BEGIN_SRC sh
|
||||||
|
pushd ~/local/codeql-cli-end-to-end/codeql-workshop-vulnerable-linux-driver
|
||||||
|
res=e402cf5-UseAfterFree.sarif
|
||||||
|
echo '' | fzf --print-query --preview="jq {q} < $res"
|
||||||
|
popd
|
||||||
|
#+END_SRC
|
||||||
|
|
||||||
*** TODO sarif-cli
|
*** TODO sarif-cli
|
||||||
**** TODO dump
|
**** TODO Install
|
||||||
**** TODO sql conversion
|
**** TODO Dump
|
||||||
|
**** TODO SQL conversion
|
||||||
** Running sequence
|
** Running sequence
|
||||||
*** Smallest query suite (security suite).
|
*** Smallest query suite (security suite).
|
||||||
*** Check results.
|
*** Check results.
|
||||||
|
|||||||
Reference in New Issue
Block a user