From 299e9133e62676ec37da31ab7579627dfc82bb73 Mon Sep 17 00:00:00 2001 From: Dan Brodjieski Date: Thu, 18 Mar 2021 13:47:45 -0400 Subject: [PATCH] cleaned up ssh enable rule --- rules/sysprefs/sysprefs_ssh_enable.yaml | 31 ++++--------------------- 1 file changed, 4 insertions(+), 27 deletions(-) diff --git a/rules/sysprefs/sysprefs_ssh_enable.yaml b/rules/sysprefs/sysprefs_ssh_enable.yaml index b8307ae5..ab6c2147 100644 --- a/rules/sysprefs/sysprefs_ssh_enable.yaml +++ b/rules/sysprefs/sysprefs_ssh_enable.yaml @@ -9,42 +9,19 @@ result: fix: | [source,bash] ---- - /bin/launchctl disable system/com.openssh.sshd + /bin/launchctl enable system/com.openssh.sshd ---- references: cce: - CCE-85447-1 cci: - - CCI-001941 - - CCI-001942 - - CCI-002890 - - CCI-002420 - - CCI-002421 - - CCI-002422 - - CCI-003123 - - CCI-001453 - - CCI-000068 - - CCI-002418 + - N/A 800-53r4: - N/A srg: - - SRG-OS-000393-GPOS-00173 - - SRG-OS-000394-GPOS-00174 - - SRG-OS-000112-GPOS-00057 - - SRG-OS-000113-GPOS-00058 - - SRG-OS-000033-GPOS-00014 - - SRG-OS-000423-GPOS-00187 - - SRG-OS-000424-GPOS-00188 - - SRG-OS-000425-GPOS-00189 - - SRG-OS-000426-GPOS-00190 - - SRG-OS-000033-GPOS-00014 - - SRG-OS-000250-GPOS-00093 + - N/A disa_stig: - - APPL-11-000040 - - APPL-11-004011 - - APPL-11-004010 - - APPL-11-000011 - - APPL-11-000010 + - N/A 800-171r2: - N/A macOS: