-
Notifications
You must be signed in to change notification settings - Fork 621
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add: nasl-cli notus update subcommand #1558
Conversation
Load up Notus Advisories into redis. It performs the signature check, the hashsum check and the upload. Signature check is optional. It must be enabled with the command line option but also the environment variable to the gnupg keyring must be set. Usage: `GPGHOME=/path/to/.gnupg nasl-cli notus update --path <path-to-the-advisories> --signature-check`
af55f35
to
7cb3e7b
Compare
Since it is no not only for Nvts but also for Notus advisories.
thanks for the review @nichtsfrei |
I have been thinking about the separation between the 'notus' and 'feed' commands. Although it is technically correct to separate them, I'm questioning whether users actually need this differentiation or if they would rather 'verify' and 'update' them in one command? |
maybe something like |
instead of having two subcommands.
d3e186b
to
4614a5c
Compare
What:
Load up Notus Advisories into redis.
It performs the signature check, the hashsum check and the upload.
Signature check is optional. It must be enabled with the command line option but also the environment variable to the gnupg keyring must be set.
Usage:
GPGHOME=/path/to/.gnupg nasl-cli notus update --path <path-to-the-advisories> --signature-check
Jira: SC-997
Why:
How:
Checklist: