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

feat: add custom claim enricher #12

Merged
merged 7 commits into from
Nov 22, 2024
Merged

Conversation

loekensgard
Copy link
Member

I have implemented an enricher designed to accept a custom claim as an input. This enricher will enrich the logs with the specified property if the custom claim is present.

Copy link

codecov bot commented Nov 22, 2024

Codecov Report

Attention: Patch coverage is 97.56098% with 1 line in your changes missing coverage. Please review.

Project coverage is 98.26%. Comparing base (376966d) to head (40a4b14).
Report is 7 commits behind head on main.

Files with missing lines Patch % Lines
...erilog.Enrichers.Claims/Enrichers/ClaimEnricher.cs 97.22% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #12      +/-   ##
==========================================
- Coverage   98.64%   98.26%   -0.39%     
==========================================
  Files           7        9       +2     
  Lines          74      115      +41     
  Branches        5       11       +6     
==========================================
+ Hits           73      113      +40     
- Partials        1        2       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.


🚨 Try these New Features:

@loekensgard loekensgard marked this pull request as ready for review November 22, 2024 09:14
@loekensgard loekensgard requested a review from a team as a code owner November 22, 2024 09:14
Copy link
Member

@h3rmanj h3rmanj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@loekensgard loekensgard merged commit a163502 into main Nov 22, 2024
1 check passed
@loekensgard loekensgard deleted the feat/customclaimenricher branch November 22, 2024 12:33
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