-
Notifications
You must be signed in to change notification settings - Fork 2
rewrite: splunk app v2 #110
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
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
43de046
rewrite: splunk app v2
xvaier a28fd54
Clean up codebase and fix build/test steps (#111)
xvaier 18333c0
Apply suggestions from code review
xvaier 808fb8d
Potential fix for pull request finding 'CodeQL / Workflow does not co…
xvaier 37787d3
format: fix formatting errors in pipeline
xvaier 5c4f1bf
publish: refactor package so that it builds correctly
xvaier d00e825
publish: rename splunk app so that it doesn't have a naming collision…
xvaier File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,33 +1,23 @@ | ||
| # EditorConfig is awesome: https://editorconfig.org | ||
| # EditorConfig helps developers define and maintain consistent | ||
| # coding styles between different editors and IDEs | ||
| # http://editorconfig.org | ||
|
|
||
| # top-most EditorConfig file | ||
| root = true | ||
|
|
||
| # Unix-style newlines with a newline ending every file | ||
| [*] | ||
| end_of_line = lf | ||
| insert_final_newline = true | ||
|
|
||
| # Matches multiple files with brace expansion notation | ||
| # Set default charset | ||
| [*.{js,py}] | ||
| charset = utf-8 | ||
|
|
||
| # 4 space indentation | ||
| [*.py] | ||
| # Change these settings to your own preference | ||
| indent_style = space | ||
| indent_size = 4 | ||
|
|
||
| # Tab indentation (no size specified) | ||
| [Makefile] | ||
| indent_style = tab | ||
| # We recommend you to keep these unchanged | ||
| end_of_line = lf | ||
| charset = utf-8 | ||
| trim_trailing_whitespace = true | ||
| insert_final_newline = true | ||
|
|
||
| # Indentation override for all JS under lib directory | ||
| [lib/**.js] | ||
| indent_style = space | ||
| indent_size = 4 | ||
| [*.md] | ||
| trim_trailing_whitespace = false | ||
|
|
||
| # Matches the exact files either package.json or .travis.yml | ||
| [{package.json,.travis.yml}] | ||
| indent_style = space | ||
| [*.json] | ||
| indent_size = 2 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,26 +1,31 @@ | ||
| name: Publish Splunk Application to Splunkbase | ||
|
|
||
| on: | ||
| release: | ||
| types: [published] | ||
| release: | ||
| types: [published] | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout codebase | ||
| uses: actions/checkout@v4 | ||
| publish: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Checkout codebase | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.9' | ||
|
|
||
| - name: Set up Python | ||
| uses: actions/setup-python@v5 | ||
| with: | ||
| python-version: '3.9' | ||
| - name: Install pnpm | ||
| uses: pnpm/action-setup@v4 | ||
|
|
||
| - name: Install Application Dependencies | ||
| run: | | ||
| make build | ||
| - name: Build and package | ||
| run: | | ||
| make package | ||
|
|
||
| - name: Package and Publish | ||
| run: | | ||
| make package | ||
| SPLUNKBASE_CREDS='${{ secrets.SPLUNKBASE_CREDS }}' make publish | ||
| - name: Publish to Splunkbase | ||
| run: | | ||
| SPLUNKBASE_CREDS='${{ secrets.SPLUNKBASE_CREDS }}' make publish | ||
|
github-advanced-security[bot] marked this conversation as resolved.
Fixed
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,24 +1,34 @@ | ||
| *.DS_Store | ||
| flare.tar.gz | ||
| venv | ||
| venv-tools | ||
| packages/flare/local | ||
| packages/flare/metadata/local.meta | ||
| __pycache__/ | ||
| .vscode/ | ||
|
|
||
| packages/flare/bin/vendor/* | ||
| .DS_Store | ||
| .idea/ | ||
| lerna-debug.log | ||
| node_modules | ||
| npm-debug.log | ||
| test-reports | ||
| coverage_report | ||
| yarn-error.log | ||
| pnpm-debug.log | ||
| licenses.json | ||
| functional-temp | ||
| splunktional-temp | ||
|
|
||
| output/ | ||
| logs/ | ||
| # Build output | ||
| dist/ | ||
| build/ | ||
| venv-tools/ | ||
| packages/flare/stage/ | ||
|
|
||
| # OS files | ||
| desktop.ini | ||
|
|
||
| # Python / Splunk | ||
| __pycache__/ | ||
| .mypy_cache/ | ||
| .pytest_cache/ | ||
| *.py[cod] | ||
| local/ | ||
| *local.meta | ||
| *.log | ||
| packages/flare/src/main/resources/splunk/bin/lib | ||
|
|
||
| # Environment variables | ||
| .env | ||
| .env.local | ||
|
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,27 @@ | ||
| # Dependencies and Python tooling | ||
| node_modules/ | ||
| venv-tools/ | ||
| .mypy_cache/ | ||
| .pytest_cache/ | ||
|
|
||
| # Build output and CI artifacts | ||
| dist/ | ||
| build/ | ||
| packages/flare/stage/ | ||
| packages/*/types/ | ||
| packages/configuration/*.js | ||
| coverage_report/ | ||
| test-reports/ | ||
| functional-temp/ | ||
| splunktional-temp/ | ||
|
|
||
| # Lockfiles and generated reports | ||
| pnpm-lock.yaml | ||
| licenses.json | ||
|
|
||
| # Vendored Python dependencies | ||
| packages/flare/src/main/resources/splunk/bin/lib/ | ||
|
|
||
| # Splunk runtime / local state | ||
| **/local/ | ||
| *.log |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -24,6 +24,7 @@ ignore = [ | |
| "E722", | ||
| "F403", | ||
| "F405", | ||
| "E402", | ||
| ] | ||
|
|
||
| [lint.isort] | ||
|
|
||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,13 @@ | ||
| # Change Log | ||
|
|
||
| ## 1.0.0 – 2026‑05‑28 | ||
|
|
||
| - Added **tenant filter** support in the Search UI. | ||
| - Introduced **Application Logs** and **Dashboard Charts** tabs for richer visualisation of events. | ||
| - Added configuration options: | ||
| - Ingestion interval selector. | ||
| - “Ingest full event data” checkbox to toggle between metadata‑only and full payload. | ||
| - Implemented **dynamic links** from the result table to the corresponding Flare event in the Flare UI. | ||
| - Improved tenant extraction and filtering across search results and dashboards. | ||
| - Refreshed documentation to describe the new UI tabs and configuration options. | ||
| - Migrated workspace dependency management from Yarn to pnpm for improved performance and reliability. |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.