Skip to content

docker: read from now if container restarts - #4605

Open
blotus wants to merge 1 commit into
masterfrom
docker-acquis-double-read-restart
Open

docker: read from now if container restarts#4605
blotus wants to merge 1 commit into
masterfrom
docker-acquis-double-read-restart

Conversation

@blotus

@blotus blotus commented Aug 12, 2026

Copy link
Copy Markdown
Member

A container restart (eg, docker compose restart ...) can lead crowdsec to re-read all the logs that were emitted by the container, leading to false detections.

Ignore since in tail mode, and always tail from now() when we starting reading logs.

@github-actions

Copy link
Copy Markdown

@blotus: There are no 'kind' label on this PR. You need a 'kind' label to generate the release automatically.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind fix
  • /kind chore
  • /kind dependencies
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@github-actions

Copy link
Copy Markdown

@blotus: There are no area labels on this PR. You can add as many areas as you see fit.

  • /area agent
  • /area local-api
  • /area cscli
  • /area appsec
  • /area security
  • /area configuration
Details

I am a bot created to help the crowdsecurity developers manage community feedback and contributions. You can check out my manifest file to understand my behavior and what I can do. If you want to use this for your project, you can check out the BirthdayResearch/oss-governance-bot repository.

@codecov

codecov Bot commented Aug 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 64.56%. Comparing base (0166b31) to head (d956aad).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4605      +/-   ##
==========================================
+ Coverage   64.02%   64.56%   +0.54%     
==========================================
  Files         518      501      -17     
  Lines       39460    38730     -730     
==========================================
- Hits        25264    25006     -258     
+ Misses      11817    11391     -426     
+ Partials     2379     2333      -46     
Flag Coverage Δ
bats 41.54% <0.00%> (+<0.01%) ⬆️
unit-linux 40.81% <100.00%> (+0.01%) ⬆️
unit-windows ?

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant