deepfence / deepfence/ThreatMapper

GitLab Registry Scan not working

Open
#535 5 comments 0 reactions 1 assignee Claimed by @mukuldeepfence View on GitHub
bug waiting-for-feedback
Dominant language
TypeScript
Stars
5.3k
Forks
631
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When adding a GitLab registry, it does not detect the published containers images.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to 'Registries'
2. Click on 'GitLab'
3. Click on '+Add Registry'
4. Enter the registry's information
a. Registry Name: GitLab
b. GitLab Registry Server URL: https://gitlab.domain.local
c. GitLab Registry URL: gitlab.domain.local
d. Token: xxxxxxxxxxxxxxxxxx
6. Click 'Save Credentials'
7. The page shows a new entry for the GitLab registry but no images detected

**Expected behavior**
After adding the GitLab registry, it should show the Total Images being more than 0.

**Screenshots**
![image](https://user-images.githubusercontent.com/16328118/185927986-d7ca47b9-4347-4b49-9c11-881de4695659.png)

**Components/Services affected**

- [ ] UI/Frontend
- [ ] API/Backend
- [ ] Registry Scanner

**Additional context**
Environment Information:
|Component | Version|
|---|---|
| Deepfence | 1.4.0 |
| Docker host OS | Ubuntu 20.04.4 LTS |
| Docker | 20.10.12 |
| GitLab | 15.0.5-ee |

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.