Skip to content

Commit 0ef0b87

Browse files
Fix detection rules in README.
1 parent d0b18d9 commit 0ef0b87

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,12 @@ detection_rule = DetectionRule([
5555

5656
findings, _ = nightfall.scan_text(
5757
["hello world", "my SSN is 678-99-8212", "4242-4242-4242-4242"],
58-
[detection_rule]
58+
detection_rules=[detection_rule]
5959
)
6060

6161
print(findings)
6262
```
63+
6364
### Scanning Files
6465

6566
Scanning common file types like PDF's or office documents typically requires cumbersome text

0 commit comments

Comments
 (0)