-
Notifications
You must be signed in to change notification settings - Fork 187
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
Rename/unify CVE vulnfeed project #1936
Conversation
IIRC, Cloud Deploy will make a new workload with the new name, but won't delete the old one with the original name, so that'll have to be manually deleted. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for doing this, and sorry for my sloppiness causing unnecessary cognitive load for debugging.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, let's address the little whoopsie for 2024 while the patient is on the table...
Co-authored-by: Andrew Pollock <andrewpollock@users.noreply.github.com>
Improve on the quick fix shoe-horned into PR google#1936 by restoring external configurability of the oldest desired year and biasing for the current and more recent years first (because Andrew hates delayed gratification)
Improve on the quick fix shoe-horned into PR #1936 by restoring external configurability of the oldest desired year and biasing for the current and more recent years first (because Andrew hates delayed gratification)
This commit harmonizes the Cloud Logging log name with the previous naming tidy up done in google#1936
Rename all the CVE vulnfeed project names into one name:
cpe-repo-gen
.Currently the NVD cve vulnfeed project is two binaries with 5 different names (which was quite confusing to figure out when debugging):
cperepos
(dir path: vulnfeeds/cmd/cperepos/)cpe-repo-gen
(docker image name)gen-cperepos-map
(yaml file name and kubernetes worker and container name)and the NVD to OSV conversion exe has:
cpp
(dir path: vulnfeeds/cpp)nvd-cve-osv
(image/kubernetes worker name)This PR unifies then down to two names,
cpe-repo-gen
andnvd-cve-osv
. I also movednvd-cve-osv
under thecmd/
directory since it's a binary (fromvulnfeeds/cpp
tovulnfeeds/cmd/nvd-cve-osv
)I'm not sure if changing the worker name will require some manual work when deploying?