To customize the data that CA Identity Manager exports, create a custom Snapshot Parameter XML file. In this file, list the objects to export and, optionally, supply additional export criteria. Only objects that meet the criteria are exported. For example, you can export information about users who have a certain attribute value.
The Snapshot Parameter XML file has the following format:
<IMRExport> <export object="user"> <where attr="%USER_ID%" satisfy="ANY"> <value op="EQUALS">abc*</value> </where> <exportattr attr="%USER_ID%"/> <exportattr attr="title"/> <exportattr attr="|groups|" /> <exportattr attr="|roles|" /> <exportattr attr="|identitypolicystatus|" /> </export> </IMRExport>
The Snapshot Parameter XML file contains the following elements:
Indicates the object to export. For example, the <export> element can export user data.
The <export> element can include one or more <exportattr> and <where> elements, which enable you to export only data that meets certain criteria. If there are no <exportattr> or <where> elements specified, all of the data for the object is exported.
The <export> element has only the object parameter.
Filters the data that is exported based on specific criteria defined by the <value> element. A <where> element must include at least one <value> element. Also, you can specify multiple <where> elements to refine your filter (they act as OR elements).
For example, you can use <where> and <value> elements to export the tasks for enabled roles:
<export object="role"> <where attr="enabled" satisfy="ALL"> <value op="EQUALS">Yes</value> </where> <exportattr attr="|tasks|"> </export>
The following table describes the parameters for the <where> element:
Parameter |
Description |
---|---|
attr |
Indicates the attribute to use in the filter. For example, if you specify the enabled attribute, CA Identity Manager checks the value of the enabled attribute to determine whether to export the role. |
satisfy
|
Indicates whether some or all of the value evaluations must be satisfied for the object or attributes to be exported.
|
Defines, in a <where> element, the condition that an attribute or an object must meet to be exported. The <value> element requires the operator (op) parameter. The operator can be EQUALS or CONTAINS.
Indicates a specific attribute to export. Use the <exportattr> element to export a subset of attributes for the object you are exporting. For example, you can use the <exportattr> element to export only a user’s ID.
Also, when exporting an endpoint object, you can use the <exportattr> element to define the account attributes to be exported with a particular endpoint type, as follows:
<exportattr objecttype="endpoint_type"> <objattr name="description"/> <objattr name="fullName"/> <objattr name="lastLogin"/> </exportattr>
The <exportattr> element has the attr or objecttype parameter.
Note: If there are sensitive attributes that you do not want to export, do not use exportattr = |all_attributes|. Instead, use exportattr attr = attribute for each attribute you want to export.
Specifies an endpoint attribute to export. Used within the <exportattr> element when objecttype is the parameter.
The following table shows attributes that can be used in a <where> element or an <exportattr> element, by object:
Object |
Attributes you can use in a <where> element |
Attributes you can use in an <exportattr> element |
---|---|---|
role |
You can filter with the name attribute. name—the roles with names that satisfy the filter roletype—the type of roles that satisfy the filter, such as "access", "admin", or "provision" roles. |
You can export any of the following attributes:
|
user |
Any well-known or physical attribute and any of the following attributes:
|
You can export any of the following attributes:
|
group |
Any well-known or physical attribute or the following attribute: |groups|—the list of nested groups within a group that satisfies the filter |
You can export any well-known or physical attribute or any of the following attributes:
|
organization |
Any well-known or physical attribute |
You can export any well-known or physical attribute or any of the following attributes:
|
useraccount |
Any well-known or physical attribute or any of the following attributes:
|
You can export any account-specific attribute by specifying the attribute names in the endpoint type mapping file (use imname) or by using any of the following attributes:
|
endpoint |
Any well-known or physical attribute or the following attributes:
|
You can export any of the following attributes:
|
identityPolicySet |
You can filter with the name attribute. name—the identity policy sets that satisfy the filter |
You can export any of the following attributes:
|
PolicyXpress |
You can filter with the name attribute. name—the Policy Xpress policies that satisfy the filter |
You cannot use the <exportattr> parameter with this object. A fixed set of attributes is exported.
|
ReverseNewAccountPolicy |
You can filter with the name attribute. name—the Reverse New policies that satisfy the filter |
You cannot use the <exportattr> parameter with this object. A fixed set of attributes is exported. |
ReverseModifyAccountPolicy |
You can filter with the name attribute. name—the Reverse Modify policies that satisfy the filter |
You cannot use the <exportattr> parameter with this object. A fixed set of attributes is exported. |
|
You can filter with the name attribute. name—the email notification policies that satisfy the filter |
You cannot use the <exportattr> parameter with this object. A fixed set of attributes is exported. |
BulkTaskDef |
You can filter with the name attribute. name—the bulk task definitions that satisfy the filter |
You cannot use the <exportattr> parameter with this object. A fixed set of attributes is exported. |
Copyright © 2015 CA Technologies.
All rights reserved.
|
|