Skip to content

Conversation

@HariPalleti
Copy link
Contributor

@HariPalleti HariPalleti commented Oct 14, 2025

Description:

To satisfy FedRAMP's requirements for container vulnerability MAS must leverage Hardened Images.
Using the same remediate script for all the images. Running this remediation script as part of the docker image during the build to remediate the problems.

The remediation script does mainly change the following:

  • Configure System Cryptographic Policies
  • Ensure gpgcheck enabled for local packages
  • Protect accounts by configuring PAM
  • Protect Accounts by Restricting Password-Based Login
  • Configure Multiple DNS Servers in /etc/resolv.conf
  • Ensure rootfiles tmpfile.d is Configured Correctly
  • Verify File Permissions Within Some Important Directories
  • Disable Core Dumps

Remediation Script generated from evaluation of STIG for Red Hat Enterprise Linux.
sudo oscap xccdf generate fix --fix-type bash --output $OSCAP_DIR/$image_name-remediation.sh --result-id xccdf_org.open-scap_testresult_xccdf_org.ssgproject.content_profile_stig $OSCAP_DIR/$image_name-results.xml

The scan report that is uploaded to artifactory is used for CI evidence

Issue:

Tests:

I have deployed MAS instanc in a development cluster after hardening the images

@HariPalleti HariPalleti requested a review from a team as a code owner October 14, 2025 16:50
@terenceq terenceq merged commit f4ccdbb into stable Oct 17, 2025
5 checks passed
@terenceq terenceq deleted the harden branch October 17, 2025 16:44
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