Describe the bug
When launching a scan by using tio.scans.launch(1, targets=['127.0.0.1']) an error is raised:
tenable.errors.InvalidInputError: 02edd051198bfd0f452fa997b549c2a7:400 {"error":"Invalid 'alt_targets' field: invalid type 'string', expecting 'list'"}
To Reproduce
Steps to reproduce the behavior:
Create a TenableIO object (tio)
Create a list of targets ex: target_list = ['127.0.0.1', '127.0.0.2']
Describe the bug When launching a scan by using
tio.scans.launch(1, targets=['127.0.0.1'])
an error is raised: tenable.errors.InvalidInputError: 02edd051198bfd0f452fa997b549c2a7:400 {"error":"Invalid 'alt_targets' field: invalid type 'string', expecting 'list'"}To Reproduce Steps to reproduce the behavior:
tio.scans.launch(1, targets=target_list)
Expected behavior The scan to launch and return the scan uuid
System Information (please complete the following information):