-
Notifications
You must be signed in to change notification settings - Fork 229
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated docs and Dockerfile for new structure
- Loading branch information
Showing
4 changed files
with
46 additions
and
4 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,30 @@ | ||
Migrating from a pre-1.2.1 config | ||
================================== | ||
1.2.1 introduces some breaking configuration changes due to various project structure changes. Most notably, | ||
all module names will need to be prefixed with "pastehunter.". So for example, this part of the configuration.:: | ||
|
||
"gists": { | ||
"enabled": true, | ||
"module": "inputs.gists", | ||
"api_token": "", | ||
|
||
Will need to change to be .:: | ||
|
||
"gists": { | ||
"enabled": true, | ||
"module": "pastehunter.inputs.gists", | ||
"api_token": "", | ||
|
||
|
||
This applies to inputs, outputs, sandboxes, and post modules. There is one more change required to migrate your configuration. | ||
You will need to change your yara configuration to look something like this:.:: | ||
|
||
"yara": { | ||
"default_rules": true, | ||
"custom_rules": "none", | ||
"exclude_rules": [], | ||
"blacklist": true, | ||
"test_rules": false | ||
} | ||
|
||
If you have created any custom rules, change "none" to reflect the path to your custom rules. Finally, move your ``settings.json`` file to ``~/.config/pastehunter.json``. |