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