c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl{
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "mappings" : [
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "name" : "systemAdAccounts_managedUser",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "system/ad/account",
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "target" : "managed/user",
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "properties" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "cn",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "cn"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "description",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "description"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "givenName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "givenName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "mail",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "mail"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "sn",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "sn"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "telephoneNumber",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "telephoneNumber"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "sAMAccountName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "userName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl ],
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "policies" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "CONFIRMED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "UPDATE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "FOUND",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "ABSENT",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "CREATE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "AMBIGUOUS",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "SOURCE_MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNQUALIFIED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNASSIGNED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl ]
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl },
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "name" : "managedUser_systemLdapAccounts",
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "source" : "managed/user",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "system/ldap/account",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "correlationQuery" : {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "type" : "text/javascript",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "var map = {'_queryFilter': 'uid eq \"' + source.userName + '\"'}; map;"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "properties" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "userName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "uid"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "sn",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "sn"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "transform": {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "type": "text/javascript",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source": "source.cn || (source.givenName + ' ' + source.sn)"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "cn"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "givenName",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "givenName"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "mail",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "mail"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "default": "Created in OpenIDM",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "description",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "description"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "telephoneNumber",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "target" : "telephoneNumber",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "condition": {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "type": "text/javascript",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source": "object.telephoneNumber !== undefined && object.telephoneNumber !== null && object.telephoneNumber !== ''"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl ],
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "onCreate" : {
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "type" : "text/javascript",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "source" : "target.dn = 'uid=' + source.userName + ',ou=People,dc=example,dc=com';"
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl },
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl "policies" : [
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "CONFIRMED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "UPDATE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "FOUND",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "UPDATE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "ABSENT",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "CREATE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "AMBIGUOUS",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "SOURCE_MISSING",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNQUALIFIED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "DELETE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel },
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel {
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "situation" : "UNASSIGNED",
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel "action" : "IGNORE"
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl ]
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel }
c156e9c0d714af82ae2e226118598ab547e84893Matthias Tristl ]
0942ced8a2cc0c0f5fb5015ec53f81d5360ee79cJake Feasel}