Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
e8cb2a4
feat: mTLS for Splunk 10 (#1197)
ikheifets-splunk Jun 10, 2025
e15d414
chore(release): 1.13.0-beta.1
srv-rr-github-token Jun 10, 2025
0324bbb
chore(deps): update docker/login-action action to v3.4.0 (#1166)
renovate[bot] Jun 10, 2025
dd39338
fix: python and dependency update (#1200)
ajasnosz Jun 10, 2025
463e4ea
chore(release): 1.13.0-beta.2
srv-rr-github-token Jun 10, 2025
c911e7a
chore: add missing sudo in integration test script (#1207)
omrozowicz-splunk Jun 23, 2025
b9a0294
chore: update microk8s (#1206)
omrozowicz-splunk Jun 24, 2025
c3dd6c3
chore(deps): update dependency urllib3 to v2 [security] (#1205)
renovate[bot] Jun 25, 2025
cd44b56
fix: replace - with _ for metrics (#1213)
omrozowicz-splunk Jul 9, 2025
582a553
chore(release): 1.13.0-beta.3
srv-rr-github-token Jul 9, 2025
0e1f32f
feat: add partial walk (#1215)
ajasnosz Jul 22, 2025
9219959
chore(release): 1.13.0-beta.4
srv-rr-github-token Jul 22, 2025
e98c98a
test: parallelised integration tests (#1220)
omrozowicz-splunk Jul 28, 2025
80818aa
fix: problem with casting strings of scientific notation (#1219)
omrozowicz-splunk Jul 30, 2025
859c84d
chore(release): 1.13.0-beta.5
srv-rr-github-token Jul 30, 2025
57d44ae
fix: add ipv6 flag for worker poller (#1218)
ajasnosz Jul 31, 2025
41f237c
chore(release): 1.13.0-beta.6
srv-rr-github-token Jul 31, 2025
be59765
chore(deps): update dependency mkdocs-material to v9.6.16 (#1211)
renovate[bot] Aug 1, 2025
7b18a91
chore: fix license accept issue in integration tests (#1227)
omrozowicz-splunk Aug 11, 2025
a98987c
fix: logging (#1223)
omrozowicz-splunk Aug 13, 2025
0da4200
chore(release): 1.13.0-beta.7
srv-rr-github-token Aug 13, 2025
fcf8805
fix: update dependencies (#1229)
omrozowicz-splunk Aug 13, 2025
c89dd17
chore(release): 1.13.0-beta.8
srv-rr-github-token Aug 13, 2025
3dff9cd
fix: traps add engine contextId (#1230)
omrozowicz-splunk Aug 14, 2025
988c65c
chore(release): 1.13.0-beta.9
srv-rr-github-token Aug 14, 2025
b02b4f8
chore(deps): update actions/checkout action to v5
renovate[bot] Aug 15, 2025
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 .github/workflows/cd-dashboard-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
packages: write
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Upload dashboard to release assets
run: |
VERSION=$(echo $GITHUB_REF | cut -d / -f 3)
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cd-docs-pdf.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: false
- id: doc-files
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/cd-pages.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
packages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: oleksiyrudenko/[email protected]
Expand All @@ -29,7 +29,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down Expand Up @@ -80,7 +80,7 @@ jobs:
- mike
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- name: Install Helm
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci-docker-deployment.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- 3.10
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Zip docker_compose directory and upload it
run: |
zip -r docker_compose.zip docker_compose
Expand Down
26 changes: 16 additions & 10 deletions .github/workflows/ci-main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ jobs:
continue-on-error: true
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: run fossa analyze and create report
run: |
curl -H 'Cache-Control: no-cache' https://raw.githubusercontent.com/fossas/fossa-cli/master/install-latest.sh | bash
Expand Down Expand Up @@ -67,7 +67,7 @@ jobs:
pre-commit:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: actions/setup-python@v5
with:
python-version: "3.10"
Expand All @@ -79,7 +79,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
Expand All @@ -104,7 +104,7 @@ jobs:
python-version:
- "3.10"
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v5
with:
Expand Down Expand Up @@ -137,7 +137,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 2
- name: Get commit message
Expand All @@ -159,24 +159,27 @@ jobs:
runs-on: ubuntu-latest
if: "contains(needs.integration-tests-check.outputs.commit_message, '[run-int-tests]') || github.ref_name == 'develop'"
timeout-minutes: 120
strategy:
matrix:
index: [1, 2, 3, 4, 5, 6]
steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v5
with:
python-version: "3.10"
- name: run install_microk8s.sh
run: |
sudo snap install microk8s --classic --channel=1.30/stable
sudo snap install microk8s --classic --channel=1.33/stable
sudo apt-get install snmp -y
sudo apt-get install python3-dev -y
- name: run automatic_setup_microk8s.sh
run: integration_tests/automatic_setup_microk8s.sh integration
- name: run tests
working-directory: integration_tests
run: |
poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="microk8s"
poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="microk8s" -m part${{ matrix.index }}

test-integration-compose:
name: Run integration tests in docker compose deployment
Expand All @@ -185,9 +188,12 @@ jobs:
runs-on: ubuntu-latest
if: "contains(needs.integration-tests-check.outputs.commit_message, '[run-int-tests]') || github.ref_name == 'develop'"
timeout-minutes: 120
strategy:
matrix:
index: [ 1, 2, 3, 4, 5, 6 ]
steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v5
with:
Expand All @@ -213,4 +219,4 @@ jobs:
- name: run tests
working-directory: integration_tests
run: |
poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="docker-compose"
poetry run pytest --splunk_host="localhost" --splunk_password="changeme2" --trap_external_ip="$(hostname -I | cut -d " " -f1)" --sc4snmp_deployment="docker-compose" -m part${{ matrix.index }}
4 changes: 2 additions & 2 deletions .github/workflows/ci-release-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: false
persist-credentials: false
Expand All @@ -42,7 +42,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/ci-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
contents: read
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
with:
submodules: false
persist-credentials: false
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v3
- name: Login to GitHub Packages Docker Registry
uses: docker/login-action@v3.3.0
uses: docker/login-action@v3.4.0
with:
registry: ghcr.io
username: ${{ github.actor }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/ci-ui-tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 2
- name: Get commit message
Expand Down Expand Up @@ -49,7 +49,7 @@ jobs:

steps:
- name: Checkout Project
uses: actions/checkout@v4
uses: actions/checkout@v5

- name: Set up Python
uses: actions/setup-python@v5
Expand All @@ -72,7 +72,7 @@ jobs:

- name: install microk8s
run: |
sudo snap install microk8s --classic --channel=1.30/stable
sudo snap install microk8s --classic --channel=1.33/stable
sudo apt-get install snmp -y
sudo apt-get install python3-dev -y

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/mike.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
pages: write
steps:
- name: Checkout
uses: actions/checkout@v4
uses: actions/checkout@v5
with:
fetch-depth: 0
- uses: oleksiyrudenko/[email protected]
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/offline-installation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- "3.10"
steps:
- name: Check out code
uses: actions/checkout@v4
uses: actions/checkout@v5
- name: Setup python
uses: actions/setup-python@v5
with:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-tags.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
contents: write
packages: write
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v5
- uses: haya14busa/action-update-semver@v1
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,16 @@
## Unreleased

### Changed
- implemented mTLS for Splunk 10
- update default microk8s to 1.33
- introduce `splunkMetricNameHyphenToUnderscore` parameter to make metric names follow Splunk schema
- change default walk to get only SNMPv2-MIB
- add `disableMongoDebugLogging` parameter to disable extensive pymnogo logs while `logLevel` is set to `DEBUG`
- add `includeSecurityContextId` parameter to control whether to add the `context_engine_id` field to v3 trap events

### Fixed
- fix text SNMP values with numbers and 'E' being interpreted as scientific notation
- added missing `ipv6Enabled` flag in poller


## [1.12.3]
Expand Down
6 changes: 3 additions & 3 deletions charts/splunk-connect-for-snmp/Chart.lock
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ dependencies:
version: 20.2.2
- name: mibserver
repository: https://pysnmp.github.io/mibs/charts/
version: 1.15.21
digest: sha256:389e85827643b1799c9a08abe987403eeb5965bd0f1567339e4975f0460c78d3
generated: "2025-06-03T15:48:49.0332+02:00"
version: 1.15.25
digest: sha256:b7c83eee7395cbc67d21833ab21da52d1d43481c798e52d0a9a7f0a7c3fe05b4
generated: "2025-08-13T13:56:57.099109+02:00"
4 changes: 2 additions & 2 deletions charts/splunk-connect-for-snmp/Chart.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,12 @@ type: application
# to the chart and its templates, including the app version.
# Versions are expected to follow Semantic Versioning (https://semver.org/)

version: 1.12.3
version: 1.13.0-beta.9
# This is the version number of the application being deployed. This version number should be
# incremented each time you make changes to the application. Versions are not expected to
# follow Semantic Versioning. They should reflect the version the application is using.
# It is recommended to use it with quotes.
appVersion: "1.12.3"
appVersion: "1.13.0-beta.9"
#
dependencies:
- name: mongodb
Expand Down
4 changes: 2 additions & 2 deletions charts/splunk-connect-for-snmp/templates/NOTES.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Walk profiles no longer include IF-MIB family by default.
If you've used this functionality before, please update the walk profile with ['IF-MIB'] varBind.
Default walk no longer calls full oid tree, instead it is collecting only 'SNMPv2-MIB'.
If you want to call full oid for the devices, you have to set enableFullWalk flag to true.
2 changes: 2 additions & 0 deletions charts/splunk-connect-for-snmp/templates/inventory/job.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ spec:
value: {{ .Values.scheduler.tasksExpiryTime | quote }}
- name: CONFIG_FROM_MONGO
value: {{ quote .Values.UI.enable | default "false" }}
- name: ENABLE_FULL_WALK
value: {{ .Values.poller.enableFullWalk | default "false" | quote }}
volumeMounts:
- name: config
mountPath: "/app/config"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,8 @@ spec:
value: "http://{{ printf "%s-%s" .Release.Name "mibserver" }}/standard.txt"
- name: LOG_LEVEL
value: {{ .Values.traps.logLevel | default "INFO" }}
- name: DISABLE_MONGO_DEBUG_LOGGING
value: {{ .Values.traps.disableMongoDebugLogging | quote }}
- name: PYSNMP_DEBUG
value: {{ .Values.pysnmpDebug | default "" | quote }}
{{- if .Values.splunk.protocol }}
Expand All @@ -77,6 +79,8 @@ spec:
{{- end}}
- name: SPLUNK_HEC_INSECURESSL
value: {{ .Values.splunk.insecureSSL | default "false" | quote }}
- name: INCLUDE_SECURITY_CONTEXT_ID
value: {{ .Values.traps.includeSecurityContextId | default "false" | quote }}
- name: SNMP_V3_SECURITY_ENGINE_ID
value: {{ join "," .Values.traps.securityEngineId }}
- name: SPLUNK_HEC_TOKEN
Expand Down
2 changes: 2 additions & 0 deletions charts/splunk-connect-for-snmp/templates/ui/_helpers.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@ spec:
value: {{ .Values.scheduler.logLevel | default "INFO" }}
- name: CONFIG_FROM_MONGO
value: {{ quote .Values.UI.enable | default "false" }}
- name: ENABLE_FULL_WALK
value: {{ .Values.poller.enableFullWalk | default "false" | quote }}
volumeMounts:
- name: config
mountPath: "/app/config"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ Common labels
{{- end}}
- name: LOG_LEVEL
value: {{ .Values.worker.logLevel | default "INFO" }}
- name: DISABLE_MONGO_DEBUG_LOGGING
value: {{ .Values.worker.disableMongoDebugLogging | quote }}
- name: UDP_CONNECTION_TIMEOUT
value: {{ .Values.worker.udpConnectionTimeout | default "3" | quote }}
- name: MAX_OID_TO_PROCESS
Expand Down Expand Up @@ -152,6 +154,8 @@ Common labels
value: {{ .Values.splunk.insecureSSL | default "false" | quote }}
- name: SPLUNK_AGGREGATE_TRAPS_EVENTS
value: {{ .Values.traps.aggregateTrapsEvents | default "false" | quote }}
- name: SPLUNK_METRIC_NAME_HYPHEN_TO_UNDERSCORE
value: {{ .Values.poller.splunkMetricNameHyphenToUnderscore | default "false" | quote }}
- name: SPLUNK_HEC_TOKEN
valueFrom:
secretKeyRef:
Expand Down Expand Up @@ -179,6 +183,8 @@ Common labels
value: {{ .Values.worker.poller.concurrency | default "4" | quote }}
- name: PREFETCH_COUNT
value: {{ .Values.worker.poller.prefetch | default "1" | quote }}
- name: IPv6_ENABLED
value: {{ .Values.poller.ipv6Enabled | default "false" | quote }}
{{- end }}

{{- define "environmental-variables-sender" -}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,14 @@ spec:
env:
{{- include "environmental-variables" . | nindent 12 }}
{{- include "environmental-variables-sender" . | nindent 12 }}
{{- if .Values.splunk.mtls.enabled }}
- name: SPLUNK_HEC_MTLS_CLIENT_CERT
value: /app/hec-mtls/tls.crt
- name: SPLUNK_HEC_MTLS_CLIENT_KEY
value: /app/hec-mtls/tls.key
- name: SPLUNK_HEC_MTLS_CA_CERT
value: /app/hec-mtls/cacert.pem
{{- end }}
{{- if .Values.worker.livenessProbe.enabled }}
livenessProbe:
exec:
Expand All @@ -63,6 +71,11 @@ spec:
periodSeconds: {{ .Values.worker.readinessProbe.periodSeconds }}
{{- end }}
volumeMounts:
{{- if .Values.splunk.mtls.enabled }}
- name: hec-mtls
mountPath: "/app/hec-mtls"
readOnly: true
{{- end }}
- name: config
mountPath: "/app/config"
readOnly: true
Expand Down Expand Up @@ -102,6 +115,11 @@ spec:
{{- toYaml . | nindent 8 }}
{{- end }}
volumes:
{{- if .Values.splunk.mtls.enabled }}
- name: hec-mtls
secret:
secretName: {{ .Values.splunk.mtls.secretRef }}
{{- end }}
# You set volumes at the Pod level, then mount them into containers inside that Pod
- name: config
configMap:
Expand Down
Loading
Loading