| 12345678910111213 |
- {
- "permissions": {
- "allow": [
- "Bash(curl -sS -m 8 -o /dev/null -w \"snapshot HTTP %{http_code} time=%{time_total}s size=%{size_download}\\\\n\" http://localhost:9999/api/dashboard/snapshot)",
- "Bash(curl -sS -m 8 -o /dev/null -w \"requirement HTTP %{http_code} time=%{time_total}s size=%{size_download}\\\\n\" \"http://localhost:9999/api/requirement?limit=1000&offset=0\")",
- "Bash(curl -sS -m 8 -o /dev/null -w \"tool HTTP %{http_code} time=%{time_total}s size=%{size_download}\\\\n\" \"http://localhost:9999/api/tool?limit=1000&offset=0\")",
- "Bash(curl -sS -m 8 http://localhost:9999/api/dashboard/snapshot)",
- "Bash(python3 -c \"import json,sys; d=json.load\\(sys.stdin\\); print\\('keys:', list\\(d.keys\\(\\)\\)\\); print\\('tree type:', type\\(d.get\\('tree'\\)\\).__name__\\); t=d.get\\('tree'\\); print\\('tree.name:', \\(t or {}\\).get\\('name'\\) if isinstance\\(t,dict\\) else None\\); print\\('reqs:', len\\(d.get\\('reqs'\\) or []\\)\\); print\\('caps:', len\\(d.get\\('caps'\\) or []\\)\\); print\\('tools:', len\\(d.get\\('tools'\\) or []\\)\\); print\\('procs:', len\\(d.get\\('procs'\\) or []\\)\\); print\\('know:', len\\(d.get\\('know'\\) or []\\)\\)\")",
- "Bash(python3 *)",
- "Bash(curl -sS -X POST -m 5 http://localhost:9999/api/dashboard/invalidate)"
- ]
- }
- }
|