Skip to content
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

[FR] Add Palo Alto Cortex XDR responder #1103

Closed
joeslazaro-cdw opened this issue Jun 10, 2022 · 2 comments · Fixed by #1123
Closed

[FR] Add Palo Alto Cortex XDR responder #1103

joeslazaro-cdw opened this issue Jun 10, 2022 · 2 comments · Fixed by #1123

Comments

@joeslazaro-cdw
Copy link
Contributor

Feature description
Add a responder to isolate, unisolate, and scan endpoints by their endpoint name or IP address

Describe the solution you'd like
I am writing the responder and will submit a pull request.

Additional context
Related API documents

@EUmbach
Copy link

EUmbach commented Jun 16, 2022

I was just getting ready to do the same thing. Have you seen the Cortex XDR Python Client?

@joeslazaro-cdw
Copy link
Contributor Author

joeslazaro-cdw commented Jun 16, 2022

@SecGIA I did see it after I had already figured out how to use the few API endpoints that I needed for scanning and isolating endpoints. Also, the cortex-xdr-client doesn't currently support advanced security API keys, which require "x-xdr-timestamp" and "x-xdr-nonce" headers to be generated dynamically for each request.

The ideal thing to do would probably be to submit a PR to the cortex-xdr-client project to add support for advanced API keys, but I was in a hurry to get something working. The code should be mostly done except for a bug when running unisolate, but I have put this aside for now.

You can see my latest code here: https://github.com/joeslazaro-cdw/Cortex-Analyzers/tree/jl/pa-cortex-xdr-responder/responders/PaloAltoCortexXDR

If you need more of the functionality from the Python lib than I would be using, then you're welcome to build your own version of the responder and submit it on this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants