Skip to content

Components Screen Search Results: Dependency Graph Links Give HTTP 403 #1160

Closed

Description

@msymons

Current Behavior

The Components screen allows one to search the portfolio for components using purl, GAV, etc.

Each search results is displayed with its' own dependency graph icon.. a link to the graph for that occurrence of the component (ie, different projects will give different graphs). The caveat is that the icon will not display at all when there is no graph available (eg, where SBOM was older CycloneDX, such as v1.2).

The links are working in DT v4.12.3 and not working in v4.13.0-SNAPSHOT (Affects 7th Feb 2025 build and builds for at least a week prior). In v4.13.0-SNAPSHOT the links give an HTTP 403 error. This was when logged in as an admin user with all 14 permissions enabled.

Image

As per the screenshot, the error is only seen in context of the /components screen. Clicking on the graph icon for a component in the "components" tab for a project works just fine.

Steps to Reproduce

  1. Login to v4.12.x as admin user
  2. Navigate to /components screen
  3. Perform a search that returns at least one result that displays a graph icon
  4. Click on graph icon an confirm that graph displays correctly
  5. Now repeat steps 1-4 for v4.13.0-SNAPSHOT

Expected Behavior

Dependency Graph for component should display correctly. There should not be an HTTP 403 (access denied) error.

Dependency-Track Frontend Version

4.13.0-SNAPSHOT

Browser

Mozilla Firefox

Browser Version

135.0

Operating System

Windows

Checklist

Activity

  1. added
    defect
    on Feb 10, 2025
  2. added
    p2
    size/S
    and removed on Feb 28, 2025
  3. added this to the 4.13 milestone on Feb 28, 2025
  4. nscuro commented on Feb 28, 2025

    @nscuro
    Member

    Regression since v4.12.x is not affected. Needs to be fixed prior to v4.13.0 release.

  5. added a commit that references this issue on Apr 6, 2025
    d4aa1e0
  6. added a commit that references this issue on Jun 17, 2026
    e8db172
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    defectp2size/S

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions