• Tan Le's avatar
    Record single audit event via Auditor · b0bd70d5
    Tan Le authored
    This change extends the public interface of the Gitlab::Audit::Auditor
    class to allow recording single audit event using standard method
    call. This allows more flexibility when instrumenting audit events.
    
    We can instrument audit events using 2 methods:
    
    1. Using block to track multiple audit events
    2. Using standard method call to track single audit event
    b0bd70d5
auditor_spec.rb 4.64 KB