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.32k stars 149 forks source link

output log type notice to system.log #4

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.

wr2mem commented 4 years ago

CLA issue. Will open again.

cla-assistant[bot] commented 1 year ago

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


wr2mem seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.