Skip to content

Extend /scanner/benchmark comparator to score against facade's merged /scanner/dast + /scanner/sast #726

Description

@preetkaran20

Comparator currently only scores against VulnerableApp's own ground truth. Extend it to pull
ground truth from facade's new merged endpoints (/scanner/dast, /scanner/sast — see
VulnerableApp-facade ticket) instead of hitting each app individually, then score submitted
findings against the combined set.

Scope:

  • Fetch merged ground truth from facade's /scanner/dast + /scanner/sast (single call each,
    no per-app discovery needed on this side — facade already did the fan-out/merge)
  • Run existing matching rules (any-axis match for DAST; filePath+line for SAST) against the
    merged ground truth
  • Coverage/missed/unmatched report labeled per-app (facade's merged response should retain
    which app each entry came from, so scoring can attribute results correctly)
  • Bump benchmarks/<tool>-results.json schema/version to reflect multi-app scope
  • Fallback: if facade is unreachable, fall back to VulnerableApp's own ground truth only
    (degrade gracefully rather than failing the whole benchmark run)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions