Skip to main content
You can create rules and parameters separately for each tenant. You can also overwrite gobal parameters only for one tenant specifically. In /activeguard/core/rule_sets/, you have two kinds of folders. Everything in 90_local acts as the default configuration for all tenants. In the _tenant folders, you can override the configuration by adding new files or overwrite those from 90_local. This structure is automatically used when you create a campaign or add list entries for a single tenant.
Folder structure of /activeguard/core

Tenant-Specific Rules

If you want to create a rule that only applies to a single tenant, place the rule file in: /activeguard/core/rule_sets/_tenantX/rules/custom/.

Tenant-Specific Parameters

You can do the same for .properties files. To set different rule parameters for individual tenants, set up tenant.properties like this:
  • In /activeguard/core/active_guard.yml, add tenant.properties to the rule profile configuration between local.properties and ui.properties:
Folder structure of /activeguard/core
  • Create /activeguard/core/rule_sets/90_local/params/tenant.properties and add a placeholder comment:
Expert Editor: /activeguard/core/rule_sets/90_local/params/tenant.properties
  • Add your configurations in /activeguard/core/rule_sets/_tenantX/params/tenant.properties for the individual tenants.
  • For example, you can add the contents of profile_no_subject_rewrite_no_quarantine.properties to tenant.properties to enable a tenant-specific “toothless mode.”