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

Add --rebuild-scap option (master) #1051

Merged
merged 8 commits into from
Apr 20, 2020

Conversation

timopollmeier
Copy link
Member

@timopollmeier timopollmeier commented Apr 16, 2020

This option allows rebuilding SCAP data of a given type.
Currently only OVAL definitions are supported.

Checklist:

This option allows rebuilding SCAP data of a given type.
Currently only OVAL definitions are supported.
The value from the initialization in rebuild_scap is never read.
@timopollmeier timopollmeier marked this pull request as ready for review April 16, 2020 17:04
timopollmeier and others added 5 commits April 17, 2020 15:06
This was overlooked while porting the --rebuild-scap option
from gvmd-8.0.

Co-Authored-By: Matt Mundell <32057441+mattmundell@users.noreply.github.com>
The code for opening the lockfile and updating the data is now moved to
new functions shared between sync_scap and rebuild_scap.
This gets rid of some duplication and also makes the way the locking
works more consistent.
The rebuild_scap now handles the return code from open_secinfo_lockfile
and unused failure return codes have been removed from
manage_rebuild_scap and its documentation.
@mattmundell mattmundell merged commit 8e64596 into greenbone:master Apr 20, 2020
@timopollmeier timopollmeier deleted the rebuild-scap-master branch October 15, 2021 10:10
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

Successfully merging this pull request may close these issues.

2 participants