Skip to main content

Usercube-Export-Scim

This tool is made to export entries from a SCIM API to CSV files.

Examples​

Exporting entities by specifying attributes​

It is possible to export data by specifying the attribute names to fetch, for each exported table:


--server "https://scim-server.com" --connection-identifier "ConnectionSCIM" --output-path "C:/SCIMExport" --cookie-path "C:/SCIMExport" --log-level Verbose --login "usercube" --password "usercube2021" --filter-entities "Users|username eq \"john\";username name:givenName|familyName"

Exporting entities using entities defined in configuration​

It is also possible to export data by specifying the Usercube's server URL, so the export tool automatically fetches the entity type mapping property names linked to the specified connection:


--server "https://scim-server.com" --login "usercube" --password "usercube2021" --connection-identifier "ConnectionSCIM" --output-path "C:/SCIMExport" --cookie-path "C:/SCIMExport" --log-level Verbose --api-url "http://localhost:5000" --api-client-id Job --api-secret secret

The server has to be running.

Exporting entities with a token authentication​

It is possible to export data by specifying the attribute names to fetch, for each exported table:


--server "https://scim-server.com" --connection-identifier "ConnectionSCIM" --output-path "C:/SCIMExport" --cookie-path "C:/SCIMExport" --log-level Verbose --oauth-token "MyToken" --filter-entities "Users|username eq \"john\";username name:givenName|familyName"

Arguments​

Argument NameDetails
--cookie-path requiredType String Description Path of the cookie file for incremental export.
--filter-entities optionalType String Description List of the non group entities and corresponding attributes to export. Syntax: EntityNameInSCIM1
--filter-entities-group optionalType String Description Works as �filter-entities but for entities with members. Syntax: EntityNameInSCIM1
--attributes-in-filter optionalType No Value Description Specifies true if the server is not available and the entities and their attributes to export are given in the �filter-entities and �filter-entities-group arguments.
------
--connection-identifier optionalType String Description Connector's connection identifier. The output file will have this identifier as name.
--output-path requiredType String Description Output path for the files generated by the export.
------
--ignore-cookies optionalType No Value Description Specifies the synchronization mode, its presence meaning complete, its absence incremental.
------
--server requiredType String Description URL of the SCIM endpoints of your application, not including the v2.
--login optionalType String Description Specifies the login of the account you may need.
--password optionalType String Description Specifies the password of the account you may need.
--application-id optionalType String Description Specifies the application connection login or the login of your application's id provider.
--application-key optionalType String Description Specifies the application connection password or the password of your application's id provider.
--oauth-url optionalType String Description The server's url when using OAuth2 authentication.
--oauth-token optionalType String Description Specifies the OAuth token to connect to the application.
--scim-syntax optionalType Enum Description Specifies the syntax used for requests body. Has to be one of those values: Salesforce (default value) or CyberArk