• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kyverno / policy-reporter / 29002060330
74%

Build:
DEFAULT BRANCH: main
Ran 09 Jul 2026 07:40AM UTC
Jobs 1
Files 91
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

09 Jul 2026 07:36AM UTC coverage: 74.436% (+0.2%) from 74.208%
29002060330

push

github

web-flow
Enhance email client with Microsoft Graph API support and refactor (#1480)

* feat(email): add Microsoft Graph API support for email reports

Adds an email.Sender interface implemented by the existing SMTP client
and a new Microsoft Graph API client, allowing environments without SMTP
to send summary and violations reports via Microsoft 365 / Exchange
Online using the OAuth2 client credentials flow.

- CC/BCC recipients and saveToSentItems control
- Client secret configurable inline, via env var, or via secretRef to an
  existing Kubernetes Secret (key: clientSecret) resolved through the
  existing secrets client
- azureADEndpoint/graphEndpoint overrides for sovereign clouds
- Graph API error response bodies surfaced in returned errors
- Helm chart: emailReports.graphAPI values, chart README docs, and
  POD_NAMESPACE env in the report CronJobs for in-cluster secret lookup

Signed-off-by: Zsolt Bognar <zsolt.bognar@gmail.com>

* fix(email): add HTTP timeouts to Graph API client

Signed-off-by: Zsolt Bognar <zsolt.bognar@gmail.com>

---------

Signed-off-by: Zsolt Bognar <zsolt.bognar@gmail.com>

119 of 134 new or added lines in 4 files covered. (88.81%)

161 existing lines in 3 files now uncovered.

6135 of 8242 relevant lines covered (74.44%)

4.81 hits per line

Uncovered Changes

Lines Coverage ∆ File
10
87.01
pkg/email/graphapi.go
3
52.65
2.73% pkg/config/resolver.go
2
87.1
-2.73% pkg/kubernetes/secrets/client.go

Coverage Regressions

Lines Coverage ∆ File
148
52.65
2.73% pkg/config/resolver.go
7
33.33
0.0% pkg/email/client.go
6
87.1
-2.73% pkg/kubernetes/secrets/client.go
Jobs
ID Job ID Ran Files Coverage
1 29002060330.1 09 Jul 2026 07:40AM UTC 91
74.44
GitHub Action Run
Source Files on build 29002060330
  • Tree
  • List 91
  • Changed 4
  • Source Changed 4
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #29002060330
  • 2451af4d on github
  • Prev Build on main (#28969425972)
  • Next Build on main (#29002963118)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc