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

Expose PRETTY_NAME for os asset data #5048

Open
czunker opened this issue Dec 30, 2024 · 0 comments
Open

Expose PRETTY_NAME for os asset data #5048

czunker opened this issue Dec 30, 2024 · 0 comments

Comments

@czunker
Copy link
Contributor

czunker commented Dec 30, 2024

Is your feature request related to a problem? Please describe.
We already have the data, but we do not expose it.

https://github.com/mondoohq/cnquery/blob/main/providers/os/detector/parser_linux_version.go#L18

https://github.com/mondoohq/cnquery/blob/main/providers/os/detector/detector_all.go#L74

Describe the solution you'd like

# cat /etc/os-release
PRETTY_NAME=“SUSE Linux Enterprise Server 15 SP2”

Expose this data as resource field for an asset.

Describe alternatives you've considered

Additional context
This is used here: https://ossf.github.io/osv-schema/#affectedpackage-field

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant