summaryrefslogtreecommitdiffstats
path: root/test/functional/configs/antivirus.conf
blob: 432d9a2de6357d6534bb94336e5e8a5c6c25867a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
redis {
  servers = "${REDIS_ADDR}:${REDIS_PORT}";
}
antivirus {
 clam {
    attachments_only = false;
    symbol = "CLAM_VIRUS";
    type = "clamav";
    servers = "127.0.0.1:${PORT_CLAM}";
  }
  fprot {
    attachments_only = false;
    symbol = "FPROT_VIRUS";
    type = "fprot";
    servers = "127.0.0.1:${PORT_FPROT}";
    patterns {
      FPROT_EICAR = "^EICAR_Test_File$";
    }
  }
  fprot_duplicate {
    prefix = "fp_dupe";
    attachments_only = false;
    symbol = "FPROT_VIRUS_DUPLICATE_DEFAULT";
    type = "fprot";
    servers = "127.0.0.1:${PORT_FPROT_DUPLICATE}";
    patterns = [
      {FPROT_VIRUS_DUPLICATE_PATTERN = "^E"},
      {FPROT_VIRUS_DUPLICATE_NOPE1 = "^EI",
      FPROT_VIRUS_DUPLICATE_NOPE2 = "^EIC",
      FPROT_VIRUS_DUPLICATE_NOPE3 = "^EICA",
      FPROT_VIRUS_DUPLICATE_NOPE4 = "^EICAR",
      FPROT_VIRUS_DUPLICATE_NOPE5 = "^EICAR_"}
    ];
  }
}