policyImport

The policyImport utility imports the data of previously exported policies back into the database.

Purpose

The policyImport utility reads in the filename of a previously exported zip or single policy xml file and writes the policy information into the database.

Syntax

When you invoke the policyImport utility the following syntax is supported:

----------------------------------------------------------------
1: ./policyImport.sh <filename>
----------------------------------------------------------------
Optional: -overwrite, suppressWarnings
----------------------------------------------------------------
Note: The following commands are optional:
-overwrite
This option forces an overwrite of an existing policy component with the same version.
-suppressWarnings
This option suppresses all warning messages displayed on the screen.
Note: Files to be imported must exist in the following directory and be a zip file or single policy xml file: $(INSTALL_HOME)/compliance/db/export/policies

Example

The following command will attempt to import all policies in the zip file:
./policyImport.sh NSA_policies.zip
Note: If a policy or policy parameter already exists in the system it will not be imported unless the -overwrite option in specified.

The policyImport utility imports the data sets to the database tables as specified.

Security on imports

The imported tables are automatically created in the realm listing under the Realm Access Control Tab in Compliance Security Administration. By default, there is no realm security. Users do not have the ability to view realms. To enable view access and execution of the imported policies within the realms, security permissions must be applied. For further information on applying security in Realm Management, see the IBM Tivoli Netcool Configuration Manager User Guide.