New audit event on the first connection of an agent with a new version - backend work

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

Release notes

Problem to solve

Proposal

A new audit event to signal that an agent got upgraded.

  • cluster_agent_version_upgraded - the event should contain the new version string

We should store the version string, so we know when it changes.

Scope: The scope of this issue is to store the last seen agent version

Intended users

Feature Usage Metrics

No.

Does this feature require an audit event?

No.

Edited by 🤖 GitLab Bot 🤖