Policy Testing
SLIDE provides a policy test wizard to make it easy to test a policy using either a remote machine or a virtual machine (e.g., VMWare).
To use the policy test wizard, the project must compile successfully.
To test a policy:
-
The first time only, setup the launch configuration
-
Right click on the project in the policy explorer and select "Run As -> Run" to start the policy test wizard.
Select the launch configuration to use and press "Run"
The launch will perform the following steps:
-
Copy the built policy to the remote machine.
-
Possibly reboot the machine or initiate relabeling, depending on options selected in the launch configuration.
-
Bring the audit view to focus in Eclipse.
-
Copy any test scripts specified in the configuration to the remote machine and execute them.
-
Monitor the audit messages and fix any denials
-
Repeat as needed.
Requirements
-
SLIDE Remote must be running on the remote machine.
-
The policy version for the remote machine's policy and the project's policy must match.
-
The remote machine must have an ssh server and allow ssh connections.
©2006 Tresys Technology, LLC