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
asset_tag_filters() is not under tio.tags, but tio.filters
To Reproduce
python -c '
import os
from tenable.io import TenableIO
akey = os.environ["PYTEN_AKEY"]
skey = os.environ["PYTEN_SKEY"]
tio = TenableIO(akey, skey)
for filt in tio.tags.asset_tag_filters():
print(filt)
'
Traceback (most recent call last):
File "<string>", line 8, in <module>
AttributeError: 'TagsAPI' object has no attribute 'asset_tag_filters'
Expected behavior
python -c '
import os
from tenable.io import TenableIO
akey = os.environ["PYTEN_AKEY"]
skey = os.environ["PYTEN_SKEY"]
tio = TenableIO(akey, skey)
for filt in tio.filters.asset_tag_filters():
print(filt)
'
tenable_uuid
mac_address
netbios_name
fqdn
operating_system
property_list
aws_ec2_instance_id
aws_ec2_instance_ami_id
aws_owner_id
aws_region
[...]
Screenshots
If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):
OS: PopOS 22.04
Architecture 64bit
Version Python 3.11.2, PyTenable 1.4.16
The text was updated successfully, but these errors were encountered:
Describe the bug
Documentation bug at https://pytenable.readthedocs.io/en/stable/api/io/filters.html
asset_tag_filters() is not under tio.tags, but tio.filters
To Reproduce
Expected behavior
Screenshots
If applicable, add screenshots to help explain your problem.
System Information (please complete the following information):
The text was updated successfully, but these errors were encountered: