Skip to content

Commit ba035e6

Browse files
authored
chainguard-security-guide: update to CG stig 3.2.2, add tests #54602
Merge pull request #54602 from stevebeattie/chainguard-security-guide-stig-3.2.2
2 parents 9d01e38 + 933b976 commit ba035e6

1 file changed

Lines changed: 14 additions & 0 deletions

File tree

chainguard-security-guide.yaml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,21 @@ test:
3535
contents:
3636
packages:
3737
- openscap
38+
- python-3.12
39+
- ca-certificates-bundle
3840
pipeline:
3941
- name: Verify gpos content is recognized by oscap
4042
runs: |
4143
oscap info /usr/share/xml/scap/ssg/content/ssg-chainguard-gpos-ds.xml
44+
- name: Verify that the trust anchor check passes
45+
runs: |
46+
if ! oscap xccdf eval --verbose WARNING --rule xccdf_._rule_V_263659 /usr/share/xml/scap/ssg/content/ssg-chainguard-gpos-ds.xml ; then
47+
# if we failed, then re-run more verbosely to help make diagnosing easier
48+
oscap xccdf eval --verbose INFO --rule xccdf_._rule_V_263659 /usr/share/xml/scap/ssg/content/ssg-chainguard-gpos-ds.xml
49+
fi
50+
- name: Verify that the remote service check passes, even with python-3.12 (telnetlib.py) installed
51+
runs: |
52+
if ! oscap xccdf eval --verbose WARNING --rule xccdf_._rule_V_203736 /usr/share/xml/scap/ssg/content/ssg-chainguard-gpos-ds.xml ; then
53+
# if we failed, then re-run more verbosely to help make diagnosing easier
54+
oscap xccdf eval --verbose INFO --rule xccdf_._rule_V_203736 /usr/share/xml/scap/ssg/content/ssg-chainguard-gpos-ds.xml
55+
fi

0 commit comments

Comments
 (0)