Skip to content

Update AzureDevops scanner #4244

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

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

Kiblyn11
Copy link

@Kiblyn11 Kiblyn11 commented Jun 17, 2025

Description:

I observed one limitation with the current azure devops scanner.
It works on scanning by projects and this missed a few valid tokens that were not on a specific project I believe (ones that are used to push deliverables to visual studio marketplace). I observed how DevOps PAT tokens are verified with CLI npx vsce verify-pat -p $TOKEN and came with this new verification method.
As I'm not sure how it impact existing detector I chose to keep both methods in this PR.

I also extended keywords to improve result detection (in particular vsce tokens)

Checklist:

  • Tests passing (make test-community)?
  • Lint passing (make lint this requires golangci-lint)?

@Kiblyn11 Kiblyn11 requested a review from a team as a code owner June 17, 2025 20:40
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

Successfully merging this pull request may close these issues.

1 participant