forked from PlexTrac-Labs/base-API-script
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathsettings.py
More file actions
25 lines (21 loc) · 1.17 KB
/
settings.py
File metadata and controls
25 lines (21 loc) · 1.17 KB
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
import logging
# LOGGING
console_log_level = logging.INFO
file_log_level = logging.INFO
save_logs_to_file = False
# 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 rety 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 = 5
# description of script that will be print line by line when the script is run
script_info = ["====================================================================",
"= Base API Script =",
"=------------------------------------------------------------------=",
"= Use this script as a starting point to utilize existing =",
"= funtionality when developing a script for the Plextrac API =",
"= =",
"===================================================================="
]