Unsupported content


This version of the documentation is no longer supported. However, the documentation is available for your convenience. You will not be able to leave comments.

Utility - exportComplianceSummaryReport

Utility - exportComplianceSummaryReport

Description :

This command exports the selected Compliance Job run result to a directory and gives you more control over the resulting output than other similar commands. The result is saved in a JSON and HTML format.

Return type : java.lang.Void

Command Input :

Variable Name

Variable Type




ID of the Compliance Job run whose results you want to export.

generateDetailsbooleanFlag to generate detailed report for every server in the job run (either true or false).



Name of the directory that holds the export. This field accepts valid NSH and local path but not any of the following values:

  •  c:\temp – \ is the escape character in Java. Valid argument is c:\\temp.
  • c:\nameOfNonExistingDirectory – Invalid location. You must provide an already existing path else you receive an error message.
  • /<servername>/c/temp – Invalid location. Valid path should not start with single forward slash.
  • //<valid_servername>/c:/reports – Invalid location. Valid NSH path should not contain special character, for example : (colon).


The following example shows how to export the selected job run result of a Compliance Job. The example also shows how to obtain the job run ID before running the export command.


JOB_DB_KEY=`blcli ComplianceJob getDBKeyByGroupAndName "/sampleJobGroup" "sampleJob"`
JOB_RUN_KEY=`blcli JobRun findAllRunKeysByJobKey $JOB_DB_KEY`
JOB_RUN_ID=`blcli JobRun jobRunKeyToJobRunId $JOB_RUN_KEY`
COMPLIANCE_JOB_RUN_EXPORT=`blcli Utility exportComplianceSummaryReport $JOB_RUN_ID "true" "//hostname/c/reports"`
Was this page helpful? Yes No Submitting... Thank you