Server-side initialization policy
Warning
Server-side initialization policies are deprecated. Use approval policies instead for a more flexible, powerful way to control which runs are allowed to proceed.
Existing users with server-side initialization policies should migrate as soon as possible using our migration guide.
You can also use worker-side initialization policies that can be set by using the launcher run initialization policy flag (SPACELIFT_LAUNCHER_RUN_INITIALIZATION_POLICY).
Server-side initialization policies can prevent a run or a task from being initialized, blocking any custom code or commands from being executed.
Migrating to approval policies
A server-side run initialization policy can be expressed as an approval policy if it defines a single reject rule, and an approve rule that is its negation. Here are the server-side initialization policy examples expressed as approval policies.
Enforcing runner image
Enforcing feature branch naming convention