github.com/crowdsecurity/crowdsec@v1.6.1/pkg/leakybucket/tests/simple-bayesian-bucket/test.json (about) 1 { 2 "lines": [ 3 { 4 "Line": { 5 "Labels": { 6 "type": "nginx" 7 }, 8 "Raw": "don't care" 9 }, 10 "MarshaledTime": "2020-01-01T10:00:00.000Z", 11 "Meta": { 12 "source_ip": "2a00:1450:4007:816::200e", 13 "log_type": "http_access-log", 14 "http_path": "/" 15 } 16 }, 17 { 18 "Line": { 19 "Labels": { 20 "type": "nginx" 21 }, 22 "Raw": "don't care" 23 }, 24 "MarshaledTime": "2020-01-01T10:00:00.000Z", 25 "Meta": { 26 "source_ip": "2a00:1450:4007:816::200e", 27 "log_type": "ssh_access-log", 28 "ssh_user": "admin" 29 } 30 } 31 ], 32 "results": [ 33 { 34 "Type" : 1, 35 "Alert": { 36 "sources" : { 37 "2a00:1450:4007:816::200e": { 38 "ip": "2a00:1450:4007:816::200e", 39 "scope": "Ip", 40 "value": "2a00:1450:4007:816::200e" 41 } 42 }, 43 "Alert" : { 44 "scenario": "test/simple-bayesian", 45 "events_count": 2 46 } 47 } 48 } 49 ] 50 }