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

Security Scaner inherited permission on build definitions unable to fix #361

Open
danielsbezerra opened this issue Sep 2, 2020 · 3 comments

Comments

@danielsbezerra
Copy link

danielsbezerra commented Sep 2, 2020

"Do not allow inherited permission on build definitions" issue doesn't fix even if I turn inheritance off in each build pipeline. It seems to be a bug. I'm running Security Scanner under Azure Pipelines agent pool/windows-2019.

@danielsbezerra danielsbezerra changed the title Inherited permission on build definitions unable to fix Security Scaner inherited permission on build definitions unable to fix Sep 2, 2020
@GaTechThomas
Copy link

It appears that hidden MS hosted pools exist. I tried a lot of different values for poolId and was able to reduce the issue count. Would be helpful to be able to enumerate details of things that were found by the scanner.

Here are the URLs that I manipulated:

https://dev.azure.com/ORGNAME/_settings/agentpools?view=security&poolId=1

https://dev.azure.com/ORGNAME/PROJNAME/_settings/agentqueues?view=security&queueId=1

@GaTechThomas
Copy link

Making progress. The following Azure CLI powershell command pulls back all of the agent pools:

az pipelines pool list --org https://dev.azure.com/ORGNAME | ConvertFrom-Json | Format-Table -Property id, name, isHosted, isLegacy, autoProvision

@GaTechThomas
Copy link

Also discovered that the scanner is picking up items in a deleted project. I suspect that because it's soft deleted.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants