feat: add QualiTorque provider for environment lifecycle alerts#6217
Open
chengyixu wants to merge 1 commit intokeephq:mainfrom
Open
feat: add QualiTorque provider for environment lifecycle alerts#6217chengyixu wants to merge 1 commit intokeephq:mainfrom
chengyixu wants to merge 1 commit intokeephq:mainfrom
Conversation
Adds a new QualiTorque (Torque) provider that supports both webhook (push) and REST API (pull) modes for receiving environment lifecycle notifications. - Webhook mode: receives notifications from Torque for environment events (launch, deploy, error, drift, teardown, etc.) - Pull mode: polls Torque API for environments in error/warning states - Maps 12 Torque environment statuses to Keep severity/status levels - Handles multiple webhook payload formats (environment_*, sandbox_*, etc.) - Includes 30 unit tests covering format_alert, validate_scopes, get_alerts - Adds provider documentation and mint.json navigation entry Closes keephq#5073 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
Adds a new QualiTorque (Torque) provider that integrates Keep with QualiTorque's cloud infrastructure automation platform. Closes #5073.
Features:
_format_alert,validate_scopes,_get_alerts, severity/status mappings, and edge casesFiles changed:
keep/providers/qualitorque_provider/— Provider implementationtests/providers/qualitorque_provider/— Unit testsdocs/providers/documentation/qualitorque-provider.mdx— Documentationdocs/mint.json— Navigation entryTest plan
pytest tests/providers/qualitorque_provider/)/alerts/event/qualitorquewith sample payload creates an alert/claim #5073
🤖 Generated with Claude Code