|
 |
575137 |
From b280b1212b64933700521891d30a7c5b09523919 Mon Sep 17 00:00:00 2001
|
|
 |
575137 |
From: Watson Sato <wsato@redhat.com>
|
|
 |
575137 |
Date: Mon, 7 Jan 2019 14:26:25 +0100
|
|
 |
575137 |
Subject: [PATCH] Update applicable platforms in crypto policy tests
|
|
 |
575137 |
|
|
 |
575137 |
Added Fedora and RHEL8 as applicable platforms
|
|
 |
575137 |
and ospp and standard profiles.
|
|
 |
575137 |
---
|
|
 |
575137 |
.../rule_configure_bind_crypto_policy/absent.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_bind_crypto_policy/no_config_file.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_bind_crypto_policy/ok.pass.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_bind_crypto_policy/overrides.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_crypto_policy/bad_symlink.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_crypto_policy/missing_policy.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_crypto_policy/missing_policy_file.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_crypto_policy/missing_symlink.fail.sh | 3 ++-
|
|
 |
575137 |
.../{policy_set.pass.sh => policy_default_set.pass.sh} | 1 +
|
|
 |
575137 |
.../rule_configure_crypto_policy/policy_fips_set.pass.sh | 5 +++++
|
|
 |
575137 |
.../symlink_to_wrong_policy.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_crypto_policy/wrong_policy.fail.sh | 3 ++-
|
|
 |
575137 |
.../kerberos_correct_policy.pass.sh | 3 ++-
|
|
 |
575137 |
.../kerberos_missing_policy.fail.sh | 3 ++-
|
|
 |
575137 |
.../kerberos_wrong_policy.fail.sh | 3 ++-
|
|
 |
575137 |
.../line_commented.fail.sh | 3 ++-
|
|
 |
575137 |
.../line_is_there.pass.sh | 3 ++-
|
|
 |
575137 |
.../line_not_there.fail.sh | 3 ++-
|
|
 |
575137 |
.../wrong_value.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_openssl_crypto_policy/nothing.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_openssl_crypto_policy/ok.pass.sh | 3 ++-
|
|
 |
575137 |
.../section_not_include.fail.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_ssh_crypto_policy/absent.pass.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_ssh_crypto_policy/comment.pass.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_ssh_crypto_policy/no_config_file.pass.sh | 3 ++-
|
|
 |
575137 |
.../rule_configure_ssh_crypto_policy/overrides.fail.sh | 3 ++-
|
|
 |
575137 |
26 files changed, 54 insertions(+), 24 deletions(-)
|
|
 |
575137 |
rename tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/{policy_set.pass.sh => policy_default_set.pass.sh} (76%)
|
|
 |
575137 |
create mode 100644 tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_fips_set.pass.sh
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/absent.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/absent.fail.sh
|
|
 |
575137 |
index 99f603f1a..223a45ccf 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/absent.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/absent.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y bind
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/no_config_file.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/no_config_file.fail.sh
|
|
 |
575137 |
index 59e45aa26..1a7cca92e 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/no_config_file.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/no_config_file.fail.sh
|
|
 |
575137 |
@@ -1,6 +1,7 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
#
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
# We don't remediate anything if the config file is missing completely.
|
|
 |
575137 |
# remediation = none
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/ok.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/ok.pass.sh
|
|
 |
575137 |
index 145e25cfa..c6f9ffbcf 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/ok.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/ok.pass.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
BIND_CONF='/etc/named.conf'
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/overrides.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
index 79e14c1cc..e5ec32342 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_bind_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y bind
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/bad_symlink.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/bad_symlink.fail.sh
|
|
 |
575137 |
index efcea05b1..1d0ec9335 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/bad_symlink.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/bad_symlink.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
CRYPTO_POLICY_LIB_FILE="/etc/crypto-policies/back-ends/gnutls.config"
|
|
 |
575137 |
SYMLINK_TO="/tmp/some_file"
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy.fail.sh
|
|
 |
575137 |
index 16943b508..1fb839110 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy.fail.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
sed -i "1d" /etc/crypto-policies/config
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy_file.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy_file.fail.sh
|
|
 |
575137 |
index 29939bc6e..f2aadc38c 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy_file.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_policy_file.fail.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
rm /etc/crypto-policies/state/current
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_symlink.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_symlink.fail.sh
|
|
 |
575137 |
index ccccfe6b7..e58a7a56e 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_symlink.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/missing_symlink.fail.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
rm -f /etc/crypto-policies/back-ends/openssl.config
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_set.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_default_set.pass.sh
|
|
 |
575137 |
similarity index 76%
|
|
 |
575137 |
rename from tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_set.pass.sh
|
|
 |
575137 |
rename to tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_default_set.pass.sh
|
|
 |
575137 |
index 821d1dffc..9c5aa6583 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_set.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_default_set.pass.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
+# platform = multi_platform_fedora
|
|
 |
575137 |
# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
update-crypto-policies --set "DEFAULT"
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_fips_set.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_fips_set.pass.sh
|
|
 |
575137 |
new file mode 100644
|
|
 |
575137 |
index 000000000..de1197263
|
|
 |
575137 |
--- /dev/null
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/policy_fips_set.pass.sh
|
|
 |
575137 |
@@ -0,0 +1,5 @@
|
|
 |
575137 |
+#!/bin/bash
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp
|
|
 |
575137 |
+
|
|
 |
575137 |
+update-crypto-policies --set "FIPS"
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/symlink_to_wrong_policy.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/symlink_to_wrong_policy.fail.sh
|
|
 |
575137 |
index 4fc6f5384..eb083c9a2 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/symlink_to_wrong_policy.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/symlink_to_wrong_policy.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
CRYPTO_POLICY_LIB_FILE="/etc/crypto-policies/back-ends/openssh.config"
|
|
 |
575137 |
SYMLINK_TO_FOLDER="/usr/share/crypto-policies/LEGACY/"
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/wrong_policy.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/wrong_policy.fail.sh
|
|
 |
575137 |
index 0b0f786b1..c54cc1e80 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/wrong_policy.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_crypto_policy/wrong_policy.fail.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
sed -i "1s/.*/LEGACY/" /etc/crypto-policies/config
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_correct_policy.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_correct_policy.pass.sh
|
|
 |
575137 |
index dfbafea05..5c9ff5e79 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_correct_policy.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_correct_policy.pass.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
rm -f /etc/krb5.conf.d/crypto-policies
|
|
 |
575137 |
ln -s /etc/crypto-policies/back-ends/krb5.config /etc/krb5.conf.d/crypto-policies
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_missing_policy.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_missing_policy.fail.sh
|
|
 |
575137 |
index a2bbc947f..73cd9e312 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_missing_policy.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_missing_policy.fail.sh
|
|
 |
575137 |
@@ -1,4 +1,5 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
rm -f /etc/krb5.conf.d/crypto-policies
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_wrong_policy.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_wrong_policy.fail.sh
|
|
 |
575137 |
index 49ad6ae5e..7aba7a49c 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_wrong_policy.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_kerberos_crypto_policy/kerberos_wrong_policy.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
rm -f /etc/krb5.conf.d/crypto-policies
|
|
 |
575137 |
ln -s /etc/crypto-policies/back-ends/openssh.config /etc/krb5.conf.d/crypto-policies
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_commented.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_commented.fail.sh
|
|
 |
575137 |
index 053f60dd9..9af2825f6 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_commented.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_commented.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y libreswan
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_is_there.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_is_there.pass.sh
|
|
 |
575137 |
index bb357a0a6..2bedb24ac 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_is_there.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_is_there.pass.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y libreswan
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_not_there.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_not_there.fail.sh
|
|
 |
575137 |
index 8756c09dd..ce14f1a35 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_not_there.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/line_not_there.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y libreswan
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/wrong_value.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/wrong_value.fail.sh
|
|
 |
575137 |
index 75ba9f4f3..0bfabb92f 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/wrong_value.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_libreswan_crypto_policy/wrong_value.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
yum install -y libreswan
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/nothing.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/nothing.fail.sh
|
|
 |
575137 |
index 4893924f7..b2cb21be5 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/nothing.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/nothing.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
. common.sh
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/ok.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/ok.pass.sh
|
|
 |
575137 |
index e1663c5c4..695d1d9bb 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/ok.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/ok.pass.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
. common.sh
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/section_not_include.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/section_not_include.fail.sh
|
|
 |
575137 |
index e8acf2218..c2006df88 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/section_not_include.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_openssl_crypto_policy/section_not_include.fail.sh
|
|
 |
575137 |
@@ -1,5 +1,6 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
. common.sh
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/absent.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/absent.pass.sh
|
|
 |
575137 |
index 64ab66e82..e0db2badb 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/absent.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/absent.pass.sh
|
|
 |
575137 |
@@ -1,6 +1,7 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
#
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
SSH_CONF="/etc/sysconfig/sshd"
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/comment.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/comment.pass.sh
|
|
 |
575137 |
index c97092eb6..b309c5016 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/comment.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/comment.pass.sh
|
|
 |
575137 |
@@ -1,6 +1,7 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
#
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
SSH_CONF="/etc/sysconfig/sshd"
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/no_config_file.pass.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/no_config_file.pass.sh
|
|
 |
575137 |
index 665186f1b..d90e8c65c 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/no_config_file.pass.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/no_config_file.pass.sh
|
|
 |
575137 |
@@ -1,6 +1,7 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
#
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
SSH_CONF="/etc/sysconfig/sshd"
|
|
 |
575137 |
|
|
 |
575137 |
diff --git a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/overrides.fail.sh b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
index 4d2ed758e..3a1822414 100644
|
|
 |
575137 |
--- a/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
+++ b/tests/data/group_system/group_software/group_integrity/group_crypto/rule_configure_ssh_crypto_policy/overrides.fail.sh
|
|
 |
575137 |
@@ -1,6 +1,7 @@
|
|
 |
575137 |
#!/bin/bash
|
|
 |
575137 |
#
|
|
 |
575137 |
-# profiles = xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
+# platform = multi_platform_fedora, Red Hat Enterprise Linux 8
|
|
 |
575137 |
+# profiles = xccdf_org.ssgproject.content_profile_ospp, xccdf_org.ssgproject.content_profile_standard
|
|
 |
575137 |
|
|
 |
575137 |
SSH_CONF="/etc/sysconfig/sshd"
|
|
 |
575137 |
|
|
 |
575137 |
--
|
|
 |
575137 |
2.19.2
|
|
 |
575137 |
|