Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix #396 #397

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Fix #396 #397

wants to merge 1 commit into from

Conversation

Zeecka
Copy link
Collaborator

@Zeecka Zeecka commented Nov 14, 2022

Fix #396

{findings | count: 'Critical'} will use environmental score by default (which is equal to base score if not set).

User can also use the following counts:

{findings | count: 'Critical':'base'}
{findings | count: 'High':'temporal'}
{findings | count: 'Medium':'environmental'}

@HeadGapped
Copy link

Is there a way to get the total number from findings?

@Zeecka
Copy link
Collaborator Author

Zeecka commented Jul 12, 2023

You may try {findings.length}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Possible inconsistencies in template's count function
2 participants