Skip to content

Commit

Permalink
snippet for anonymous access
Browse files Browse the repository at this point in the history
  • Loading branch information
cthtrifork committed Nov 29, 2023
1 parent 6c0c34c commit a9e581d
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
11 changes: 11 additions & 0 deletions config/opensearch/security/roles.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,17 @@ _meta:
type: "roles"
config_version: 2

# allow anonymous access as super admin
#opendistro_security_anonymous:

Check warning on line 7 in config/opensearch/security/roles.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

7:2 [comments] missing starting space in comment
# reserved: true
# cluster_permissions:
# - "*"
# index_permissions:
# - index_patterns:
# - "*"
# allowed_actions:
# - "*"

# https://github.com/opensearch-project/security/blob/main/config/roles.yml

# claimtest_read_access:
Expand Down
5 changes: 5 additions & 0 deletions config/opensearch/security/roles_mapping.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,11 @@ _meta:
# - "claimtest_full_access"
# description: "claimtest_full_access"

#opendistro_security_anonymous:

Check warning on line 25 in config/opensearch/security/roles_mapping.yml

View workflow job for this annotation

GitHub Actions / MegaLinter

25:2 [comments] missing starting space in comment
# reserved: true
# backend_roles:
# - "opendistro_security_anonymous_backendrole"

default_service:
reserved: true
backend_roles:
Expand Down

0 comments on commit a9e581d

Please sign in to comment.