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

New Datasource: IP Ranges #82

Open
userbradley opened this issue May 11, 2022 · 4 comments
Open

New Datasource: IP Ranges #82

userbradley opened this issue May 11, 2022 · 4 comments
Labels
enhancement New feature or request

Comments

@userbradley
Copy link

Howdy!

Cloudflare has what I'm looking for from you guys, basically a datasource I can use that just spits out a list of IP address' you're currently using

It's not too complex from the looks of it, just a call to the text file list, and then expose it as a List.

Link to cloudflare Implementation - this should be less painful now that there is a text file specifically with these IP's Resolved here

Let me know!

@korenyoni korenyoni added the enhancement New feature or request label Sep 14, 2022
@korenyoni
Copy link
Contributor

Neat idea, but I'm just wondering if that list can be relied on as a source of truth. Ideally it would be some API endpoint that spits out those IPv4 addresses, which we don't have AFAIK.

@userbradley
Copy link
Author

Hmm, I think the API endpoint implementation is simple, on GCP at least it's just a case of calling the compute API for IP address with the tag 'public_use'

Have a look here too, someone did something pretty similar for bitbucket

link

apologies for formatting, on the mobile app

@korenyoni
Copy link
Contributor

korenyoni commented Sep 15, 2022

@userbradley

Ah, yes you were referring to this text file: https://codefresh.io/docs/docs/administration/cf-ip4.txt

Not as pretty as the endpoint https://ip-ranges.atlassian.com/ in the BitBucket provider above. But okay, yes. I'll try and get this into the 0.1.0 release we have planned.

@userbradley
Copy link
Author

You ledge! Thanks!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants