Skip to content

Commit

Permalink
Updated default remote lists
Browse files Browse the repository at this point in the history
  • Loading branch information
connervieira committed Oct 16, 2024
1 parent c6a75ea commit 3f11e2b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/support/configdefault.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"alerts_ignore_validation": true,
"allow_duplicate_alerts": false,
"databases": [
"https://v0lttech.com/predator/manifest/serve.php?type=hot"
"https://v0lttech.com/predator/manifest/serve.php?type=hot&user=cvieira&list=emergencyhotlist"
]
},
"display": {
Expand Down
2 changes: 1 addition & 1 deletion ignore.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ def fetch_ignore_list():
display_message("The local ignore list file does not exist. The local ignore list is effectively disabled.", 3)


remote_ignore_sources = ["https://v0lttech.com/predator/ignorelist/serve.php?key=public"] # This holds a list of hard-coded remote sources that ignore lists will be fetched from. Developers who want to deploy Predator to devices can add remote sources for ignore lists here to make them easier to manage. This allows administrators to automatically issue ignore lists from an external services. Administrators can maintain ignore lists without needing to manually modify the local ignore list for all their devices. Remote sources don't receive any telemetry from Predator, only a simple JSON list is fetched. Custom remote sources from the configuration are added in the next steps.
remote_ignore_sources = ["https://v0lttech.com/predator/manifest/serve.php?type=ignore&user=cvieira&list=publicignorelist"] # This holds a list of hard-coded remote sources that ignore lists will be fetched from. Developers who want to deploy Predator to devices can add remote sources for ignore lists here to make them easier to manage. This allows administrators to automatically issue ignore lists from an external services. Administrators can maintain ignore lists without needing to manually modify the local ignore list for all their devices. Remote sources don't receive any telemetry from Predator, only a simple JSON list is fetched. Custom remote sources from the configuration are added in the next steps.

if (config["developer"]["ignore_list"]["enabled"] == True): # Only add custom remote sources if custom ignore lists are enabled in the configuration
for source in config["developer"]["ignore_list"]["remote_sources"]: # Iterate through each source in the list of remote ignore list sources.
Expand Down

0 comments on commit 3f11e2b

Please sign in to comment.