[ENG-2393] Use discovery_monitor endpoint for Okta monitor filtering#7256
Merged
dsill-ethyca merged 5 commits intomainfrom Jan 27, 2026
Conversation
Contributor
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
…or-current-monitor-for-okta
Contributor
Greptile OverviewGreptile SummaryThis PR refactors the integrations page to use a unified endpoint for fetching monitors across all integration types, including Okta. Previously, Okta integrations used a separate deprecated Changes:
The refactoring is clean and reduces technical debt by removing the special-case handling for Okta. Confidence Score: 5/5
Important Files Changed
|
speaker-ender
approved these changes
Jan 27, 2026
Contributor
speaker-ender
left a comment
There was a problem hiding this comment.
Tested and looks good!
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.
Ticket ENG-2393
Description Of Changes
Updated the integrations page to use the
/discovery-monitorendpoint instead of the deprecated/identity-provider-monitorsendpoint when displaying monitors for Okta integrations. The/discovery-monitorendpoint supports filtering byconnection_config_key, which ensures only monitors associated with the selected integration are displayed.Code Changes
useGetIdentityProviderMonitorsQueryfor Okta integrationsuseGetMonitorsByIntegrationQueryfor all monitor types, including OktauseGetIdentityProviderMonitorsQuerySteps to Confirm
/integrations/okta_integration#data-discoveryPre-Merge Checklist
CHANGELOG.mdupdatedmaindowngrade()migration is correct and works