You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm run validate -- --service-dir volcengine__cloud-firewall
npm test -- --service-dir volcengine__cloud-firewall
npm run import:check
npm run pack:check
Live check
Using temporary environment variables only, representative read-only actions reached the Volcengine Cloud Firewall business API and returned Service.NotOpened / 云防火墙服务未开通 for the test account. This indicates the endpoint, service code, API version, and request signing path are working, but the account has not enabled Cloud Firewall.
Live verification status: blocked by product enablement
I could not provide a successful business response for this account because Volcengine Cloud Firewall is not enabled for the tested account. The request still reached the documented Cloud Firewall business API and returned a product-level Service.NotOpened error, which verifies the endpoint, service code, API version, Action routing, and request signing path.
This is different from a signing, endpoint, or Action mismatch. If the signature, service code, API version, or endpoint were wrong, the gateway would return authentication/signature/route errors instead of a Cloud Firewall product error with Service: fw_center and the requested Action echoed in ResponseMetadata.
Review follow-up
Addressed the adapter review feedback in follow-up commits:
Use AbortController-backed fetch timeouts and map aborts to DEADLINE_EXCEEDED.
Keep the timeout active through response body parsing so slow or stalled bodies cannot hang handlers.
Reject nested GET query parameter values before signing/building URLs.
Add regression coverage for body-stream aborts raised via the fetch signal.
Replace deprecated global escape() in Volcengine URI signing with RFC3986-safe encodeURIComponent handling.
Validation run for volcengine__cloud-firewall:
npm test -- --service-dir volcengine__cloud-firewall
npm run validate -- --service-dir volcengine__cloud-firewall
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
fw_center) OctoBus service package.Fixes #286
Tests
npm run validate -- --service-dir volcengine__cloud-firewallnpm test -- --service-dir volcengine__cloud-firewallnpm run import:checknpm run pack:checkLive check
Using temporary environment variables only, representative read-only actions reached the Volcengine Cloud Firewall business API and returned
Service.NotOpened/云防火墙服务未开通for the test account. This indicates the endpoint, service code, API version, and request signing path are working, but the account has not enabled Cloud Firewall.Live verification status: blocked by product enablement
I could not provide a successful business response for this account because Volcengine Cloud Firewall is not enabled for the tested account. The request still reached the documented Cloud Firewall business API and returned a product-level
Service.NotOpenederror, which verifies the endpoint, service code, API version, Action routing, and request signing path.Reference documentation:
联调阻塞证据:AssetList 到达业务 API,但账号未开通云防火墙
Request
POST https://fw-center.volcengineapi.com/?Action=AssetList&Version=2021-09-06
Authorization: HMAC-SHA256 Credential=AKLTlZjk/20260625/cn-beijing/fw_center/request, SignedHeaders=content-type;host;x-content-sha256;x-date, Signature=**
Content-Type: application/json
Host: fw-center.volcengineapi.com
X-Date: 20260625T192148Z
X-Content-Sha256: 44136fa355b3678a1146ad16f7e8649e94fb4fc21fe77e8310c060f61caaff8a
{}
Response HTTP/1.1 400 Bad Request
{
"ResponseMetadata": {
"RequestId": "20260626032148E9ED231475F84393D3B7",
"Action": "AssetList",
"Version": "2021-09-06",
"Service": "fw_center",
"Region": "cn-beijing",
"Error": {
"CodeN": 20001,
"Code": "Service.NotOpened",
"Message": "云防火墙服务未开通。"
}
}
}
Additional product-enablement checks
The same signed request path was also checked with other read-only Cloud Firewall APIs and returned the same product enablement block:
DescribeVpcs-> HTTP 400Service.NotOpenedQueryUserAlarmConfig-> HTTP 400Service.NotOpenedDescribeAddressBook-> HTTP 400Service.NotOpenedThis is different from a signing, endpoint, or Action mismatch. If the signature, service code, API version, or endpoint were wrong, the gateway would return authentication/signature/route errors instead of a Cloud Firewall product error with
Service: fw_centerand the requestedActionechoed inResponseMetadata.Review follow-up
Addressed the adapter review feedback in follow-up commits:
Validation run for
volcengine__cloud-firewall:npm test -- --service-dir volcengine__cloud-firewallnpm run validate -- --service-dir volcengine__cloud-firewallgit diff --check