{"name": "cpe:/o:rhel:gt_or_eq:8.7", "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.7\"; printf \"%s\\n%s\" \"$expected\" \"$real\" | sort -VC; }", "ansible_conditional": "ansible_distribution == 'RedHat' and ansible_distribution_version is version('8.7', '>=')", "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_gt_or_eq_8_7", "name": "os_linux", "arg": "rhel", "ver_specs": [{"id": "gt_or_eq_8_7", "op": ">=", "ver": "8.7", "evr_op": "greater than or equal", "evr_ver": "0:8.7-0", "ev_ver": "0:8.7"}], "ver_specs_id": "gt_or_eq_8_7", "ver_specs_cpe": "gt_or_eq:8.7", "ver_specs_title": "greater than or equal 8.7", "_rule_id": "os_linux_rhel_gt_or_eq_8_7"}}}