mirror of
https://github.com/hohn/codeql-cli-end-to-end.git
synced 2025-12-16 13:13:03 +01:00
interim cleanup
This commit is contained in:
committed by
=Michael Hohn
parent
5064a9bbbe
commit
e3711b1113
51
readme.org
51
readme.org
@@ -353,37 +353,16 @@
|
|||||||
|
|
||||||
#+INCLUDE: "./custom-suite-1.qls" src yaml
|
#+INCLUDE: "./custom-suite-1.qls" src yaml
|
||||||
|
|
||||||
**** Include versioning:
|
**** TODO Include versioning:
|
||||||
***** codeql cli
|
***** TODO codeql cli
|
||||||
***** query set version
|
***** TODO query set version
|
||||||
Checks:
|
Checks:
|
||||||
**** For building DBs: Common case: 15 minutes for || cpp compilation, can
|
**** For building DBs: Common case: 15 minutes for || cpp compilation, can
|
||||||
be 2 h with codeql.
|
be 2 h with codeql.
|
||||||
** Review results
|
** Review results
|
||||||
XX: echo '' | fzf --print-query --preview='jq {q} < results.sarif'
|
*** TODO sarif viewer plugin
|
||||||
|
XX:
|
||||||
*** sarif viewer plugin
|
**** Install plugin in VS Code
|
||||||
*** raw sarif with =jq=
|
|
||||||
*** sarif-cli
|
|
||||||
**** dump
|
|
||||||
**** sql conversion
|
|
||||||
** Running sequence
|
|
||||||
*** Smallest query suite (security suite).
|
|
||||||
*** Check results.
|
|
||||||
**** Lots of result (> 5000) -> cli review via compiler-style dump.
|
|
||||||
**** Medium result sets (~ 2000) (sarif review plugin, can only load 5000
|
|
||||||
results)
|
|
||||||
**** Few results (sarif review plugin, can only load 5000 results)
|
|
||||||
*** Expand query
|
|
||||||
** Compare results.
|
|
||||||
*** sarif-cli using compiler-style dump.
|
|
||||||
|
|
||||||
* Short end-to-end illustration
|
|
||||||
1. Overall procedure
|
|
||||||
2. Command-line use
|
|
||||||
1. For 3.2 also using sarif-cli
|
|
||||||
3. sarif viewer plugin
|
|
||||||
|
|
||||||
https://marketplace.visualstudio.com/items?itemName=MS-SarifVSCode.sarif-viewer
|
https://marketplace.visualstudio.com/items?itemName=MS-SarifVSCode.sarif-viewer
|
||||||
|
|
||||||
Sarif Viewer
|
Sarif Viewer
|
||||||
@@ -393,5 +372,19 @@
|
|||||||
53,335
|
53,335
|
||||||
(1)
|
(1)
|
||||||
|
|
||||||
4. Details on query suite use (3. Use suite: 1 database -> 1 sarif file (more
|
*** TODO raw sarif with =jq=
|
||||||
flexible, more effort))
|
XX: echo '' | fzf --print-query --preview='jq {q} < results.sarif'
|
||||||
|
|
||||||
|
*** TODO sarif-cli
|
||||||
|
**** TODO dump
|
||||||
|
**** TODO sql conversion
|
||||||
|
** Running sequence
|
||||||
|
*** Smallest query suite (security suite).
|
||||||
|
*** Check results.
|
||||||
|
**** Lots of result (> 5000) -> cli review via compiler-style dump.
|
||||||
|
**** Medium result sets (~ 2000) (sarif review plugin, can only load 5000
|
||||||
|
results)
|
||||||
|
**** Few results (sarif review plugin, can only load 5000 results)
|
||||||
|
*** Expand query
|
||||||
|
** Compare results.
|
||||||
|
*** sarif-cli using compiler-style dump
|
||||||
|
|||||||
Reference in New Issue
Block a user