mirror of
https://github.com/MountCloud/FireDog.git
synced 2026-10-16 20:20:49 +08:00
3dbac60203
2:重构特征库格式,从json改用yaml(json确实看起来不好看)。 3:更改特征匹配逻辑,将字节匹配与校验匹配结果拆分。 4:编辑器适配新的规则引擎和特征库格式。
29 lines
533 B
Plaintext
29 lines
533 B
Plaintext
version: 1.2.1
|
|
items:
|
|
- name: test
|
|
author: mountcloud
|
|
describe: test new rule engine.
|
|
features:
|
|
- key: key1
|
|
text: a
|
|
- key: key2
|
|
text: b
|
|
- key: key3
|
|
text: c
|
|
- key: key4
|
|
text: d
|
|
rules:
|
|
- $and:
|
|
- $all:
|
|
- key1
|
|
- key2
|
|
- $and:
|
|
- $all:
|
|
- key3
|
|
- $all:
|
|
- key4
|
|
- $ge:
|
|
- $count:
|
|
- key1
|
|
- $int: 3
|