-
Notifications
You must be signed in to change notification settings - Fork 172
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
Added support for TenableAD profile APIs #484
Conversation
tenable/ad/profiles/api.py
Outdated
... directories=[1, 2] | ||
... ) | ||
''' | ||
payload = [self._schema.dump({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should load the schema before dumping to perform validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated request payload with schema.load
before dumping.
tenable/ad/profiles/api.py
Outdated
... name='EDITED' | ||
... ) | ||
''' | ||
payload = self._schema.dump(kwargs) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should load the schema before dumping to perform validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated request payload with schema.load
before dumping.
tenable/ad/profiles/api.py
Outdated
... directories=[1, 2] | ||
... ) | ||
''' | ||
payload = self._schema.dump({ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should load the schema before dumping to perform validation.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated request payload with schema.load
before dumping.
Addressed review comments
95e529e
to
52b0952
Compare
Description
Added
Tenable.AD profile APIs
updated docs to support profile api details
Fixes # (issue)
Type of change
Please delete options that are not relevant.
How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration
Test Configuration:
Checklist: