fix missing paramters
This commit is contained in:
@ -10,6 +10,7 @@ write_path=/opt/VulnWhisperer/data/nessus/
|
|||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
trash=false
|
trash=false
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
[tenable]
|
[tenable]
|
||||||
enabled=true
|
enabled=true
|
||||||
@ -23,6 +24,7 @@ write_path=/opt/VulnWhisperer/data/tenable/
|
|||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
trash=false
|
trash=false
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
[qualys_was]
|
[qualys_was]
|
||||||
#Reference https://www.qualys.com/docs/qualys-was-api-user-guide.pdf to find your API
|
#Reference https://www.qualys.com/docs/qualys-was-api-user-guide.pdf to find your API
|
||||||
@ -33,6 +35,7 @@ password=examplepass
|
|||||||
write_path=/opt/VulnWhisperer/data/qualys_was/
|
write_path=/opt/VulnWhisperer/data/qualys_was/
|
||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
# Set the maximum number of retries each connection should attempt.
|
# Set the maximum number of retries each connection should attempt.
|
||||||
#Note, this applies only to failed connections and timeouts, never to requests where the server returns a response.
|
#Note, this applies only to failed connections and timeouts, never to requests where the server returns a response.
|
||||||
@ -49,6 +52,7 @@ password=examplepass
|
|||||||
write_path=/opt/VulnWhisperer/data/qualys_vm/
|
write_path=/opt/VulnWhisperer/data/qualys_vm/
|
||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
[detectify]
|
[detectify]
|
||||||
#Reference https://developer.detectify.com/
|
#Reference https://developer.detectify.com/
|
||||||
@ -61,6 +65,7 @@ password=examplepass
|
|||||||
write_path =/opt/VulnWhisperer/data/detectify/
|
write_path =/opt/VulnWhisperer/data/detectify/
|
||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
[openvas]
|
[openvas]
|
||||||
enabled=true
|
enabled=true
|
||||||
@ -71,6 +76,7 @@ password=examplepass
|
|||||||
write_path=/opt/VulnWhisperer/data/openvas/
|
write_path=/opt/VulnWhisperer/data/openvas/
|
||||||
db_path=/opt/VulnWhisperer/data/database
|
db_path=/opt/VulnWhisperer/data/database
|
||||||
verbose=false
|
verbose=false
|
||||||
|
scan_filter=
|
||||||
|
|
||||||
[jira]
|
[jira]
|
||||||
enabled=false
|
enabled=false
|
||||||
|
@ -128,6 +128,7 @@ class NessusAPI(object):
|
|||||||
return response
|
return response
|
||||||
|
|
||||||
def get_scans(self, days=None):
|
def get_scans(self, days=None):
|
||||||
|
parameters = {}
|
||||||
if days:
|
if days:
|
||||||
parameters = {
|
parameters = {
|
||||||
"last_modification_date": (datetime.now() - timedelta(days=days)).strftime("%s")
|
"last_modification_date": (datetime.now() - timedelta(days=days)).strftime("%s")
|
||||||
|
Reference in New Issue
Block a user