diff --git a/doc/report/Report Writing - Procedure.md b/doc/report/Report Writing - Procedure.md index 76113f8..157b759 100644 --- a/doc/report/Report Writing - Procedure.md +++ b/doc/report/Report Writing - Procedure.md @@ -332,7 +332,7 @@ A finding consists of a `` element with the following attributes: There are two optional fields: - `status`, which can denote whether the finding is `new`, `unresolved`, - `not_retested` or `resolved`. + `not_retested`, `resolved`, or `accepted_risk`. - `prefix`, to add a prefix to a finding identifier. Furthermore, the `` is made up of several sub-elements: diff --git a/dtd/pentestreport.xsd b/dtd/pentestreport.xsd index 46a4495..a6f88d6 100644 --- a/dtd/pentestreport.xsd +++ b/dtd/pentestreport.xsd @@ -227,6 +227,7 @@ + diff --git a/xslt/auto.xslt b/xslt/auto.xslt index e401ee6..2c4c5e3 100644 --- a/xslt/auto.xslt +++ b/xslt/auto.xslt @@ -2,8 +2,9 @@ @@ -146,10 +147,7 @@ - + #ededed @@ -185,40 +183,44 @@ - + + + - Status: + Status: - + - + - + - + - + - + + + + + + + + + @@ -342,10 +344,7 @@ - + #ededed @@ -371,55 +370,58 @@ - + - Type: + Type: - - + + + + + - Status: + Status: - + - + - + - + - + - + + + + + + + + + @@ -437,19 +439,14 @@ - + - + - + diff --git a/xslt/css.xslt b/xslt/css.xslt index 509ccf1..229aa11 100644 --- a/xslt/css.xslt +++ b/xslt/css.xslt @@ -602,6 +602,10 @@ there. color: ; } +.status-accepted_risk { + color: ; +} + .status-resolved { color: ; } diff --git a/xslt/findings.xslt b/xslt/findings.xslt index 60ed26c..5159e91 100644 --- a/xslt/findings.xslt +++ b/xslt/findings.xslt @@ -32,7 +32,7 @@ + test="@status = 'new' or @status = 'resolved' or @status = 'unresolved' or @status = 'not_retested' or @status = 'accepted_risk'"> Status: @@ -52,6 +52,11 @@ + + + + + @@ -157,7 +162,7 @@ + test="../@status = 'resolved' or ../@status = 'unresolved' or ../@status = 'not_retested' or ../@status = 'accepted_risk'"> @@ -175,7 +180,12 @@ Update - + + + Update + + + diff --git a/xslt/functions_params_vars.xslt b/xslt/functions_params_vars.xslt index d11078c..9119904 100644 --- a/xslt/functions_params_vars.xslt +++ b/xslt/functions_params_vars.xslt @@ -53,6 +53,7 @@ #CC4900 #FF5C00 #FE9920 + #333333 #15B01A @@ -320,6 +321,9 @@ + + + diff --git a/xslt/generate_html_report.xsl b/xslt/generate_html_report.xsl index f5bdafa..8390893 100644 --- a/xslt/generate_html_report.xsl +++ b/xslt/generate_html_report.xsl @@ -626,6 +626,11 @@ + + + + + diff --git a/xslt/styles_rep.xslt b/xslt/styles_rep.xslt index 7bc4070..34afbdf 100644 --- a/xslt/styles_rep.xslt +++ b/xslt/styles_rep.xslt @@ -16,7 +16,10 @@ - + + + +