Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Discover package metadata from debs and rpms #2817

Open
metalmatze opened this issue May 22, 2024 · 0 comments
Open

Discover package metadata from debs and rpms #2817

metalmatze opened this issue May 22, 2024 · 0 comments
Labels
area/metadata Something about enrich the profiles with metadata enhancement New feature or request

Comments

@metalmatze
Copy link
Member

Is your feature request related to a problem? Please describe.

It's not always clear from where a binary was installed on a given system that the agent is profiling.

Describe the solution you'd like

Using package metadata for ELF the agent could discover additional metadata that distributions may store in ELF binaries. These could be exposed as labels on a profile.

Here's a copied example from the blog post of what data to expect:

Key name Key description Example value
type The packaging type rpm
os The OS name, typically corresponding to ID in os-release fedora
osVersion The OS version, typically corresponding to VERSION_ID in os-release 33
name The source package name coreutils
version The source package version 4711.0815.fc13
architecture The binary package architecture arm32
osCpe A CPE name for the OS, typically corresponding to CPE_NAME in os-release cpe:/o:fedoraproject:fedora:33
debugInfoUrl The debuginfod server url, if available https://debuginfod.fedoraproject.org/

Describe alternatives you've considered

The alternative would be not to pick up that data if available.

Additional context

@metalmatze metalmatze added enhancement New feature or request area/metadata Something about enrich the profiles with metadata labels May 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/metadata Something about enrich the profiles with metadata enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant