{"name": "machine_and_package_apparmor", "original_expression": "machine and package[apparmor]", "xml_content": "<ns0:platform xmlns:ns0=\"http://cpe.mitre.org/language/2.0\" id=\"machine_and_package_apparmor\"><ns0:logical-test operator=\"AND\" negate=\"false\"><ns0:check-fact-ref system=\"http://oval.mitre.org/XMLSchema/oval-definitions-5\" href=\"ssg-ubuntu2204-cpe-oval.xml\" id-ref=\"oval:ssg-installed_env_is_a_machine:def:1\" /><ns0:check-fact-ref system=\"http://oval.mitre.org/XMLSchema/oval-definitions-5\" href=\"ssg-ubuntu2204-cpe-oval.xml\" id-ref=\"oval:ssg-package_apparmor:def:1\" /></ns0:logical-test></ns0:platform>", "bash_conditional": "( [ ! -f /.dockerenv ] && [ ! -f /run/.containerenv ] && dpkg-query --show --showformat='${db:Status-Status}' 'apparmor' 2>/dev/null | grep -q '^installed$' )", "ansible_conditional": "( ansible_virtualization_type not in [\"docker\", \"lxc\", \"openvz\", \"podman\", \"container\"] and \"apparmor\" in ansible_facts.packages )", "title": "", "definition_location": ""}