Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
---
operations:
default: 'read'
paths:
- '[^/debug/pprof/trace.*]': 'none'
debug:
default: 'none'
paths:
- '(^/reload|^/debug/pprof/.*)': 'write'
api:
default: 'none'
paths:
- '^/ping.*$': 'read'
monitor:
default: 'none'
paths:
- '^(/_cat/.*|/ping|/status|/metrics)': 'read'
ops:
paths:
# list of posix regex:permission pairs
- '^/_cat/.*': 'read'
- '^/test_idx/.*$': 'write'
- '/test2_idx': 'read'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.