DevOps Cloud (ADM)
Cybersecurity
IT Operations Cloud
<do-set-local-variable name="ASSOC-QUERY" scope="policy">
<arg-node-set>
<token-query class-name="User" datastore="src">
<arg-match-attr name="workforceID">
<arg-value type="string">
<token-local-variable name="WORKFORCE-ID"/>
</arg-value>
</arg-match-attr>
<arg-string>
<token-text xml:space="preserve">DirXML-Associations</token-text>
</arg-string>
</token-query>
</arg-node-set>
</do-set-local-variable>
<nds dtdversion="3.5" ndsversion="8.x">
<source>
<product version="3.5.11.20080307 ">DirXML</product>
<contact>Novell, Inc.</contact>
</source>
<output>
<instance class-name="User" qualified-src-dn="O=LAB\OU=EMPLOYEES\OU=NEW\CN=JSmith" src-dn="\ACME-LAB\LAB\EMPLOYEES\NEW\LJohnson1" src-entry-id="56795">
<attr attr-name="DirXML-Associations">
<value timestamp="1217007039#71" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-LAB\LAB\SERVICES\IDVAULT\APP-JDBC</component>
<component name="path">PK_SEQUENCE=350110,table=CLIENTS,schema=IDM</component>
</value>
<value timestamp="1217007039#72" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-LAB\LAB\SERVICES\IDVAULT\LinuxUnixSettings</component>
<component name="path">YE98 yxf3AGAleAAAwAAAA==</component>
</value>
<value timestamp="1217007039#73" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-LAB\LAB\SERVICES\IDVAULT\UserApplication35</component>
<component name="path">"AnAssociation"</component>
</value>
<value timestamp="1217007039#74" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-LAB\LAB\SERVICES\IDVAULT\Active Directory</component>
<component name="path">f0648eab27d6da4283246583112d6319</component>
</value>
<value timestamp="1217007039#75" type="structured">
<component name="nameSpace">1</component>
<component name="volume">\ACME-LAB\LAB\SERVICES\IDVAULT\Corporate Password Sync</component>
<component name="path">E101738</component>
</value>
</attr>
</instance>
</output>
</nds>
<do-set-local-variable name="ASSOC-VALS" scope="policy">
<arg-node-set>
<token-src-attr name="DirXML-Associations"/>
</arg-node-set>
</do-set-local-variable>
<if-xpath op="true">$ASSOC-QUERY/attr[@attr-name="DirXML-Associations"]/value/component[@name='volume']/text()=$TARGET-DRIVER-DN</if-xpath>
<if-xpath op="true">$ASSOC-QUERY/attr[@attr-name="DirXML-Associations"]/value/component[@name='nameSpace']/text()='1'</if-xpath>
<if-xpath op="true">$ASSOC-VALS/component[@name='volume']/text()=$TARGET-DRIVER-DN</if-xpath>
<if-xpath op="true">$ASSOC-VALS/component[@name='nameSpace']/text()='1'</if-xpath>