Wiki source code of Controls and SoA

Last modified by Lee Pedley on 2026/09/21 20:47

Show last authors
1 {{velocity}}
2 #set ($className = 'Controls and SoA.Code.Controls and SoAClass')
3 #set ($entryNames = $xwiki.getSpaceDocsName('Controls and SoA'))
4
5 {{html wiki="true" clean="false"}}
6 <div class="box infomessage">
7 <strong>Statement of Applicability / Controls Register</strong><br/>
8 Maintain applicability, implementation status, ownership, supporting evidence and review dates here.
9 </div>
10
11 <table class="table table-hover table-striped">
12 <thead>
13 <tr>
14 <th>Control Reference</th>
15 <th>Control Name</th>
16 <th>Theme</th>
17 <th>Applicable</th>
18 <th>Implementation Status</th>
19 <th>Control Owner</th>
20 <th>Next Review</th>
21 <th>Actions</th>
22 </tr>
23 </thead>
24 <tbody>
25 #foreach ($entryName in $entryNames)
26 #if ($entryName != 'WebHome' && $entryName != 'WebPreferences')
27 #set ($entryDoc = $xwiki.getDocument("Controls and SoA.$entryName"))
28 #set ($obj = $entryDoc.getObject($className))
29 #if ($obj)
30 <tr>
31 <td>$entryDoc.display('controlledReference', 'view', $obj)</td>
32 <td><a href="$entryDoc.getURL('view')">$escapetool.xml($entryDoc.displayTitle)</a><br/><span class="text-muted">$entryDoc.display('controlName', 'view', $obj)</span></td>
33 <td>$entryDoc.display('controlTheme', 'view', $obj)</td>
34 <td>$entryDoc.display('applicable', 'view', $obj)</td>
35 <td>$entryDoc.display('implementationStatus', 'view', $obj)</td>
36 <td>$entryDoc.display('owner', 'view', $obj)</td>
37 <td>$entryDoc.display('nextReviewDate', 'view', $obj)</td>
38 <td><a href="$entryDoc.getURL('edit')">Edit</a></td>
39 </tr>
40 #end
41 #end
42 #end
43 </tbody>
44 </table>
45 {{/html}}
46 {{/velocity}}