Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
Add new flags usage to Getting Started (#31)
Browse files Browse the repository at this point in the history
* Add new flags usage to Getting Started

* address README changes
  • Loading branch information
isp1r0 authored Aug 27, 2021
1 parent 7e47711 commit fecb3b0
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,22 @@ gokart scan go-test-bench/ -d

# Output results in sarif format
gokart scan go-test-bench/ -s

# Output results to file
gokart scan go-test-bench/ -o gokart-go-test-bench.txt

# Output scarif results to file
gokart scan go-test-bench/ -o gokart-go-test-bench.txt -s

# Scan remote repository (private repos require proper authentication)
# Repository will be cloned locally, scanned and deleted afterwards
gokart scan -r github.com/ShiftLeftSecurity/shiftleft-go-demo -v

# Use remote scan and output flags together for seamless security reviews
gokart scan -r github.com/ShiftLeftSecurity/shiftleft-go-demo -o gokart-shiftleft-go-demo.txt -v

# Use remote scan, output and sarif flags for frictionless integration into CI/CD
gokart scan -r github.com/ShiftLeftSecurity/shiftleft-go-demo -o gokart-shiftleft-go-demo.txt -s
```

To test out the extensibility of GoKart, you can modify the configuration file that GoKart uses to
Expand Down

0 comments on commit fecb3b0

Please sign in to comment.