Skip to content
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

Kibana's configuration documentation mentions the non-existent xpack.security.enabled property #194243

Closed
linghengqian opened this issue Sep 27, 2024 · 8 comments
Assignees
Labels
docs Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!

Comments

@linghengqian
Copy link

Start the Kibana container with the following command:

docker run -p 127.0.0.1:5601:5601 -d --name kibana --network elastic-net \
  -e ELASTICSEARCH_URL=http://elasticsearch:9200 \
  -e ELASTICSEARCH_HOSTS=http://elasticsearch:9200 \
  -e ELASTICSEARCH_USERNAME=kibana_system \
  -e ELASTICSEARCH_PASSWORD=$KIBANA_PASSWORD \
  -e "xpack.security.enabled=false" \
  -e "xpack.license.self_generated.type=trial" \
  docker.elastic.co/kibana/kibana:8.15.0
@botelastic botelastic bot added the needs-team Issues missing a team label label Sep 27, 2024
@dmlemeshko dmlemeshko added Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more! triage_needed labels Sep 30, 2024
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-security (Team:Security)

@botelastic botelastic bot removed the needs-team Issues missing a team label label Sep 30, 2024
@SiddharthMantri
Copy link
Contributor

Hi @linghengqian! The -e flag in the docker command is adding the xpack.security.enabled=false flag to the container environment. From here, it's not being passed to the Kibana config which means its just an unused environment variable in the container at which point it'll do nothing and the docker container doesn't have any logic (afaict) to warn about unknown env variables.

@linghengqian
Copy link
Author

Hi @linghengqian! The -e flag in the docker command is adding the xpack.security.enabled=false flag to the container environment. From here, it's not being passed to the Kibana config which means its just an unused environment variable in the container at which point it'll do nothing and the docker container doesn't have any logic (afaict) to warn about unknown env variables.

@legrego legrego added docs and removed triage_needed labels Oct 1, 2024
@linghengqian
Copy link
Author

@SiddharthMantri
Copy link
Contributor

But the issue and PR don't seem to be connected.

Which issue do you refer to?

@linghengqian
Copy link
Author

But the issue and PR don't seem to be connected.

Which issue do you refer to?

@linghengqian
Copy link
Author

@SiddharthMantri
Copy link
Contributor

@linghengqian Yes, let's close this one. Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Team:Security Team focused on: Auth, Users, Roles, Spaces, Audit Logging, and more!
Projects
None yet
Development

No branches or pull requests

5 participants