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

Conversation

rbjornstad
Copy link
Contributor

@rbjornstad rbjornstad commented Feb 12, 2024

An initial import will run on every restart of fasit.

Either from a const date set to first date of known data in dependency track, or last data in db.

ybelMekk and others added 30 commits February 1, 2024 10:30
Co-authored-by: Roger Bjørnstad <[email protected]>
Co-authored-by: Roger Bjørnstad <[email protected]>
Co-authored-by: Roger Bjørnstad <[email protected]>
Co-authored-by: Roger Bjørnstad <[email protected]>
…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
* update dp client
* generate mocks
* add mocks and for tests

Co-authored-by: Roger Bjørnstad <[email protected]>
* fic dptrack fake client

Co-authored-by: Roger Bjørnstad <[email protected]>
This reverts commit 6050729.
Co-authored-by: Roger Bjørnstad <[email protected]>
Co-authored-by: ybelMekk <[email protected]>

This reverts commit f26d8f0, reversing
changes made to 1a6332c.
@rbjornstad rbjornstad marked this pull request as ready for review February 12, 2024 13:21
internal/cmd/api/config.go Outdated Show resolved Hide resolved
internal/cmd/api/vulnerability_metrics_updater.go Outdated Show resolved Hide resolved
internal/database/migrations/0002_vulnerabilities.sql Outdated Show resolved Hide resolved
internal/database/migrations/0002_vulnerabilities.sql Outdated Show resolved Hide resolved
internal/database/migrations/0002_vulnerabilities.sql Outdated Show resolved Hide resolved
internal/graph/teams.resolvers.go Outdated Show resolved Hide resolved
internal/thirdparty/dependencytrack/fake/fake.go Outdated Show resolved Hide resolved
internal/thirdparty/dependencytrack/fake/fake.go Outdated Show resolved Hide resolved
internal/vulnerability/vulnerability_updater.go Outdated Show resolved Hide resolved
Copy link
Member

@christeredvartsen christeredvartsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@christeredvartsen christeredvartsen merged commit e58cc6f into main Feb 13, 2024
1 check passed
@christeredvartsen christeredvartsen deleted the vuln_count branch February 13, 2024 15:32
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.

5 participants