kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / approve / request

kosa8 approve request

Ask for signed approvals of an action the org policy covers

Usage#

kosa8 approve request KIND [ARG...]

Opens a request, signed with your identity, for an action the org policy says needs signed approvals. Describe the action exactly as with kosa8 approve check. Hand the request file it prints to approvers; each runs kosa8 approve sign on it.

When the daemon refuses a call for want of an approval, it prints this command with the action filled in exactly. Once the request is recorded (kosa8 approve status ID --record), repeat the call with --approval ID; the approval covers that one call, once.

Flags go before KIND: every word after it is the action. A --reason at the very end is still read as the reason; an action that itself ends in --reason goes after --.

Options#

FlagTypeWhat it doesDefault
--egressstringnetwork egress the action would set, e.g. deny or allow:api.example.com—
--identitystringyour identity directory (default ~/.kosa8/identity)—
--mountstringArrayhost directory the action would expose into the sandbox[]
--policy-editboolthe action rewrites governance or approval policy—
--privilegestringArraya power beyond an ordinary container's, e.g. privileged or cap-add=SYS_ADMIN[]
--publishstringArraya container port the action would publish on the host, e.g. 8080:80/tcp[]
--reasonstringwhy you need this, shown to approvers—
--sandboxstringthe existing sandbox the action runs inside—
--targetstringwhat it operates on (default: the first argument)—
--ttldurationhow long approvals may be collected before the request expires1h0m0s

Example#

  kosa8 approve request --reason "ticket OPS-112" --egress allow:api.example.com run dev

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA