-
Notifications
You must be signed in to change notification settings - Fork 166
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Missing vulnerability data from tio.exports.vulns() #707
Comments
Hello, this behavior isn't controlled by pyTenable and seems to be an issue in the upstream API. |
Ok. I created an issue with Tenable.io support. So strange, our API responses are significantly different than two weeks ago. |
We have the same issue with tio.exports.vulns. We are unable to get any vulns with this method, even though many Agent discovered vulnerabilities are present in the Tenable.IO dashboard. We have been unable to get support from Tenable. Do you know how this method changed? |
@mcarrenstellar This method hasn't changed in a long time. Could you elaborate on "We are unable to get any vulns with this method"? - What filters are you passing? Did the API calls succeed without pyTenable? etc. |
@aseemsavio We are not using any filters except for "since" , we get an epoch timestamp representing the last time we ran our script. This is an example. We are able to get scan reports with largely the same method, but not vulnerabilities. We don't use the API directly, just PyTenable. `from tenable.io import TenableIO start_time = 1684608030 tio = TenableIO(access_key, secret_key) for vuln in tio.exports.vulns(): |
@mcarrenstellar You need to wait for the export to finish, see the example code in the original issue |
@aseemsavio This seems to be resolved now along with the asset export issue. @kwwv is no longer active, I'm working on the same project |
Describe the bug
We have been using the tio.exports.vulns(severity=['Critical', 'High', 'Medium']) endpoint in an automated fashion for months. Recently, I noticed assets and vulnerabilities are missing. Specifically, in the most recent export I see data for 165 assets; there should be 377 assets in that response. Did this endpoint change?
To Reproduce
Here is the code I am using:
The text was updated successfully, but these errors were encountered: