Skip to content

Compare ds#14

Closed
ggbecker wants to merge 2 commits intomasterfrom
compare_ds
Closed

Compare ds#14
ggbecker wants to merge 2 commits intomasterfrom
compare_ds

Conversation

@ggbecker
Copy link
Copy Markdown
Owner

Description:

  • Description here. Replace this text. Don't use the italics format!

Rationale:

  • Rationale here. Replace this text. Don't use the italics format!

  • Fixes # Issue number here (e.g. Shellcheck #26) or remove this line if no issue exists.

@ggbecker ggbecker force-pushed the compare_ds branch 3 times, most recently from b4efc17 to f65145e Compare October 25, 2021 11:19
Repository owner deleted a comment from github-actions Bot Oct 25, 2021
@ggbecker ggbecker force-pushed the compare_ds branch 2 times, most recently from 31dc4ea to ef46fc2 Compare October 25, 2021 11:30
Repository owner deleted a comment from github-actions Bot Oct 25, 2021
@ggbecker ggbecker force-pushed the compare_ds branch 4 times, most recently from 735a0e8 to 02100a8 Compare October 25, 2021 12:37
Repository owner deleted a comment from github-actions Bot Oct 25, 2021
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Oct 25, 2021

This datastream diff is auto generated by the check Compare DS/Generate Diff

Click here to see the full diff
Rule 'xccdf_org.ssgproject.content_rule_security_patches_up_to_date' points to 'security-data-oval-com.redhat.rhsa-RHEL8.xml' which isn't a part of the old datastream
bash remediation for rule 'xccdf_org.ssgproject.content_rule_sshd_enable_strictmodes' differs:
--- old datastream
+++ new datastream
@@ -13,10 +13,10 @@
 if [ -z "$line_number" ]; then
 # There was no match of '^Match', insert at
 # the end of the file.
- printf '%s\n' "StrictModes yes" >> "/etc/ssh/sshd_config"
+ printf '%s\n' "StrictModes no" >> "/etc/ssh/sshd_config"
 else
 head -n "$(( line_number - 1 ))" "/etc/ssh/sshd_config.bak" > "/etc/ssh/sshd_config"
- printf '%s\n' "StrictModes yes" >> "/etc/ssh/sshd_config"
+ printf '%s\n' "StrictModes no" >> "/etc/ssh/sshd_config"
 tail -n "+$(( line_number ))" "/etc/ssh/sshd_config.bak" >> "/etc/ssh/sshd_config"
 fi
 # Clean up after ourselves.

ansible remediation for rule 'xccdf_org.ssgproject.content_rule_sshd_enable_strictmodes' differs:
--- old datastream
+++ new datastream
@@ -24,7 +24,7 @@
 path: /etc/ssh/sshd_config
 create: true
 regexp: (?i)^\s*StrictModes\s+
- line: StrictModes yes
+ line: StrictModes no
 state: present
 insertbefore: ^[#\s]*Match
 validate: /usr/sbin/sshd -t -f %s

@ggbecker ggbecker force-pushed the compare_ds branch 4 times, most recently from e329f8a to 3857e98 Compare October 25, 2021 13:47
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.

1 participant