We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello,
thanks for the rewrite!
I try to get new version running. I installed it in a Conda 3.12 environment, copied the config template and added my tenable/jira keys/tokens.
When I now run the validate I get an error I don't unterstand.
❯ tenb2jira validate ./config.toml (jira-tenable) tenable.platform: Input should be 'tvm' or 'tsc' 'tvm' ╭─────────────────────────────── Traceback (most recent call last) ────────────────────────────────╮ │ /opt/homebrew/Caskroom/miniconda/base/envs/jira-tenable/lib/python3.12/site-packages/tenb2jira/c │ │ li.py:95 in validate │ │ │ │ 92 │ errors = validator.validate(config) │ │ 93 │ if errors: │ │ 94 │ │ for error in errors: │ │ ❱ 95 │ │ │ location = '.'.join(error.get('loc', [])) │ │ 96 │ │ │ data = tomlkit.dumps(error.get('input')) │ │ 97 │ │ │ console.print(f'{location}: {error.get("msg")}') │ │ 98 │ │ │ console.print(data) │ │ │ │ ╭─────────────────────────────────────────── locals ───────────────────────────────────────────╮ │ │ │ config = {'tenable': {'platform': 'tvm', 'access_key':
What could be wrong in my config or is this a problem with the validator?
Thanks Jan
The text was updated successfully, but these errors were encountered:
It appears it's not properly handling the situations where there is a limited number of valid choices. looking into it.
Sorry, something went wrong.
Found the issue & corrected it. 2.0.1 should be out later today with the fixes.
No branches or pull requests
Hello,
thanks for the rewrite!
I try to get new version running. I installed it in a Conda 3.12 environment, copied the config template and added my tenable/jira keys/tokens.
When I now run the validate I get an error I don't unterstand.
Details
What could be wrong in my config or is this a problem with the validator?
Thanks
Jan
The text was updated successfully, but these errors were encountered: