This repository has been archived by the owner on Oct 14, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 22
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(scanner): add default clamd configuration (#1920)
* fix(scanner): fix yaml invalid escape sequence * fix(scanner): clam scanner incorrectly reports a clam command execution error if no vulnerabilities were found * feat(scanner): genearet default clamd scan config * refactor(scanner): move clamd config template into separate file * feat(scanner): use clamd by default * fix(scanner): alternative_freshclam_mirror_url cannot include servers under *.clamav.net * style(scanner): rename variable * refactor(scanner): args slice literal Co-authored-by: Ramiz Polic <[email protected]> * revert(scanner): revert using args slice literal Co-authored-by: Ramiz Polic <[email protected]> * fix(scanner): fix typo * refactor(scanner): replace use_clam_daemon option with use_native_clamscan * refactor(scanner): replace use_clam_daemon option with use_native_clamscan * refactor(scanner): replace use_clam_daemon option with use_native_clamscan * refactor(scanner): replace use_clam_daemon option with use_native_clamscan * fix(scanner): add back json tags * refactor(scanner): convert functions into to struct methods * fix(scanner): remove the no-summary flag --------- Co-authored-by: Ramiz Polic <[email protected]>
- Loading branch information
1 parent
fe54586
commit c2b984b
Showing
6 changed files
with
82 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
LocalSocket {{.LocalSocket}} | ||
{{range .ExcludedPaths}} | ||
ExcludePath {{.}} | ||
{{end}} |