Bug: Libbehave inconsistency in reporting new packages

Summary

Libbehave tests on a gitlab.com project indicate no new packages were found while an earlier log indicates there were new packages.

This contradictory information makes it difficult to detect which information is correct.

INF final new package count new_package_count=1 source=TestAgain

#and later we see

libbehave: No new packages detected

.gitlab-ci.yml config used:

stages:
- test
sast:
  stage: test
include:
  - template: Security/SAST.gitlab-ci.yml
  - component: gitlab.com/security-products/experiments/libbehave/libbehave@v0.1.0
    inputs:
      stage: test
      target: main

This was reported in a customer debug issue - more details in this internal issue.

Solution: The final output should say No new findings detected not No new packages detected

Edited by Brenda Nyaringita