Remove Palo Alto Cortex XDR integration from main codebase#101
Merged
Remove Palo Alto Cortex XDR integration from main codebase#101
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>
Copilot
AI
changed the title
[WIP] Move PaloAlto Cortex XDR code to its own development branch
Remove Palo Alto Cortex XDR integration from main codebase
Oct 13, 2025
Contributor
There was a problem hiding this comment.
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 |
Comments suppressed due to low confidence (1)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.