You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the Issue
A SCAP scan fails on STIG ID RHEL-07-040160. The issue is that the STIG check text looks specifically for the syntax declare -xr TMOUT=900 in /etc/profile.d/tmout.sh, but the task doesn't use "declare", instead it sets the variable then uses readonly and export separately.
The end result is functional / as intended, just doesn't match the check in the DISA SCAP file for v3r5.
Expected Behavior
Rule should pass a scan.
Actual Behavior
Rule fails the scan because the expected syntax is not found.
Environment
Scanned using SCC 5.4.2 using U_RHEL_7_V3R5_STIG_SCAP_1-2_Benchmark.xml
Describe the Issue
A SCAP scan fails on STIG ID RHEL-07-040160. The issue is that the STIG check text looks specifically for the syntax
declare -xr TMOUT=900
in /etc/profile.d/tmout.sh, but the task doesn't use "declare", instead it sets the variable then uses readonly and export separately.The end result is functional / as intended, just doesn't match the check in the DISA SCAP file for v3r5.
Expected Behavior
Rule should pass a scan.
Actual Behavior
Rule fails the scan because the expected syntax is not found.
Environment
Scanned using SCC 5.4.2 using U_RHEL_7_V3R5_STIG_SCAP_1-2_Benchmark.xml
Control(s) Affected
RHEL-07-040160
Possible Solution
Update fix-cat2.yml:
RHEL7-STIG/tasks/fix-cat2.yml
Lines 2806 to 2810 in 7eb9d55
With:
The text was updated successfully, but these errors were encountered: