Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add fixref to XCCDF generation to be compatible with STIG Viewer 3.x #607

Closed
rlakey opened this issue Sep 13, 2023 · 1 comment · Fixed by #608
Closed

Add fixref to XCCDF generation to be compatible with STIG Viewer 3.x #607

rlakey opened this issue Sep 13, 2023 · 1 comment · Fixed by #608
Assignees
Labels

Comments

@rlakey
Copy link
Contributor

rlakey commented Sep 13, 2023

When importing an XCCDF file generated in Vulcan into the new STIG Viewer 3 the Fix Text does not display.

Screenshot where fix text is not shown.

image

In the xml it looks like this when not working.

<fixtext>Navigate to and open:

/etc/audit/rules.d/audit.STIG.rules

Add or update the following lines:

-w /usr/sbin/useradd -p x -k useradd
-w /usr/sbin/groupadd -p x -k groupadd

At the command line, run the following command to load the new audit rules:

# /sbin/augenrules --load

Note: An "audit.STIG.rules" file is provided with this guidance for placement in "/etc/audit/rules.d" that contains all rules needed for auditd.</fixtext>

Updating the above to have a fixref id allows it to be displayed.

<fixtext fixref="F-PHTN-50-000003_fix">Navigate to and open:

/etc/audit/rules.d/audit.STIG.rules

Add or update the following lines:

-w /usr/sbin/useradd -p x -k useradd
-w /usr/sbin/groupadd -p x -k groupadd

At the command line, run the following command to load the new audit rules:

# /sbin/augenrules --load

Note: An "audit.STIG.rules" file is provided with this guidance for placement in "/etc/audit/rules.d" that contains all rules needed for auditd.</fixtext>

Suggest adding this new attribute to the fixtext node with the syntax fixref="F-<STIG ID>_fix" for example fixref="F-PHTN-50-000003_fix".

@smarlaku820
Copy link
Contributor

PR -
#608

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Merged
Development

Successfully merging a pull request may close this issue.

2 participants