Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Audit Middleware implementation #5

Merged
merged 1 commit into from
Apr 12, 2022
Merged

Add Audit Middleware implementation #5

merged 1 commit into from
Apr 12, 2022

Conversation

JAORMX
Copy link
Collaborator

@JAORMX JAORMX commented Apr 11, 2022

The intent of this middleware is to easily be installed in a gin-based
project and start setting audit events to a set writer.

Signed-off-by: Juan Antonio Osorio juan.osoriorobles@eu.equinix.com

@JAORMX JAORMX requested a review from a team as a code owner April 11, 2022 12:02
@JAORMX JAORMX changed the title Add Audit Middlware implementation WIP: Add Audit Middlware implementation Apr 11, 2022
@JAORMX JAORMX marked this pull request as draft April 11, 2022 12:02
@JAORMX JAORMX changed the title WIP: Add Audit Middlware implementation WIP: Add Audit Middleware implementation Apr 11, 2022
@JAORMX JAORMX force-pushed the mdw branch 2 times, most recently from 814751a to d6a5325 Compare April 11, 2022 14:44
@codecov-commenter
Copy link

codecov-commenter commented Apr 11, 2022

Codecov Report

Merging #5 (40b2a4a) into main (23344bf) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #5   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            3         4    +1     
  Lines           29        83   +54     
=========================================
+ Hits            29        83   +54     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
auditevent.go 100.00% <ø> (ø)
ginaudit/mdw.go 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 23344bf...40b2a4a. Read the comment docs.

@JAORMX JAORMX force-pushed the mdw branch 3 times, most recently from 24fd2b8 to 0921e34 Compare April 12, 2022 05:28
@JAORMX JAORMX changed the title WIP: Add Audit Middleware implementation Add Audit Middleware implementation Apr 12, 2022
@JAORMX JAORMX marked this pull request as ready for review April 12, 2022 05:29
The intent of this middleware is to easily be installed in a gin-based
project and start setting audit events to a set writer.

Signed-off-by: Juan Antonio Osorio <juan.osoriorobles@eu.equinix.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants