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

Force Python 3.9 since that's what we need for our scripts to run #80

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ package: packages/flare/bin/vendor

.PHONY: publish
publish: output/flare.tar.gz
curl -u "$(SPLUNKBASE_CREDS)" --request POST https://splunkbase.splunk.com/api/v1/app/7602/new_release/ -F "files[]=@./output/flare.tar.gz" -F "filename=flare.tar.gz" -F "splunk_versions=9.3" -F "visibility=true"
curl -u "$(SPLUNKBASE_CREDS)" --request POST https://splunkbase.splunk.com/api/v1/app/7602/new_release/ -F "files[]=@./output/flare.tar.gz" -F "filename=flare.tar.gz" -F "splunk_versions=9.4" -F "visibility=true"

.PHONY: validate
validate: venv-tools
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

## Requirements

At the time of this writing, Splunk Enterprise is at version 9.3.0. This version of splunk requires Python v3.9.
At the time of this writing, Splunk Enterprise is at version 9.4.0. This version of splunk requires Python v3.9.

## Installation

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[script://$SPLUNK_HOME/etc/apps/flare/bin/cron_job_ingest_events.py]
interval = 0 0 1 1 *
python.version = python3
python.version = python3.9
index = flare
source = flare
sourcetype = flare_json
Expand Down
8 changes: 4 additions & 4 deletions packages/flare/src/main/resources/splunk/default/restmap.conf
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
[script:flare_external_requests_api_key_validation]
match=/fetch_api_key_validation
handler=flare_external_requests.FlareValidateApiKey
python.version = python3
python.version = python3.9

[script:flare_external_requests_user_tenants]
match=/fetch_user_tenants
handler=flare_external_requests.FlareUserTenants
python.version = python3
python.version = python3.9

[script:flare_external_requests_severity_filters]
match=/fetch_severity_filters
handler=flare_external_requests.FlareSeverityFilters
python.version = python3
python.version = python3.9

[script:flare_external_requests_source_type_filters]
match=/fetch_source_type_filters
handler=flare_external_requests.FlareSourceTypeFilters
python.version = python3
python.version = python3.9
4 changes: 2 additions & 2 deletions requirements.tools.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
pytest==8.3.2
mypy==1.12.1
ruff==0.7.0
splunk-appinspect==3.8.0
splunk-appinspect==3.9.1
isort==5.13.2
freezegun==1.5.1
freezegun==1.5.1
Loading