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

🐛 ensure we use the credential token for gitlab scan #1793

Merged
merged 2 commits into from
Sep 20, 2023
Merged

🐛 ensure we use the credential token for gitlab scan #1793

merged 2 commits into from
Sep 20, 2023

Conversation

vjeffrey
Copy link
Contributor

the error i encountered is reproducible by running unset SSH_AUTH_SOCK and then running DEBUG=1 cnquery shell gitlab --group mondoolabs --token TOKEN

you should see it fail out when cloning the repos

(with this change it should just work. in my test i have one repo i can't clone due to perms, so it get 36 assets discovered)


i'm a little uncertain about this change, i would have expected some process before resolve, like the enrich assets one, to take care of doing this

but i did test this on two diff machines and got the same result on both

Copy link
Member

@arlimus arlimus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @vjeffrey !

@vjeffrey vjeffrey merged commit 65bc812 into v8 Sep 20, 2023
@vjeffrey vjeffrey deleted the vj/wtf branch September 20, 2023 01:45
@github-actions github-actions bot locked and limited conversation to collaborators Sep 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants