{"name": "cpe:/o:rhel:le_or_eq:8.4", "check_id": "", "bash_conditional": "grep -qP \"^ID=[\\\"']?rhel[\\\"']?$\" \"/etc/os-release\" && { real=\"$(grep -P \"^VERSION_ID=[\\\"']?[\\w.]+[\\\"']?$\" /etc/os-release | sed \"s/^VERSION_ID=[\\\"']\\?\\([^\\\"']\\+\\)[\\\"']\\?$/\\1/\")\"; expected=\"8.4\"; printf \"%s\\n%s\" \"$real\" \"$expected\" | sort -VC; }", "ansible_conditional": "ansible_distribution == 'RedHat' and ansible_distribution_version is version('8.4', '<=')", "is_product_cpe": false, "versioned": true, "args": {}, "content_id": "ssg", "title": "Operating System is rhel", "definition_location": "/aptdata/openscap/scap-security-guide/shared/applicability/os_linux.yml", "template": {"name": "platform_os_linux", "vars": {"os_name": "Red Hat Enterprise Linux", "os_id": "rhel", "os_id_ansible": "RedHat", "id": "os_linux_rhel_le_or_eq_8_4", "name": "os_linux", "arg": "rhel", "ver_specs": [{"id": "le_or_eq_8_4", "op": "<=", "ver": "8.4", "evr_op": "less than or equal", "evr_ver": "0:8.4-0", "ev_ver": "0:8.4"}], "ver_specs_id": "le_or_eq_8_4", "ver_specs_cpe": "le_or_eq:8.4", "ver_specs_title": "less than or equal 8.4", "_rule_id": "os_linux_rhel_le_or_eq_8_4"}}}