Testing an Enforcement Set

When creating an Enforcement Set, you can use Test Run to test an Enforcement Set on one asset to verify the outcome before running it on all matching assets during a regular run. You can then view the results of the run and edit the Enforcement Set if necessary.

Note

  • All required fields must be filled in to use Test Run.

  • To use Test Run, you need the Action Center > Run permission, and either the Action Center > Edit permission or an Enforcement Set that you created. See Permissions for Editing Enforcement Sets.

  • Axonius selects the test asset at random from the assets that match the query of the Enforcement Set (from the first 50 matching assets that you have permission to see). If no asset matches the query, you cannot use Test Run.

  • Test Run saves the Enforcement Set before it runs.

  • Test Run runs all the actions of the Enforcement Set for real on the selected asset. For example, an action that creates a ticket creates a real ticket, and an action that sends an email sends a real email. You cannot undo these actions.

  • Test Run updates the Last Run and the run status of the Enforcement Set, and adds 1 to Total Runs. Test Run is not counted in the number of runs for the schedule end option After.

To perform a test run of an Enforcement Set

  1. Configure the Enforcement Set.

  2. At the bottom of the Create Enforcement Set drawer, click Test Run.

  3. The Test Run dialog lists the selected asset to be used for the test. Click Asset Info to display detailed information about the selected asset in a new browser tab.

  4. Click Test Run. Axonius saves the Enforcement Set and runs it on the selected asset. A progress dialog is displayed while the test is running. To close the Test Run dialog without running the test, click Close.

    ECSetTestRunVerify.png

    When Test Run completes, the results of each Enforcement Action are displayed in the Test Run dialog. An action that had no assets to run on shows Did Not Run: No Assets.

    ECSetTestRunComplete.png

  5. To view information about an Action, click one of the links to the right. The link opens in a new browser tab.

  6. Click Close to close the Test Run dialog and return to the Create Enforcement Set drawer.


Did this page help you?