Repository tools command to dump Global Configuration Management components, configurations, and user-defined queries
Use the dumpArtifacts command to write global components, configurations, and user-defined queries into the server file system. Then, search the command output for data spills.
Purpose
- Generates searchable versions of global configurations, components, and user-defined queries. You can then search for occurrences of sensitive data.
- Provides a list of artifact dump jobs that were initiated since the last time the server was restarted.
- If the server is not restarted, you can see the status and output of the job.
- If the server is restarted, assume that the job did not finish. The system deletes the command output.
Too many concurrent dump jobs are running. Try again later.
You can configure the maximum number of concurrent dump jobs in the server's Advanced Properties section, under DumpFrontService.maxConcurrentDumps.
Parameters
Attribute | Description | Required | Default |
---|---|---|---|
adminUserId, adminPassword | The user ID and password of a team member that has JazzAdmin permissions for the
repository. To get a list of all the jobs that were initiated since the last server restart, specify these parameters and omit the others in this table. |
Yes | N/A |
dumpDirectory | Include this parameter to dump the artifacts: specify an absolute path to a directory or
parent directory on the server. Example: If you specify dumpDirectory=C:\GCM-DUMP\dump1, either C:\GCM-DUMP\dump1 must exist, or C:\GCM-DUMP must exist and the system creates directory dump1. Omit this parameter to list the dump jobs that were initiated since the last server restart. |
No | N/A |
projectArea | Name of a GCM project area whose artifacts you want to search for data spills. Omit this parameter to dump the artifacts of all the GCM project areas on the server. |
No | N/A |
Example: Dump artifacts
Dump all the GCM artifacts for either one project area or all project areas into a directory on the server.
Open a command prompt and enter this command:
cd C:\JazzInstallDir\server repotools-gc.bat -dumpArtifacts adminUserId=userId adminPassword=password dumpDirectory=C:\dumpDirectory [projectArea=projectAreaName]
Open a command line and enter this command:
cd JazzInstallDir/server ./repotools-gc.sh -dumpArtifacts adminUserId=userId adminPassword=password dumpDirectory=dumpDirectory [projectArea=projectAreaName]
After you run this command, search the output files for data spills or occurrences of sensitive data. Then, a team member assigned the GCM Administrator role can use the Scrub commands in the GCM application to delete sensitive information from those configurations and components, or delete user-defined queries that contain any sensitive data. See the related topics for details.
Example: List dump jobs
Show details of the dump jobs that were initiated since the last server restart: start and finish times, duration, status, project area (if provided), and location of the output files.
Open a command prompt and enter this command:
cd C:\JazzInstallDir\server repotools-gc.bat -dumpArtifacts adminUserId=userId adminPassword=password
Open a command line and enter this command:
cd JazzInstallDir/server ./repotools-gc.sh -dumpArtifacts adminUserId=userId adminPassword=password