blackducksoftware / opssight-connector

OpsSight Connector documentation
https://github.com/blackducksoftware/opssight-connector/wiki
Apache License 2.0
16 stars 9 forks source link

SHA string in project and version causing some formatting issues in Hub #8

Closed davemeurer closed 6 years ago

davemeurer commented 6 years ago

The SHA string in project and version names are causing some formatting issues in certain pages of the Hub:

The Where Used page image

Not so much a formatting issue, but boy... so many characters in the header: image

This brings up another question, if the image changes, I'm assuming it will get a new SHA. Will that image go under the same project in Hub, or will a new project be created?

msenmurugan commented 6 years ago

@davemeurer It will create a new project and version

Why the OpsSight is creating new project? All the images will be uniquely identified by SHA. Once the perceptor is started/restarted, it will check whether the image have been already scanned or not in hub using SHA. If yes, it will pull the corresponding image(reference by SHA) vulnerability and policy violations from Hub.

mattfenwick commented 6 years ago

Done in https://github.com/blackducksoftware/perceptor/pull/136