On This Page
Uploading a Policy Configuration for Offline Analysis
Once you have obtained a policy configuration file, you can upload it to SecureTrack, as a revision for a device configured for Offline Analysis, as follows:
- Do one of the following:
- Go to Manage Devices. In the device tree, select the relevant device. Click Import configuration:
- In Compare view, in the device tree, select the relevant device. Click Upload Configuration:
- Navigate to the policy configuration file, and click Open.
The revision will appear after a few minutes in Compare view.
Alternatively, you can upload a policy configuration file to SecureTrack using CLI, as follows:
-
Get into the device-collector pod.
-
Run the following command, type1 for SecureTrack, and type c to apply the change.
-
Get the ID of the offline device:
-
Exit the pod:
-
Run the following command to get the ID of the device-collector: (If there are multiple IDs, use the first one.)
-
From the SecureTrack host, copy the policy configuration file to the device-collector pod:
kubectl cp <POLICY_CONFIGURATION_FILE_NAME> device-collector-<device-collector-ID>:/usr/local/st/offline_analysis/offline<ID> -c device-collector
kubectl cp <POLICY_CONFIGURATION_FILE_NAME> device-collector-<device-collector-ID>:/usr/local/st/offline_analysis/offline<ID> -c device-collectorwhere
-
<device-collector-ID>
is the ID of the device-collector that you obtained in step 3. -
<ID>
is the ID of the offline device you obtained in step 2.
-
-
Connect to the cgi-server pod:
-
Run the following command:
where <ID>
is the ID# from step 2.
The revision will appear after a few minutes in the Compare view.