Skip to content

bitwarden/splunk

Repository files navigation

Bitwarden Splunk App

A Splunk app for reporting Bitwarden event logs.

Getting started

Follow the steps in Bitwarden Splunk SIEM

Contributing

This app requires Python 3.8 installed. Install Poetry if not already installed.

Activate shell: poetry shell

Install dependencies: poetry install --with dev

Local Development

  • Install docker.
  • Run splunk enterprise docker run --rm --name splunk -d -p 8001:8000 -p 8089:8089 -e SPLUNK_START_ARGS='--accept-license' -e SPLUNK_PASSWORD='password' splunk/splunk:latest
  • Package and Deploy to splunk:
    • ./package.sh
    • ./deploy.sh
  • Access logs:
    • docker exec -u splunk -it splunk bash
    • tail -f /opt/splunk/var/log/splunk/bitwarden_event_logs_beta.log
  • Access Splunk url in the browser: http://localhost:8001
    • Enter credentials, login: admin, password: password
    • Click on the Apps -> Bitwarden Event Logs
    • Complete the Setup

Preparing for release

Modify the version in the pyproject.toml

Preparing for prod (non-beta) release

Remove the _beta suffix from: