Pcornel
Automation · Automation Security

Least Privilege

Cheat sheet · https://pcornel.dk/topic.php?topic=5902

Back to the Topic

Answer

Least Privilege in Automation Security constrains the automation controller, runner, service identity and target actions to the minimum authority required for a specific workflow and environment.

Remember

  • Dedicated service account ≠ least privilege.
  • Read-only repository access ≠ low target privilege.
  • Temporary runner ≠ temporary target permission.
  • Role assignment ≠ effective permission understood.

First checks

  • Role per automation job — scope
  • Remove admin/Domain Admin from service accounts — reduction
  • Permission review schedule — governance

Commands

show running-config

Verify in this order

job → minimal role → target

Where it usually breaks

This Topic proves minimum authority only for the mapped boundaries and tested actions; hidden inherited roles or unmodeled platform permissions remain outside the proof.

Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.

Least Privilege security proof-boundary map

BoundaryHealthy evidenceSuspicious evidence
Trust / identitySource revision, trigger, workload identity and policy/approval are explicit and immutableMutable code or shared admin identity reaches privileged execution without attributable trust decisions
Execution / isolationRunner/controller, dependencies, credentials and target permissions are bounded to the workflowPersistent privileged runners, broad secrets or floating dependencies widen the execution trust boundary
Effective outcomeTarget-side authentication/authorization or secure control outcome is independently observedTool/job success substitutes for target authorization, effective state or workload proof
Closure / next actionRotation/revocation, denied-path tests, audit evidence and residual exceptions are explicitOld credentials remain valid, policy bypass exists, audit gaps are unknown or broad success is inferred from one signal

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5902

Confirmation

Confirm action

Continue?