Skip to content

fix(registration): adapt agent registration to the OpenAEV asset taxonomy remodel (asset_* network fields) #207

Description

@SamuelHassine

The OpenAEV asset taxonomy remodel moves the network-related fields from the endpoint level to the asset level, renaming them on the registration payload:

  • endpoint_ips -> asset_ips
  • endpoint_hostname -> asset_hostname
  • endpoint_mac_addresses -> asset_mac_addresses

Platform / arch / agent_version stay endpoint-scoped (endpoint_platform, endpoint_arch, endpoint_agent_version), and asset_name / asset_external_reference / asset_category are already asset_*.

The backend keeps a JsonAlias on the old endpoint_* names so the already-deployed agent fleet keeps registering until it self-updates, but the agent source should emit the new canonical asset_* names to stay consistent with the platform, injectors, collectors and the Python client.

Scope: src/api/register_agent.rs registration payload only. The implant needs no change (it sends no endpoint_* asset fields).

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugType: something isn't working (fix:).

    Type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions