sha256:9d80d588b3439c4de96d1cf0d9a18bbfa05bc14ec2bd9e7a0a157786e2cc7406
Last pushed
4 days by dockerpublicbot
Type
Sandbox Kit
Manifest digest
sha256:9d80d588b3439c4de96d1cf0d9a18bbfa05bc14ec2bd9e7a0a157786e2cc7406
schemaVersion: "2"
kind: mixin
name: panw-endpoint-enforcement
displayName: PANW Endpoint Enforcement Marker
description: Marks agent processes as running inside a sandbox so a host-side endpoint security policy engine can permit sandbox-wrapped agents while denying any agent process that spawns outside a sandbox.
licenses:
- Apache-2.0
args:
markerId:
default: sandbox-wrapped
description: Identity string the host endpoint policy keys on to allow this process.
pattern: ^[a-z0-9]([a-z0-9-]{0,62}[a-z0-9])?$
agentInstructions:
content: |
## Endpoint enforcement
This sandbox is enrolled with a host-side endpoint security policy. Agent
processes are permitted **only** when they run inside a sandbox carrying the
enforcement marker (`SANDBOX_ENFORCED=1` and the marker file
`~/.sandbox-enforced`). Do not attempt to launch agent binaries outside the
sandbox boundary - the endpoint policy engine will block them.
The sandbox's own allow/deny network policy still applies on top of this;
endpoint enforcement governs *where* the agent may run, not *what* it may reach.
environment:
variables:
SANDBOX_ENFORCED: "1"
SANDBOX_ENFORCEMENT_MARKER: ${{ kit.args.markerId }}
setup:
files:
- path: /home/agent/.sandbox-enforced
content: |
marker=${{ kit.args.markerId }}
enforced=1
mode: "0444"
onlyIfMissing: true
description: Write the sandbox enforcement marker file