hyades icon indicating copy to clipboard operation
hyades copied to clipboard

Validation on repositories' URLs for integrity check

Open sahibamittal opened this issue 1 year ago • 1 comments

Currently, integrity check can be performed only on Maven central repository and artifactory (for maven, npm, pypi). For rest of existing or any new repository user creates, we need validation on the URL provided if integrity check can be performed or not. Users should be prompted with an error if it is not available.

Proposal: During new repo creation, when URL is provided, we run a validation in backend and if integrity check cannot be performed or URL is not valid, user gets warning and the toggle gets disabled. Similar can be done while user tries to update the repo URL.

Relates to issue https://github.com/DependencyTrack/hyades/issues/699

sahibamittal avatar Aug 08 '23 12:08 sahibamittal