aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xacml/tutorial/tutorial-policies.yaml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2019-06-11 10:55:04 -0400
committerPamela Dragosh <pdragosh@research.att.com>2019-06-12 05:54:15 -0400
commit0ac4c6a0a3c5eacf7db3b1766048a8d1405f3e96 (patch)
tree13607833e513e1419861b505385e833682cb253f /docs/xacml/tutorial/tutorial-policies.yaml
parentcd35cacaf3120342daa405b117a60c542a9d1dea (diff)
Fix documentation add tutorial
Fixed some headings that made index's look strange. Added xacml tutorial. Issue-ID: POLICY-1842 Change-Id: Id6ab56e5d5d2a6b2fe37c8df5d3d70aa04776878 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'docs/xacml/tutorial/tutorial-policies.yaml')
-rw-r--r--docs/xacml/tutorial/tutorial-policies.yaml30
1 files changed, 30 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..45769ead
--- /dev/null
+++ b/docs/xacml/tutorial/tutorial-policies.yaml
@@ -0,0 +1,30 @@
+tosca_definitions_version: tosca_simple_yaml_1_0_0
+topology_template:
+ policies:
+ -
+ onap.policy.tutorial.demo:
+ type: onap.policies.Authorization
+ version: 1.0.0
+ metadata:
+ policy-id: onap.policy.tutorial.demo
+ properties:
+ user: demo
+ permissions:
+ -
+ entity: foo
+ permission: read
+ -
+ entity: foo
+ permission: write
+ -
+ onap.policy.tutorial.audit:
+ type: onap.policies.Authorization
+ version: 1.0.0
+ metadata:
+ policy-id: onap.policy.tutorial.bar
+ properties:
+ user: audit
+ permissions:
+ -
+ entity: foo
+ permission: read