You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
New repositories with types IPv4 and IPv6 can be created using name, description, ipRange, format.
With type universal that is not the case. Even though Tenable API documentation implies that the repositories behave the same.
Call TenableSC.repositories.create(name="Test universal",description="Some test universal",format="universal")
On second call get error, that "trendingDays" is not set
See error
Expected behavior
The library should behave the same with IPv4, IPv6 and universal repositories. Defaults set by the library in the former repository dataFormats should be set for the new dataFormat as well.
Screenshots
Sorry, did not add any
System Information (please complete the following information):
Describe the bug
New repositories with types IPv4 and IPv6 can be created using name, description, ipRange, format.
With type universal that is not the case. Even though Tenable API documentation implies that the repositories behave the same.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The library should behave the same with IPv4, IPv6 and universal repositories. Defaults set by the library in the former repository dataFormats should be set for the new dataFormat as well.
Screenshots
Sorry, did not add any
System Information (please complete the following information):
Additional context
Tenable API documentation and PyTenable documentation differ in the description which parameter does have a DEFAULT value / is optional.
The text was updated successfully, but these errors were encountered: