-
Notifications
You must be signed in to change notification settings - Fork 1
Remove Palo Alto Cortex XDR integration from main codebase #101
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
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferences |
Co-authored-by: talltechy <43618761+talltechy@users.noreply.github.com>
Co-authored-by: talltechy <43618761+talltechy@users.noreply.github.com>
Co-authored-by: talltechy <43618761+talltechy@users.noreply.github.com>
Co-authored-by: talltechy <43618761+talltechy@users.noreply.github.com>
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.
Pull Request Overview
This PR removes the Palo Alto Cortex XDR integration from the main codebase to focus the repository exclusively on Rapid7 InsightVM functionality. The XDR code has been preserved in git history for future reference.
- Removed entire
src/paloalto/package containing XDR API client and authentication modules - Updated project documentation to reflect the focused scope on Rapid7 InsightVM only
- Added comprehensive migration guide for users who need to access the removed XDR functionality
Reviewed Changes
Copilot reviewed 7 out of 16 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| tests/conftest.py | Removed XDR-related mock environment variables from test configuration |
| src/paloalto/api_pa_xdr_auth.py | Deleted XDR authentication helper functions and credential loading |
| src/paloalto/api_pa_xdr.py | Deleted main XDR API client with incident, endpoint, and alert management |
| docs/PALOALTO_XDR.md | Added comprehensive migration guide with git history access instructions |
| README.md | Updated project description to remove Palo Alto references |
| CHANGELOG.md | Added breaking change documentation in unreleased section |
| .github/copilot-instructions.md | Updated project overview and structure to remove Palo Alto references |
Overview
This PR removes the Palo Alto Cortex XDR integration from the main codebase to keep the repository focused exclusively on Rapid7 InsightVM functionality. The XDR code has been preserved in git history for future reference or independent development.
Motivation
The InsightVM-Python repository is primarily focused on providing a modern Python client library for Rapid7 InsightVM. Including the Palo Alto Cortex XDR integration in the main codebase:
Changes Made
Removed Files
src/paloalto/__init__.pysrc/paloalto/api_pa_xdr.py- Main XDR API client with incident, endpoint, and alert managementsrc/paloalto/api_pa_xdr_auth.py- XDR authentication helper functionsUpdated Files
XDR_API_KEY,XDR_API_KEY_ID,XDR_BASE_URL)Added Files
559a63eor earlierAccessing the Palo Alto XDR Code
Users who need the Palo Alto Cortex XDR integration can still access it:
Full instructions are available in the new
docs/PALOALTO_XDR.mdfile.Testing
✅ All tests pass successfully:
Benefits
Breaking Changes
Related Issues
Closes: Move the Palo Alto Cortex XDR code to its own development branch
Original prompt
Created from VS Code via the GitHub Pull Request extension.
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.