.include(duplicate=append,priority=0) "{= env.TESTDIR =}/configs/plugins.conf"

lua = "{= env.LUA_SCRIPT =}";

settings {
  # Named setting with symbols_enabled for coexistence test
  merge_profile {
    id = "merge_profile";
    apply {
      symbols_enabled = ["MERGE_TEST_BASIC", "MERGE_HARD_DEP", "MERGE_WEAK_DEP"];
    }
  }

  # Named setting with group controls
  merge_group_ctl {
    id = "merge_group_ctl";
    apply {
      symbols_enabled = ["MERGE_GROUP_SYM", "MERGE_GROUP_SYM2", "MERGE_TEST_BASIC"];
    }
  }

  # Rule that matches by IP and provides action override
  ip_rule {
    ip = "7.7.7.7";
    apply {
      actions {
        reject = 100.0;
        greylist = 50.0;
      }
    }
  }
}
