coreinfrastructure/best-practices-badge

JSON query returns ambiguous information for repeated criteria between badge levels

jfpanisset opened this issue · 0 comments

Certain criteria are repeated between badge levels, but with different levels of compliance. For instance, dynamic_analysis_unsafe is SUGGESTED for the Passing level, but a MUST for Silver level. But in the JSON returned when querying a project, there's a single dynamic_analysis_unsafe_status and dynamic_analysis_unsafe_justification returned, without indication as to whether these apply to Passing or Silver level.

A v2 version of the API could return JSON which adds a level of scoping for the different badge levels.