-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Update RSANetWitnessv115.py with fetch alerts api call #37261
base: contrib/adit-ghildiyal_master
Are you sure you want to change the base?
Update RSANetWitnessv115.py with fetch alerts api call #37261
Conversation
Update RSANetWitnessv115.py with fetch alerts api call
Thank you for your contribution. Your generosity and caring are unrivaled! Make sure to register your contribution by filling the Contribution Registration form, so our content wizard @amshamah419 will know the proposed changes are ready to be reviewed. |
Hi @adit-ghildiyal, thanks for contributing to the XSOAR marketplace. To receive credit for your generous contribution please follow this link. |
}) | ||
|
||
response = self._http_request( | ||
'GET', f'rest/api/alert/fetch', data=data |
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.
'GET', f'rest/api/alert/fetch', data=data | |
'GET', 'rest/api/alert/fetch', data=data |
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.
Hi @adit-ghildiyal thanks for your contribution! Do you have some documentation about the API endpoint change?
Also, we should bump the pack version when making changes. You can do this via the demisto-sdk by running demisto-sdk update-release-notes -i Packs/RSANetWitness_v11_1
@@ -91,10 +91,23 @@ def incident_add_journal_entry_request(self, id_: str | None, author, notes: str | |||
|
|||
def incident_list_alerts_request(self, page_size: str | None, page_number: str | None, id_: str | None) -> dict: | |||
params = assign_params(pageNumber=page_number, pageSize=page_size) |
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.
Did they change the API endpoint here? I ask because it looks like we are no longer using the page_number and page_size arguments. If the new endpoint supports it, we should try and keep this functionality.
Update RSANetWitnessv115.py with fetch alerts api call
Contributing to Cortex XSOAR Content
Make sure to register your contribution by filling the contribution registration form
The Pull Request will be reviewed only after the contribution registration form is filled.
Status
Related Issues
fixes: link to the issue
Description
A few sentences describing the overall goals of the pull request's commits.
Must have