Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPathToScan ¶
func GetPathToScan() string
func GetRepoURL ¶
func GetRepoURL() string
func IsBaselineScan ¶
func IsBaselineScan() bool
func IsCICDScan ¶
func IsCICDScan() bool
func IsListRules ¶
func IsListRules() bool
Types ¶
type Options ¶
type Options struct {
RepoURL string `short:"u" long:"repo-url" required:"false" description:"URL of the repo. Used for baseline scan output"`
ConfigFile string `short:"c" long:"config" required:"false" description:"JSON or YAML config file to read from"`
Rules string `short:"r" long:"rules" required:"false" description:"Rules comma separated to run (ignore rules enabled/disabled in config)"`
ListRules bool `short:"l" long:"list-rules" required:"false" description:"List rules which would be run"`
BaselineScan bool `` /* 254-byte string literal not displayed */
CICDScan bool `` /* 302-byte string literal not displayed */
Debug bool `short:"v" long:"verbose" required:"false" description:"Print out debug messages with time elapsed since last message"`
Version bool `short:"V" long:"version" required:"false" description:"Display the current version of ASIST binary"`
Args struct {
Path string `description:"Path to the file or folder to scan"`
} `positional-args:"yes"`
}
func (*Options) SpecificRuleIds ¶
Click to show internal directories.
Click to hide internal directories.