Utility - exportComplianceRuleDetailsReport

Utility - exportComplianceRuleDetailsReport

Description :

This command exports the selected servers 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 : String

Command Input :

Variable Name

Variable Type

Description

runId

Integer

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

templateName String Name of the component template in which the rule that you want to export was defined.
groupName String Name of the rule group that contains the rule that you want to export.
ruleName String Name of the rule whose detailed results you want to export.

exportDirectory

String

Name of the directory that holds the export.

Example

The following example shows how to export the selected job run result of a Compliance Job.

Script

Utility exportComplianceRuleDetailsReport "jobRunId" "templateName" "groupName" "ruleName" "//hostname/c/reports"

Name of the directory that holds the export." name="groupName

Was this page helpful? Yes No Submitting... Thank you

Comments