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 graph for vulnerabilities over time and daily imports #7

Merged
merged 99 commits into from
Feb 13, 2024

Commits on Feb 1, 2024

  1. feat(dependencytrack): calc vuln like dptrack

    * add tests
    ybelMekk committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    efc8567 View commit details
    Browse the repository at this point in the history
  2. Add vulnerability-related database tables

    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 1, 2024
    Configuration menu
    Copy the full SHA
    9a475c4 View commit details
    Browse the repository at this point in the history

Commits on Feb 4, 2024

  1. WIP

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 4, 2024
    Configuration menu
    Copy the full SHA
    5d6de0b View commit details
    Browse the repository at this point in the history

Commits on Feb 5, 2024

  1. fix: values

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    c50532c View commit details
    Browse the repository at this point in the history
  2. uodate vulnerability scheme

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    8fb5648 View commit details
    Browse the repository at this point in the history
  3. add tests

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 5, 2024
    Configuration menu
    Copy the full SHA
    9f675f0 View commit details
    Browse the repository at this point in the history

Commits on Feb 6, 2024

  1. Merge remote-tracking branch 'origin/rm_reconciler_state' into vuln_c…

    …ount
    
    # Conflicts:
    #	go.mod
    #	go.sum
    #	internal/database/gensql/mock_querier.go
    #	internal/database/gensql/querier.go
    #	pkg/protoapi/teams_grpc.pb.go
    #	pkg/protoapi/users_grpc.pb.go
    ybelMekk committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    ed1b434 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    5ce22ae View commit details
    Browse the repository at this point in the history
  3. update(vulnerability): add tests

    * update dp client
    * generate mocks
    * add mocks and for tests
    
    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    f103e35 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    a9e44ea View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    a706adb View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    78e1022 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    a505fda View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    696a0da View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    0fab53b View commit details
    Browse the repository at this point in the history
  10. Update project ID type in VulnerabilityMetrics

    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 6, 2024
    Configuration menu
    Copy the full SHA
    0eddf79 View commit details
    Browse the repository at this point in the history

Commits on Feb 7, 2024

  1. update(vulnerability): update db

    * fic dptrack fake client
    
    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    264ca6d View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    24c5731 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4781acc View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    e05dd90 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    29f3217 View commit details
    Browse the repository at this point in the history
  6. add(main): setup_local vulns for devteam

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    8790195 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    19ba249 View commit details
    Browse the repository at this point in the history
  8. Revert "Upgrade to Go 1.22"

    This reverts commit 6050729.
    kimtore committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    bacb71d View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    4066455 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    b63684a View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    e72c3b9 View commit details
    Browse the repository at this point in the history
  12. add(main): vuln config

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    1a6332c View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    f26d8f0 View commit details
    Browse the repository at this point in the history
  14. Revert "Merge branch 'app_conditions' into vuln_count"

    Co-authored-by: ybelMekk <[email protected]>
    
    This reverts commit f26d8f0, reversing
    changes made to 1a6332c.
    rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    dc96109 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    684066b View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    25c4853 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    279e1a0 View commit details
    Browse the repository at this point in the history
  18. remove dep

    christeredvartsen authored and rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    a5c9734 View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    728ce00 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    acc2aa4 View commit details
    Browse the repository at this point in the history
  21. fix(vuln): clean up vulnerability updater and tests

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    724944e View commit details
    Browse the repository at this point in the history
  22. Add VulnerabilityMetricsDateRangeForTeam resolver

    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 7, 2024
    Configuration menu
    Copy the full SHA
    97ca3e5 View commit details
    Browse the repository at this point in the history

Commits on Feb 8, 2024

  1. Refactor vuln metrics graph

    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    3a4e3c7 View commit details
    Browse the repository at this point in the history
  2. fix(vuln): extend interface

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    afb2b4a View commit details
    Browse the repository at this point in the history
  3. add(vuln): g func to updater

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    e1d22f1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    fb447a9 View commit details
    Browse the repository at this point in the history
  5. remove dep

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    828a793 View commit details
    Browse the repository at this point in the history
  6. specify go version

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    050de49 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    f1ce80c View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    feb29b6 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    97cfc23 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    d5e9179 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    665ed66 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    3250659 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    b26bf60 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    1576776 View commit details
    Browse the repository at this point in the history
  15. add caching

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    a69357f View commit details
    Browse the repository at this point in the history
  16. no need for this anymore

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    49d7316 View commit details
    Browse the repository at this point in the history
  17. name step

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    18d2c54 View commit details
    Browse the repository at this point in the history
  18. dump go version

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    d371989 View commit details
    Browse the repository at this point in the history
  19. setup asdf

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5068930 View commit details
    Browse the repository at this point in the history
  20. build and push image

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    1e6ca4f View commit details
    Browse the repository at this point in the history
  21. try large runner

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    53c70e6 View commit details
    Browse the repository at this point in the history
  22. test pubsub messages

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    5aa04a2 View commit details
    Browse the repository at this point in the history
  23. this has been done

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    337784c View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    bb5dac2 View commit details
    Browse the repository at this point in the history
  25. make fields optional

    christeredvartsen authored and rbjornstad committed Feb 8, 2024
    Configuration menu
    Copy the full SHA
    0210dfc View commit details
    Browse the repository at this point in the history
  26. Configuration menu
    Copy the full SHA
    ec9874a View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    0d1b3ac View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    ec9b462 View commit details
    Browse the repository at this point in the history

Commits on Feb 9, 2024

  1. Configuration menu
    Copy the full SHA
    6ae90c2 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ea8198a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    2d18f62 View commit details
    Browse the repository at this point in the history

Commits on Feb 10, 2024

  1. add(vuln): fix logic for upsert, eventually consistent is ok

    * full testing is missing, and renaming and cleanup of code
    
    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 10, 2024
    Configuration menu
    Copy the full SHA
    be423f6 View commit details
    Browse the repository at this point in the history

Commits on Feb 11, 2024

  1. add(vuln): missing Unassigned

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 11, 2024
    Configuration menu
    Copy the full SHA
    fab1993 View commit details
    Browse the repository at this point in the history

Commits on Feb 12, 2024

  1. fix(vuln): rename function

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    3366b78 View commit details
    Browse the repository at this point in the history
  2. fix(vuln): fix failing tests

    * add cover to make test
    
    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    f399879 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    daeabe1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    49cf424 View commit details
    Browse the repository at this point in the history
  5. Merge branch 'main' into vuln_count

    Co-authored-by: ybelMekk <[email protected]>
    Co-authored-by: Thomas Krampl <[email protected]>
    3 people committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    be00f94 View commit details
    Browse the repository at this point in the history
  6. update go version

    rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    1b50413 View commit details
    Browse the repository at this point in the history
  7. update(vuln): tests

    * add test for flow purpose
    
    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    80debbf View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    09021e6 View commit details
    Browse the repository at this point in the history
  9. test(vuln): remove print

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    2dcddd9 View commit details
    Browse the repository at this point in the history
  10. fix(vuln): staticcheck errors

    Co-authored-by: Roger Bjørnstad <[email protected]>
    ybelMekk and rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    2dd8ce6 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    fd9442f View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    2fdd6b9 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    26696b8 View commit details
    Browse the repository at this point in the history
  14. Update dependencytrack.go

    rbjornstad committed Feb 12, 2024
    Configuration menu
    Copy the full SHA
    a101b68 View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    cac551a View commit details
    Browse the repository at this point in the history
  16. Configuration menu
    Copy the full SHA
    e005923 View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    8a3d6d3 View commit details
    Browse the repository at this point in the history

Commits on Feb 13, 2024

  1. Configuration menu
    Copy the full SHA
    58d65a0 View commit details
    Browse the repository at this point in the history
  2. Refactor runVulnerabilityUpdater

    Not resetting ticker, instead do all logic before select.
    rbjornstad committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    fb20940 View commit details
    Browse the repository at this point in the history
  3. Update vulnerabilityMetrics date arguments to non-nullable.

    Refactor db-migrations and queries.
    
    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    fd0bcad View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    6d83ff8 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    44f411d View commit details
    Browse the repository at this point in the history
  6. Add github.com/sourcegraph/conc v0.3.0 as a required dependency***

    ***Refactor vulnerability_updater.go to improve performance and readability
    
    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    90ebd0a View commit details
    Browse the repository at this point in the history
  7. Add .env to .gitignore

    rbjornstad committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    de5e050 View commit details
    Browse the repository at this point in the history
  8. Use github.com/sourcegraph/conc/pool in upsert

    Co-authored-by: ybelMekk <[email protected]>
    rbjornstad and ybelMekk committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    e6f04c1 View commit details
    Browse the repository at this point in the history
  9. remove duplicate

    christeredvartsen committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    7c3daae View commit details
    Browse the repository at this point in the history
  10. remove newline

    christeredvartsen committed Feb 13, 2024
    Configuration menu
    Copy the full SHA
    d7d5335 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    5b92e21 View commit details
    Browse the repository at this point in the history