cnspec icon indicating copy to clipboard operation
cnspec copied to clipboard

✨ Add reporting jobs for scoring queries MRNs.

Open preslavgerchev opened this issue 2 years ago • 1 comments

Add reporting jobs for queries by MRN. Keep the existing ones by code id so that we have both until we transition over.

Here is a small sample policy you can verify the resolved policy with:

policies:
- name: testpolicy1
  uid: testpolicy1
  groups:
  - filters: return true
    checks:
    - uid: query-1
queries:
- uid: query-1
  mql: return 2 > 1

preslavgerchev avatar Feb 23 '24 09:02 preslavgerchev

Test Results

  1 files  ±0   24 suites  ±0   18s :stopwatch: -1s 290 tests ±0  289 :white_check_mark: ±0  1 :zzz: ±0  0 :x: ±0  291 runs  ±0  290 :white_check_mark: ±0  1 :zzz: ±0  0 :x: ±0 

Results for commit f04c64a7. ± Comparison against base commit 4df2afd1.

:recycle: This comment has been updated with latest results.

github-actions[bot] avatar Feb 23 '24 09:02 github-actions[bot]

We will give this a try: https://github.com/mondoohq/cnspec/pull/1344

czunker avatar Jul 02 '24 04:07 czunker