Skip to content
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

Add pattern matching module for querying Model #31

Open
3 tasks
mrkickling opened this issue May 14, 2024 · 0 comments
Open
3 tasks

Add pattern matching module for querying Model #31

mrkickling opened this issue May 14, 2024 · 0 comments

Comments

@mrkickling
Copy link
Collaborator

  • We want to be able to query for 'patterns' in AttackGraph, LanguageGraph and Model (this issue is for Model)
  • It should be possible to query for a pattern, this means to find a 'chain' of assets with certain properties and associations
  • Example of pattern: "Find the chain starting with an asset of type X connected through an association of type Y to a chain of assets ending up in an asset of type Z with property P" -> should return the assets (?)

We might also want to be able to combine patterns from different types of graphs (e.g. Auth->FullAccess in AttackGraph where the asset in the Model is connected to somethingsomething). Keep this in mind during design.

For this issue:

  • Create patterns module for Model
  • Make it possible to query the Model with a pattern and return matching assets (regex like)
  • Tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants