pyTenable
pyTenable copied to clipboard
Python Library for interfacing into Tenable's platform APIs
**Describe the bug** export.vulns does not seem to have a reasonable timeout. Please note the timestamps between the first logging statements from pyTenable. I called `all_vulns = list(tio.exports.vulns(last_found=cut_off,severity=["low","medium","high","critical"]))` at `2023-07-21...
When creating users in Tenable.sc, the following event is shown in System Logs: `Field 'importDashboards' has been deprecated as of 5.11.0. Please see group parameter 'createDefaultObjects'.` This is due to...
**Describe the bug** When calling create_scan_schedule the code logic is adding 30 minutes based on the lines below in https://github.com/tenable/pyTenable/blob/master/tenable/io/scans.py (Lines: 300 and 301) ``` secs = timedelta(minutes=30).total_seconds() starttime =...
PyTenable has the Accept Risk method for tenable.sc: https://pytenable.readthedocs.io/en/stable/api/sc/accept_risks.html. The tenable.io object has no matching module. I'd like there to be feature parity in this instance between tenable.sc and tenable.io
**Describe the bug** Attempting to use the TenableSC accept_risks.create() method while providing a list of ip addresses with the 'ips' argument returns the following error: ``` ERROR:restfly.errors.APIError:[403: POST] https://XXXXXXXXXXXXX:443/rest/acceptRiskRule body=b'{"type":"regular","response":"","error_code":146,"error_msg":"Please...
**Describe the bug** Using a TIO client and the method agent_groups.create() fails to create an agent group and returns nothing. No error is thrown **To Reproduce** Steps to reproduce the...
**Describe the bug** When using sc.organizations.edit to save restricted_ips, the parameter groupAssign seems to be applied incorrectly. **To Reproduce** ``` from tenable.sc import TenableSC sc = TenableSC(url='https://...', access_key='...', secret_key='...') #...
# Description As part of this PR, I have updated test-cases of Tenable.io and generated new cassettes for most of all Tenable.io test-cases. Test-cases are updated fulfil below requirements: 1....
I am using the latest pytenable to connect to a tenable.sc. The server has certificate authentication (association) enabled. Via a web browser I can login with my username and password,...
**Describe the bug** For tenable.nessus module, "api.agents.list()" fails if there are no agents linked to an instance of Nessus Manager. **To Reproduce** ``` from tenable.nessus import Nessus api = Nessus(url=...)...