diff --git a/xml/RELEASE_NOTES.md b/xml/RELEASE_NOTES.md index d0517cc..14af4c9 100644 --- a/xml/RELEASE_NOTES.md +++ b/xml/RELEASE_NOTES.md @@ -1,6 +1,16 @@ RELEASE NOTES ============= +June 7th +-------- + +### Finetuned some retest features + +Specifically for retests, we now have the following nuggets of fun: + +- The `@status` attribute of the findings and recommendations tables can now take a space-separated list instead of a single status value, which means you can now generate a table for multiple statuses at once. Example: `` +- Finding's statuses are now colour-coded in the PDF: Resolved = green, New & Unresolved = Red, Not retested = Orange. It's not tacky at all, trust me. Very understated and classy. :) + March 29th, 2017 ---------------- diff --git a/xml/xslt/auto.xslt b/xml/xslt/auto.xslt index dbcb76b..a40efb7 100644 --- a/xml/xslt/auto.xslt +++ b/xml/xslt/auto.xslt @@ -33,9 +33,44 @@ + + + + + + + + + + + + + + + + + + + : + + + + + + + + - + + + + + + + @@ -85,14 +120,14 @@ + (number(findingThreatLevel = 'N/A') * 1)"/> - - - - - - - - + + + + + + + + @@ -144,14 +179,14 @@ + select="$findingSummaryTable/findingEntry[@status = $statusSequence][ancestor::*[@id = $Ref]]"> + select="$findingSummaryTable/findingEntry[@status = $statusSequence]"> @@ -208,7 +243,13 @@ - + + + + + + + @@ -234,14 +275,14 @@ + select="/pentest_report/descendant::finding[@status = $statusSequence][ancestor::*[@id = $Ref]]"> + select="/pentest_report/descendant::finding[@status = $statusSequence]"> diff --git a/xml/xslt/findings.xslt b/xml/xslt/findings.xslt index c3d15e6..6e23735 100644 --- a/xml/xslt/findings.xslt +++ b/xml/xslt/findings.xslt @@ -4,6 +4,7 @@ xmlns:fo="http://www.w3.org/1999/XSL/Format" version="2.0"> + @@ -20,7 +21,18 @@ Retest status: - + + + + + + + + + + + +