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:

  1. The first time only, setup the launch configuration
  2. 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:
    1. Copy the built policy to the remote machine.
    2. Possibly reboot the machine or initiate relabeling, depending on options selected in the launch configuration.
    3. Bring the audit view to focus in Eclipse.
    4. Copy any test scripts specified in the configuration to the remote machine and execute them.
  3. Monitor the audit messages and fix any denials
  4. Repeat as needed.

Requirements