Skip to content

Conversation

@HappyPaul55
Copy link
Contributor

This pull request updates the proxy configuration in manifest.json to improve security and support for Azure DevOps endpoints. The changes restrict allowed proxy URLs, add new endpoint support, and introduce settings injection for authorization and secrets.

Proxy configuration updates:

  • Restricted the proxy whitelist to specific Azure DevOps endpoints (https://dev.azure.com/.*, https://vssps.dev.azure.com/.*, https://app.vssps.visualstudio.com/oauth2/.*, and https://__instance_url__/.*) to enhance security.
  • Added settingsInjection for each endpoint, allowing secure injection of authorization tokens and secrets into request headers or bodies.
  • Enabled support for OAuth2 authentication by injecting client secrets and assertions into the body for the Visual Studio OAuth2 endpoint.

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR enhances security for the Azure DevOps app by restricting the proxy whitelist from accepting any HTTPS URL to only specific Azure DevOps endpoints. It introduces settings injection capabilities that allow secure token and secret placement in request headers and bodies.

Key changes:

  • Replaced wildcard HTTPS proxy whitelist with four specific Azure DevOps endpoint patterns
  • Added settingsInjection configuration for secure credential injection into headers and request bodies
  • Enabled OAuth2 token refresh flow support through the Visual Studio OAuth2 endpoint

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@github-actions
Copy link

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.

2 participants