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

The JSON Red Hat feed for vulnerability detector doesn't follow the same update interval than the rest of Red Hat feeds #13338

Closed
2 tasks
pereyra-m opened this issue May 3, 2022 · 0 comments
Assignees
Labels

Comments

@pereyra-m
Copy link
Member

pereyra-m commented May 3, 2022

Description

During the the development of the scan on demand for vulnerability detector #9220, it was found that the JSON Red Hat feed isn't being updated with the interval configured for this vendor. It receives the default value WM_VULNDETECTOR_DEFAULT_UPDATE_INTERVAL.

The method wm_vuldet_enable_rhel_json_feed()

void wm_vuldet_enable_rhel_json_feed(update_node **updates) {
calls wm_vuldet_set_feed_version()
int wm_vuldet_set_feed_version(char *feed, char *version, update_node **upd_list) {
but it doesn't set any value for upd->interval in the case of FEED_JREDHAT.

Requirements

  • Make sure the interval configured for Red Hat also applies to JSON Red Hat
  • If the Red Hat vendor isn't enabled, the JSON Red Hat feed shouldn't be synced
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

No branches or pull requests

4 participants