We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi,
Can I get some help with first analyser. I cannot get it to work even with code like this. :(
Can somebody point me what I am doint wrong? Thanks...
#!/usr/bin/env python3 from cortexutils.analyzer import Analyzer class Test(Analyzer): def __init__(self): Analyzer.__init__(self) def summary(self, raw): taxonomies = [] level = "info" namespace = "Logon" predicate = "Search" value = "{'results':'test'}" taxonomies.append(self.build_taxonomy(level, namespace, predicate, value)) return {"taxonomies": taxonomies} def run(self): return self.report({'results': 'test'}) if __name__ == '__main__': Test().run()
What I got is
{ "input": null, "success": false, "errorMessage": "Invalid output\n", "artifacts": [] }
The text was updated successfully, but these errors were encountered:
Oh my. :D I didnt make script executable. :)
Sorry, something went wrong.
No branches or pull requests
Hi,
Can I get some help with first analyser. I cannot get it to work even with code like this. :(
Can somebody point me what I am doint wrong? Thanks...
What I got is
The text was updated successfully, but these errors were encountered: