Command Line Policy Import/Export Reference v.4.0.4

Article:HOWTO31174  |  Created: 2010-08-12  |  Updated: 2012-02-14  |  Article URL http://www.symantec.com/docs/HOWTO31174
Article Type
How To



CVE Reference Import

1.      Copy the downloaded checklist(s) to the folder “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” on the RAS Portal
2.       Open a command prompt and navigate to “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” on the RAS Portal.
3.       Type “policyevaluator –h” to view the import options and syntax.
4.       Execute the CVE import command “policyevaluator -importcve <filename.xml>”
 
XCCDF Import Instructions
1.      Copy the downloaded checklist(s) to the folder “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” on the RAS Portal.
2.       Open a command prompt and navigate to “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” on the RAS Portal.
3.       Type “policyevaluator –h” to view the import options and syntax.
4.       Execute the SCAP import commands for each XCCDF xml file in the following order.
Note: If prompted whether to ignore errors during the import processes select the “All” option to ignore all errors.
 
a.       policyevaluator -importcpe <platformname- CPE-dictionary.xml>.
b.      policyevaluator -importoval <platformname-OVAL-CPE.xml>.
c.       policyevaluator -importoval <platformname-OVAL.xml>.
d.      policyevaluator -importoval <platformname-patches.xml>.
e.      policyevaluator -importxccdf <platformname-XCCDF.xml>.
 
XCCDF Results File - Export Instructions
 
  1. Open a command prompt and navigate to “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” on the RAS Portal.
  2. Run “policyevaluator -exportxccdfresults -analyzenow” the XCCDF results file will created and added to the SFPolicyEvaluator directory .
 
CPE update
 
  1. Copy the CPE dictionary file into the “C:\Program Files\Risk Automation Suite\SFPolicyEvaluator” folder on the RAS Portal.
  2. Execute the CPE import routine by running “policyevaluator -importcpe <filename.xml>”
  3. Select which of the supported operating system types corresponds to the XCCDF checklist being imported.
  4. Select which of the supported operating systems versions corresponds to the XCCDF checklist being imported.

 POLICY DELETE

  1. Open a command prompt and navigate to the folder "C:\Program Files\Risk Automation Suite\SFPolicyEvaluator" on the RAS host.
  2. Enter the following command "policyevaluator.exe -delete"
  3. Choose the number for the policy to delete


Article URL http://www.symantec.com/docs/HOWTO31174


Terms of use for this information are found in Legal Notices