goss-org / goss

Quick and Easy server testing/validation
https://goss.rocks
Apache License 2.0
5.55k stars 473 forks source link

Verify user of the process #716

Closed anjuchaurasiya closed 2 years ago

anjuchaurasiya commented 3 years ago

Describe the feature:

Describe the solution you'd like

Describe alternatives you've considered

Currently we can just check if process is running or not inside the container with below piece of code, could you please also add a feature to verify the owner of the running process?

The requested/suggested feature is applicable for process as well as for command.

process:
  httpd:
    running: true    
stale[bot] commented 2 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.