tenable / Tenable.io-SDK-for-Python

Tenable.io SDK offers a scalable and safe way to integrate with the Tenable.io platform.
MIT License
83 stars 35 forks source link

workbench asset_activity date range #104

Closed Apipia closed 6 years ago

Apipia commented 6 years ago

Unless I missed something, I can see that the Tenable.io-SDK-for-Python/tenable_io/api/workbenches.py asset_activity function does not specify a daterange. However, in the UI, I can clearly see one. https://cloud.tenable.com/workbenches/assets//activity?date_range=30

Other functions in the same class "WorkbenchesAPI" have a date range.

tenableAndrew commented 6 years ago

I believe this is a bug in the UI.

The workbenches/assets/{asset_uuid}/activity endpoint does not actually accept a date_range param, so while the UI defaults to send the same date range used to filter the workbench list of assets, this range is not actually used to limit the activity response. All activity events should be returned from this endpoint regardless of params supplied.