Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion nemoclaw-blueprint/policies/presets/discord.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,10 @@ network_policies:
- allow: { method: POST, path: "/**" }
- allow: { method: PUT, path: "/**" }
- allow: { method: PATCH, path: "/**" }
- allow: { method: DELETE, path: "/**" }
# DELETE only on message and reaction endpoints — not all paths
# Reaction DELETE requires an extra path segment: /reactions/{emoji}/@me or /{user_id}
- allow: { method: DELETE, path: "/api/v*/channels/*/messages/*" }
- allow: { method: DELETE, path: "/api/v*/channels/*/messages/*/reactions/*/*" }
# WebSocket gateway — must use access: full (CONNECT tunnel) instead
# of protocol: rest. The proxy's HTTP idle timeout (~2 min) kills
# long-lived WebSocket connections; a CONNECT tunnel avoids
Expand Down
2 changes: 1 addition & 1 deletion nemoclaw-blueprint/policies/presets/huggingface.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ network_policies:
tls: terminate
rules:
- allow: { method: GET, path: "/**" }
- host: api-inference.huggingface.co
- host: router.huggingface.co
port: 443
protocol: rest
enforcement: enforce
Expand Down
Loading