Skip to content

Commit

Permalink
[Rule Migration] Add PackageClient to fetch integrations (elastic#207197
Browse files Browse the repository at this point in the history
)

## Summary

Awaiting the changes to the EPR API to include datasets we temporarily
included a JSON file to simulate the expected outcome so we could move
forward while waiting.

Since the changes is now done, the calls to
https://epr.elastic.co/search? now returns data_streams in their
responses so this PR replaces the temp JSON with the proper
PackageClient implementation.

Tested a few migrations with both prebuilt rule matches and without, and
seems to be working as intended. The integration count also seems to be
consistent with what to be expected.
  • Loading branch information
P1llus authored Jan 21, 2025
1 parent 8050089 commit 1e5abbe
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 6,916 deletions.
Loading

0 comments on commit 1e5abbe

Please sign in to comment.