Uploaded image for project: 'RH Developer Hub Planning'
  1. RH Developer Hub Planning
  2. RHDHPLAN-319

Scorecard - Rule Threshold Enforcement

Create Doc EPIC from R...Prepare for Z ReleasePrepare Test Plan (Y R...XMLWordPrintable

    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Undefined Undefined
    • None
    • None
    • None
    • None
    • False
    • Hide

      None

      Show
      None
    • False

      Currently, the rule thresholds in the Scorecard plugin can be set directly in the metric provider code, app configuration, and also entity annotations, in order of increasing priority. This allows users to disable enforcement of some rules, e.g., rewrite the success expression from “==true” to “==false”.

      For example, in IT Developer Hub, we’d like to implement a custom boolean rule provider to check if an entity has a valid ServiceNow AppCode in its annotations. This rule should be always enforced, and we don’t want users to override the thresholds for their entity.

      Currently, this is not possible as the expressions defined in the entity annotations have the highest priority. We should be able to disable the option of overriding the thresholds in entity annotations when implementing our custom metric providers.

              Unassigned Unassigned
              skosina@redhat.com Simon Kosina
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: