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
Hello @brettforbes, I discovered that we can already leverage the ANTLR parsing engine. Look into this code in particular the last part:
https://github.com/os-threat/Stix-ORM/blob/patterns/test/test_patterns.py
For example: pattern = TreePattern("[domain-name:value = 'http://xyz.com/download']")
pattern = TreePattern("[domain-name:value = 'http://xyz.com/download']")
Produces a dict tree:
pattern: observation: objects: {domain-name} join: qualifiers: expressions: - comparison: object: domain-name path: [value] negated: operator: '=' value: http://xyz.com/download
Will this be enough to produce the queries?
The text was updated successfully, but these errors were encountered:
lets talk at kanban, might be
Sorry, something went wrong.
I will put some examples for domains, url and IP address as queries strings.
Hello, I made a simplified example here.
No branches or pull requests
Hello @brettforbes, I discovered that we can already leverage the ANTLR parsing engine.
Look into this code in particular the last part:
https://github.com/os-threat/Stix-ORM/blob/patterns/test/test_patterns.py
For example:
pattern = TreePattern("[domain-name:value = 'http://xyz.com/download']")
Produces a dict tree:
Will this be enough to produce the queries?
The text was updated successfully, but these errors were encountered: