Add rules for disabling nfs to Ubuntu 22.04 STIG#14418
Merged
dodys merged 1 commit intoComplianceAsCode:masterfrom Feb 20, 2026
Merged
Add rules for disabling nfs to Ubuntu 22.04 STIG#14418dodys merged 1 commit intoComplianceAsCode:masterfrom
dodys merged 1 commit intoComplianceAsCode:masterfrom
Conversation
Aligns with STIG V2R7 rule UBTU-22-215040 (Ubuntu 22.04 LTS must not have the nfs-kernel-server package installed).
|
This datastream diff is auto generated by the check Click here to see the full diffNew content has different text for rule 'xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed'.
--- xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed
+++ xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed
@@ -10,6 +10,9 @@
[reference]:
2.1.9
+[reference]:
+UBTU-22-215040
+
[rationale]:
If the system does not export NFS shares or act as an NFS client, it is
recommended that these services be removed to reduce the remote attack
ansible remediation for rule 'xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed' differs.
--- xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed
+++ xccdf_org.ssgproject.content_rule_package_nfs-kernel-server_removed
@@ -3,6 +3,7 @@
name: nfs-kernel-server
state: absent
tags:
+ - DISA-STIG-UBTU-22-215040
- disable_strategy
- low_complexity
- low_disruption |
|
@mpurg: The following tests failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
hdean3
added a commit
to hdean3/content
that referenced
this pull request
Feb 26, 2026
All V2R7 control PRs (ComplianceAsCode#14427, ComplianceAsCode#14418, ComplianceAsCode#14415, ComplianceAsCode#14416, ComplianceAsCode#14433) were merged without updating the version metadata fields. This causes STIG Viewer imports and auditor reports to display V2R3 while the actual content reflects V2R7 rules. Updated files: - controls/stig_ubuntu2204.yml: version V2R3 → V2R7 - products/ubuntu2204/profiles/stig.profile: version, title, and description strings V2R3 → V2R7
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description:
Add rules for disabling nfs to Ubuntu 22.04 STIG
Rationale:
Aligns with STIG V2R7 rule UBTU-22-215040
(Ubuntu 22.04 LTS must not have the nfs-kernel-server package installed).