From c510981a6419cdcf9a16ec863b0ed22f569d5a44 Mon Sep 17 00:00:00 2001 From: Peter Mosmans Date: Fri, 20 Oct 2017 11:50:32 +1000 Subject: [PATCH] Add support for status attribute when using finding_count This allows users to count findings based on threatLevel, as well as based on one or more discrete status values. Example in XML: This will count the number of findings having attribute threatLevel="High", AND a status of either "new" OR "unresolved". This change is backwards-compatible: Using finding_count without the status attribute will show the same results as before. --- xml/xslt/placeholders.xslt | 19 ++++++++++++++++++- 1 file changed, 18 insertions(+), 1 deletion(-) diff --git a/xml/xslt/placeholders.xslt b/xml/xslt/placeholders.xslt index c931035..6f8929b 100644 --- a/xml/xslt/placeholders.xslt +++ b/xml/xslt/placeholders.xslt @@ -412,9 +412,26 @@ + + + + + + + - + + + + + + + +