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

[ENH] download_sensor.py / ability to choose base_url #1187

Open
nesies opened this issue Jun 20, 2024 · 2 comments
Open

[ENH] download_sensor.py / ability to choose base_url #1187

nesies opened this issue Jun 20, 2024 · 2 comments
Assignees
Labels
code samples Functioning sample code to get you started enhancement 🌟 New feature or request sensor download Sensor download issues and questions

Comments

@nesies
Copy link

nesies commented Jun 20, 2024

Describe the bug
the script do not allow to choose the base_url.
The default is US1 https://api.crowdstrike.com

To Reproduce

Expected behavior
be able to choose the api

US1   https://api.crowdstrike.com
US2   https://api.us-2.crowdstrike.com
EU1    https://api.eu-1.crowdstrike.com
USGOV1	https://api.laggar.gcw.crowdstrike.com
@nesies nesies added the bug 🐛 Something isn't working label Jun 20, 2024
@jshcodes
Copy link
Member

Hello @nesies - Is this a GovCloud scenario? Base URL selection should not be required for commercial cloud customers using FalconPy v0.8.6+ due to Cloud Region Autodiscovery.

Are you receiving an error related to the Base URL when executing this sample?

@jshcodes jshcodes added question ❓ Further information is requested sensor download Sensor download issues and questions and removed bug 🐛 Something isn't working labels Jun 20, 2024
@jshcodes jshcodes self-assigned this Jun 20, 2024
@jshcodes jshcodes added enhancement 🌟 New feature or request code samples Functioning sample code to get you started and removed question ❓ Further information is requested labels Jun 26, 2024
@ACh0wdhury
Copy link

We've ran into similar issue & was able to resolve it by updating the base_url (line 75) in _legacy.py file located under \lib\site-package\falconpy\api_complete

Looking at the falconpy documentation looks like there are other ways to update the url: https://www.falconpy.io/Usage/Environment-Configuration.html

You can try out the steps in that article as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code samples Functioning sample code to get you started enhancement 🌟 New feature or request sensor download Sensor download issues and questions
Projects
None yet
Development

No branches or pull requests

3 participants