Skip to content

Commit

Permalink
docs: updates detection enrichment lookup to reference correct librar…
Browse files Browse the repository at this point in the history
…y name (#2)
  • Loading branch information
rileydakota authored Aug 10, 2023
1 parent 374eb49 commit 53ac9c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/detections/enrichment.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ To access an enrichment table inside a Python detection, you can simply import t
```python
# detect.py

from matano.enrichment import user_info
from detection.enrichment import user_info

def detect(e):
...
Expand All @@ -26,7 +26,7 @@ The import statement in the first line imports our enrichment table. We can also
```python
# detect.py

from matano.enrichment import user_info, host_info
from detection.enrichment import user_info, host_info

def detect(e):
...
Expand All @@ -41,7 +41,7 @@ To lookup data by a key in your detection script, you can use the `.get` method
```python
# detect.py

from matano.enrichment import user_info
from detection.enrichment import user_info

def detect(e):
user_id = e.deepget("user.id")
Expand Down Expand Up @@ -69,7 +69,7 @@ We can then use this enrichment table in our detection as follows:
```python
# detect.py

from matano.enrichment import user_info
from detection.enrichment import user_info

def detect(e):
user_id = e.deepget("user.id")
Expand Down

1 comment on commit 53ac9c0

@vercel
Copy link

@vercel vercel bot commented on 53ac9c0 Aug 10, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.