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

Ansible remediation for systemd-journald has invalid syntax because of quotation marks #315

Closed
Maddss opened this issue Nov 22, 2023 · 1 comment

Comments

@Maddss
Copy link

Maddss commented Nov 22, 2023

When generating an Ansible remediation script using the SCAP workbench there seems to be invalid syntax in systemd-journald configuration:
xccdf_org.ssgproject.content_rule_journald_compress
xccdf_org.ssgproject.content_rule_journald_forward_to_syslog
xccdf_org.ssgproject.content_rule_journald_storage

For Example:
line: ForwardToSyslog="yes" should be ForwardToSyslog=yes without quotation marks
This breaks the remediation as the settings don't work with quotation marks.
OpenSCAP scanner also checks these settings without quotation marks and returns them as failed.

tags:
CCE-85931-4
CCE-85996-7
CCE-86046-0

@evgenyz
Copy link
Contributor

evgenyz commented Nov 22, 2023

The remediations themselves belong to CaC project (ssg). This is the place to open an issue: https://github.com/ComplianceAsCode/content/issues. (Please follow the template and fill all the information required to identify the problem).

@evgenyz evgenyz closed this as completed Nov 22, 2023
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

No branches or pull requests

2 participants