Skip to content
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

Include OVAL files by default for offline use #22

Open
joemcmanus opened this issue Apr 30, 2020 · 7 comments
Open

Include OVAL files by default for offline use #22

joemcmanus opened this issue Apr 30, 2020 · 7 comments

Comments

@joemcmanus
Copy link
Contributor

We have a few use cases where snap store access is open at the firewall, but people.canonical.com is not. It would be cool to ship the files in the snap and default to those if people is not available.

Print out a warning:
Notice: Unable to download most recent OVAL file, using one from $date

@mssalvatore
Copy link
Contributor

@markmorlino, how often is updated OVAL data generated?

@stevebeattie
Copy link
Contributor

@mssalvatore it's generated immediately following the cve html pages in the same cron job, so as frequently as every hour.

@markmorlino
Copy link
Contributor

OVAL seems to be about 11mb of tar.bz2 files right now

@mssalvatore
Copy link
Contributor

@joemcmanus How fresh do we want the offline OVAL data to be?

@joemcmanus
Copy link
Contributor Author

We could do it once a week? But I guess a problem would be everyone downloading new snaps each time we publish a new version.

@markmorlino
Copy link
Contributor

I'm thinking out loud here, but could we make a content snap that had just the oval files in it, and then have cvescan use it if it was installed or go download oval if it was not installed?

@mssalvatore
Copy link
Contributor

I was also toying with the content snap idea. I'd like to avoid pushing out a whole new version of CVEScan every time the OVAL updates.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants