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
Im using an unpinned threatstack version, but i tried to rebuild today and saw that user_id is now required.
user_id
I dont see any documentation around anything else thats changed, but :
>>> import os >>> from threatstack import ThreatStack >>> threatstack_api_key=os.getenv('api_key') >>> threatstack_org_id=os.getenv('org_id') >>> threatstack_user_id=os.getenv('user_id') >>> threatstack_client = ThreatStack(api_key=threatstack_api_key, org_id=threatstack_org_id, user_id=threatstack_user_id) >>> threatstack_client.servers.list(non_monitored=True) Traceback (most recent call last): File "<stdin>", line 1, in <module> AttributeError: 'Client' object has no attribute 'servers'
The text was updated successfully, but these errors were encountered:
Also Ive found the new methods:
>>> for server in threatstack_client.ec2servers.list(monitored=False): ... print(server['id']) ... i-...
but its quite surprising to pin to a minor version and find breaking changes from a major semver bump under the hood
Sorry, something went wrong.
No branches or pull requests
Im using an unpinned threatstack version, but i tried to rebuild today and saw that
user_id
is now required.I dont see any documentation around anything else thats changed, but :
The text was updated successfully, but these errors were encountered: