Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suport for Repository Authentication #881

Closed
msymons opened this issue Dec 22, 2020 · 3 comments · Fixed by #1687
Closed

Suport for Repository Authentication #881

msymons opened this issue Dec 22, 2020 · 3 comments · Fixed by #1687
Labels
enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk
Milestone

Comments

@msymons
Copy link
Member

msymons commented Dec 22, 2020

Current Behavior:

Dependency-Track implemented support for:

Configurable repositories were implemented as an MVP and do not yet support authentication. This makes it impossible to make use of internal repositories that enforce authentication (Nexus Repository Manager, etc) and also of external repos that do the same (such as Oracle).

One impact of not being able to connect to an internal repository would be to not have access to "current version" information for internal components. Current simple UI display of "current version" is already very useful, but DT v4.2 milestone contains an issue for "Add support for component age in policy conditions" (#772) and internal components should not be excluded from such policies.

Proposed Behavior:

Extend functionality of configurable repositories to support authentication.

@msymons msymons added the enhancement New feature or request label Dec 22, 2020
@stevespringett stevespringett added the p2 Non-critical bugs, and features that help organizations to identify and reduce risk label Dec 22, 2020
@nscuro
Copy link
Member

nscuro commented Jan 5, 2021

Just curious, would basic auth be the only AuthN method that must be considered? Are there any known examples of repos that use "non-standard" methods, like custom HTTP headers, query params etc.?

@stevespringett
Copy link
Member

Docker and NPM both use realms and tokens with custom endpoints. Both also support BASIC but which can be disabled leaving only the repo-specific auth functional.

For MVP, I think BASIC should suffice. That should cover the majority of use cases. If a repo doesn't end up supporting BASIC but something else, I think DT should support it. But I also think that if a repo supports BASIC in addition to something else and BASIC is disabled, then supporting that something else will be prioritized as p3 or flagged with help wanted.

@github-actions
Copy link
Contributor

github-actions bot commented Jul 8, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request p2 Non-critical bugs, and features that help organizations to identify and reduce risk
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants