Skip to content

Commit

Permalink
Build break fix for splunk SDK (#760)
Browse files Browse the repository at this point in the history
* Updated conda reqs files for new packages

* Updating version to 2.11

* Fix for missing label in RDAP data

* Fix for missing 'label' item in RDAP data

* Fixing dependency break for splunk v 2.0.0
Also minor bug in secret_settings.py for malformed secret name
  • Loading branch information
ianhelle authored Mar 25, 2024
1 parent 515b005 commit b3daf13
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion conda/conda-reqs-pip.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,4 @@ mo-sql-parsing>=8, <9.0.0
nest_asyncio>=1.4.0
passivetotal>=2.5.3
sumologic-sdk>=0.1.11
splunk-sdk>=1.6.0
splunk-sdk>=1.6.0,!=2.0.0
2 changes: 1 addition & 1 deletion msticpy/auth/secret_settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ def _get_kv_vault_and_name(
return def_vault_name, secret_name
if "/" in kv_val:
# '/' delimited string means VaultName/Secret
vault_name, secret_name = kv_val.split("/")
vault_name, secret_name = kv_val.split("/", maxsplit=1)
return vault_name, self.format_kv_name(secret_name)
if not def_vault_name:
raise MsticpyKeyVaultConfigError(
Expand Down
2 changes: 1 addition & 1 deletion requirements-all.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ pyyaml>=3.13
scikit-learn>=1.0.0
scipy>=1.1.0
setuptools>=40.6.3
splunk-sdk>=1.6.0
splunk-sdk>=1.6.0,!=2.0.0
statsmodels>=0.11.1
sumologic-sdk>=0.1.11
tldextract>=2.2.2
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _combine_extras(extras: list) -> list:
EXTRAS = {
"dev": INSTALL_DEV_REQUIRES,
"vt3": ["vt-py>=0.18.0", "vt-graph-api>=2.0"],
"splunk": ["splunk-sdk>=1.6.0"],
"splunk": ["splunk-sdk>=1.6.0,!=2.0.0"],
"sumologic": ["sumologic-sdk>=0.1.11", "openpyxl>=3.0"],
"kql": ["KqlmagicCustom[jupyter-extended]>=0.1.114.post22"],
"_azure_core": [
Expand Down

0 comments on commit b3daf13

Please sign in to comment.