@scolastico-dev/open-altcha
    Preparing search index...

    Class CrowdSecConfigService

    Index

    Properties

    apiKey: string = ...

    The CrowdSec API key.

    CROWDSEC_API_KEY

    ''
    
    CROWDSEC_API_KEY=your-api-key
    
    enabled: boolean = ...

    Indicates whether CrowdSec integration is enabled.

    CROWDSEC_ENABLED

    false
    
    CROWDSEC_ENABLED=true
    
    failOpen: boolean = ...

    Fail-open strategy: if true, allow requests when CrowdSec is unreachable. If false, reject requests when CrowdSec fails.

    CROWDSEC_FAIL_OPEN

    true
    
    CROWDSEC_FAIL_OPEN=true
    
    lapiUrl: string = ...

    The CrowdSec LAPI URL.

    CROWDSEC_LAPI_URL

    http://localhost:8080
    
    CROWDSEC_LAPI_URL=http://localhost:8080
    
    maxStrengthIncrease: number = ...

    Maximum strength increase for known attackers.

    CROWDSEC_MAX_STRENGTH_INCREASE

    50
    
    CROWDSEC_MAX_STRENGTH_INCREASE=50
    
    minStrengthIncrease: number = ...

    Minimum strength increase for suspicious IPs.

    CROWDSEC_MIN_STRENGTH_INCREASE

    20
    
    CROWDSEC_MIN_STRENGTH_INCREASE=20