Online Help

Audit service settings

This page describes the settings that control how AlloyScan manages audit services. These settings help you keep your audit environment accurate and free of obsolete records by automatically handling audit services that are no longer active.

From this section of the Admin Center, you can:

Inactivity period

The Inactivity period setting controls how long AlloyScan retains audit services that are no longer active.

Audit services that haven't reported activity begin to accumulate inactive days. Once the duration you set in the Inactivity period field is exceeded, AlloyScan schedules the service for deletion. If it remains inactive for another full inactivity period, AlloyScan then deletes it automatically. If the service comes back online before the second period ends, it will uninstall itself at that point. This way, the system stays clean without removing components that were only offline temporarily.

Example: With a 30-day inactivity period specified, an inactive audit service is scheduled for deletion after 30 days. If it remains offline for another 30 days, it is deleted. If it returns within that window, it will instead uninstall itself and avoid the scheduled deletion.

Managing audit service configuration in JSON format

At the top of the page, you can find an Import JSON button, and under the three-dot menu in the upper-right corner, you can access additional JSON options: Export JSON and Edit as JSON. These tools allow administrators to work with settings in a more technical and detailed manner.

  • Import JSON: Use this option to upload configuration data from a JSON file. This is useful when restoring a configuration from backup or applying settings consistently across multiple environments.

  • Export JSON: Click Export JSON to save the current audit service configuration as a JSON file. This makes it easier to back up your configuration or share it with other administrators.

  • Edit as JSON: If you prefer direct, technical control over the settings, use Edit as JSON to open the configuration in raw JSON format.

Allow module installation on audit service host

This option enables automatic installation of required PowerShell modules on the audit service host when running cloud audit scripts (AWS PowerShell, Azure Az).

  • Enabled: Missing modules are installed automatically during script execution. This helps ensure cloud scripts used in custom audit fields run without additional setup. See also Custom fields for cloud resources.

    NOTE: Enable this option before running the first audit with a custom audit field for cloud resources. Otherwise, the audit may fail due to missing modules.

  • Disabled: Required modules must be installed manually on the audit service host. Scripts that rely on missing modules may fail.

Use this option if your cloud audit scripts depend on modules that may not already be available on the audit service machine.