This repository has been archived by the owner on Sep 11, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of https://github.com/packetsled/bro_intel_linter
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
# bro_intel_linter | ||
Bro Intel Feed Linter | ||
The bro_intel_linter was built to verify all the appropriate tab separation, naming and verification of the single character fields ('-', 'T', 'F'). | ||
|
||
## Usage | ||
intel_linter.py --file=<file.intel> | ||
|
||
## Example | ||
|
||
### Example File | ||
|
||
Test File: | ||
~~~ | ||
#fields indicator indicator_type meta.source meta.url meta.do_notice meta.if_in meta.whitelist meta.desc | ||
192.168.1.1 Intel::ADDR Some kind of intelligent system - F - - Router | ||
192.168.1.2 Intel::ADDR Some kind of intelligent system - F _ - Firewall | ||
192.168.1.3 Intel::ADDR Some kind of intelligent system - F - - You don't want to know | ||
~~~ | ||
|
||
Result: | ||
~~~ | ||
WARNING: Line 3 - Invalid single character field entry, offset [5] | ||
~~~ | ||
|
||
A clean execution means the intelligence file supplied passed all lint testing. |