summaryrefslogtreecommitdiffstats
path: root/docs/xacml/tutorial/tutorial-policies.yaml
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2020-10-30 14:54:46 +0000
committerGerrit Code Review <gerrit@onap.org>2020-10-30 14:54:46 +0000
commit6fe177587d9b37de19a1013c2fada56146e8a017 (patch)
treeb349328a0b16b2222ea46fc62f5aec08b27f52f4 /docs/xacml/tutorial/tutorial-policies.yaml
parent04cafa43d8a6502b1c0d57d8f72819820e0633f9 (diff)
parent027d34b558876f78681c79715466b5b612004339 (diff)
Merge "Update Tutorial Documentation"
Diffstat (limited to 'docs/xacml/tutorial/tutorial-policies.yaml')
-rw-r--r--docs/xacml/tutorial/tutorial-policies.yaml34
1 files changed, 34 insertions, 0 deletions
diff --git a/docs/xacml/tutorial/tutorial-policies.yaml b/docs/xacml/tutorial/tutorial-policies.yaml
new file mode 100644
index 00000000..fa353653
--- /dev/null
+++ b/docs/xacml/tutorial/tutorial-policies.yaml
@@ -0,0 +1,34 @@
+tosca_definitions_version: tosca_simple_yaml_1_1_0
+topology_template:
+ policies:
+ -
+ onap.policy.tutorial.demo:
+ type: onap.policies.Authorization
+ type_version: 1.0.0
+ version: 1.0.0
+ metadata:
+ policy-id: onap.policy.tutorial.demo
+ policy-version: 1
+ properties:
+ user: demo
+ permissions:
+ -
+ entity: foo
+ permission: read
+ -
+ entity: foo
+ permission: write
+ -
+ onap.policy.tutorial.audit:
+ type: onap.policies.Authorization
+ version: 1.0.0
+ type_version: 1.0.0
+ metadata:
+ policy-id: onap.policy.tutorial.bar
+ policy-version: 1
+ properties:
+ user: audit
+ permissions:
+ -
+ entity: foo
+ permission: read