Skip to content

[PLUGINS] Add plugin result normalization contract tests for all bundled parsers #231

@utksh1

Description

@utksh1

Problem

SecuScan needs a production-grade improvement in this area: Parser output consistency..

Scope

Create shared fixtures ensuring every parser returns normalized findings, severities, evidence, and metadata fields.

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 should cover every bundled parser and reject unknown severity or malformed finding shapes.

Difficulty

Hard, useful issue intended for experienced contributors.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:backendBackend API, database, or service workarea:pluginsScanner plugin metadata, schemas, or plugin runtime worklevel:advanced55 pts difficulty label for advanced contributor PRspriority:mediumImportant issue with normal urgencytype:refactorRefactor work category bonus labeltype:testingTesting work category bonus label

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions