fbonalair/traefik-crowdsec-bouncer

View on GitHub
controler/controler.go

Summary

Maintainability
A
0 mins
Test Coverage

Function isIpAuthorized has 7 return statements (exceeds 4 allowed).
Wontfix

func isIpAuthorized(clientIP string) (bool, error) {
    // Generating crowdsec API request
    decisionUrl := url.URL{
        Scheme:   crowdsecBouncerScheme,
        Host:     crowdsecBouncerHost,
Severity: Major
Found in controler/controler.go - About 45 mins to fix

    There are no issues that match your filters.

    Category
    Status