Access controlled knowledge gateway functionality
This commit is contained in:
parent
e87406ac9e
commit
d923661852
20 changed files with 1486 additions and 14 deletions
16
examples/policy/local-label-policy.yaml
Normal file
16
examples/policy/local-label-policy.yaml
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
id: markitect-local-label-policy
|
||||
mode: enforce
|
||||
default_labels: [public]
|
||||
default_subject: public-agent
|
||||
subjects:
|
||||
public-agent:
|
||||
allowed_labels: [public]
|
||||
trust_zones: [public]
|
||||
internal-agent:
|
||||
allowed_labels: [public, internal]
|
||||
trust_zones: [public, internal]
|
||||
path_rules:
|
||||
- id: private-path
|
||||
pattern: private/**
|
||||
labels: [internal]
|
||||
trust_zone: internal
|
||||
Loading…
Add table
Add a link
Reference in a new issue