Skip to content

[Task]: Expose number of matched add-ons on a scanner query result page #16045

@wagnerand-moz

Description

@wagnerand-moz

Description

As an admin doing impact assessment on developer behavior, I need to see how many add-ons matched a particular scanner rule/query rule. That information is exposed on the rule detail page like so: Matched Results: 125 (25 add-ons)

When I then investigate the results, I often need to filter using the provided fields, for example add-on status, block status, signed status etc. However, in that filtered result view I cannot see the number of matched add-ons (for that applied filter), only the number of matches, which is exposed at the bottom of the page (75 scanner query results). With some add-ons having a lot of versions while others only having a few or only one, it would be very helpful to also see the that the number of add-ons.

I'd primarily need this for the scanner query result page, but if it's not too much additional effort, it would be nice to also have it for the scanner result page.

Acceptance Criteria

  • The scanner query result page shows the number of matched add-ons.
  • If any filters are applied, that number shows the matched add-ons that match the applied filter.

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions