I am lookingto create a relevance statement to pull current services on a system. We have both windows and linux in our enviornment also some Unix so I need an OS agnostic relevance statement which should display service name and status.
In my experience that’s not possible, at least not directly through native inspectors only. The “service” inspector does not work well on Unix & Linux and a lot of the very simple sub-inspectors like "state of " and "start type of " are not even designed to work on Unix/Linux. In fact, Compliance functionality itself on Unix/Linux when it’s to determine compliance of a service requires you to execute “probes” on the boxes that output commands to file, which then the checks read back… If you want to approach it in similar way on Unix/Linux, you may be able to get it done but as i said with relevance only I don’t think it’s achievable. I do have an RFE/idea to expand the inspectors on Unix/Linux, so if you think it is worth exploring welcome to vote: BFP-I-207.