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

Tag creation method does not accurately reflect the option in the Tag API #732

Open
dworkman1 opened this issue Oct 23, 2023 · 1 comment
Labels
Tenable.io Tenable.io Package upstream-api The issue is related to the calling API or API Docs

Comments

@dworkman1
Copy link

Describe the bug
Currently when trying to create a tag in Tenable using the AWS Region filter I cannot use all of the regions that are currently in the Tenable UI. I instead get the following error: (<class 'restfly.errors.UnexpectedValueError'>, 'filter_value has value of me-central-1. Expected one of ap-south-1,ap-northeast-1,ap-northeast-2,ap-southeast-1,ap-southeast-2,sa-east-1,eu-central-1,eu-west-1,eu-west-2,eu-west-3,ca-central-1,us-east-1,us-east-2,us-west-1,us-west-2', <traceback object at 0x103c043c0>)

To Reproduce
Steps to reproduce the behavior:

  1. Using create tags method (ie. tio.tags.create) submit a request with a filter trying to to set "AWS Region" (using the proper name of the filter in the SDK) to "me-central-1".
  2. You will receive the error in the bug description.

Expected behavior
A tag is created like happens in the API.

System Information (please complete the following information):

  • System agnostic (this happens in both Windows and Linux).
@SteveMcGrath
Copy link
Contributor

SteveMcGrath commented Feb 12, 2024

Sadly this is an issue with the upstream API within TVM itself. The filter values that are allowed are pulled from the tag filters API here:

https://developer.tenable.com/reference/tags-list-asset-filters

@SteveMcGrath SteveMcGrath added Tenable.io Tenable.io Package upstream-api The issue is related to the calling API or API Docs labels Feb 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tenable.io Tenable.io Package upstream-api The issue is related to the calling API or API Docs
Projects
None yet
Development

No branches or pull requests

2 participants