MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / _safe_policy

Function _safe_policy

e2e/python/test_policy_validation.py:39–46  ·  view source on GitHub ↗

Build a safe baseline policy for testing.

()

Source from the content-addressed store, hash-verified

37
38
39def _safe_policy() -> sandbox_pb2.SandboxPolicy:
40 """Build a safe baseline policy for testing."""
41 return sandbox_pb2.SandboxPolicy(
42 version=1,
43 filesystem=_SAFE_FILESYSTEM,
44 landlock=_SAFE_LANDLOCK,
45 process=_SAFE_PROCESS,
46 )
47
48
49# =============================================================================

Calls

no outgoing calls

Tested by

no test coverage detected