-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added multiple variables management and fixed equal filter bug
- Loading branch information
1 parent
7f0ecef
commit 2aa8b27
Showing
7 changed files
with
111 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"tags": ["mountain_bike", "city_bike"], | ||
"wheel_model": "SuperLight", | ||
"is_phishing": true, | ||
"gears": "1x12", | ||
"suspension": "full", | ||
"ip": "127.0.0.1", | ||
"ip2": "100.0.0.1", | ||
"price": 600 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
{ | ||
"streams": { | ||
"rules": { | ||
"ip_traffic": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "NETWORK", | ||
"key": "src_addr", | ||
"value": ["$INTERNAL_IPS", "$HOME_NET"] | ||
} | ||
], | ||
"streams": { | ||
"Workshop": { | ||
"workers_needed": 1 | ||
} | ||
"streams": { | ||
"rules": { | ||
"ip_traffic": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "NETWORK", | ||
"key": "src_addr", | ||
"value": [ | ||
"$INTERNAL_IPS", | ||
"$HOME_NET" | ||
] | ||
} | ||
], | ||
"streams": { | ||
"Workshop": { | ||
"workers_needed": 1 | ||
} | ||
} | ||
] | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
{ | ||
"streams": { | ||
"rules": { | ||
"ip_traffic": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "NETWORK", | ||
"key": "src_addr", | ||
"value": [ | ||
"$HOME_NET", | ||
"10.0.0.1" | ||
] | ||
} | ||
], | ||
"streams": { | ||
"Workshop": { | ||
"workers_needed": 1 | ||
} | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
{ | ||
"streams": { | ||
"rules": { | ||
"city_bike": [ | ||
{ | ||
"filters": [ | ||
{ | ||
"type": "EQUALS", | ||
"key": [ | ||
"wheel_model" | ||
], | ||
"value": [ | ||
"sUPerLight" | ||
] | ||
}, | ||
{ | ||
"type": "EQUALS", | ||
"key": "is_phishing", | ||
"value": [ | ||
"TRUE" | ||
] | ||
}, | ||
{ | ||
"type": "EQUALS", | ||
"key": "price", | ||
"value": [ | ||
600 | ||
] | ||
} | ||
], | ||
"streams": { | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
|