Skip to content

Commit 1495629

Browse files
committed
Show CCE identifiers in the HTML rendered control files.
1 parent 12008d7 commit 1495629

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

utils/rendering/controls-template.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,9 @@ <h2>{{{ control.id }}}: {{{ control.title }}}</h2>
3030
{{%- endif -%}}
3131
{{%- else %}}
3232
{{%- if selection in rules %}}
33-
<li><a href="https://github.com/ComplianceAsCode/content/tree/master/{{{ rules[selection].relative_definition_location }}}">{{{ selection }}}</a>: {{{ rules[selection].title }}}</li>
33+
<li><a href="https://github.com/ComplianceAsCode/content/tree/master/{{{ rules[selection].relative_definition_location }}}"> {{{ selection }}}</a>: {{{ rules[selection].title }}}
34+
<ul><li>{{{ rules[selection].identifiers['cce'] }}}</li></ul>
35+
</li>
3436
{{%- else %}}
3537
<li>{{{ selection }}} - not available for this product</li>
3638
{{%- endif -%}}

0 commit comments

Comments
 (0)