aboutsummaryrefslogtreecommitdiffstats
path: root/test/functional/configs/antivirus.conf
blob: 9aba7bb643d2b09cd02385ed98c9e1bdfced417e (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 = "FPROT2_VIRUS_DUPLICATE_DEFAULT";
    type = "fprot";
    servers = "127.0.0.1:${PORT_FPROT2_DUPLICATE}";
    patterns = [
      {FPROT2_VIRUS_DUPLICATE_PATTERN = "^E"},
      {FPROT2_VIRUS_DUPLICATE_NOPE1 = "^EI",
      FPROT2_VIRUS_DUPLICATE_NOPE2 = "^EIC",
      FPROT2_VIRUS_DUPLICATE_NOPE3 = "^EICA",
      FPROT2_VIRUS_DUPLICATE_NOPE4 = "^EICAR",
      FPROT2_VIRUS_DUPLICATE_NOPE5 = "^EICAR_"}
    ];
  }
}