Skip to content

chore: redact more settings in CrowdSec exports #1566

Closed

Description

@Wikid82

What: the CrowdSec export now blanks sensitive values in notification files (#1565), but the main config.yaml is still exported as written. Review which of its settings can hold credentials (for example the database section) and blank them the same way, with the import keeping the current values.
Where: backend/internal/crowdsec/export.go, redact.go, redact_merge.go.
Suggested approach: reuse the rewriter with a keep-list for config.yaml, then extend the import merge. Decide how to treat the credentials files that are already preserved by the import.
Severity: low. Found while planning #1551.

Activity

  1. self-assigned this
    on Oct 12, 2026
  2. moved this from In Progress to In Review in Charonon Oct 17, 2026
  3. moved this from In Review to Done in Charonon Oct 18, 2026
  4. closed this as completedby moving to Done in Charonon Oct 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

backendServer-side codecrowdsecCrowdSec integrationdatabaseDatabase-related

Projects

  • Status
    Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions