Skip to content

Adding STIG compliance controls to spectro fips builds#564

Merged
roshanirathi merged 1 commit intospectro-fipsfrom
stig-controls-fips
Mar 13, 2026
Merged

Adding STIG compliance controls to spectro fips builds#564
roshanirathi merged 1 commit intospectro-fipsfrom
stig-controls-fips

Conversation

@zulfilee
Copy link
Contributor

Adding the following controls for STIG hardening

###############################################################################

Misc fixes for STIG Compliance

###############################################################################
audit_rule_file_session=/etc/audit/rules.d/session.rules
echo "-w /var/run/utmp -p wa -k session" >> "$audit_rule_file_session"

audit_rule_file_modules=/etc/audit/rules.d/modules.rules
echo "-w /bin/kmod -p x -k modules" >> "$audit_rule_file_modules"

audit_rule_file_cronjob=/etc/audit/rules.d/cronjob.rules
echo "-w /etc/cron.d/ -p wa -k cronjob" >> "$audit_rule_file_cronjob"
echo "-w /var/spool/cron/ -p wa -k cronjobs" >> "$audit_rule_file_cronjob"

chmod 640 "$audit_rule_file_cronjob"
chmod 740 /bin/journalctl

@zulfilee zulfilee requested a review from roshanirathi March 13, 2026 07:38
@roshanirathi roshanirathi merged commit b3d23b6 into spectro-fips Mar 13, 2026
2 checks passed
@roshanirathi roshanirathi deleted the stig-controls-fips branch March 13, 2026 07:43
zulfilee added a commit that referenced this pull request Mar 13, 2026
* Adding STIG compliance controls to spectro fips builds (#564)

* Remove command to copy issue file for compliance

Removed redundant command to copy /etc/issue to /etc/issue.net.

---------

Co-authored-by: Zulfihar Ali Ahamed <zulfi@spectrocloud.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants