File: srgmap_flat_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 (74 lines) | stat: -rw-r--r-- 1,908 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{{% 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>SRG VulnDiscussion</td>
    <td>VulnDiscussion</td>
    <td>Status</td>
    <td>SRG Check</td>
    <td>Check</td>
    <td>SRG Fix</td>
    <td>Fix</td>
    <td>Severity</td>
    <td>Mitigation</td>
    <td>Artifact Description</td>
    <td>Status Justification</td>
  </thead>
{{% for srgid, srg in srgs.items() %}}
{{% set rules = rules_by_srgid[srgid] %}}
{{% if rules %}}
{{% for rule in rules %}}
  <tr>
    <td>{{{ srg["cci"] }}}</td>
    <td>{{{ srgid }}}</td>
    <td><i>TBD - Assigned by DISA after STIG release</i></td>
    <td>{{{ srg["title"] }}}</td>
{{% if rule.identifiers["cce"] %}}
    <td>{{{ rule.identifiers["cce"] }}}: {{{ rule.title }}}</td>
{{% else %}}
    <td>{{{ rule.title }}}</td>
{{% endif %}}
    <td>{{{ srg["vuln_discussion"] }}}</td>
    <td>{{{ rule.description }}}</td>
    <td>Applicable - Configurable</td>
    <td>{{{ srg["check"] }}}</td>
    <td>{{{ rule.ocil }}} Is it the case that {{{ rule.ocil_clause }}}?</td>
    <td>{{{ srg["fixtext"] }}}</td>
    <td>{{{ rule.description }}}</td>
    <td>{{{ rule.severity }}}</td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
{{% endfor %}}
{{% else %}}
  <tr>
    <td>{{{ srg["first_ident"] }}}</td>
    <td>{{{ srgid }}}</td>
    <td><i>TBD - Assigned by DISA after STIG release</i></td>
    <td>{{{ srg["title"] }}}</td>
    <td></td>
    <td>{{{ srg["vuln_discussion"] }}}</td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
    <td></td>
  </tr>
{{% endif %}}
{{% endfor %}}
</table>
{{% endblock %}}