Problem
SecuScan needs a production-grade improvement in this area: Database performance..
Scope
Profile common dashboard, findings, reports, and task queries; add indexes; document query plans and migration impact.
Acceptance Criteria
- The implementation is focused and does not introduce unrelated UI, docs, lockfile, or formatting churn.
- Security-sensitive behavior has explicit negative tests where applicable.
- Existing tests continue to pass, and new tests cover the main success and failure paths.
- Documentation or configuration examples are updated when operator behavior changes.
Verification
Tests or benchmarks should show improved query time on a seeded large dataset.
Difficulty
Hard, useful issue intended for experienced contributors.
Problem
SecuScan needs a production-grade improvement in this area: Database performance..
Scope
Profile common dashboard, findings, reports, and task queries; add indexes; document query plans and migration impact.
Acceptance Criteria
Verification
Tests or benchmarks should show improved query time on a seeded large dataset.
Difficulty
Hard, useful issue intended for experienced contributors.