SAP / macOS-enterprise-privileges

For Mac users in enterprise environments, this application gives users control over the administration of their machine by elevating their level of access to administrator privileges on macOS. Users can set a timeframe in the application's settings to perform specific tasks, such as installing or removing an application.
Apache License 2.0
1.4k stars 149 forks source link

Feature Request: Add syslog output #6

Closed wr2mem closed 4 years ago

wr2mem commented 4 years ago

Issue: Collection of logs with third party log shippers. With the current implementation. The third-party logs shipper has an external dependency in order to collect the Privilege.app logs (/usr/bin/log)

It is possible to grab the encrypted logs from Unified logs but it introduces overhead and additional moving parts in order aggregate the Priviledge.app logs with a common log shipper.

Proposition: To add the ability for the Privilege.app to output the logs to system logs. This will allow third party log shippers input from system.log file, in this case, and easily ingest and ship logs from the app into an aggregation point of choice without any dependencies.

We have experimented with several configurations, one outlined within the following link https://nxlog.co/documentation/nxlog-user-guide/xm_exec.html in combination with the log command with respective subsystems and predicates.

We would like to know if the maintainers of the project see value in this contribution and would consider the proposed code as a potential feature that can be leveraged by the community as an alternative to ASL / Unified Logs consumption.

Thanks in advance for looking into this.

rtrouton commented 4 years ago

Added syslog export ability in Privileges 1.5.0.