Skip to content
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

[Backport 8.x] Add IP Location APIs #3355

Merged
merged 1 commit into from
Dec 18, 2024
Merged

[Backport 8.x] Add IP Location APIs #3355

merged 1 commit into from
Dec 18, 2024

Conversation

github-actions[bot]
Copy link
Contributor

Backport dae081f from #3107.

* Add IP Location APIs

* Rename these files

* Reword this description

* Handle ipinfo in addition to maxmind

* A slightly more faithful alternative approach

* Remove accidentally-added line

* A more-correct implementation of the second approach

* Another approach using @Variants container

* Fix IP location APIs

* Update specification/ingest/get_ip_location_database/GetIpLocationDatabaseResponse.ts

Co-authored-by: Laura Trotta <[email protected]>

* Update specification/ingest/get_ip_location_database/GetIpLocationDatabaseResponse.ts

Co-authored-by: Quentin Pradet <[email protected]>

* Fix an import

and then make generate, etc

* Remove unused import

---------

Co-authored-by: Joe Gallo <[email protected]>
Co-authored-by: Laura Trotta <[email protected]>
(cherry picked from commit dae081f)
@pquentin pquentin closed this Dec 18, 2024
@pquentin pquentin reopened this Dec 18, 2024
Copy link
Contributor Author

Following you can find the validation results for the APIs you have changed.

API Status Request Response
ingest.delete_geoip_database 🟢 1/1 1/1
ingest.delete_ip_location_database 🟢 1/1 1/1
ingest.delete_pipeline 🟢 15/15 15/15
ingest.geo_ip_stats 🟢 1/1 1/1
ingest.get_geoip_database 🟢 6/6 6/6
ingest.get_ip_location_database 🟢 7/7 7/7
ingest.get_pipeline 🟢 22/22 22/22
ingest.processor_grok 🟢 1/1 1/1
ingest.put_geoip_database 🟢 3/3 3/3
ingest.put_ip_location_database 🟢 4/4 4/4
ingest.put_pipeline 🟢 60/60 60/60
ingest.simulate 🟢 10/10 10/10

You can validate these APIs yourself by using the make validate target.

@pquentin pquentin merged commit 9dcddc6 into 8.x Dec 18, 2024
7 checks passed
@pquentin pquentin deleted the backport-3107-to-8.x branch December 18, 2024 12:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant