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

mindersec / minder / 11914407744 / 1
59%
main: 59%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2024 01:57PM UTC
Files 297
Run time 11s
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

19 Nov 2024 01:47PM UTC coverage: 54.843% (+0.07%) from 54.77%
11914407744.1

push

github

web-flow
Implement data source interfaces & registration in rego engine (#4997)

* Implement data source interfaces & registration in rego engine

This implements the basic interfaces that data sources must fulfil in
order to be called and used within Minder. This is:

* Listing the functions they provide
* Validating updates

Each function itself must provide a unique key for the engine to use, as
well as argument validation and the data source call itself.

Finally, this implements an engine option that allows data sources to be
dynamically registered into the rego engine.

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Create mocks for data sources and use it in tests

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Implement data source registry

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>

* Update internal/engine/eval/rego/datasources.go

Co-authored-by: Eleftheria Stein-Kousathana <eleftheria.kousathana@gmail.com>

---------

Signed-off-by: Juan Antonio Osorio <ozz@stacklok.com>
Co-authored-by: Eleftheria Stein-Kousathana <eleftheria.kousathana@gmail.com>

15691 of 28611 relevant lines covered (54.84%)

39.97 hits per line

Source Files on job 11914407744.1
  • Tree
  • List 0
  • Changed 19
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 11914407744
  • 77b19918 on github
  • Prev Job for on main (#11912465539.1)
  • Next Job for on main (#11928430934.1)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc