By default (OOB), discovery does not populate the value 'OS Service Pack' for Linux system, you could check out the documentation regarding Linux Discovery Data Collected to confirm the same. So how do we get that value updated? The things that we know, the term 'OS Service Pack' used for Microsoft system, but for Linux operating system it used 'OS Version' instead. Therefore, you could get the Linux OS version from Linux server pattern for this instead.
- In Linux Server pattern, it leverages 'uname -a' command to fetch OS version information, and
- In step 'Extract distribution version' (image below) we could extract (parsing) the version information and store it in a variable
- Then the value in os_version field is then populated with this new value in step 'Update OS Version' on Linux CI
-Linux Discovery Data Collected: