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

chore(detector/vuls2): check downloaded time before updating db #2077

Merged
merged 3 commits into from
Dec 10, 2024

Conversation

shino
Copy link
Collaborator

@shino shino commented Dec 9, 2024

What did you implement:

Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context.

Fixes # (issue)

Type of change

Please delete options that are not relevant.

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.

Checklist:

You don't have to satisfy all of the following.

  • Write tests
  • Write documentation
  • Check that there aren't other open pull requests for the same issue/feature
  • Format your source code by make fmt
  • Pass the test by make test
  • Provide verification config / commands
  • Enable "Allow edits from maintainers" for this PR
  • Update the messages below

Is this ready for review?: NO

Reference

@shino shino force-pushed the shino/fetch-refactor branch 2 times, most recently from abdfade to 483da5a Compare December 10, 2024 02:40
@shino shino requested a review from MaineK00n December 10, 2024 02:45
@shino shino force-pushed the shino/fetch-refactor branch from 483da5a to 5263023 Compare December 10, 2024 07:05
@shino shino marked this pull request as ready for review December 10, 2024 07:06
@shino shino changed the title Refactor vuls2 db fetch Check downloaded time before updating vuls2 db Dec 10, 2024
@shino shino force-pushed the shino/fetch-refactor branch from 5263023 to 125985a Compare December 10, 2024 07:12
@shino shino changed the title Check downloaded time before updating vuls2 db chore(detector/vuls2): check downloaded time before updating db Dec 10, 2024
@shino shino force-pushed the shino/fetch-refactor branch from 125985a to e4710e0 Compare December 10, 2024 07:23
@shino shino force-pushed the shino/fetch-refactor branch from e4710e0 to 359e9de Compare December 10, 2024 07:28
detector/vuls2/db.go Outdated Show resolved Hide resolved
@shino shino merged commit c189313 into vuls2 Dec 10, 2024
5 checks passed
@shino shino deleted the shino/fetch-refactor branch December 10, 2024 08:05
@shino shino self-assigned this Dec 10, 2024
shino added a commit that referenced this pull request Jan 17, 2025
* chore(detector/vuls2): check downloaded time before updating db

Co-authored-by: MaineK00n <[email protected]>
shino added a commit that referenced this pull request Jan 20, 2025
* feat!(detector): use vuls2 for redhat/alma/rocky (#2075)

Co-authored-by: MaineK00n <[email protected]>

* chore(detector/vuls2): check downloaded time before updating db (#2077)

* chore(detector/vuls2): check downloaded time before updating db

Co-authored-by: MaineK00n <[email protected]>

* fix(detector/vuls2): fix post convert bugs (#2082)

* fix(detector/vuls2): use tag for selection logic (#2086)

* fix(models/cvecontents): use cve content type Alma, Rocky (#2087)

* fix(detector/vuls2): lower stauts string and compare (#2095)

* chore(deps): update vuls2 (#2096)

* feat(detector/vuls2): fill title and summary (#2097)

* chore(deps): update vuls2 (#2099)

* chore(deps): update vuls2

incorporate MaineK00n/vuls2#139

* Vuls2Conf instead of Vuls2DictConf

* Update detector/vuls2/db.go

Co-authored-by: MaineK00n <[email protected]>

* Update detector/vuls2/vendor.go

Co-authored-by: MaineK00n <[email protected]>

* Refactor

* more refactor

---------

Co-authored-by: MaineK00n <[email protected]>
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