// This file is autogenerated, DO NOT EDIT
// eql/eql-search-api.asciidoc:684

[source, python]
----
resp = client.eql.search(
    index="my-data-stream",
    query="\n    sequence by process.pid\n      [ file where file.name == \"cmd.exe\" and process.pid != 2013 ]\n      [ process where stringContains(process.executable, \"regsvr32\") ]\n  ",
)
print(resp)
----
