Commit 933b976
committed
chainguard-security-guide: update to CG stig 3.2.2, add tests
v3.2.2 release tightens up the package pattern match in the Remote
Services check to avoid false positives.
Also add tests of individual rules and checks to ensure that we don't
regress in the future:
- ensure the certificate bundle hash passes / commit matches (will fail
on updates to ca-certificates as the stig will need to be updated)
- ensure the "no remote services" check passes even when python 3.12
with telnetlib.py in the standard python library is installed
(telnetlib.py was removed in python 3.13, will need to come up with a
different check then).
Signed-off-by: Steve Beattie <steve.beattie@chainguard.dev>
Ref: chainguard-dev/stigs#14
Ref: chainguard-dev/prodsec#2201 parent 8493230 commit 933b976
1 file changed
Lines changed: 16 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| 38 | + | |
| 39 | + | |
38 | 40 | | |
39 | 41 | | |
40 | 42 | | |
41 | 43 | | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
0 commit comments