Prevent subscription to third-party gateway APIs (AWS, etc.)#1229
Prevent subscription to third-party gateway APIs (AWS, etc.)#1229
Conversation
|
|
|
Important Review skippedBot user detected. To trigger a single review, invoke the You can disable this status message by setting the Comment |
Co-authored-by: AnuGayan <19290404+AnuGayan@users.noreply.github.com>
Co-authored-by: AnuGayan <19290404+AnuGayan@users.noreply.github.com>
Co-authored-by: AnuGayan <19290404+AnuGayan@users.noreply.github.com>
|
|
Please retry analysis of this Pull-Request directly on SonarQube Cloud |
…development iteration



Users can currently subscribe to APIs deployed on AWS API Gateway and other third-party gateways from the Developer Portal, which should not be allowed.
Changes
Added
gatewayVendorfilter to subscription eligibility check inAPICardView.jsxgatewayVendor === 'wso2'or undefined are now subscribableRefactored subscription logic for clarity
isWSO2Gateway,isNotSubscribed,isNotAdvertised,canSubscribeImplementation
This follows the existing pattern used throughout the devportal for filtering third-party gateway APIs.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
scarf.sh/usr/local/bin/node node ./report.js(dns block)If you need me to access, download, or install something from one of these locations, you can either:
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.