changed pentest_info element to activity_info
This commit is contained in:
+11
-11
@@ -86,35 +86,35 @@
|
||||
<pentestinfo>
|
||||
<!-- copy various variables from quickscope -->
|
||||
<duration>
|
||||
<xsl:value-of select="/*/pentest_info/days"/>
|
||||
<xsl:value-of select="/*/activity_info/days"/>
|
||||
</duration>
|
||||
<xsl:comment>duration of pentest, in working days</xsl:comment>
|
||||
<persondays>
|
||||
<xsl:value-of select="/*/pentest_info/persondays"/>
|
||||
<xsl:value-of select="/*/activity_info/persondays"/>
|
||||
</persondays>
|
||||
<xsl:comment>duration of pentest, in persondays</xsl:comment>
|
||||
<test_planning>
|
||||
<xsl:value-of select="/*/pentest_info/planning"/>
|
||||
<xsl:value-of select="/*/activity_info/planning"/>
|
||||
</test_planning>
|
||||
<xsl:comment>date or date range in text, e.g. May 18th until May 25th, 2016</xsl:comment>
|
||||
<report_due>
|
||||
<xsl:value-of select="/*/pentest_info/delivery"/>
|
||||
<xsl:value-of select="/*/activity_info/delivery"/>
|
||||
</report_due>
|
||||
<xsl:comment>date or date range in text, e.g. May 18th until May 25th, 2016</xsl:comment>
|
||||
<nature>
|
||||
<xsl:value-of select="/*/pentest_info/nature"/>
|
||||
<xsl:value-of select="/*/activity_info/nature"/>
|
||||
</nature>
|
||||
<type>
|
||||
<xsl:value-of select="/*/pentest_info/type"/>
|
||||
<xsl:value-of select="/*/activity_info/type"/>
|
||||
</type>
|
||||
<xsl:comment>please choose one of the following: black-box, grey-box, crystal-box</xsl:comment>
|
||||
<fee denomination="eur">
|
||||
<xsl:value-of select="/*/pentest_info/rate"/>
|
||||
<xsl:value-of select="/*/activity_info/rate"/>
|
||||
</fee>
|
||||
<xsl:comment>(eur|usd|gbp)</xsl:comment>
|
||||
<xsl:if test="*/pentest_info/application_name">
|
||||
<xsl:if test="*/activity_info/application_name">
|
||||
<target_application>
|
||||
<xsl:value-of select="/*/pentest_info/application_name"/>
|
||||
<xsl:value-of select="/*/activity_info/application_name"/>
|
||||
</target_application>
|
||||
<xsl:comment>name of application/service to be tested (if any; if none, DELETE target_application element)</xsl:comment>
|
||||
</xsl:if>
|
||||
@@ -147,7 +147,7 @@
|
||||
</xsl:element>
|
||||
</xsl:for-each>
|
||||
|
||||
<xsl:if test="/*/pentest_info/codeaudit/@perform = 'yes'">
|
||||
<xsl:if test="/*/activity_info/codeaudit/@perform = 'yes'">
|
||||
<xsl:for-each
|
||||
select="$snippetSelectionRoot/selection[@subtype = $docSubType]/snippet_group[@set = 'additionalcodeaudit']/snippet">
|
||||
<xsl:element name="xi:include">
|
||||
@@ -213,7 +213,7 @@
|
||||
</xsl:call-template>
|
||||
</xsl:attribute>
|
||||
</xsl:element>-->
|
||||
<!--<xsl:if test="/*/pentest_info/codeaudit/@perform = 'yes'">
|
||||
<!--<xsl:if test="/*/activity_info/codeaudit/@perform = 'yes'">
|
||||
<xsl:element name="xi:include">
|
||||
<xsl:attribute name="href">
|
||||
<xsl:call-template name="docCheck">
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
<test_planning>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/*/pentestinfo/test_planning">
|
||||
<xsl:value-of select="/*/pentest_info/test_planning"/>
|
||||
<xsl:value-of select="/*/activity_info/test_planning"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>TBD</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -91,7 +91,7 @@
|
||||
<report_due>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/*/pentestinfo/report_due">
|
||||
<xsl:value-of select="/*/pentest_info/report_due"/>
|
||||
<xsl:value-of select="/*/activity_info/report_due"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>TBD</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -100,7 +100,7 @@
|
||||
<nature>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/*/pentestinfo/nature">
|
||||
<xsl:value-of select="/*/pentest_info/nature"/>
|
||||
<xsl:value-of select="/*/activity_info/nature"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>time-boxed</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -108,7 +108,7 @@
|
||||
<type>
|
||||
<xsl:choose>
|
||||
<xsl:when test="/*/pentestinfo/type">
|
||||
<xsl:value-of select="/*/pentest_info/type"/>
|
||||
<xsl:value-of select="/*/activity_info/type"/>
|
||||
</xsl:when>
|
||||
<xsl:otherwise>crystal-box</xsl:otherwise>
|
||||
</xsl:choose>
|
||||
@@ -116,9 +116,9 @@
|
||||
<xsl:comment>please choose one of the following: black-box, grey-box, crystal-box</xsl:comment>
|
||||
<fee denomination="eur">0</fee>
|
||||
<xsl:comment>(eur|usd|gbp)</xsl:comment>
|
||||
<xsl:if test="*/pentest_info/target_application">
|
||||
<xsl:if test="*/activity_info/target_application">
|
||||
<target_application>
|
||||
<xsl:value-of select="/*/pentest_info/target_application"/>
|
||||
<xsl:value-of select="/*/activity_info/target_application"/>
|
||||
</target_application>
|
||||
</xsl:if>
|
||||
</pentestinfo>
|
||||
|
||||
Reference in New Issue
Block a user