github.com/crowdsecurity/crowdsec@v1.6.1/pkg/apiserver/tests/alert_duplicate.json (about) 1 [ 2 { 3 "id": 42, 4 "machine_id": "test", 5 "capacity": 1, 6 "created_at": "2020-10-09T10:00:10Z", 7 "decisions": [ 8 { 9 "duration": "1h", 10 "origin": "test", 11 "scenario": "crowdsecurity/test", 12 "scope": "Ip", 13 "value": "127.0.0.1", 14 "type": "ban" 15 } 16 ], 17 "source": { 18 "ip": "127.0.0.1", 19 "range": "127.0.0.1/32", 20 "scope": "ip", 21 "value": "127.0.0.1" 22 }, 23 "Events": [ 24 ], 25 "events_count": 1, 26 "leakspeed": "0.5s", 27 "message": "test", 28 "scenario_hash": "hashtest", 29 "scenario_version": "v1", 30 "simulated": false, 31 "scenario": "crowdsecurity/test", 32 "start_at": "2020-10-09T10:00:01Z", 33 "stop_at": "2020-10-09T10:00:05Z" 34 }, 35 { 36 "id": 44, 37 "machine_id": "test", 38 "created_at": "2020-10-09T10:00:10Z", 39 "decisions": [ 40 { 41 "duration": "3h", 42 "origin": "another_origin", 43 "scenario": "crowdsecurity/ssh_bf", 44 "scope": "Ip", 45 "value": "127.0.0.1", 46 "type": "ban" 47 } 48 ], 49 "source": { 50 "ip": "127.0.0.1", 51 "range": "127.0.0.1/32", 52 "scope": "ip", 53 "value": "127.0.0.1" 54 }, 55 "Events": [ 56 ], 57 "events_count": 1, 58 "leakspeed": "0.5s", 59 "message": "test", 60 "scenario_hash": "hashtest", 61 "scenario_version": "v1", 62 "simulated": false, 63 "capacity": 1, 64 "scenario": "crowdsecurity/ssh_bf", 65 "start_at": "2020-10-09T10:00:01Z", 66 "stop_at": "2020-10-09T10:00:05Z" 67 }, 68 { 69 "id": 45, 70 "machine_id": "test", 71 "created_at": "2020-10-09T10:00:10Z", 72 "decisions": [ 73 { 74 "duration": "5h", 75 "origin": "test", 76 "scenario": "crowdsecurity/longest", 77 "scope": "Ip", 78 "value": "127.0.0.1", 79 "type": "ban" 80 } 81 ], 82 "source": { 83 "ip": "127.0.0.1", 84 "range": "127.0.0.1/32", 85 "scope": "ip", 86 "value": "127.0.0.1" 87 }, 88 "Events": [ 89 ], 90 "events_count": 1, 91 "leakspeed": "0.5s", 92 "message": "test", 93 "scenario_hash": "hashtest", 94 "scenario_version": "v1", 95 "simulated": false, 96 "capacity": 1, 97 "scenario": "crowdsecurity/longest", 98 "start_at": "2020-10-09T10:00:01Z", 99 "stop_at": "2020-10-09T10:00:05Z" 100 }, 101 { 102 "id": 46, 103 "machine_id": "test", 104 "created_at": "2020-10-09T10:00:10Z", 105 "decisions": [ 106 { 107 "duration": "3h", 108 "origin": "test", 109 "scenario": "crowdsecurity/test", 110 "scope": "Ip", 111 "value": "127.0.0.2", 112 "type": "ban" 113 } 114 ], 115 "source": { 116 "ip": "127.0.0.2", 117 "range": "127.0.0.2/32", 118 "scope": "ip", 119 "value": "127.0.0.2" 120 }, 121 "Events": [ 122 ], 123 "events_count": 1, 124 "leakspeed": "0.5s", 125 "message": "test", 126 "scenario_hash": "hashtest", 127 "scenario_version": "v1", 128 "simulated": false, 129 "capacity": 1, 130 "scenario": "crowdsecurity/test", 131 "start_at": "2020-10-09T10:00:01Z", 132 "stop_at": "2020-10-09T10:00:05Z" 133 }, 134 { 135 "id": 47, 136 "machine_id": "test", 137 "created_at": "2020-10-09T10:00:10Z", 138 "decisions": [ 139 { 140 "duration": "3h", 141 "origin": "test", 142 "scenario": "crowdsecurity/ssh_bf", 143 "scope": "Ip", 144 "value": "127.0.0.2", 145 "type": "ban" 146 } 147 ], 148 "source": { 149 "ip": "127.0.0.2", 150 "range": "127.0.0.2/32", 151 "scope": "ip", 152 "value": "127.0.0.2" 153 }, 154 "Events": [ 155 ], 156 "events_count": 1, 157 "leakspeed": "0.5s", 158 "message": "test", 159 "scenario_hash": "hashtest", 160 "scenario_version": "v1", 161 "simulated": false, 162 "capacity": 1, 163 "scenario": "crowdsecurity/ssh_bf", 164 "start_at": "2020-10-09T10:00:01Z", 165 "stop_at": "2020-10-09T10:00:05Z" 166 }, 167 { 168 "id": 48, 169 "machine_id": "test", 170 "created_at": "2020-10-09T10:00:10Z", 171 "decisions": [ 172 { 173 "duration": "1h", 174 "origin": "test", 175 "scenario": "crowdsecurity/ssh_bf", 176 "scope": "Ip", 177 "value": "127.0.0.2", 178 "type": "ban" 179 } 180 ], 181 "source": { 182 "ip": "127.0.0.2", 183 "range": "127.0.0.2/32", 184 "scope": "ip", 185 "value": "127.0.0.2" 186 }, 187 "Events": [ 188 ], 189 "events_count": 1, 190 "leakspeed": "0.5s", 191 "message": "test", 192 "scenario_hash": "hashtest", 193 "scenario_version": "v1", 194 "simulated": false, 195 "capacity": 1, 196 "scenario": "crowdsecurity/ssh_bf", 197 "start_at": "2020-10-09T10:00:01Z", 198 "stop_at": "2020-10-09T10:00:05Z" 199 }, 200 { 201 "id": 49, 202 "machine_id": "test", 203 "created_at": "2020-10-09T10:00:10Z", 204 "decisions": [ 205 { 206 "duration": "2h", 207 "origin": "another_origin", 208 "scenario": "crowdsecurity/test", 209 "scope": "Ip", 210 "value": "127.0.0.2", 211 "type": "ban" 212 } 213 ], 214 "source": { 215 "ip": "127.0.0.2", 216 "range": "127.0.0.2/32", 217 "scope": "ip", 218 "value": "127.0.0.2" 219 }, 220 "Events": [ 221 ], 222 "events_count": 1, 223 "leakspeed": "0.5s", 224 "message": "test", 225 "scenario_hash": "hashtest", 226 "scenario_version": "v1", 227 "simulated": false, 228 "capacity": 1, 229 "scenario": "crowdsecurity/test", 230 "start_at": "2020-10-09T10:00:01Z", 231 "stop_at": "2020-10-09T10:00:05Z" 232 }, 233 { 234 "id": 50, 235 "machine_id": "test", 236 "created_at": "2020-10-09T10:00:10Z", 237 "decisions": [ 238 { 239 "duration": "3h", 240 "origin": "test", 241 "scenario": "crowdsecurity/test", 242 "scope": "Ip", 243 "value": "127.0.0.2", 244 "type": "captcha" 245 } 246 ], 247 "source": { 248 "ip": "127.0.0.2", 249 "range": "127.0.0.2/32", 250 "scope": "ip", 251 "value": "127.0.0.2" 252 }, 253 "Events": [ 254 ], 255 "events_count": 1, 256 "leakspeed": "0.5s", 257 "message": "test", 258 "scenario_hash": "hashtest", 259 "scenario_version": "v1", 260 "simulated": false, 261 "capacity": 1, 262 "scenario": "crowdsecurity/test", 263 "start_at": "2020-10-09T10:00:01Z", 264 "stop_at": "2020-10-09T10:00:05Z" 265 } 266 ]