File: srgmap_template.html

package info (click to toggle)
scap-security-guide 0.1.76-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 110,644 kB
  • sloc: xml: 241,883; sh: 73,777; python: 32,527; makefile: 27
file content (40 lines) | stat: -rw-r--r-- 942 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
{{% set title = "SRGs from General Purpose Operating System Security Requirements Guide Mapped to DISA STIG for " ~ full_name -%}}

{{% extends "tables_template_common.html" %}}

{{% block table %}}
<table>
<thead>
  <td>CCI</td>
  <td>SRGID</td>
  <td>STIGID</td>
  <td>SRG Requirement</td>
  <td>Requirement</td>
  <td>Rules Mapped</td>
</thead>
{{% for srgid, srg in srgs.items() %}}
  <tr>
    <td>{{{ srg["cci"] }}}</td>
    <td>{{{ srgid }}}</td>
    <td><i>TBD - Assigned by DISA after STIG release</i></td>
    <td>{{{ srg["title"] }}}</td>
    <td>{{{ srg["vuln_discussion"] }}}</td>
{{% set rules = rules_by_srgid[srgid] %}}
{{% if rules %}}
    <td>
{{% for rule in rules %}}
      <table>
        <tr>
          <td>{{{ rule.title }}}</td>
          <td>{{{ rule.description }}}</td>
        </tr>
      </table>
{{% endfor %}}
    </td>
{{% else %}}
    <td></td>
{{% endif -%}}
  </tr>
{{% endfor -%}}
</table>
{{% endblock %}}