splunk / splunk/docker-splunk

remove sudo access in splunk image

Open
#544 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
549
Forks
277
Avg merge
3d 9h
Merged PRs (30d)
2

Description

hi team,

may i know can i change become from true to false in splunk docker image ??
this beacuse our k8s platform not allow root user running in the container, so it can't running as uid 0 or sudo here

[privilege_escalation]
become = true #change to false
become_method = sudo # remove this
become_flags = -H -S -n -i # remove this

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the [privilege_escalation] configuration in the Splunk Docker image and check how become, become_method, and become_flags are applied. Verify whether disabling sudo and privilege escalation lets the image run under a non-root Kubernetes user; done means it no longer requires uid 0 or sudo.

Written by the indexing model from the issue text.

Assessment

Tech stack
ansible, docker, kubernetes
Domain
devops, infrastructure, security
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.