HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
open-policy-agent
conftest
Go2020–2024
open-policy-agent / conftest

conftest

Write tests against structured configuration data using the Open Policy Agent Rego query language

2Distinct people
2Mentions
0Explicit recommenders
3.3KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

Write tests against structured configuration data using the Open Policy Agent Rego query language

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year2 dated mentions

Observed mentions: 2020-07-04 14:47:55 UTC to 2024-06-25 18:41:47 UTC.

012020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments20202021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments20222023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 comments2024

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC101
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC000
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC000
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC000
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC101

What Hacker News says

2 sources
I have been working on a project in a similar vein: rq[0]. Mine started out as an attempt to make a jq-like frontend for the Rego[1] language. However, I do find myself using it to simply convert from one format to another, and for pretty printing, quite often. The interactive mode that qq has is really slick. I didn't torture test it, but it worked pretty smoothly with a quick test. I see that the XML support is implemented using the same library as rq. This definitely has some problems, because the data model of XML does not map very cleanly onto JSON. In particular, I recall that I had problems using mxj to marshal arrays, and had to use this[2] ugly hack instead. qq seems to have done this a little more cleanly[3]. I may just have to lift this particular trick. I definitely found CSV output to be challenging. Converting arbitrary JSON
Read the rest
style data into something table shaped is pretty tricky. This[4] is my attempt. I have found it works well enough, though it isn't perfect. I can also see that qq hasn't yet run into the byte order marker problem with CSV inputs yet. Might want to check out spkg/bom[5]. One final breadcrumb I'll drop - I drew a lot of inspiration for rq's input parsers from conftest[6]. That may be a good resource to find more formats and see specific usage examples of them. Thanks for sharing! It's really interesting to see some of the convergent evolution between rq and qq. 0 - https://git.sr.ht/~charles/rq 1 - https://www.openpolicyagent.org/docs/latest/policy-language/ 2 - https://git.sr.ht/~charles/rq/tree/c67df633c0438763956ff8646... 3 - https://github.com/JFryy/qq/blob/2f750f04def47bec9be100b7c89... 4 - https://git.sr.ht/~charles/rq/tree/c67df633c0438763956ff8646... 5 - github.com/spkg/bom 6 - https://github.com/open-policy-agent/conftest
In Show HN: Qq: like jq, but can transcode between many formats
I'm checking out Cuelang! :) Thanks for mentioning about this. In fact, I have noticed that there are lots of tools around configuration management now a days, though I have not tried any of them really. For example - https://github.com/open-policy-agent/conftest . Let me give Cuelang and others a try and also, I wouldn't try to reinvent the wheel. My aim was just to provide values.json.schema if people want to use helm's feature. Looks like there are external standalone tools that can help with config validation for any DSLs. Nice
In Helm Values Schema Generation

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.