diff options
author | Jorge Hernandez <jorge.hernandez-herrero@att.com> | 2019-04-10 14:20:47 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-04-10 14:20:47 +0000 |
commit | bfb8d12818346b96c9ab918e72327e1d13662321 (patch) | |
tree | 1f55b2dd72d4629593d20fd3d3cee52db231c25b /applications/guard/src/main/resources/unused/RootGuardPolicy.xml | |
parent | ccb1828ec3e1a1c9071256f85f3876a8d1c8ecdf (diff) | |
parent | e034d785a227815f66138d1f83f49624c402aa97 (diff) |
Merge "Test decision from main entry"
Diffstat (limited to 'applications/guard/src/main/resources/unused/RootGuardPolicy.xml')
-rw-r--r-- | applications/guard/src/main/resources/unused/RootGuardPolicy.xml | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/applications/guard/src/main/resources/unused/RootGuardPolicy.xml b/applications/guard/src/main/resources/unused/RootGuardPolicy.xml new file mode 100644 index 00000000..cc63792f --- /dev/null +++ b/applications/guard/src/main/resources/unused/RootGuardPolicy.xml @@ -0,0 +1,21 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<PolicySet xmlns="urn:oasis:names:tc:xacml:3.0:core:schema:wd-17" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" PolicyCombiningAlgId="urn:oasis:names:tc:xacml:3.0:rule-combining-algorithm:permit-unless-deny" PolicySetId="urn:org:onap:guard:policy:id" Version="1.0" xsi:schemaLocation="urn:oasis:names:tc:xacml:3.0:policy:schema:os access_control-xacml-2.0-policy-schema-os.xsd"> + <Description>The root policy for supporting onap.Guard policies.</Description> + <Target> + <AnyOf> + <AllOf> + <Match MatchId="urn:oasis:names:tc:xacml:3.0:function:string-equal-ignore-case"> + <AttributeValue DataType="http://www.w3.org/2001/XMLSchema#string">guard</AttributeValue> + <AttributeDesignator Category="urn:oasis:names:tc:xacml:3.0:attribute-category:action" AttributeId="urn:oasis:names:tc:xacml:1.0:action:action-id" DataType="http://www.w3.org/2001/XMLSchema#string" MustBePresent="false"/> + </Match> + </AllOf> + </AnyOf> + </Target> + <!-- + + New Policies created from TOSCA policies can be stored like this. + + <PolicyIdReference>onap.scaleout.tca</PolicyIdReference> + <PolicySetIdReference>urn:oasis:names:tc:xacml:2.0:conformance-test:IIE001:policyset1</PolicySetIdReference> + --> +</PolicySet>
\ No newline at end of file |