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

mindersec / minder / 11914407744
59%

Build:
DEFAULT BRANCH: main
Ran 19 Nov 2024 01:57PM UTC
Jobs 1
Files 297
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

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

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>

64 of 77 new or added lines in 4 files covered. (83.12%)

1 existing line in 1 file now uncovered.

15691 of 28611 relevant lines covered (54.84%)

39.97 hits per line

Jobs
ID Job ID Ran Files Coverage
1 11914407744.1 19 Nov 2024 01:57PM UTC 0
54.84
GitHub Action Run
Source Files on build 11914407744
Detailed source file information is not available for this build.
  • Back to Repo
  • Github Actions Build #11914407744
  • 77b19918 on github
  • Prev Build on main (#11912465539)
  • Next Build on main (#11928430934)
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