refact "cscli alerts" #2827
refact "cscli alerts" #2827
78.65% of diff hit (target 0.00%)
View this Pull Request on Codecov
78.65% of diff hit (target 0.00%)
Annotations
Check warning on line 151 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L151
Added line #L151 was not covered by tests
Check warning on line 155 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L155
Added line #L155 was not covered by tests
Check warning on line 327 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L327
Added line #L327 was not covered by tests
Check warning on line 331 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L331
Added line #L331 was not covered by tests
Check warning on line 439 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L439
Added line #L439 was not covered by tests
Check warning on line 488 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L488
Added line #L488 was not covered by tests
Check warning on line 498 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L498
Added line #L498 was not covered by tests
Check warning on line 504 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L504
Added line #L504 was not covered by tests
Check warning on line 534 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L533-L534
Added lines #L533 - L534 were not covered by tests
Check warning on line 537 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L537
Added line #L537 was not covered by tests
Check warning on line 539 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L539
Added line #L539 was not covered by tests
Check warning on line 544 in cmd/crowdsec-cli/alerts.go
codecov / codecov/patch
cmd/crowdsec-cli/alerts.go#L544
Added line #L544 was not covered by tests