Anchore plugin does not use default policy to evaluate gates when policy configuration is left blank in the build step

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Environment:
      Jenkins version: 2.32.1
      Anchore plugin version: 1.0.4
      Jenkins running in a container

      As per the help for "Policy file" parameter in the Anchore Container Image Scanner build step, the plugin uses a default policy if the field is left blank/empty. The actual behavior observed was the plugin evaluates the gate with an empty policy document resulting in no gate output

            Assignee:
            Swathi Gangisetty
            Reporter:
            Swathi Gangisetty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: