Skip to content

Better discoverability for auth header functionality #662

@jonaskuske

Description

@jonaskuske

Adding the auth header for a GitLab token is explained in the README, but not really discoverable in the UI – just an unlabelled button that looks a bit like Chrome's TLS lock.

It would be great if that feature would be easier to discover, as you're not necessarily searching the repo and inspecting the README before following a Trivy link in the log of a CI job :)
A labelled button could work, and additionally the 404 error message you include a hint like "You might need to authenticate." with a link to https://github.com/dbsystel/trivy-vulnerability-explorer?tab=readme-ov-file#integration-with-gitlab-job (or open the config popup), somewhat like this:

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions