linux-audit.redhat.com archive mirror
 help / color / mirror / Atom feed
* Use case not covered by the audit library?
@ 2015-12-15  5:13 Gulland, Scott A
  2015-12-16 14:22 ` Steve Grubb
  0 siblings, 1 reply; 13+ messages in thread
From: Gulland, Scott A @ 2015-12-15  5:13 UTC (permalink / raw)
  To: linux-audit@redhat.com, Gulland, Scott A

Hi,

I have a fairly common use case that I'm not sure is covered by the audit library and I need some advice on how best to handle it.   I have a daemon running as root that services REST API calls (or a web UI from a browser).  An external application first establishes a session by authenticating a user which returns a token/session ID to the caller.   All future REST API calls, supplies the token/session ID which allows them authenticated access to the requested resource.   The token/session ID indicates what user the request is associated with.  Obviously, there can be many users simultaneously issuing requests.

What I need to do is specify the user on each audit log call.   For example, I need to have a way to specify which user is issuing the request when I call audit_log_user_message().  Is this possible?   This is a very common use case and really needs to be handled.

Scott Gulland
916.785.1497
HPE Networking, CEB R&D

8000 Foothills Blvd; MS - 5505
Roseville, CA 95747
USA

^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2016-01-11 21:12 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-15  5:13 Use case not covered by the audit library? Gulland, Scott A
2015-12-16 14:22 ` Steve Grubb
2015-12-16 19:55   ` Burn Alting
2015-12-17  4:53     ` Gulland, Scott A
2015-12-17  4:21   ` Gulland, Scott A
2015-12-17  6:10     ` Richard Guy Briggs
2015-12-18  2:51       ` Steve Grubb
2016-01-05 21:59         ` Gulland, Scott A
2016-01-06 16:28           ` Steve Grubb
2016-01-06 18:03             ` Gulland, Scott A
2016-01-06 20:05               ` Steve Grubb
2016-01-06 20:27                 ` Gulland, Scott A
2016-01-11 21:12                   ` Steve Grubb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).