mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 18:15:42 +01:00
Add insecure flag to checker, too.
This commit is contained in:
parent
f37242b8a2
commit
df86b112c3
1 changed files with 3 additions and 2 deletions
|
|
@ -26,6 +26,7 @@ var reportHTML string
|
||||||
type options struct {
|
type options struct {
|
||||||
Output string `short:"o" long:"output" description:"File name of the generated report" value-name:"REPORT-FILE"`
|
Output string `short:"o" long:"output" description:"File name of the generated report" value-name:"REPORT-FILE"`
|
||||||
Format string `short:"f" long:"format" choice:"json" choice:"html" description:"Format of report" default:"json"`
|
Format string `short:"f" long:"format" choice:"json" choice:"html" description:"Format of report" default:"json"`
|
||||||
|
Insecure bool `long:"insecure" description:"Do not check TSL certificates from provider"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func errCheck(err error) {
|
func errCheck(err error) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue