mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Aggregator: ignore advisories by given patterns (#421)
* Ignore advisories in checker. * Rename config.check to config.prepare to make symmerical to other tools. * Add ignore patterns to aggreagtor. * Clarified docs on where and how to use ignorepattern for aggregator --------- Co-authored-by: JanHoefelmeyer <hoefelmeyer.jan@gmail.com>
This commit is contained in:
parent
7bab18fc41
commit
4cd0fc3bb4
5 changed files with 61 additions and 2 deletions
|
|
@ -45,7 +45,7 @@ func lock(lockFile *string, fn func() error) error {
|
|||
func main() {
|
||||
_, cfg, err := parseArgsConfig()
|
||||
options.ErrorCheck(err)
|
||||
options.ErrorCheck(cfg.check())
|
||||
options.ErrorCheck(cfg.prepare())
|
||||
p := processor{cfg: cfg}
|
||||
options.ErrorCheck(lock(cfg.LockFile, p.process))
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue