Created
January 13, 2017 15:25
-
-
Save lusis/5631b2b84b6bc56185c126c3a19d93e0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- | |
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