-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update wrappers for latest pdnssoc-cli
- Loading branch information
1 parent
fb8e070
commit ca7f4ef
Showing
8 changed files
with
123 additions
and
61 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 |
---|---|---|
@@ -1,23 +1,48 @@ | ||
logging_level: "INFO" | ||
|
||
misp_servers: | ||
- domain: "https://misp1.myserver.org/" | ||
api_key: "API_KEY_1" | ||
- domain: "https://example-misp-instance.com" | ||
api_key: "API_KEY" | ||
# misp.search() arguments | ||
args: | ||
enforce_warninglist: True | ||
periods: | ||
generic: | ||
delta: | ||
days: 30 | ||
tags: | ||
- names: | ||
- "tag_name" | ||
delta: False | ||
|
||
correlation: | ||
input_dir: /var/dnscollector/queries | ||
output_dir: /var/dnscollector/alerts | ||
malicious_domains_file: /var/dnscollector/misp_domains.txt | ||
malicious_ips_file: /var/dnscollector/misp_ips.txt | ||
last_correlation_pointer_file: /var/dnscollector/correlation.last | ||
last_retro_pointer_file: /var/dnscollector/repo.last | ||
input_dir: ./input_dir/ # use this if no files are defined from commmand line | ||
output_dir: ./output_dir/ | ||
archive_dir: ./archive/ # use this as input for looking back | ||
malicious_domains_file: ./misp_domains.txt | ||
malicious_ips_file: ./misp_ips.txt | ||
last_correlation_pointer_file: ./correlation.last | ||
last_retro_pointer_file: ./retro.last | ||
|
||
schedules: | ||
fetch_iocs: | ||
interval: 10 # minutes | ||
correlation: | ||
interval: 1 # minutes | ||
retro: | ||
interval: 1440 # minutes | ||
interval: 1440 # minutes | ||
alerting: | ||
interval: 60 # minutes | ||
|
||
alerting: | ||
last_alerting_pointer_file: ./tests/alert.last | ||
email: | ||
from: "[email protected]" | ||
subject: "[pDNSSOC] Community XYZ alert" | ||
summary_to: "[email protected]" | ||
server: "localhost" | ||
port: 25 | ||
template: ./alert_email_template.html | ||
mappings: | ||
- client_id: client_1 | ||
contact: [email protected] |
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,22 +1,48 @@ | ||
logging_level: "INFO" | ||
|
||
misp_servers: | ||
- domain: "https://your-misp-server.com" | ||
api_key: "API_KEY_1" | ||
args: {} | ||
- domain: "https://example-misp-instance.com" | ||
api_key: "API_KEY" | ||
# misp.search() arguments | ||
args: | ||
enforce_warninglist: True | ||
periods: | ||
generic: | ||
delta: | ||
days: 30 | ||
tags: | ||
- names: | ||
- "tag_name" | ||
delta: False | ||
|
||
correlation: | ||
input_dir: /var/dnscollector/queries | ||
output_dir: /var/dnscollector/alerts | ||
malicious_domains_file: /var/dnscollector/misp_domains.txt | ||
malicious_ips_file: /var/dnscollector/misp_ips.txt | ||
last_correlation_pointer_file: /var/dnscollector/correlation.last | ||
last_retro_pointer_file: /var/dnscollector/repo.last | ||
input_dir: ./input_dir/ # use this if no files are defined from commmand line | ||
output_dir: ./output_dir/ | ||
archive_dir: ./archive/ # use this as input for looking back | ||
malicious_domains_file: ./misp_domains.txt | ||
malicious_ips_file: ./misp_ips.txt | ||
last_correlation_pointer_file: ./correlation.last | ||
last_retro_pointer_file: ./retro.last | ||
|
||
schedules: | ||
fetch_iocs: | ||
interval: 10 # minutes | ||
correlation: | ||
interval: 1 # minutes | ||
retro: | ||
interval: 1440 # minutes | ||
interval: 1440 # minutes | ||
alerting: | ||
interval: 60 # minutes | ||
|
||
alerting: | ||
last_alerting_pointer_file: ./tests/alert.last | ||
email: | ||
from: "[email protected]" | ||
subject: "[pDNSSOC] Community XYZ alert" | ||
summary_to: "[email protected]" | ||
server: "localhost" | ||
port: 25 | ||
template: ./alert_email_template.html | ||
mappings: | ||
- client_id: client_1 | ||
contact: [email protected] |