aboutsummaryrefslogtreecommitdiffstats
path: root/docs/xacml/tutorial/tutorial-policies.yaml
blob: 45769eadcd8b8b2bab764bc6aee4ff898d8bd0c6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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