-
Notifications
You must be signed in to change notification settings - Fork 0
/
settings.py
34 lines (29 loc) · 1.83 KB
/
settings.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
import logging
# LOGGING
console_log_level = logging.INFO
file_log_level = logging.INFO
save_logs_to_file = True
# REQUESTS
# if the Plextrac instance is running on https without valid certs, requests will respond with cert error
# change this to false to override verification of certs
verify_ssl = True
# number of times to retry a request before throwing an error. will only throw the last error encountered if
# number of retries is exceeded. set to 0 to disable retrying requests
retries = 0
# description of script that will be print line by line when the script is run
script_info = ["====================================================================",
"= Asset De-duplication =",
"=------------------------------------------------------------------=",
"= This script is designed to de-duplicate client assets using =",
"= the Plextrac API. It identifies duplicate assets within a =",
"= specific Plextrac client and updates associated findings to =",
"= reference a primary asset for each group of duplicate assets. =",
"= =",
"===================================================================="
]
# there is a case to be made that as long as the hostname is the same EXCLUDING the domain, then it is the same asset
#
# This makes sense in the case where an asset could be part of 2 networks and could be referenced from either network.
# The 1 asset could have a different domain depending on which network you searched for it on. This toggle determines
# if the script should consider an asset the same, if the hostname EXCLUDING the domain match.
match_hostname_from_different_domains = False