-
Notifications
You must be signed in to change notification settings - Fork 561
New issue
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
Update Neo4j Library #778
Comments
Doing research on using neomodel instead of py2neo, as suggested by the developers of Neo4j in their Py2neo Is End-of-Life Blog |
We will be using the native neo4j library utilizing the neo4j Driver instead of neomodel or py2neo. I have pushed a branch that successfully creates a Node and a Relationship for each event using the Neo4j Driver. At this moment, I am having issues with some Relationships being successfully established but not visibly linked when looking at the Neo4j output. The debug output shows the same... the relationship query is a success but 0 relationships are established sometimes. |
We successfully moved away from py2neo and we are using the Official Neo4j "driver". I was able to easily get the Nodes to populate... but I had some difficulty getting the relationships to connect to Source Nodes that had not yet been created. I have queued those Relationships that did not have an existing Source Node for later parsing. Once the Source Node becomes available, that relationship is now established. I have pushed this update_neo4j branch and I will polish it up before making a Merge Request (Pull Request). TODO: Run against a big target with all the modules activated. Troubleshoot as needed. |
Tinkering around with the idea of sending a "MATCH (n) DETACH DELETE (n)" command before every new BBOT Scan. |
It just keeps getting better and better! I fixed an error that was occuring when ASN was being parsed where the quotations would confuse Neo4j and it would throw an error. Furthermore, I have made a single (post-init) driver.session for our output module to utiliize for all events and we now properly clean up after ourselves. |
Implemented in #1205. |
Since
py2neo
has been deprecated, we need to transition our Neo4j output module to use the official Neo4j python library instead.In the meantime, a temporary fix for py2neo has been issued here: #773.
The text was updated successfully, but these errors were encountered: