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

[ BUG ] Missing "--base_url" argument for many scripts #1181

Open
cobdev opened this issue Jun 7, 2024 · 1 comment
Open

[ BUG ] Missing "--base_url" argument for many scripts #1181

cobdev opened this issue Jun 7, 2024 · 1 comment
Assignees
Labels
code samples Functioning sample code to get you started enhancement 🌟 New feature or request

Comments

@cobdev
Copy link

cobdev commented Jun 7, 2024

Describe the bug
It looks like most scripts lack the --base_url / -b argument capability for those who are in GovCloud. Currently, there isn't a way to consistently use falconpy to connect to "api.laggar.gcw.crowdstrike.com" rather than "api.crowdstrike.com".

To Reproduce
See "get_host_groups.py" for an example of a script without the "--base_url" capability:
https://github.com/CrowdStrike/falconpy/blob/main/samples/hosts/get_host_groups.py

Expected behavior
See "proxytool_3.4.py" for an example of a script that does have the "--base_url" capability:
https://github.com/CrowdStrike/falconpy/blob/main/samples/proxytool/proxytool_3.4.py

Environment (please complete the following information):

  • OS: Windows 11 Enterprise, build 23H2
  • Python: 3.12.4
  • FalconPy: 1.4.4
@cobdev cobdev added the bug 🐛 Something isn't working label Jun 7, 2024
@jshcodes jshcodes added enhancement 🌟 New feature or request and removed bug 🐛 Something isn't working labels Jun 28, 2024
@jshcodes
Copy link
Member

Hi @cobdev -

Thank you for reporting this issue! We are in the process of adding new functionality to several of our samples, and will make sure that this functionality is also included. We will leave this ticket open to track these changes.

@jshcodes jshcodes added the code samples Functioning sample code to get you started label Jun 28, 2024
@jshcodes jshcodes self-assigned this Jun 28, 2024
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
Projects
None yet
Development

No branches or pull requests

2 participants