Application shows up in the Contrast UI with (1) alongside it

  • Updated

Issue

Application shows up in the Contrast UI with (1) alongside it.

Cause

This is what's happening:

  • If an app is reported by the agent as baa, but you change the display name in the UI to foo - then an app is reported by the agent as foo, it'll get called foo(1).
  • If an app is reported by the agent as foo - then another app is reported by the agent as foo, they both report to foo.

It basically comes down to what the agent is reporting in - if they're the same, they get treated as the same app, if they differ they get treated separately, even if the display name's manually been changed to be the same in the UI.

Resolution

There's effectively 2 options:

  1. You can merge the 2 apps together foo and foo(1). Both agents will then happily report to the single app entry. The downside of this is that the LOC count will include both "apps". There may also be some duplicate vulns from each module. These can be manually merged but requires some effort.
  2. You can fully delete (archive then delete) the existing app entry, renamed, foo. Any new agents coming in with the name correctly set in their config will take it's place. This is a little more effort now, but the "cleanest" option for future.

Was this article helpful?

0 out of 0 found this helpful

Have more questions? Submit a request