Skip to content

[GSoC] History of Advisories#2356

Draft
Samk1710 wants to merge 2 commits into
aboutcode-org:mainfrom
Samk1710:gsoc-advisory-history
Draft

[GSoC] History of Advisories#2356
Samk1710 wants to merge 2 commits into
aboutcode-org:mainfrom
Samk1710:gsoc-advisory-history

Conversation

@Samk1710

Copy link
Copy Markdown
Contributor

Resolves

Tasks

  • Implement Advisory Snapshot to view an advisory at a certain point in time
  • Implement Snapshot of Package Details to view details of the advisory at a point in time
  • Implement Diff to Summarize History
  • Add tests

Test Logs:

=============== test session starts ================
platform linux -- Python 3.12.3, pytest-7.1.1, pluggy-1.0.0
django: settings: vulnerablecode.settings (from ini)
rootdir: /home/samk/Desktop/dream/vulnerablecode, configfile: pyproject.toml
plugins: django-4.5.2, anyio-4.6.2.post1
collected 2 items                                  

vulnerabilities/tests/test_advisory_history.py . [ 50%]
.                                            [100%]

========= 2 passed, 1327 warnings in 0.33s =========

@Samk1710

Copy link
Copy Markdown
Contributor Author

Attached some screenshots for the feature

History tab for https://github.com/github/advisory-database/commits/main/advisories/github-reviewed/2026/02/GHSA-72hv-8253-57qq/GHSA-72hv-8253-57qq.json

Summary of changes on History Tab
image
image

Severity Tab: Latest vs Oldest

Severity Change from High 8.7 --> Moderate 6.9

image image

Package Details Changes
image
image

@Samk1710 Samk1710 marked this pull request as draft June 25, 2026 13:51
Samk1710 added 2 commits June 25, 2026 19:57
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
Signed-off-by: Sampurna Pyne <sampurnapyne1710@gmail.com>
@Samk1710 Samk1710 force-pushed the gsoc-advisory-history branch from 38ffb81 to 881a656 Compare June 25, 2026 15:16
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.

1 participant