crowdsec icon indicating copy to clipboard operation
crowdsec copied to clipboard

Log processor `last_push` / `created_at` are always updated.

Open blotus opened this issue 1 year ago • 2 comments

In the DB schema, the last_push and created_at fields have an UpdateDefault value, which means that they will get updated each time we write to a LP row (for example, when we receive a heartbeat).

last_push should only be updated when LAPI actually receives a signal, and created_at should never be touched after the creation.

blotus avatar Apr 30 '24 10:04 blotus

@blotus: Thanks for opening an issue, it is currently awaiting triage.

In the meantime, you can:

  1. Check Crowdsec Documentation to see if your issue can be self resolved.
  2. You can also join our Discord.
  3. Check Releases to make sure your agent is on the latest version.
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[bot] avatar Apr 30 '24 10:04 github-actions[bot]

@blotus: There are no 'kind' label on this issue. You need a 'kind' label to start the triage process.

  • /kind feature
  • /kind enhancement
  • /kind refactoring
  • /kind bug
  • /kind packaging
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[bot] avatar Apr 30 '24 10:04 github-actions[bot]

done in https://github.com/crowdsecurity/crowdsec/pull/2981

mmetc avatar May 03 '24 12:05 mmetc