Skip to content

Commit

Permalink
Addresses splunk-appinspect errors
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Kasaboski committed Oct 23, 2024
1 parent 0e71293 commit 3b47cb0
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ venv:
clean:
@echo "Removing venv. Don't forget to deactivate..."
@rm -rf venv
@./generate-dependencies --cleanup
@echo "Done."

.PHONY: package
Expand Down
10 changes: 10 additions & 0 deletions flare_splunk_integration/README
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# Flare Splunk Integration

This application requires an **API key** and your **tenant ID** from https://app.flare.io.

1. Log into your account at https://app.flare.io/#/login.
2. Once logged in go to your Profile page, look for the "API Keys" section and create an API key.
3. Copy your API key using the provided copy icon.
4. Paste your API key in the Flare Splunk Integration configuration screen in the API Key field.
5. Again, back on the Profile page of your account, you will see a Tenants section.
6. Copy your tenant ID and paste it in the Tenant ID field on the configuration screen.
3 changes: 3 additions & 0 deletions flare_splunk_integration/default/app.conf
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,6 @@ supported_themes = light, dark
author = Flare Systems
description =
version = 1.0.0

[triggers]
reload.flare = simple
2 changes: 2 additions & 0 deletions generate-dependencies
Original file line number Diff line number Diff line change
Expand Up @@ -73,5 +73,7 @@ pip install --target "${SPLUNK_VENDOR_FOLDER}" -r requirements.txt

log "Deleting the dist-info, bin and __pycache__ folders"
find "${SPLUNK_VENDOR_FOLDER}" -type d -name "*.dist-info" -exec rm -r {} +
find "${SPLUNK_VENDOR_FOLDER}" -type d -name "*.pyc" -exec rm -r {} +
find "${SPLUNK_VENDOR_FOLDER}" -type d -name "*.pyo" -exec rm -r {} +
rm -rf "${SPLUNK_VENDOR_FOLDER:?}/bin"
rm -rf "${SPLUNK_VENDOR_FOLDER}/__pycache__"

0 comments on commit 3b47cb0

Please sign in to comment.