l3montree-dev / l3montree-dev/devguard

GitLab integration deletion does not remove asset connections

Open
#1,412 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug component/devguard-api
Dominant language
Go
Stars
161
Forks
43
Avg merge
1d 8h
Merged PRs (30d)
37

Description

When I delete a GitLab integration from the organization settings, the connections of assets that are already linked to this integration are not removed. Deleting the integration should also remove these asset connections.

Steps to reproduce

  1. Connect an asset to a GitLab integration in the organization settings.
  2. Delete the GitLab integration.
  3. Observe that the asset connection to the deleted integration still exists.

I think this is also the same behavior for other integrations, such as GitHub or Jira.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the organization-settings handler for deleting a GitLab integration and the persistence logic for asset connections. Reproduce the three steps described, then verify that deleting the integration removes its existing asset connections; check whether the same behavior applies to GitHub or Jira integrations.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
backend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
48/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.