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

Regression on the scan create method #886

Open
madtools opened this issue Feb 19, 2025 · 0 comments · May be fixed by #905
Open

Regression on the scan create method #886

madtools opened this issue Feb 19, 2025 · 0 comments · May be fixed by #905
Labels
backlog Issue Backlog Tenable.sc Tenable.sc Package
Milestone

Comments

@madtools
Copy link

Describe the bug
Since version 1.7.0, it is not possible to create a scan (sc.scans.create method) with max_time 0 (unlimited). The PyTenable library does not convert it to the value "unlimited" as it was done before.

To Reproduce
Steps to reproduce the behavior:
Create a scan, using the sc.scans.create API with a max_time of 0.

Expected behavior
We expect the scan to be created with the Max Scan Time configured to Unlimited

Screenshots
Response received from Security Center:
{"type":"regular","response":"","error_code":146,"error_msg":"The attribute 'maxScanTime' contains the value '0'. It should be between 1 to 120 hours and sent in seconds or 'unlimited'.\n","warnings":[],"timestamp":1739910455}

System Information (please complete the following information):
Security Center version 6.4.0

Additional context
Add any other context about the problem here.

@SteveMcGrath SteveMcGrath added bug This is a bug with the pyTenable library backlog Issue Backlog labels Mar 6, 2025
@SteveMcGrath SteveMcGrath added this to the 1.8 milestone Mar 6, 2025
@SteveMcGrath SteveMcGrath added Tenable.sc Tenable.sc Package and removed bug This is a bug with the pyTenable library labels Mar 6, 2025
@SteveMcGrath SteveMcGrath linked a pull request Mar 31, 2025 that will close this issue
9 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backlog Issue Backlog Tenable.sc Tenable.sc Package
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants