Skip to content

Conversation

@ColonelThirtyTwo
Copy link
Contributor

Evidences were initially associated with specific findings. Recently, evidences gained the ability to be associated with an entire report instead. This patch removes the ability to associate evidenes with findings, allowing only report-associated evidences.

This should be more intuitive to use.

The migration will move existing finding-associated evidences to the report of the findings. For most cases, this should not be an issue, however, this may cause problems if two evidences were created with the same friendly name in the same report.

Evidences were initially associated with specific findings. Recently,
evidences gained the ability to be associated with an entire report
instead. This patch removes the ability to associate evidenes with
findings, allowing only report-associated evidences.

This should be more intuitive to use.

The migration will move existing finding-associated evidences to the
report of the findings. For most cases, this should not be an issue,
however, __this may cause problems if two evidences were created with
the same friendly name in the same report__.
@codecov
Copy link

codecov bot commented Dec 19, 2025

Codecov Report

❌ Patch coverage is 96.06299% with 5 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.32%. Comparing base (14e2ef6) to head (8e31db4).

Files with missing lines Patch % Lines
ghostwriter/reporting/views.py 93.33% 3 Missing ⚠️
ghostwriter/reporting/archive.py 0.00% 1 Missing ⚠️
...reporting/migrations/0063_alter_evidence_report.py 91.66% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #790      +/-   ##
==========================================
- Coverage   91.34%   91.32%   -0.03%     
==========================================
  Files         367      368       +1     
  Lines       20728    20562     -166     
==========================================
- Hits        18935    18778     -157     
+ Misses       1793     1784       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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