Add dependency scanning with arch-audit

3 jobs for dependencyScanning in 2 minutes and 55 seconds (queued for 1 second)
Name Stage Failure
failed
test Test
33
$ locale | grep -q UTF-8
$ echo '{"version":"3.0.1","vulnerabilities":[' $(arch-audit --color never --recursive --format '{"category":"Dependency Scanning","id":"%n","name":"%n","message":"Package %n is affected by known CVEs. It is required by %r.","scanner":{"id":"arch_audit","name":"arch-audit"},"identifiers":[%c],"links":["https://security.archlinux.org/package/%n"]},') '],"dependency_files":[]}' | sed 's/\(CVE-[0-9]\{4\}-[0-9]\{1,\}\)/{"type":"cve","name":"\1","value":"\1","link":"https:\/\/cve.mitre.org\/cgi-bin\/cvename.cgi?name=\1"}/g' | sed 's/,]/]/g' | jq > arch-audit.json
parse error: Expected another array element at line 1, column 449
Uploading artifacts for failed job
Uploading artifacts...
arch-audit.json: found 1 matching files and directories

Uploading artifacts as "dependency_scanning" to coordinator... ok
id=1600 responseStatus=201 Created token=zmsGzQKC
ERROR: Job failed: exit code 1