Constructing Knowledge Graphs from Log Extraction and Integrate with Cartography mappings #1209
Replies: 13 comments
-
This is a great idea. One prerequisite for this is having consistent identifiers with which to correlate objects in both logs and Cartography data. As far as I can tell, Cartography does have unique identifiers for most things, but the property names in which you'll find them aren't consistent. Just to give an example, in an |
Beta Was this translation helpful? Give feedback.
-
What about joining forces and add this functionality? |
Beta Was this translation helpful? Give feedback.
-
It would be awesome. I've already been working on something similar and had to fork because Cartography was missing quite a few things (not just the IDs, but support for Neo4j 4.x among other things). I would prefer to have this in the base Cartography than to maintain it separately. But, I'll have to see if my employer could set aside time for me to do this, first. And, we'd need to find a way to add these IDs that is agreeable with the maintainers. For example, I don't suppose we can change existing property names as it would break backwards compatibility. We'd probably need to add a new field that mirrors IDs in some existing fields. |
Beta Was this translation helpful? Give feedback.
-
@danielsaporo can you share your work? I have found some work named SLOGERT. |
Beta Was this translation helpful? Give feedback.
-
@steve-solun I'm not sure what I can share - I'll check and get back to you. But in terms of IDs, I didn't do much more than add an extra field to some of the types as described earlier. It's worth hearing from one of the maintainers what they think about the consistent IDs. Maybe there's a better way I haven't thought of. |
Beta Was this translation helpful? Give feedback.
-
Can you please tag the relevant maintainers? @danielsaporo |
Beta Was this translation helpful? Give feedback.
-
@danielsaporo @steve-solun - Filed #1024 to track consistent IDs. I've started to do this in #895. I really want to spend more cycles there but...
I'm needing to balance this too :). Anyway, this is a legit problem and we will fix it. |
Beta Was this translation helpful? Give feedback.
-
For @steve-solun's idea on correlating this with log extraction though, I wonder if that correlation tool would be better suited for another tool: it might make most sense to have another tool pull from a neo4j database created with cartography and then correlate that against a log source and then put that in a secondary data store. |
Beta Was this translation helpful? Give feedback.
-
I see, what should be our action items @achantavy ? |
Beta Was this translation helpful? Give feedback.
-
@steve-solun - Following up on this a bit, you might want to check out https://github.com/grapl-security/grapl - https://www.youtube.com/watch?v=uErWRAJ4I4w. I haven't dug deep into the code but it seems like it accomplishes the scenario you are looking for (assuming it has a CloudTrail plugin). |
Beta Was this translation helpful? Give feedback.
-
Dear @achantavy thanks so much for the share, I will check it out. |
Beta Was this translation helpful? Give feedback.
-
Converting this to a discussion. We can then decide on concrete deliverables and create those as issues. |
Beta Was this translation helpful? Give feedback.
-
I would like to enrich my knowledge graph with logs from different services. As an example, user A created a bucket or any other event in my system and I have the logs about it.
Now that I have my cloud mapped, it is a live system that produces logs and events. I would like to add this information to my KG. Can it be integrated with cartography? New intel? What are the best practices for doing this?
Given such option, I will be able to apply graph data science models and gain useful insights. I would like to connect to all logs and merge them with my cartography-based Knowledge Graph, build nodes and relationships. My graph will become a live organism as a result of this.
@ramonpetgrave64
Beta Was this translation helpful? Give feedback.
All reactions