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

Analyzer framework #72

Open
wants to merge 26 commits into
base: master
Choose a base branch
from
Open

Analyzer framework #72

wants to merge 26 commits into from

Conversation

yampelo
Copy link
Owner

@yampelo yampelo commented Nov 15, 2019

Allows for the creation of rules against beagle's graphs

@codecov
Copy link

codecov bot commented Nov 15, 2019

Codecov Report

❗ No coverage uploaded for pull request base (master@a6bc079). Click here to learn what that means.
The diff coverage is 95.03%.

Impacted file tree graph

@@            Coverage Diff            @@
##             master      #72    /-   ##
=========================================
  Coverage          ?   82.06%           
=========================================
  Files             ?       64           
  Lines             ?     3072           
  Branches          ?        0           
=========================================
  Hits              ?     2521           
  Misses            ?      551           
  Partials          ?        0
Impacted Files Coverage Δ
beagle/nodes/file.py 100% <ø> (ø)
beagle/backends/networkx.py 98.91% <ø> (ø)
beagle/analyzers/queries/process.py 100% <100%> (ø)
beagle/analyzers/queries/file.py 100% <100%> (ø)
beagle/analyzers/queries/lookups.py 100% <100%> (ø)
beagle/analyzers/base_analyzer.py 100% <100%> (ø)
beagle/analyzers/queries/node.py 100% <100%> (ø)
beagle/analyzers/queries/edge.py 76.92% <76.92%> (ø)
beagle/analyzers/queries/__init__.py 85.71% <85.71%> (ø)
beagle/analyzers/queries/base_query.py 98.36% <98.36%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update a6bc079...b93049e. Read the comment docs.

NodeByPropsDescendents: Get a node and its descendants

NodeByPropsAncestors: Get a node and its ancestors

NodeByPropsReachable: Get a node and all reachable nodes from it (ancestors or descendants)
NodeByProps / EdgeByProps: adds support for nested queries:

```
NodeByPropsReachable(node_type=Process, props={"hashes": {"sha256": Exact("1234")}})
```
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

Successfully merging this pull request may close these issues.

1 participant