56 lines
1.9 KiB
JSON
56 lines
1.9 KiB
JSON
{
|
|
"permissions": {
|
|
"allow": [
|
|
"Skill(skill-creator)",
|
|
"Bash(cat:*)",
|
|
"Bash(python3:*)",
|
|
"Bash(find:*)",
|
|
"Skill(nostr-websocket)",
|
|
"Bash(go build:*)",
|
|
"Bash(chmod:*)",
|
|
"Bash(journalctl:*)",
|
|
"Bash(timeout 5 bash -c 'echo [\"\"REQ\"\",\"\"test123\"\",{\"\"kinds\"\":[1],\"\"limit\"\":1}] | websocat ws://localhost:3334':*)",
|
|
"Bash(pkill:*)",
|
|
"Bash(timeout 5 bash:*)",
|
|
"Bash(md5sum:*)",
|
|
"Bash(timeout 3 bash -c 'echo [\\\"\"REQ\\\"\",\\\"\"test456\\\"\",{\\\"\"kinds\\\"\":[1],\\\"\"limit\\\"\":10}] | websocat ws://localhost:3334')",
|
|
"Bash(printf:*)",
|
|
"Bash(websocat:*)",
|
|
"Bash(go test:*)",
|
|
"Bash(timeout 180 go test:*)",
|
|
"WebFetch(domain:github.com)",
|
|
"WebFetch(domain:raw.githubusercontent.com)",
|
|
"Bash(/tmp/find help)",
|
|
"Bash(/tmp/find verify-name example.com)",
|
|
"Skill(golang)",
|
|
"Bash(/tmp/find verify-name Bitcoin.Nostr)",
|
|
"Bash(/tmp/find generate-key)",
|
|
"Bash(git ls-tree:*)",
|
|
"Bash(CGO_ENABLED=0 go build:*)",
|
|
"Bash(CGO_ENABLED=0 go test:*)",
|
|
"Bash(app/web/dist/index.html)",
|
|
"Bash(export CGO_ENABLED=0)",
|
|
"Bash(bash:*)",
|
|
"Bash(CGO_ENABLED=0 ORLY_LOG_LEVEL=debug go test:*)",
|
|
"Bash(/tmp/test-policy-script.sh)",
|
|
"Bash(docker --version:*)",
|
|
"Bash(mkdir:*)",
|
|
"Bash(./test-docker-policy/test-policy.sh:*)",
|
|
"Bash(docker-compose:*)",
|
|
"Bash(tee:*)",
|
|
"Bash(docker logs:*)",
|
|
"Bash(timeout 5 websocat:*)",
|
|
"Bash(docker exec:*)",
|
|
"Bash(TESTSIG=\"bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb\":*)",
|
|
"Bash(echo:*)",
|
|
"Bash(git rm:*)",
|
|
"Bash(git add:*)",
|
|
"Bash(./test-policy.sh:*)",
|
|
"Bash(docker rm:*)",
|
|
"Bash(./scripts/docker-policy/test-policy.sh:*)"
|
|
],
|
|
"deny": [],
|
|
"ask": []
|
|
}
|
|
}
|