Skip to content
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

PyTenable Not Retrieving WAS Results #289

Closed
pdreeves opened this issue Mar 25, 2021 · 5 comments
Closed

PyTenable Not Retrieving WAS Results #289

pdreeves opened this issue Mar 25, 2021 · 5 comments
Labels
backlog Issue Backlog enhancement New features/functionality

Comments

@pdreeves
Copy link

Describe the bug
After March 1st, PyTenable is unable to retrieve WAS results from Tenable.io.

To Reproduce
Steps to reproduce the behavior:

  1. Create Tenable.io object tio = TenableIO(access_key="123", secret_key="123")
  2. List scans tio.scans.list(last_modified = since27days)
  3. Oberve that WAS results are not present, but network vuln and asset discovery scans are.

Expected behavior
WAS results be listed in the response to the tio.scans.list call.

System Information (please complete the following information):

  • PyTenable version 1.2.8
@d0n601
Copy link

d0n601 commented May 21, 2021

Tenable changed their API for WAS scans some months ago. This is also the reason that once you cut over to the new user interface, the old UI becomes archive only (the old UI hit the old API endpoints).

To get WAS scan results the endpoint is now https://cloud.tenable.com/was/v2/scans, see docs here.

Basically, I don't think PyTenable is updated to support interacting with WAS scans (launching, configuring, retrieving, etc).

@levwais
Copy link
Contributor

levwais commented Jun 23, 2021

@pdreeves - is the suggestion by @d0n601 fix your issue? can I close this issue?
if not, can you please add more details if this still happens?
thanks.

@levwais levwais added the need_more_details Current state of the issue is unclear label Jun 23, 2021
@pdreeves
Copy link
Author

@levwais Yes, that worked and we updated our Lambda function to use the new API. If you want to close this issue that's fine. I just wanted to report that PyTenable was unable to retrieve WAS results. Thank you!

@SteveMcGrath
Copy link
Contributor

pyTenable was written to interface to the old v1 endpoints, which have been depricated. It's on our roadmap to support v2

@SteveMcGrath SteveMcGrath added backlog Issue Backlog enhancement New features/functionality and removed need_more_details Current state of the issue is unclear labels Sep 22, 2021
@SteveMcGrath
Copy link
Contributor

Duplicate of #310

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issue Backlog enhancement New features/functionality
Projects
None yet
Development

No branches or pull requests

4 participants