def check_omsagent_cisco_asa_configuration(workspace_id):
        '''
        Checking if the OMS agent is able to parse Cisco ASA:
        :return: True if the configuration is updated, false otherwise
        '''
        grep = subprocess.Popen(["grep", "-i", "return ident if ident.include?('%ASA')",
                                 oms_agent_plugin_securiy_config], stdout=subprocess.PIPE)
        o, e = grep.communicate()
        if not o:
            print_warning("Warning: Current content of the omsagent security configuration doesn't support"
                          " Cisco ASA parsing.\nTo enable Cisco ASA firewall events parsing run the following: \n"
                          "\"sed -i \"s|return \'%ASA\' if ident.include?(\'%ASA\')"
                          "|return ident if ident.include?(\'%ASA\')|g\" " + oms_agent_plugin_securiy_config +
                          " && sudo /opt/microsoft/omsagent/bin/service_control restart " + workspace_id + "\"\n")
            return False
        else:
            print_ok("omsagent security configuration supports Cisco ASA parsing \n")
            return True

        Checking if the OMS agent is able to parse Cisco ASA:
        :return: True if the configuration is updated, false otherwise
        
DataConnectors/CEF/cef_troubleshoot.py