Skip to content

Commit

Permalink
updated ttp template rules to show related exploit targets (as per st…
Browse files Browse the repository at this point in the history
…ix 1.1)

this supports issue #30
  • Loading branch information
mattcoarr committed Feb 21, 2014
1 parent 39f7cc9 commit 635fd8c
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion stix_common.xsl
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@

<xsl:if test="ttp:Exploit_Targets">
<xsl:variable name="contents">
<xsl:apply-templates select="ttp:Exploit_Targets" mode="cyboxProperties" />
<xsl:apply-templates select="ttp:Exploit_Targets" />
</xsl:variable>
<xsl:copy-of select="stix:printNameValueTable('Exploit Targets', $contents)" />
</xsl:if>
Expand Down Expand Up @@ -955,6 +955,13 @@
</div>
</xsl:template>

<xsl:template match="ttp:Exploit_Target">
<div class="container containerTtpExploitTarget">
<div><xsl:apply-templates select="stixCommon:Relationship" /></div>
<div><xsl:apply-templates select="stixCommon:Exploit_Target" /></div>
</div>
</xsl:template>

<xsl:template name="processCOAContents">
<div>
<div>
Expand Down

0 comments on commit 635fd8c

Please sign in to comment.