continuing fix of faulty merge

This commit is contained in:
skyanth 2019-06-21 17:04:53 +02:00
parent 8be03c5b34
commit 504e7688d6
19 changed files with 50 additions and 52 deletions

View File

@ -92,7 +92,6 @@
<xs:element name="company_poc1"/> <xs:element name="company_poc1"/>
<xs:element name="t_app"/> <xs:element name="t_app"/>
<xs:element name="t_app_producer"/> <xs:element name="t_app_producer"/>
<xs:element name="p_duration"/>
</xs:choice> </xs:choice>
</xs:group> </xs:group>
</xs:schema> </xs:schema>

View File

@ -48,7 +48,6 @@
<xs:element name="activityinfo"> <xs:element name="activityinfo">
<xs:complexType> <xs:complexType>
<xs:all> <xs:all>
<xs:element ref="duration" minOccurs="1"/>
<xs:element ref="persondays" minOccurs="1"/> <xs:element ref="persondays" minOccurs="1"/>
<xs:element ref="planning" minOccurs="1"/> <xs:element ref="planning" minOccurs="1"/>
<xs:element ref="report_due" minOccurs="1"/> <xs:element ref="report_due" minOccurs="1"/>
@ -188,7 +187,7 @@
<xs:element ref="contact"/> <xs:element ref="contact"/>
<xs:element ref="generate_targets"/> <xs:element ref="generate_targets"/>
<xs:element name="generate_teammembers"/> <xs:element name="generate_teammembers"/>
<xs:element ref="signature_box"/> <xs:element name="generate_service_breakdown">
<xs:complexType> <xs:complexType>
<xs:attribute name="format" use="required"> <xs:attribute name="format" use="required">
<xs:simpleType> <xs:simpleType>
@ -200,7 +199,7 @@
</xs:attribute> </xs:attribute>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element ref="generate_offer_signature_box"/> <xs:element ref="signature_box"/>
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
<xs:attribute name="id" use="optional" type="xs:ID"/> <xs:attribute name="id" use="optional" type="xs:ID"/>
@ -213,11 +212,11 @@
<xs:element name="contact"> <xs:element name="contact">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:all>
<xs:element ref="name"/> <xs:element ref="name" minOccurs="0"/>
<xs:element ref="address"/> <xs:element ref="address" minOccurs="0"/>
<xs:element ref="email"/> <xs:element ref="email" minOccurs="0"/>
</xs:sequence> </xs:all>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="generate_permission_parties"/> <xs:element name="generate_permission_parties"/>

View File

@ -6,6 +6,7 @@
schemaLocation="http://www.w3.org/2001/xml.xsd"/> schemaLocation="http://www.w3.org/2001/xml.xsd"/>
<xs:import namespace="http://www.w3.org/2001/XInclude" <xs:import namespace="http://www.w3.org/2001/XInclude"
schemaLocation="http://www.w3.org/2001/XInclude/XInclude.xsd"/> schemaLocation="http://www.w3.org/2001/XInclude/XInclude.xsd"/>
<xs:include schemaLocation="servicebreakdown.xsd"/>
<xs:include schemaLocation="common.xsd"/> <xs:include schemaLocation="common.xsd"/>
<xs:element name="pentest_report"> <xs:element name="pentest_report">
@ -59,7 +60,6 @@
<xs:element name="activityinfo"> <xs:element name="activityinfo">
<xs:complexType> <xs:complexType>
<xs:all> <xs:all>
<xs:element ref="duration"/>
<xs:element ref="persondays"/> <xs:element ref="persondays"/>
<xs:element ref="planning"/> <xs:element ref="planning"/>
<xs:element ref="report_due"/> <xs:element ref="report_due"/>
@ -67,6 +67,7 @@
<xs:element ref="type"/> <xs:element ref="type"/>
<xs:element minOccurs="0" ref="target_application"/> <xs:element minOccurs="0" ref="target_application"/>
<xs:element minOccurs="0" ref="target_application_producer"/> <xs:element minOccurs="0" ref="target_application_producer"/>
<xs:element ref="breakdown" minOccurs="0"/>
</xs:all> </xs:all>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
@ -174,6 +175,7 @@
<xs:element minOccurs="0" maxOccurs="unbounded" ref="generate_findings"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="generate_findings"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="finding"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="finding"/>
<xs:element minOccurs="0" maxOccurs="unbounded" ref="non-finding"/> <xs:element minOccurs="0" maxOccurs="unbounded" ref="non-finding"/>
<xs:element minOccurs="0" name="generate_service_breakdown"/>
</xs:choice> </xs:choice>
</xs:sequence> </xs:sequence>
<xs:attribute name="id" use="required" type="xs:ID"/> <xs:attribute name="id" use="required" type="xs:ID"/>

View File

@ -42,7 +42,6 @@
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element ref="targets"/> <xs:element ref="targets"/>
<xs:element ref="days"/>
<xs:element ref="persondays"/> <xs:element ref="persondays"/>
<xs:element ref="nature"/> <xs:element ref="nature"/>
<xs:element ref="type"/> <xs:element ref="type"/>

View File

@ -16,7 +16,7 @@
<xs:element name="service"> <xs:element name="service">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element ref="description"/> <xs:element ref="specification"/>
<xs:element minOccurs="0" ref="effort"/> <xs:element minOccurs="0" ref="effort"/>
<xs:element minOccurs="0" ref="hourly_rate"/> <xs:element minOccurs="0" ref="hourly_rate"/>
<xs:element ref="fee"/> <xs:element ref="fee"/>
@ -47,14 +47,14 @@
<xs:element name="extra"> <xs:element name="extra">
<xs:complexType> <xs:complexType>
<xs:sequence> <xs:sequence>
<xs:element ref="description"/> <xs:element ref="specification"/>
<xs:element minOccurs="0" ref="effort"/> <xs:element minOccurs="0" ref="effort"/>
<xs:element minOccurs="0" ref="hourly_rate"/> <xs:element minOccurs="0" ref="hourly_rate"/>
<xs:element ref="fee"/> <xs:element ref="fee"/>
</xs:sequence> </xs:sequence>
</xs:complexType> </xs:complexType>
</xs:element> </xs:element>
<xs:element name="description" type="xs:string"/> <xs:element name="specification" type="xs:string"/>
<xs:element name="effort"> <xs:element name="effort">
<xs:complexType mixed="true"> <xs:complexType mixed="true">
<xs:all minOccurs="0"> <xs:all minOccurs="0">

View File

@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<breakdown xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../dtd/servicebreakdown.xsd"> <breakdown xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../dtd/servicebreakdown.xsd">
<service> <service>
<description>Example Service 1: set duration in days and with hourly rate.</description> <specification>Example Service 1: set duration in days and with hourly rate.</specification>
<effort in="days">2</effort> <effort in="days">2</effort>
<hourly_rate>10</hourly_rate> <hourly_rate>10</hourly_rate>
<fee denomination="eur"> <fee denomination="eur">
@ -9,8 +9,8 @@
</fee> </fee>
</service> </service>
<service> <service>
<description>Example Service 2: variable duration with min/max parameters and with hourly <specification>Example Service 2: variable duration with min/max parameters and with hourly
rate.</description> rate.</specification>
<effort in="days"> <effort in="days">
<min>3</min> <min>3</min>
<max>4</max> <max>4</max>
@ -21,14 +21,14 @@
</fee> </fee>
</service> </service>
<service> <service>
<description>Example Service 3: set duration in days with CUSTOM (non-computed) set <specification>Example Service 3: set duration in days with CUSTOM (non-computed) set
fee.</description> fee.</specification>
<effort in="days">5</effort> <effort in="days">5</effort>
<fee denomination="eur">500</fee> <fee denomination="eur">500</fee>
</service> </service>
<service> <service>
<description>Example Service 4: set duration in hours with CUSTOM (non-computed) variable fee <specification>Example Service 4: set duration in hours with CUSTOM (non-computed) variable fee
(min/max).</description> (min/max).</specification>
<effort in="hours">4</effort> <effort in="hours">4</effort>
<fee denomination="eur"> <fee denomination="eur">
<min>100</min> <min>100</min>
@ -36,13 +36,13 @@
</fee> </fee>
</service> </service>
<service> <service>
<description>Example Service 5: set duration in days with CUSTOM (non-computed) estimated <specification>Example Service 5: set duration in days with CUSTOM (non-computed) estimated
fee.</description> fee.</specification>
<effort in="hours">4</effort> <effort in="hours">4</effort>
<fee denomination="eur" estimate="yes">1000</fee> <fee denomination="eur" estimate="yes">1000</fee>
</service> </service>
<service optional="yes"> <service optional="yes">
<description>Example Service 6: optional service</description> <specification>Example Service 6: optional service</specification>
<effort in="days"> <effort in="days">
<min>1</min> <min>1</min>
<max>2</max> <max>2</max>
@ -53,22 +53,22 @@
</fee> </fee>
</service> </service>
<extra> <extra>
<description>Example Extra Cost 1: set fee</description> <specification>Example Extra Cost 1: set fee</specification>
<fee denomination="eur">1000</fee> <fee denomination="eur">1000</fee>
</extra> </extra>
<extra> <extra>
<description>Example Extra Cost 2: variable min/max fee</description> <specification>Example Extra Cost 2: variable min/max fee</specification>
<fee denomination="eur"> <fee denomination="eur">
<min>1000</min> <min>1000</min>
<max>1200</max> <max>1200</max>
</fee> </fee>
</extra> </extra>
<extra> <extra>
<description>Example Extra Cost 3: estimated fee</description> <specification>Example Extra Cost 3: estimated fee</specification>
<fee denomination="eur" estimate="yes">600</fee> <fee denomination="eur" estimate="yes">600</fee>
</extra> </extra>
<extra> <extra>
<description>Example Extra Cost 4: with duration</description> <specification>Example Extra Cost 4: with duration</specification>
<effort in="days">6</effort> <effort in="days">6</effort>
<fee denomination="eur">600</fee> <fee denomination="eur">600</fee>
</extra> </extra>

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<p>Based on the information provided, we expect this to be a <p_duration/>-day <p>Based on the information provided, we expect this engagement to take <p_persondays/>
engagement. The planning of this engagement is as follows: persondays. The planning of this engagement is as follows:
</p> </p>

View File

@ -5,7 +5,7 @@
<company_short/> will uphold the following schedule for the services: <company_short/> will uphold the following schedule for the services:
</p> </p>
<ul> <ul>
<li><company_short/> performs a <p_duration/>-day <company_svc_short/> starting <p_startdate/>.</li> <li><company_short/> performs a <company_svc_short/> starting <p_startdate/>.</li>
<li><company_short/> delivers the final report on <li><company_short/> delivers the final report on
<p_reportdue/>.</li> <p_reportdue/>.</li>
</ul> </ul>

View File

@ -18,10 +18,9 @@
<p> <p>
<company_short/> will test for the presence of the most common <company_short/> will test for the presence of the most common
vulnerabilities, using both publicly available vulnerability scanning vulnerabilities, using both publicly available vulnerability scanning
tools and manual testing. <company_short/> shall perform a tools and manual testing. <company_short/> shall perform a
<p_duration/>-day
<p_boxtype/> intrusive test via the <p_boxtype/> intrusive test via the
internet (total estimated effort is <p_persondays/> persondays). A breakdown of the requested services can be found below: internet (total estimated effort: <p_persondays/> persondays). A breakdown of the requested services can be found below:
</p> </p>

View File

@ -16,8 +16,7 @@
<p> <p>
<company_short/> will test for the presence of the most common vulnerabilities using a <company_short/> will test for the presence of the most common vulnerabilities using a
combination of publicly available (static, dynamic and concolic) analytic tools, fuzzing and combination of publicly available (static, dynamic and concolic) analytic tools, fuzzing and
code reading. <company_short/> will perform this code audit in <p_duration/> days code reading. <company_short/> will need <p_persondays/> persondays for this code audit. </p>
(<p_persondays/> persondays). </p>
<!--Not Needed if Disclaimer is Included; Duplicate Text--> <!--Not Needed if Disclaimer is Included; Duplicate Text-->

View File

@ -15,7 +15,7 @@
<p> <p>
<company_short/> will test using both publicly available vulnerability <company_short/> will test using both publicly available vulnerability
scanning tools and manual testing. <company_short/> shall perform a scanning tools and manual testing. <company_short/> shall perform a
<p_duration/>-day, <p_boxtype/> follow-up penetration test via the internet. <p_boxtype/> follow-up penetration test via the internet between <p_startdate/> and <p_enddate/>.
</p> </p>
<!--Not Needed if Disclaimer is Included; Duplicate Text--> <!--Not Needed if Disclaimer is Included; Duplicate Text-->

View File

@ -1,4 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<p>Op basis van de verstrekte informatie verwachten wij dat het uitvoeren van de <p>Op basis van de verstrekte informatie verwachten wij <p_persondays/> persoondagen nodig te hebben voor het uitvoeren van de
opdracht <p_duration/> dagen zal duren. De planning van de opdracht is als volgt: opdracht. De planning van de opdracht is als volgt:
</p> </p>

View File

@ -4,7 +4,7 @@
<p><company_short/> houdt de volgende planning aan voor haar werkzaamheden:</p> <p><company_short/> houdt de volgende planning aan voor haar werkzaamheden:</p>
<ul> <ul>
<li><company_short/> voert een <p_duration/>-daagse <company_svc_short/> uit op het doelwit: <p_startdate/>.</li> <li><company_short/> voert een <company_svc_short/> uit op het doelwit: <p_startdate/>.</li>
<li><company_short/> levert het definitieve rapport: <p_reportdue/>.</li> <li><company_short/> levert het definitieve rapport: <p_reportdue/>.</li>
</ul> </ul>

View File

@ -19,8 +19,8 @@
<p> <p>
<company_short/> zal testen op de aanwezigheid van de meest voorkomende <company_short/> zal testen op de aanwezigheid van de meest voorkomende
kwetsbaarheden, gebruik makend van zowel publiek beschikbare scanning tools, kwetsbaarheden, gebruik makend van zowel publiek beschikbare scanning tools,
als door handmatig testen. <company_short/> zal een grondige <p_duration/>-daagse als door handmatig testen. <company_short/> zal een grondige
(<p_persondays/> persoondagen), <p_boxtype/> test uitvoeren via internet. <p_boxtype/> test van <p_persondays/> persoondagen uitvoeren via internet.
</p> </p>
<section todo="yes"> <section todo="yes">

View File

@ -104,7 +104,7 @@
<xsl:if test="$optional"> <xsl:if test="$optional">
<xsl:text>(Optional) </xsl:text> <xsl:text>(Optional) </xsl:text>
</xsl:if> </xsl:if>
<xsl:value-of select="description"/> <xsl:value-of select="specification"/>
</desc> </desc>
<xsl:if test="$effortPresent"> <xsl:if test="$effortPresent">
<d> <d>
@ -189,7 +189,7 @@
<xsl:when test="not($effortPresent) or not(hourly_rate)"> <xsl:when test="not($effortPresent) or not(hourly_rate)">
<xsl:message terminate="yes">ERROR: cannot compute fee for <xsl:message terminate="yes">ERROR: cannot compute fee for
<xsl:value-of select="local-name(.)"/> "<xsl:value-of <xsl:value-of select="local-name(.)"/> "<xsl:value-of
select="description"/>" - effort and/or hourly rate select="specification"/>" - effort and/or hourly rate
missing </xsl:message> missing </xsl:message>
</xsl:when> </xsl:when>
<xsl:when test="$effortPresent and $minmaxeffortPresent"> <xsl:when test="$effortPresent and $minmaxeffortPresent">

View File

@ -167,10 +167,12 @@
<title>Scope of work</title> <title>Scope of work</title>
<p>The scope of the penetration test was limited to the following target:</p> <p>The scope of the penetration test was limited to the following target:</p>
<generate_targets/> <generate_targets/>
<p>A breakdown of the scoped services can be found below: </p>
<generate_service_breakdown format="list"/>
</section> </section>
<section id="objectives"> <section id="objectives">
<title>Project objectives</title> <title>Project objectives</title>
<p>...</p> <p><todo/></p>
</section> </section>
<section id="timeline"> <section id="timeline">
<title>Timeline</title> <title>Timeline</title>

View File

@ -184,12 +184,6 @@
<xsl:with-param name="placeholderElement" select="$placeholderElement"/> <xsl:with-param name="placeholderElement" select="$placeholderElement"/>
</xsl:call-template> </xsl:call-template>
</xsl:template> </xsl:template>
<xsl:template match="p_duration">
<xsl:param name="placeholderElement" select="/*/meta/activityinfo/duration"/>
<xsl:call-template name="checkPlaceholder">
<xsl:with-param name="placeholderElement" select="$placeholderElement"/>
</xsl:call-template>
</xsl:template>
<xsl:template match="p_persondays"> <xsl:template match="p_persondays">
<xsl:param name="placeholderElement" select="/*/meta/activityinfo/persondays"/> <xsl:param name="placeholderElement" select="/*/meta/activityinfo/persondays"/>
<xsl:choose> <xsl:choose>

View File

@ -451,4 +451,8 @@
</xsl:attribute-set> </xsl:attribute-set>
<xsl:attribute-set name="totalRow"/> <xsl:attribute-set name="totalRow"/>
<xsl:attribute-set name="totalcell"/> <xsl:attribute-set name="totalcell"/>
<xsl:attribute-set name="signee"/>
<xsl:attribute-set name="signee_name"/>
<xsl:attribute-set name="signee_dottedline"/>
</xsl:stylesheet> </xsl:stylesheet>

View File

@ -38,7 +38,8 @@
<!-- Signature box --> <!-- Signature box -->
<xsl:attribute-set name="signee"> <xsl:attribute-set name="signee">
<xsl:attribute name="height">2.75cm</xsl:attribute> <xsl:attribute name="height">2.75cm</xsl:attribute>
</xsl:attribute-set><xsl:attribute-set name="signee_name"> </xsl:attribute-set>
<xsl:attribute-set name="signee_name">
<xsl:attribute name="text-align">right</xsl:attribute> <xsl:attribute name="text-align">right</xsl:attribute>
<xsl:attribute name="margin-right">0.75cm</xsl:attribute> <xsl:attribute name="margin-right">0.75cm</xsl:attribute>
</xsl:attribute-set> </xsl:attribute-set>