Skip to content

Commit 4b7010e

Browse files
romann-csjshcodes
authored andcommitted
allow "us-gov-2" CS_CLOUD env variable
1 parent d37213e commit 4b7010e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/falconpy/_util/_functions.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,7 @@ def confirm_base_url(provided_base: Optional[str] = "https://api.crowdstrike.com
799799
try:
800800
if "://" not in provided_base:
801801
# They're passing the name instead of the URL
802-
dashed_bases = ["US-1", "US-2", "EU-1", "US-GOV-1"]
802+
dashed_bases = ["US-1", "US-2", "EU-1", "US-GOV-1", "US-GOV-2"]
803803
if provided_base.upper() in dashed_bases:
804804
provided_base = provided_base.replace("-", "") # Strip the dash
805805
try:

0 commit comments

Comments
 (0)