Problem
NCPA’s /api/system returns kernel info (system, release, version) but not Linux distribution details. We’d like to retrieve NAME, VERSION_ID, and PRETTY_NAME from /etc/os-release for inventory/compliance dashboards.
Proposal
Add os_release to the system module:
GET /api/system/os_release → object with stable fields (e.g., name, id, pretty_name, version_id, version_codename, etc.).
Example:
"os_release": {
"name": "Red Hat Enterprise Linux",
"id": "rhel",
"pretty_name": "Red Hat Enterprise Linux 9.2 (Plow)",
"version_id": "9.2"
}
Notes
• Tested on Linux only so far