-
Notifications
You must be signed in to change notification settings - Fork 592
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
1,149 additions
and
460 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
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 |
---|---|---|
@@ -1,20 +1,37 @@ | ||
## Mock configuration file for testing the contrext links API endpoint! | ||
lookupone: | ||
short_name: 'LookupOne' | ||
match_fields: ['hash'] | ||
validation_regex: '/^[0-9a-f]{40}$|^[0-9a-f]{32}$/i' | ||
context_link: 'https://lookupone.local/q=<ATTR_VALUE>' | ||
redirect_warning: TRUE | ||
# Mock configuration file for testing the context links API endpoint! | ||
## Hardcoded Modules | ||
hardcoded_modules: | ||
module_one: | ||
short_name: "ModuleOne" | ||
validation_regex: "/^[0-9a-f]{64}$/i" | ||
match_fields: | ||
- xml | ||
- xml_string | ||
module_two: | ||
short_name: "ModuleTwo" | ||
match_fields: | ||
- url | ||
- uri | ||
- original_url | ||
|
||
lookuptwo: | ||
short_name: 'LookupTwo' | ||
match_fields: ['sha256_hash', 'hash'] | ||
validation_regex: '/^[0-9a-f]{64}$/i' | ||
context_link: 'https://lookuptwo.local/q=<ATTR_VALUE>' | ||
redirect_warning: FALSE | ||
## External Services | ||
linked_services: | ||
lookupone: | ||
short_name: "LookupOne" | ||
match_fields: ["hash"] | ||
validation_regex: "/^[0-9a-f]{40}$|^[0-9a-f]{32}$/i" | ||
context_link: "https://lookupone.local/q=<ATTR_VALUE>" | ||
redirect_warning: TRUE | ||
|
||
lookupthree: | ||
short_name: 'LookupThree' | ||
match_fields: ['url'] | ||
context_link: 'https://lookupthree.local/q=<ATTR_VALUE>' | ||
redirect_warning: TRUE | ||
lookuptwo: | ||
short_name: "LookupTwo" | ||
match_fields: ["sha256_hash", "hash"] | ||
validation_regex: "/^[0-9a-f]{64}$/i" | ||
context_link: "https://lookuptwo.local/q=<ATTR_VALUE>" | ||
redirect_warning: FALSE | ||
|
||
lookupthree: | ||
short_name: "LookupThree" | ||
match_fields: ["url"] | ||
context_link: "https://lookupthree.local/q=<ATTR_VALUE>" | ||
redirect_warning: TRUE |
Oops, something went wrong.