For the complete documentation index, see llms.txt. For a full content snapshot, see llms-full.txt. Append .md to any kestra.io/docs/* URL for plain Markdown.

Kestra 2.0 hardens the default configuration of the management port (8081). Several settings that were permissive in 1.x have been removed or reversed.

What changed

Setting1.x default2.0 default
endpoints.all.sensitivefalse (all endpoints open)Micronaut default (true)
endpoints.env.enabledtruefalse
endpoints.health.details-visibleANONYMOUSAUTHENTICATED
endpoints.loggers.write-sensitivefalse (unauthenticated writes)true
/worker endpoint sensitivityfalse (open)true (sensitive)
/scheduler endpoint sensitivityfalse (open)true (sensitive)
docker-compose port mapping8081:8081 exposedcommented out

Who is affected

You are affected if any of the following apply:

  • You query /env on the management port (e.g., from a monitoring agent or automation script).
  • You call POST /loggers to change log levels at runtime without any authentication.
  • You poll /worker or /scheduler on the management port from tooling that does not send credentials.
  • You rely on anonymous health details at /health.
  • You use the docker-compose.yml bundled with Kestra to expose the management port.

How to restore the previous behavior

If your environment relies on the old defaults, you can opt back into each setting individually in your application.yml:

endpoints:
all:
sensitive: false # re-opens all endpoints for unauthenticated access
env:
enabled: true # re-enables the /env endpoint
health:
details-visible: ANONYMOUS # shows health details to unauthenticated requests
loggers:
write-sensitive: false # allows unauthenticated logger level changes
worker:
sensitive: false # re-opens the /worker endpoint
scheduler:
sensitive: false # re-opens the /scheduler endpoint

For the docker-compose setup, uncomment the management port mapping in docker-compose.yml:

ports:
- "8081:8081"

See Management endpoint access for the recommended hardening approach.

Was this page helpful?