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
Xdr ioc not pushed #30039
Xdr ioc not pushed #30039
Conversation
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.
Looks good!
#### Integrations | ||
##### Cortex XDR - IOC | ||
|
||
- Added a validation for pushed indicators, using ***xdr-ioc-push*** command. |
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.
return {'data': json.dumps({"request_data": _json})} | ||
data = {"request_data": _json} | ||
if validate: | ||
data['validate'] = True |
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.
This flag basically tells the API to return validation error info?
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.
yes
Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
* save adding validation * save rn * fix test * fix ruff * changed to warning * changed to warning * save rn * Update Packs/CortexXDR/ReleaseNotes/5_1_9.md Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com> * Apply suggestions from code review Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com> * update docstring --------- Co-authored-by: Shahaf Ben Yakir <44666568+ShahafBenYakir@users.noreply.github.com>
Status
Related Issues
fixes: https://jira-hq.paloaltonetworks.local/browse/XSUP-28613
Description
Added validation to tell the customer that validation failed and some iocs not pushed.
Must have