Skip to content

[BUG] swag-crowdsec outdated #1100

@kralikmatus

Description

@kralikmatus

Is there an existing issue for this?

  • I have searched the existing issues

Name of mod

swag-crowdsec

Name of base container

lscr.io/linuxserver/swag

Current Behavior

mod is very old and does not support metrics push to crowdsec app

Expected Behavior

Keep bouncer up to date with recent versions of crowdsec.

Steps To Reproduce

Install crowdsec.
Install swag with mod.
Setup to crowdsec account.
Wait for metrics push.
After metrics push attempt there will be a log file in crowdsec container: level=error msg="Failed to bind json: json: cannot unmarshal object into Go struct field AllMetrics.remediation_components.feature_flags of type []string" func=UsageMetrics

Environment

CPU architecture

arm64

Docker creation

Docker-compose

Container logs

level=error msg="Failed to bind json: json: cannot unmarshal object into Go struct field AllMetrics.remediation_components.feature_flags of type []string" func=UsageMetrics

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Issues

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions