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 logging for packages and vulnerabilities #1007

Closed
2 tasks
TG1999 opened this issue Nov 18, 2022 · 4 comments
Closed
2 tasks

Add logging for packages and vulnerabilities #1007

TG1999 opened this issue Nov 18, 2022 · 4 comments

Comments

@TG1999
Copy link
Contributor

TG1999 commented Nov 18, 2022

A log should have:

  • action date
  • actor (importer/ improver)
  • object (package/vulnerability)
  • supporting data (how object and actor are associated, source of the log for example: URL of the advisory)
  • vulnerablecode version ( version of vulnerablecode that was used at that time )

In VCIO we have these kind of situations as of now that we want to log:

  • Importing an Advisory into VCIO - We need to log when the advisory was actually published upstream for every vulnerability and by which data source we have imported that advisory into VCIO with the source URL.
  • Package-Vulnerability relationship logs - If a package is affected by/fixing a vulnerability, we should log it on the package and vulnerability side with the date when this inference was drawn.

See related issues:

Reported by @pombredanne

@DennisClark
Copy link
Member

refer to "activitypub" and "activitystream" for logging models

@DennisClark
Copy link
Member

note: trying to make this consistent with all the aboutcode projects.

@TG1999
Copy link
Contributor Author

TG1999 commented Dec 12, 2023

Ater all discussion PR #1310 is ready for review now

@TG1999
Copy link
Contributor Author

TG1999 commented Jan 9, 2024

Making a follow-up issue for adding improver for the packages and vulnerabilities that were imported prior introducing changelog and closing this for now. #1388

@TG1999 TG1999 closed this as completed Jan 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants