Skip to content

Feature Request: ability to control verbosity for some severity types #142

@nhecker

Description

@nhecker

Hello,

I would like to be able to exclude certain severities from being verbosely listed under the Query Results table, while still being counted in the table which tallies the number of results found for each severity (the Category | Results table.) Unless I am overlooking some combination of configuration, currently this is not possible. To elaborate, with:

with:
  enable_comments: true
  comments_with_queries: true
  exclude_severities: 'info,low'

we are able to omit findings with severity of either info or low from showing in the detailed Queries Results table, and from being counted in the query Category | Results table. I.e., info and low severity queries are completely excluded, as we've asked them to be; that much works as designed.

But I'd like to have a bit more granular control. While I don't need every info and low query to be enumerated under Queries Results, I would like to still be able to display the count for these severities in the Results column of the Category | Results table. Can we perhaps introduce a new input, e.g., count_severities which would provide for this functionality while not breaking existing behaviors when this input isn't specified?

I'm not immediately familiar with this project's codebase, but I'd be happy to contribute a PR towards this if there's interest from the maintainers.

Thanks for considering!
Nick

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions