Interview Prep/Jenkins/Credentials & security

What is agent-to-controller security?

AdvancedConceptCredentials & security
Answer

Agents are considered less trusted than the controller. Since Jenkins 2.326 the agent-to-controller access control is always on: an agent can only invoke allowlisted callables on the controller and cannot read or write arbitrary files in JENKINS_HOME. This means a compromised build agent cannot directly take over the controller. It is another reason to run zero builds on the built-in node, where this boundary does not exist.

All Jenkins questions Roadmap: Jenkins

More on Credentials & security