-
Notifications
You must be signed in to change notification settings - Fork 25
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
Can you elaborate why the extension needs Build execute permissions? #129
Comments
Hello, AFAIK and I saw in the code, the extension uploads the analysis result and if enabled log file (verbose logging) to the build artifacts. You'll find the code in following snipped in line 218 and 2023: azuredevops/src/Tasks/dependency-check-build-task/dependency-check-build-task.ts Lines 208 to 224 in c4e46d0
As you'll find in the MS Docs > Supported scopes, this can be done with scope BR, CW |
Hi @HaGGi13! Thanks for your answer. I don't agree that publishing artifacts need the "Build & Execute"-permission. Still, if your statement is correct, the "Build"-permission should suffice. I would advise the developers of the extension to test the extension w/o granting the "Build & Execute"-permissions and see whether all the features are still working properly. The reason I think this is so important is that CVE-checks will mostly be used in pipelines by companies, which have to comply to certain security guidelines. Anyways, thanks a lot for your response! Greetings, |
Hi there,
we've noticed that the DevOps-extension needs "Build (read and execute)" permissions and we where wondering why the execute is needed.
Can someone elaborate?
Thanks!
The text was updated successfully, but these errors were encountered: