From 1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 Mon Sep 17 00:00:00 2001 From: Zhineng Li Date: Sun, 12 Jul 2026 17:11:17 +0800 Subject: update APIs 20260712 --- data/zh_cn/cloudfw/2017-12-07/api-docs.php | 80091 +++++++++++---------------- 1 file changed, 32977 insertions(+), 47114 deletions(-) (limited to 'data/zh_cn/cloudfw/2017-12-07/api-docs.php') diff --git a/data/zh_cn/cloudfw/2017-12-07/api-docs.php b/data/zh_cn/cloudfw/2017-12-07/api-docs.php index 96325b0..864f476 100644 --- a/data/zh_cn/cloudfw/2017-12-07/api-docs.php +++ b/data/zh_cn/cloudfw/2017-12-07/api-docs.php @@ -1,15 +1,8 @@ '1.0', - 'info' => [ - 'style' => 'RPC', - 'product' => 'Cloudfw', - 'version' => '2017-12-07', - ], + 'info' => ['style' => 'RPC', 'product' => 'Cloudfw', 'version' => '2017-12-07'], 'directories' => [ [ - 'id' => 362724, - 'title' => '概览', - 'type' => 'directory', 'children' => [ 'DescribeUserBuyVersion', 'DescribeSlrGrant', @@ -26,81 +19,40 @@ 'DescribeVpcFirewallDropTrafficTrend', 'DescribeOutgoingRiskDomainAndIpCount', [ - 'id' => 362739, - 'title' => '流量趋势', + 'children' => ['DescribeNatFirewallDropTrafficTrend', 'DescribeInternetDropTrafficTrend', 'DescribeInvadeEcsTrend'], 'type' => 'directory', - 'children' => [ - 'DescribeNatFirewallDropTrafficTrend', - 'DescribeInternetDropTrafficTrend', - 'DescribeInvadeEcsTrend', - ], + 'title' => '流量趋势', + 'id' => 392480, ], [ - 'id' => 362743, - 'title' => '按量付费', + 'children' => ['DescribePostpayEnabledProtection', 'DescribePostpayTrafficTotal', 'DescribePostpayTrafficDetail', 'DescribePostpayUserInternetStatus', 'DescribePostpayUserNatStatus', 'DescribePostpayUserVpcStatus', 'UpdatePostpayUserInternetStatus', 'UpdatePostpayUserNatStatus', 'UpdatePostpayUserVpcStatus'], 'type' => 'directory', - 'children' => [ - 'DescribePostpayEnabledProtection', - 'DescribePostpayTrafficTotal', - 'DescribePostpayTrafficDetail', - 'DescribePostpayUserInternetStatus', - 'DescribePostpayUserNatStatus', - 'DescribePostpayUserVpcStatus', - 'UpdatePostpayUserInternetStatus', - 'UpdatePostpayUserNatStatus', - 'UpdatePostpayUserVpcStatus', - ], + 'title' => '按量付费', + 'id' => 392484, ], ], + 'type' => 'directory', + 'title' => '概览', + 'id' => 392465, ], [ - 'id' => 362753, - 'title' => '防火墙开关', - 'type' => 'directory', 'children' => [ 'DescribeRegionInfo', 'DescribeCtrlInstanceMemberAccounts', 'DescribeFirewallTask', [ - 'id' => 362757, - 'title' => '互联网边界防火墙', + 'children' => ['DescribeResourceTypeAutoEnable', 'DescribeAssetStatistic', 'DescribeAssetRiskList', 'CreateInstanceSyncTask', 'ModifyResourceTypeAutoEnable', 'PutEnableFwSwitch', 'PutEnableAllFwSwitch', 'PutDisableFwSwitch', 'PutDisableAllFwSwitch'], 'type' => 'directory', - 'children' => [ - 'DescribeResourceTypeAutoEnable', - 'DescribeAssetList', - 'DescribeAssetStatistic', - 'DescribeAssetRiskList', - 'CreateInstanceSyncTask', - 'ModifyResourceTypeAutoEnable', - 'PutEnableFwSwitch', - 'PutEnableAllFwSwitch', - 'PutDisableFwSwitch', - 'PutDisableAllFwSwitch', - ], + 'title' => '互联网边界防火墙', + 'id' => 392498, ], [ - 'id' => 362768, - 'title' => 'NAT边界防火墙', - 'type' => 'directory', - 'children' => [ - 'DescribeNatFirewallQuota', - 'DescribeNatFirewallList', - 'DescribeFirewallVSwitch', - 'DescribeNatFirewallPrecheckDetail', - 'DescribeFirewallVswitchResources', - 'DescribeSecurityProxyResources', - 'CreateNatFirewallSyncTask', - 'CreateNatFirewallPreCheck', - 'CreateSecurityProxy', - 'SwitchSecurityProxy', - 'UpdateSecurityProxy', - 'DeleteSecurityProxy', - ], - ], - [ - 'id' => 362781, - 'title' => 'VPC边界防火墙', + 'children' => ['DescribeNatFirewallQuota', 'DescribeNatFirewallList', 'DescribeFirewallVSwitch', 'DescribeNatFirewallPrecheckDetail', 'DescribeFirewallVswitchResources', 'DescribeSecurityProxyResources', 'CreateNatFirewallSyncTask', 'CreateNatFirewallPreCheck', 'CreateSecurityProxy', 'SwitchSecurityProxy', 'UpdateSecurityProxy', 'DeleteSecurityProxy'], 'type' => 'directory', + 'title' => 'NAT边界防火墙', + 'id' => 392509, + ], + [ 'children' => [ 'DescribeVpcFirewallSummaryInfo', 'DescribeVpcFirewallAccessDetail', @@ -108,78 +60,42 @@ 'CreateVpcFirewallPrecheck', 'CreateVpcFirewallTask', [ - 'id' => 362787, - 'title' => '云企业网(企业版)', + 'children' => ['DescribeTrFirewallsV2List', 'DescribeTrFirewallsV2Detail', 'DescribeTrFirewallsV2RouteList', 'DescribeTrFirewallV2RoutePolicyList', 'DescribeTrFirewallPolicyBackUpAssociationList', 'DescribeTransitRouterResourcesList', 'CreateTrFirewallV2', 'CreateTrFirewallV2RoutePolicy', 'ModifyTrFirewallV2Configuration', 'ModifyFirewallV2RoutePolicySwitch', 'ModifyTrFirewallV2RoutePolicyScope', 'DeleteTrFirewallV2', 'DeleteFirewallV2RoutePolicies'], 'type' => 'directory', - 'children' => [ - 'DescribeTrFirewallsV2List', - 'DescribeTrFirewallsV2Detail', - 'DescribeTrFirewallsV2RouteList', - 'DescribeTrFirewallV2RoutePolicyList', - 'DescribeTrFirewallPolicyBackUpAssociationList', - 'DescribeTransitRouterResourcesList', - 'CreateTrFirewallV2', - 'CreateTrFirewallV2RoutePolicy', - 'ModifyTrFirewallV2Configuration', - 'ModifyFirewallV2RoutePolicySwitch', - 'ModifyTrFirewallV2RoutePolicyScope', - 'DeleteTrFirewallV2', - 'DeleteFirewallV2RoutePolicies', - ], + 'title' => '云企业网(企业版)', + 'id' => 392528, ], [ - 'id' => 362801, - 'title' => '云企业网(基础版)', + 'children' => ['DescribeVpcFirewallCenSummaryList', 'DescribeVpcFirewallCenList', 'DescribeVpcFirewallCenDetail', 'DescribeNetworkInstanceList', 'DescribeVpcZone', 'DescribeVpcFirewallZone', 'DescribeVpcFirewallManualVSwitchList', 'CreateVpcFirewallCenConfigure', 'ModifyVpcFirewallCenConfigure', 'ModifyVpcFirewallCenSwitchStatus', 'DeleteVpcFirewallCenConfigure'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallCenSummaryList', - 'DescribeVpcFirewallCenList', - 'DescribeVpcFirewallCenDetail', - 'DescribeNetworkInstanceList', - 'DescribeVpcZone', - 'DescribeVpcFirewallZone', - 'DescribeVpcFirewallManualVSwitchList', - 'CreateVpcFirewallCenConfigure', - 'ModifyVpcFirewallCenConfigure', - 'ModifyVpcFirewallCenSwitchStatus', - 'DeleteVpcFirewallCenConfigure', - ], + 'title' => '云企业网(基础版)', + 'id' => 392542, ], [ - 'id' => 362813, - 'title' => '高速通道', + 'children' => ['DescribeVpcFirewallList', 'DescribeVpcFirewallDetail', 'CreateVpcFirewallConfigure', 'ModifyVpcFirewallConfigure', 'ModifyVpcFirewallSwitchStatus', 'DeleteVpcFirewallConfigure'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallList', - 'DescribeVpcFirewallDetail', - 'CreateVpcFirewallConfigure', - 'ModifyVpcFirewallConfigure', - 'ModifyVpcFirewallSwitchStatus', - 'DeleteVpcFirewallConfigure', - ], + 'title' => '高速通道', + 'id' => 392554, ], ], + 'type' => 'directory', + 'title' => 'VPC边界防火墙', + 'id' => 392522, ], ], + 'type' => 'directory', + 'title' => '防火墙开关', + 'id' => 392494, ], [ - 'id' => 362820, - 'title' => '流量分析', - 'type' => 'directory', 'children' => [ [ - 'id' => 362821, - 'title' => '主动外联', - 'type' => 'directory', 'children' => [ [ - 'id' => 362822, - 'title' => '可视分析', + 'children' => ['DescribeInternetTimeTop', 'DescribeNatFirewallTimeTop'], 'type' => 'directory', - 'children' => [ - 'DescribeInternetTimeTop', - 'DescribeNatFirewallTimeTop', - ], + 'title' => '可视分析', + 'id' => 392563, ], 'DescribeNetworkTrafficTopRatio', 'DescribeOutgoingStatistic', @@ -194,198 +110,106 @@ 'DescribeOutgoingDestinationIP', 'DescribeOutgoingDestinationIPDetail', ], + 'type' => 'directory', + 'title' => '主动外联', + 'id' => 392562, ], [ - 'id' => 362837, - 'title' => '公网暴露', + 'children' => ['DescribeInternetTrafficTop', 'DescribeInternetTrafficTrend', 'DescribeNatFirewallTrafficTrend', 'DescribeInternetServiceNameList', 'DescribeInternetOpenIp', 'DescribeInternetOpenPort', 'DescribeInternetOpenService', 'DescribeInternetOpenDetail', 'DescribeInternetSlb', 'DescribeOpenIpAccessSrcStat'], 'type' => 'directory', - 'children' => [ - 'DescribeInternetTrafficTop', - 'DescribeInternetTrafficTrend', - 'DescribeNatFirewallTrafficTrend', - 'DescribeInternetServiceNameList', - 'DescribeInternetOpenIp', - 'DescribeInternetOpenPort', - 'DescribeInternetOpenService', - 'DescribeInternetOpenDetail', - 'DescribeInternetSlb', - 'DescribeOpenIpAccessSrcStat', - ], + 'title' => '公网暴露', + 'id' => 392578, ], [ - 'id' => 362848, - 'title' => 'VPC互访', + 'children' => ['DescribeNetworkInstanceRelationList', 'DescribeVpcFirewallAssetList'], 'type' => 'directory', - 'children' => [ - 'DescribeNetworkInstanceRelationList', - 'DescribeVpcFirewallAssetList', - ], + 'title' => 'VPC互访', + 'id' => 392589, ], [ - 'id' => 362851, - 'title' => 'AI访问流量', + 'children' => ['DescribeAITrafficAnalysisStatus', 'DescribeVpcFirewallDomainList', 'DescribeVpcFirewallDomainRelationList', 'UpdateAITrafficAnalysisStatus', 'ModifyObjectGroupOperation'], 'type' => 'directory', - 'children' => [ - 'DescribeAITrafficAnalysisStatus', - 'DescribeVpcFirewallDomainList', - 'DescribeVpcFirewallDomainRelationList', - 'UpdateAITrafficAnalysisStatus', - 'ModifyObjectGroupOperation', - ], + 'title' => 'AI访问流量', + 'id' => 392592, ], ], + 'type' => 'directory', + 'title' => '流量分析', + 'id' => 392561, ], [ - 'id' => 362857, - 'title' => '检测响应', - 'type' => 'directory', 'children' => [ [ - 'id' => 362858, - 'title' => '入侵防御', + 'children' => ['DescribeRiskEventTopAttackApp', 'DescribeRiskEventTopAttackType', 'DescribeRiskEventStatistic', 'DescribeRiskEventPayload', 'DescribeRiskEventGroup'], 'type' => 'directory', - 'children' => [ - 'DescribeRiskEventTopAttackApp', - 'DescribeRiskEventTopAttackType', - 'DescribeRiskEventStatistic', - 'DescribeRiskEventPayload', - 'DescribeRiskEventGroup', - ], + 'title' => '入侵防御', + 'id' => 392599, ], [ - 'id' => 362864, - 'title' => '漏洞防护', + 'children' => ['DescribeVulnerabilityProtectedList', 'DescribeUnprotectedVulnTrend'], 'type' => 'directory', - 'children' => [ - 'DescribeVulnerabilityProtectedList', - 'DescribeUnprotectedVulnTrend', - ], + 'title' => '漏洞防护', + 'id' => 392605, ], [ - 'id' => 362867, - 'title' => '失陷感知', + 'children' => ['DescribeInvadeEventList', 'DescribeInvadeEventNameList', 'DescribeInvadeEventStatistic', 'DescribeInvadeEventDetail'], 'type' => 'directory', - 'children' => [ - 'DescribeInvadeEventList', - 'DescribeInvadeEventNameList', - 'DescribeInvadeEventStatistic', - 'DescribeInvadeEventDetail', - ], + 'title' => '失陷感知', + 'id' => 392608, ], [ - 'id' => 362872, - 'title' => '数据泄露', + 'children' => ['DescribeSdlEventList', 'DescribeSdlEventSdList', 'DescribeSdlEventDetail', 'DescribeSdlEventStatistic', 'DescribeSdlStatistic', 'DescribeSensitiveSwitch', 'ModifySensitiveSwitch', 'EnableSdlProtectedAsset', 'DisableSdlProtectedAsset'], 'type' => 'directory', - 'children' => [ - 'DescribeSdlEventList', - 'DescribeSdlEventSdList', - 'DescribeSdlEventDetail', - 'DescribeSdlEventStatistic', - 'DescribeSdlStatistic', - 'DescribeSensitiveSwitch', - 'ModifySensitiveSwitch', - 'EnableSdlProtectedAsset', - 'DisableSdlProtectedAsset', - ], + 'title' => '数据泄露', + 'id' => 392613, ], ], + 'type' => 'directory', + 'title' => '检测响应', + 'id' => 392598, ], [ - 'id' => 362882, - 'title' => '防护配置', - 'type' => 'directory', 'children' => [ [ - 'id' => 362883, - 'title' => '访问控制', - 'type' => 'directory', 'children' => [ 'DescribeAclApps', 'DescribeAclWhitelist', [ - 'id' => 362886, - 'title' => '互联网边界', + 'children' => ['DescribeAclRuleCount', 'DescribeControlPolicy', 'DescribeACLProtectTrend', 'DescribePolicyAdvancedConfig', 'DescribePolicyPriorUsed', 'DescribeControlPolicyDomainResolve', 'AddControlPolicy', 'AddDomainResolveRealtimeTask', 'ModifyControlPolicy', 'ModifyControlPolicyPriority', 'ModifyPolicyAdvancedConfig', 'DeleteControlPolicy', 'DeleteControlPolicyTemplate', 'ResetRuleHitCount'], 'type' => 'directory', - 'children' => [ - 'DescribeAclRuleCount', - 'DescribeControlPolicy', - 'DescribeACLProtectTrend', - 'DescribePolicyAdvancedConfig', - 'DescribePolicyPriorUsed', - 'DescribeControlPolicyDomainResolve', - 'AddControlPolicy', - 'AddDomainResolveRealtimeTask', - 'ModifyControlPolicy', - 'ModifyControlPolicyPriority', - 'ModifyPolicyAdvancedConfig', - 'DeleteControlPolicy', - 'DeleteControlPolicyTemplate', - 'ResetRuleHitCount', - ], + 'title' => '互联网边界', + 'id' => 392627, ], [ - 'id' => 362901, - 'title' => 'NAT边界', + 'children' => ['DescribeNatAclPageStatus', 'DescribeNatFirewallAclGroupList', 'DescribeNatFirewallControlPolicy', 'DescribeNatFirewallPolicyPriorUsed', 'CreateNatFirewallControlPolicy', 'ModifyNatFirewallControlPolicy', 'ModifyNatFirewallControlPolicyPosition', 'ResetNatFirewallRuleHitCount', 'DeleteNatFirewallControlPolicy', 'DeleteNatFirewallControlPolicyBatch'], 'type' => 'directory', - 'children' => [ - 'DescribeNatAclPageStatus', - 'DescribeNatFirewallAclGroupList', - 'DescribeNatFirewallControlPolicy', - 'DescribeNatFirewallPolicyPriorUsed', - 'CreateNatFirewallControlPolicy', - 'ModifyNatFirewallControlPolicy', - 'ModifyNatFirewallControlPolicyPosition', - 'ResetNatFirewallRuleHitCount', - 'DeleteNatFirewallControlPolicy', - 'DeleteNatFirewallControlPolicyBatch', - ], + 'title' => 'NAT边界', + 'id' => 392642, ], [ - 'id' => 362912, - 'title' => 'VPC边界', + 'children' => ['DescribeVpcFirewallAssetRegionList', 'DescribeVpcFirewallAclGroupList', 'DescribeVpcFirewallControlPolicy', 'DescribeVpcFirewallPolicyPriorUsed', 'CreateVpcFirewallControlPolicy', 'ModifyVpcFirewallControlPolicy', 'ModifyVpcFirewallControlPolicyPosition', 'ModifyVpcFirewallAclEngineMode', 'ResetVpcFirewallRuleHitCount', 'DeleteVpcFirewallControlPolicy', 'BatchDeleteVpcFirewallControlPolicy'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallAssetRegionList', - 'DescribeVpcFirewallAclGroupList', - 'DescribeVpcFirewallControlPolicy', - 'DescribeVpcFirewallPolicyPriorUsed', - 'CreateVpcFirewallControlPolicy', - 'ModifyVpcFirewallControlPolicy', - 'ModifyVpcFirewallControlPolicyPosition', - 'ModifyVpcFirewallAclEngineMode', - 'ResetVpcFirewallRuleHitCount', - 'DeleteVpcFirewallControlPolicy', - 'BatchDeleteVpcFirewallControlPolicy', - ], + 'title' => 'VPC边界', + 'id' => 392653, ], [ - 'id' => 362924, - 'title' => 'DNS边界', + 'children' => ['DescribeVpcListLite', 'DescribeDnsFirewallPolicy', 'AddDnsFirewallPolicy', 'ModifyDnsFirewallPolicy', 'DeleteDnsFirewallPolicy'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcListLite', - 'DescribeDnsFirewallPolicy', - 'DescribePrefixLists', - 'AddDnsFirewallPolicy', - 'ModifyDnsFirewallPolicy', - 'DeleteDnsFirewallPolicy', - ], + 'title' => 'DNS边界', + 'id' => 392665, ], ], + 'type' => 'directory', + 'title' => '访问控制', + 'id' => 392624, ], [ - 'id' => 362931, - 'title' => 'IPS防护', - 'type' => 'directory', 'children' => [ 'DescribeThreatIntelligenceSwitch', 'ModifyThreatIntelligenceSwitch', 'ModifyIpsRulesToDefault', 'DescribeSignatureLibVersion', [ - 'id' => 362936, - 'title' => '互联网边界', - 'type' => 'directory', 'children' => [ 'DescribeDefaultIPSConfig', 'DescribeUserIPSWhitelist', @@ -393,67 +217,46 @@ 'ModifyDefaultIPSConfig', 'ModifyUserIPSWhitelist', [ - 'id' => 362942, - 'title' => '私网溯源', + 'children' => ['DescribeIpsPrivateAssoc', 'CreateIpsPrivateAssoc', 'DeleteIpsPrivateAssoc'], 'type' => 'directory', - 'children' => [ - 'DescribeIpsPrivateAssoc', - 'CreateIpsPrivateAssoc', - 'DeleteIpsPrivateAssoc', - ], + 'title' => '私网溯源', + 'id' => 392683, ], ], + 'type' => 'directory', + 'title' => '互联网边界', + 'id' => 392677, ], [ - 'id' => 362946, - 'title' => 'VPC边界', + 'children' => ['DescribeVfwIPSConfigList', 'DescribeVpcFirewallDefaultIPSConfig', 'DescribeVpcFirewallIPSWhitelist', 'ModifyVpcFirewallDefaultIPSConfig', 'ModifyVpcFirewallIPSWhitelist'], 'type' => 'directory', - 'children' => [ - 'DescribeVfwIPSConfigList', - 'DescribeVpcFirewallDefaultIPSConfig', - 'DescribeVpcFirewallIPSWhitelist', - 'ModifyVpcFirewallDefaultIPSConfig', - 'ModifyVpcFirewallIPSWhitelist', - ], + 'title' => 'VPC边界', + 'id' => 392687, ], ], + 'type' => 'directory', + 'title' => 'IPS防护', + 'id' => 392672, ], [ - 'id' => 362952, - 'title' => 'TLS检查', + 'children' => ['ListTlsInspectCACertificates', 'GetTlsInspectCertificateDownloadUrl'], 'type' => 'directory', - 'children' => [ - 'ListTlsInspectCACertificates', - 'GetTlsInspectCertificateDownloadUrl', - ], + 'title' => 'TLS检查', + 'id' => 392693, ], [ - 'id' => 362955, - 'title' => '策略分析', + 'children' => ['DescribeAclCheckQuota', 'DescribeAclChecks', 'DescribeAclCheck', 'CreateAclCheck', 'UpdateAclCheckDetailStatus'], 'type' => 'directory', - 'children' => [ - 'DescribeAclCheckQuota', - 'DescribeAclChecks', - 'DescribeAclCheck', - 'CreateAclCheck', - 'UpdateAclCheckDetailStatus', - ], + 'title' => '策略分析', + 'id' => 392696, ], [ - 'id' => 362961, - 'title' => '地址簿', + 'children' => ['DescribeAddressBook', 'AddAddressBook', 'ModifyAddressBook', 'DeleteAddressBook'], 'type' => 'directory', - 'children' => [ - 'DescribeAddressBook', - 'AddAddressBook', - 'ModifyAddressBook', - 'DeleteAddressBook', - ], + 'title' => '地址簿', + 'id' => 392702, ], [ - 'id' => 362966, - 'title' => '同步节点', - 'type' => 'directory', 'children' => [ 'DescribeAccessInstanceRegionList', 'DescribeAccessInstanceTask', @@ -461,160 +264,93 @@ 'DescribeAccessInstanceVSwitchList', 'DescribeAccessInstanceZoneList', [ - 'id' => 362972, - 'title' => 'ACK集群', + 'children' => ['DescribeAckClusters', 'DescribeAckClusterConnectors', 'DescribeAckClusterConnector', 'DescribeAckClusterNamespaces', 'DescribeAckClusterPodLabels', 'CreateAckClusterConnector', 'UpdateAckClusterConnector', 'DeleteAckClusterConnector'], 'type' => 'directory', - 'children' => [ - 'DescribeAckClusters', - 'DescribeAckClusterConnectors', - 'DescribeAckClusterConnector', - 'DescribeAckClusterNamespaces', - 'DescribeAckClusterPodLabels', - 'CreateAckClusterConnector', - 'UpdateAckClusterConnector', - 'DeleteAckClusterConnector', - ], + 'title' => 'ACK集群', + 'id' => 392713, ], [ - 'id' => 362981, - 'title' => '私有DNS', + 'children' => ['DescribePrivateDnsEndpointList', 'DescribePrivateDnsEndpointDetail', 'DescribePrivateDnsStatistics', 'CreatePrivateDnsEndpoint', 'ModifyPrivateDnsEndpoint', 'DeletePrivateDnsEndpoint', 'DescribePrivateDnsDomainNameList', 'AddPrivateDnsDomainName', 'DeletePrivateDnsDomainName', 'DeletePrivateDnsAllDomainName'], 'type' => 'directory', - 'children' => [ - 'DescribePrivateDnsEndpointList', - 'DescribePrivateDnsEndpointDetail', - 'DescribePrivateDnsStatistics', - 'CreatePrivateDnsEndpoint', - 'ModifyPrivateDnsEndpoint', - 'DeletePrivateDnsEndpoint', - 'DescribePrivateDnsDomainNameList', - 'AddPrivateDnsDomainName', - 'DeletePrivateDnsDomainName', - 'DeletePrivateDnsAllDomainName', - ], + 'title' => '私有DNS', + 'id' => 392722, ], ], + 'type' => 'directory', + 'title' => '同步节点', + 'id' => 392707, ], ], + 'type' => 'directory', + 'title' => '防护配置', + 'id' => 392623, ], [ - 'id' => 362992, - 'title' => '日志监控', + 'children' => ['DescribeLogStoreInfo', 'DescribeTrafficLog', 'DescribeSlsAnalyzeOpenStatus', 'DescribeClearAuthInfo', 'DescribeLocationInfo', 'DescribeIspInfo', 'DescribeCreatedNatFirewall', 'DescribeBatchSlsDispatchStatus', 'CreateSlsLogDispatch', 'ModifySlsDispatchStatus', 'ModifyUserSlsLogStorageTime', 'ClearLogStoreStorage'], 'type' => 'directory', - 'children' => [ - 'DescribeLogStoreInfo', - 'DescribeTrafficLog', - 'DescribeSlsAnalyzeOpenStatus', - 'DescribeClearAuthInfo', - 'DescribeLocationInfo', - 'DescribeIspInfo', - 'DescribeCreatedNatFirewall', - 'DescribeBatchSlsDispatchStatus', - 'CreateSlsLogDispatch', - 'ModifySlsDispatchStatus', - 'ModifyUserSlsLogStorageTime', - 'ClearLogStoreStorage', - ], + 'title' => '日志监控', + 'id' => 392733, ], [ - 'id' => 363005, - 'title' => '系统设置', - 'type' => 'directory', 'children' => [ [ - 'id' => 363006, - 'title' => '告警通知', + 'children' => ['DescribeUserAlarmConfig', 'ModifyUserAlarmConfig'], 'type' => 'directory', - 'children' => [ - 'DescribeUserAlarmConfig', - 'ModifyUserAlarmConfig', - ], + 'title' => '告警通知', + 'id' => 392747, ], [ - 'id' => 363009, - 'title' => '多账号统一管理', + 'children' => ['DescribeInstanceRdAccounts', 'DescribeInstanceMembers', 'AddInstanceMembers', 'ModifyInstanceMemberAttributes', 'DeleteInstanceMembers'], 'type' => 'directory', - 'children' => [ - 'DescribeInstanceRdAccounts', - 'DescribeInstanceMembers', - 'AddInstanceMembers', - 'ModifyInstanceMemberAttributes', - 'DeleteInstanceMembers', - ], + 'title' => '多账号统一管理', + 'id' => 392750, ], [ - 'id' => 363015, - 'title' => '下载任务', + 'children' => ['DescribeDownloadTask', 'DescribeDownloadTaskType', 'CreateDownloadTask', 'DeleteDownloadTask'], 'type' => 'directory', - 'children' => [ - 'DescribeDownloadTask', - 'DescribeDownloadTaskType', - 'CreateDownloadTask', - 'DeleteDownloadTask', - ], + 'title' => '下载任务', + 'id' => 392756, ], [ - 'id' => 363020, - 'title' => '工具箱', - 'type' => 'directory', 'children' => [ [ - 'id' => 363021, - 'title' => '策略备份与回滚', + 'children' => ['DescribeAclBackupList', 'AddAclBackupData', 'UseAclBackupData', 'DeleteAclBackupData'], 'type' => 'directory', - 'children' => [ - 'DescribeAclBackupList', - 'AddAclBackupData', - 'UseAclBackupData', - 'DeleteAclBackupData', - ], + 'title' => '策略备份与回滚', + 'id' => 392762, ], 'DescribeSecurityMode', ], + 'type' => 'directory', + 'title' => '工具箱', + 'id' => 392761, ], ], + 'type' => 'directory', + 'title' => '系统设置', + 'id' => 392746, ], [ - 'id' => 363027, - 'title' => '废弃', + 'children' => ['DescribePageDocuments', 'DescribeDomainResolve', 'DescribeFirewallDropStatistics', 'DescribeUserAssetIPTrafficInfo', 'DescribeCfwRiskLevelSummary', 'DescribeRiskSecurityGroupDetail', 'DescribeSecurityProxy', 'CreateVpcFirewallCenManualConfigure', 'BatchCopyVpcFirewallControlPolicy', 'ModifyControlPolicyPosition'], 'type' => 'directory', - 'children' => [ - 'DescribePageDocuments', - 'DescribeDomainResolve', - 'DescribeFirewallDropStatistics', - 'DescribeUserAssetIPTrafficInfo', - 'DescribeCfwRiskLevelSummary', - 'DescribeRiskSecurityGroupDetail', - 'DescribeSecurityProxy', - 'CreateVpcFirewallCenManualConfigure', - 'BatchCopyVpcFirewallControlPolicy', - 'ModifyControlPolicyPosition', - ], + 'title' => '废弃', + 'id' => 392768, ], [ - 'id' => 363038, - 'title' => '其他', + 'children' => ['DescribeFirewallDropTrend', 'DescribeFirewallTrafficTrend', 'DescribeIPSRules', 'DescribePostpayBill', 'DescribePrepayBillTotal', 'DescribeSdlLastPayload', 'DescribeVpcFirewallTrafficAssetList', 'DescribeVpcFirewallTrafficTrend', 'SetAutoProtectNewAssets', 'DescribeRegionResourceTypeAutoEnable', 'DescribeAssetList', 'DescribePrefixLists'], 'type' => 'directory', - 'children' => [ - 'DescribeVpcFirewallTrafficAssetList', - 'SetAutoProtectNewAssets', - 'DescribeRegionResourceTypeAutoEnable', - ], + 'title' => '其他', + 'id' => 392779, ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'DescribeUserBuyVersion' => [ - 'summary' => '获取用户版本信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddAclBackupData' => [ + 'summary' => '创建访问控制备份。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -626,243 +362,83 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68399', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68092', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '115.194.124.XXX'], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '实例ID。若填写实例ID,则根据实例ID查询。不填写则默认查询最新实例。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'cfw_elasticity_public_cn-*******', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '备份数据的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'bj-001'], + ], + [ + 'name' => 'BackUpTime', + 'in' => 'query', + 'schema' => ['description' => '备份时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n"], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '结果的请求ID。', 'type' => 'object', 'properties' => [ - 'AliUid' => [ - 'description' => '云防火墙账号的AliUid。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '119898001566xxxx', - ], - 'InstanceId' => [ - 'description' => '购买的云防火墙实例id。'."\n" - ."\n" - .'> 使用试用版本时此字段无意义。', - 'type' => 'string', - 'example' => 'vipcloudfw-cn-xxxxx', - ], - 'StartTime' => [ - 'description' => '云防火墙实例的开通时间。'."\n" - .'>使用毫秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1692504764000', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F71B03EE-xxxxx-91D79CC6AA1A', - ], - 'Version' => [ - 'description' => '云防火墙实例的版本信息。取值:'."\n" - .'- **2**:高级版'."\n" - .'- **3**:企业版'."\n" - .'- **4**:旗舰版'."\n" - .'- **10**:按量付费版本', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'UserStatus' => [ - 'description' => '云防火墙实例的状态。取值:'."\n" - .'- **true**:有效'."\n" - .'- **false**:无效', - 'type' => 'boolean', - 'example' => 'true', - ], - 'Expire' => [ - 'description' => '云防火墙实例的到期时间。'."\n" - .'>使用毫秒级时间戳格式。'."\n" - ."\n" - .'>使用按量付费版本时该字段无意义。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1726934400000', - ], - 'LogStatus' => [ - 'description' => '日志投递开启状态。取值:'."\n" - .'- **true**:已开启'."\n" - .'- **false**:未开启', - 'type' => 'boolean', - 'example' => 'true', - ], - 'InstanceStatus' => [ - 'description' => '云防火墙实例的生产状态。取值:'."\n" - ."\n" - .'- **normal**:实例正常运行中'."\n" - ."\n" - .'- **init**:实例初始化中'."\n" - ."\n" - .'- **deleting**:实例正在删除 '."\n" - ."\n" - .'- **abnormal**:实例存在异常'."\n" - ."\n" - .'- **free**:无有效实例', - 'type' => 'string', - 'example' => 'normal', - ], - 'MaxOverflow' => [ - 'description' => '是否开通超量弹性计费。取值:'."\n" - .'- **1000000**:已开通'."\n" - .'- **0**:未开通'."\n" - ."\n" - .'> 该字段仅对包年包月用户生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'VpcNumber' => [ - 'description' => '购买的VPC边界防护规格数。'."\n" - ."\n" - .'> 该字段仅对包年包月用户生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'IpNumber' => [ - 'description' => '购买的互联网边界防护规格数。'."\n" - ."\n" - .'> 该字段仅对包年包月用户生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '63', - ], - 'LogStorage' => [ - 'description' => '购买的日志存储容量。'."\n" - .'> 该字段仅对包年包月用户生效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'InternetBandwidth' => [ - 'description' => '购买的互联网防火墙流量处理能力。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'VpcBandwidth' => [ - 'description' => '购买的VPC防火墙流量处理能力。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'NatBandwidth' => [ - 'description' => '购买的NAT防火墙流量处理能力。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3000', - ], - 'MajorVersion' => [ - 'title' => '主版本', - 'description' => '主版本', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'DefaultBandwidth' => [ - 'title' => '版本默认带宽', - 'description' => '版本默认带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'ExtensionBandwidth' => [ - 'title' => '拓展带宽', - 'description' => '拓展带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'TemporaryBandwidth' => [ - 'title' => '临时升级带宽', - 'description' => '临时升级带宽', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], - 'GeneralInstance' => [ - 'title' => '通用实例规格数', - 'description' => '通用实例规格数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'ThreatIntelligence' => [ - 'title' => '威胁情报开通状态', - 'description' => '威胁情报开通状态', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Sdl' => [ - 'title' => '数据泄漏开通状态', - 'description' => '数据泄漏开通状态', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PrivateDnsConnectorQuota' => [ - 'title' => '私有DNS连接器配额', - 'description' => '私有DNS连接器配额', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'AckClusterConnectorQuota' => [ - 'title' => 'ACK集群连接器配额', - 'description' => 'ACK集群连接器配额', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '244EA37C-D2AB-54A7-B6E3-7ED0E9A1****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorBackupCountExceed', 'errorMessage' => 'The maximum number of backups is exceeded.', 'description' => '备份个数超出规格'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"vipcloudfw-cn-xxxxx\\",\\n \\"StartTime\\": 1692504764000,\\n \\"RequestId\\": \\"F71B03EE-xxxxx-91D79CC6AA1A\\",\\n \\"Version\\": 2,\\n \\"UserStatus\\": true,\\n \\"Expire\\": 1726934400000,\\n \\"LogStatus\\": true,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"MaxOverflow\\": 0,\\n \\"VpcNumber\\": 21,\\n \\"IpNumber\\": 63,\\n \\"LogStorage\\": 3000,\\n \\"InternetBandwidth\\": 3000,\\n \\"VpcBandwidth\\": 3000,\\n \\"NatBandwidth\\": 3000,\\n \\"MajorVersion\\": 1,\\n \\"DefaultBandwidth\\": 1000,\\n \\"ExtensionBandwidth\\": 1000,\\n \\"TemporaryBandwidth\\": 1000,\\n \\"GeneralInstance\\": 10,\\n \\"ThreatIntelligence\\": 1,\\n \\"Sdl\\": 1,\\n \\"PrivateDnsConnectorQuota\\": 5,\\n \\"AckClusterConnectorQuota\\": 5\\n}","type":"json"}]', - 'title' => '获取用户云防火墙实例信息', - 'description' => '本接口一般用于查询获取用户云防火墙实例信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeSlrGrant' => [ - 'summary' => '获取用户SLR授权信息。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建访问控制备份', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"244EA37C-D2AB-54A7-B6E3-7ED0E9A1****\\"\\n}","type":"json"}]', + ], + 'AddAddressBook' => [ + 'summary' => '创建地址簿,包括IPv4地址簿、ECS标签地址簿、IPv6地址簿、域名地址簿、ACK地址簿。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -871,430 +447,809 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68366', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68093', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '113.225.22.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '地址簿描述的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'AddressList', + 'in' => 'query', + 'schema' => ['description' => '地址簿的地址列表,多个地址间用英文逗号分隔,一个地址元素用空格分隔地址和描述。'."\n" + ."\n" + .'> 当GroupType为`ip`、`port`或`domain`时必须设置。'."\n" + ."\n" + .'- 当GroupType为`ip`时,地址列表中填写IP地址。例如:192.0.XX.XX/32 开发网段,10.0.0.X/24,192.0.XX.XX/24 测试网段。'."\n" + ."\n" + .'- 当GroupType为`port`时,地址列表中填写端口或端口范围。例如:80 HTTP端口,100/200,3306 数据库端口。'."\n" + ."\n" + .'- 当GroupType为`domain`时,地址列表中填写域名。例如:example.com 测试域名,aliyundoc.com,www.aliyun.com 阿里云官网。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/32 ,192.0.XX.XX/24 '], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '地址簿的描述信息。', 'type' => 'string', 'required' => true, 'example' => 'sz-001', 'maxLength' => 256, 'minLength' => 2], + ], + [ + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => ['description' => '地址簿的名称。', 'type' => 'string', 'required' => true, 'example' => 'sz-001', 'maxLength' => 128, 'minLength' => 2], + ], + [ + 'name' => 'GroupType', + 'in' => 'query', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'UserType' => [ - 'description' => '账号类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'sub' => '子账号', - 'customer' => '主账号', - ], - 'example' => 'sub', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '1BD3D277-AE2F-5609-893F-FF7A72A****', - ], - 'IsGranted' => [ - 'description' => '授权是否成功。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '是', - 'false' => '否', - ], - 'example' => 'true', - ], - ], + 'description' => '地址簿的类型。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['tagPrivate' => 'ECS标签私网地址簿', 'port' => '端口地址簿', 'ackLabel' => 'ACK容器组标签地址簿', 'ipv6' => 'IPv6地址簿', 'ip' => 'IPv4地址簿', 'domain' => '域名', 'assetIpv6' => 'IPv6公网资产地址簿', 'ackNamespace' => 'ACK命名空间地址簿', 'tag' => 'ECS标签公网地址簿', 'asset' => 'IPv4公网资产地址簿'], + 'example' => 'ip', ], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UserType\\": \\"sub\\",\\n \\"RequestId\\": \\"1BD3D277-AE2F-5609-893F-FF7A72A****\\",\\n \\"IsGranted\\": true\\n}","type":"json"}]', - 'title' => '获取用户SLR授权信息', - ], - 'DescribeMemberInfo' => [ - 'summary' => '查询成员信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '92911', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', + 'name' => 'AutoAddTagEcs', + 'in' => 'query', + 'schema' => [ + 'description' => '是否自动添加新匹配标签的ECS公网IP到地址簿。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['不自动添加(默认)', '自动添加'], + 'example' => '1', + ], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'TagRelation', 'in' => 'query', 'schema' => [ - 'description' => '成员账号UID。', + 'description' => '待匹配的多个ECS标签间的关系。', 'type' => 'string', 'required' => false, - 'example' => '150795602499****', + 'enumValueTitles' => ['or' => '或。多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', 'and' => '与(默认),多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。'], + 'example' => 'and', ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'TagList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结果的请求ID。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F2665618-3C41-51A4-8DAF-586FB68****', - ], - 'MemberUid' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'example' => '128720273643****', - ], - 'AdminUid' => [ - 'description' => '主账号UID。', - 'type' => 'string', - 'example' => '164705101205****', - ], - 'AdminName' => [ - 'description' => '主账号名称。', - 'type' => 'string', - 'example' => '田壮', - ], - 'IsMember' => [ - 'description' => '是否是成员账号。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '是', - 'false' => '否', - ], - 'example' => 'true', + 'description' => 'ECS标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ECS标签。', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'ECS标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], + 'TagKey' => ['description' => 'ECS标签键。', 'type' => 'string', 'required' => false, 'example' => 'TXY'], ], + 'required' => false, ], + 'required' => false, + 'maxItems' => 100, ], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2665618-3C41-51A4-8DAF-586FB68****\\",\\n \\"MemberUid\\": \\"128720273643****\\",\\n \\"AdminUid\\": \\"164705101205****\\",\\n \\"AdminName\\": \\"田壮\\",\\n \\"IsMember\\": true\\n}","type":"json"}]', - 'title' => '查询成员信息', - ], - 'DescribeInstanceRiskLevels' => [ - 'summary' => '查询实例风险等级。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174508', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', + 'name' => 'AckClusterConnectorId', + 'in' => 'query', + 'schema' => ['title' => 'ACK集群连接器ID。', 'description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'required' => false, 'example' => 'ac-7c1bad6c3cc84c33baab1 '], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AckNamespaces', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" + 'title' => 'ACK集群容器组命名空间列表。', + 'description' => 'ACK集群容器组命名空间列表。'."\n" + .'> 数量最多10个。', + 'type' => 'array', + 'items' => ['title' => 'ACK集群容器组命名空间。', 'description' => 'ACK集群容器组命名空间。取值来源:'."\n" + .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~):批量查询ACK集群命名空间。'."\n" ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', + .'> 当**GroupType**为**ackNamespace**时,必填。', 'type' => 'string', 'required' => false, 'example' => 'kube-system'], 'required' => false, - 'example' => 'en', ], ], [ - 'name' => 'Instances', + 'name' => 'AckLabels', 'in' => 'query', 'style' => 'flat', 'schema' => [ - 'description' => '实例列表信息。', + 'title' => 'ACK集群容器组标签列表。', + 'description' => 'ACK集群容器组标签列表。'."\n" + ."\n" + .'> 数量最多10个。', 'type' => 'array', 'items' => [ - 'description' => '实例列表。', + 'title' => 'ACK集群容器组标签。', + 'description' => 'ACK集群容器组标签。取值来源:'."\n" + .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~):批量查询ACK集群容器标签。'."\n" + ."\n" + .'> 当**GroupType**为**ackLabel**时,必填。', 'type' => 'object', 'properties' => [ - 'Uuid' => [ - 'description' => '实例的UUID。', - 'type' => 'string', - 'required' => false, - 'example' => '181ad081-e4f2-4e3e-b925-03b67f648397', - ], - 'InstanceId' => [ - 'description' => '云防火墙的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', - ], - 'IntranetIp' => [ - 'description' => '实例的私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '172.17.XX.XX', - ], - 'InternetIp' => [ - 'description' => '实例的公网IP。', - 'type' => 'array', - 'items' => [ - 'description' => '实例的公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '60.205.XX.XX', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'Key' => ['title' => 'ACK集群容器组标签的键。', 'description' => 'ACK集群容器组标签的键。', 'type' => 'string', 'required' => false, 'example' => 'app'], + 'Value' => ['title' => 'ACK集群容器组标签的值。', 'description' => 'ACK集群容器组标签的值。', 'type' => 'string', 'required' => false, 'example' => 'storage-operator'], ], 'required' => false, ], 'required' => false, - 'maxItems' => 100, ], ], - ], - 'responses' => [ - 200 => [ + [ + 'name' => 'AssetMemberUids', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014', - ], - 'InstanceRisks' => [ - 'description' => '实例风险列表。', - 'type' => 'array', - 'items' => [ + 'title' => '资产地址簿,成员账号列表。', + 'description' => '资产地址簿,成员账号列表。', + 'type' => 'array', + 'items' => ['title' => '成员账号列表。', 'description' => '成员账号列表。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], + 'required' => false, + ], + ], + [ + 'name' => 'AssetRegionResourceTypes', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'title' => '资产地址簿,地域和资源类型列表。', + 'description' => '资产地址簿,地域和资源类型列表。', + 'type' => 'array', + 'items' => [ + 'title' => '地域和资源类型列表。', + 'description' => '地域和资源类型列表。', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '资产地域ID。', + 'description' => '资产地域ID。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['all' => '全部地域'], + 'example' => 'all', + ], + 'ResourceType' => [ + 'title' => '资产类型。', + 'description' => '资产类型。', 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'example' => 'vipcloudfw-cn-7mz2fj8nm0u', - ], - 'Level' => [ - 'description' => '风险等级。取值包括:'."\n" - .'- **medium**:中等', - 'type' => 'string', - 'example' => 'medium', + 'Ipv4' => [ + 'title' => 'IPv4资产类型。', + 'description' => 'IPv4资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '资产类型:SlbEIP。', + 'description' => '资产类型:SlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '资产类型:NatPublicIP。', + 'description' => '资产类型:NatPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '资产类型:BastionHostIngressIP。', + 'description' => '资产类型:BastionHostIngressIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '资产类型:EniEIP。', + 'description' => '资产类型:EniEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '资产类型:NlbEIP。', + 'description' => '资产类型:NlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '资产类型:ApigEIP。', + 'description' => '资产类型:ApigEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '资产类型:EcsPublicIP。', + 'description' => '资产类型:EcsPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '资产类型:BastionHostIP。', + 'description' => '资产类型:BastionHostIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '资产类型:BastionHostEgressIP。', + 'description' => '资产类型:BastionHostEgressIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '资产类型:AlbEIP。', + 'description' => '资产类型:AlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '资产类型:GaEIP。', + 'description' => '资产类型:GaEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '资产类型:AIGatewayEIP。', + 'description' => '资产类型:AIGatewayEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '资产类型:EIP。', + 'description' => '资产类型:EIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '资产类型:NatEIP。', + 'description' => '资产类型:NatEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '资产类型:SlbPublicIP。', + 'description' => '资产类型:SlbPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '资产类型:EcsEIP。', + 'description' => '资产类型:EcsEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '资产类型:HAVIP。', + 'description' => '资产类型:HAVIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + ], + 'required' => false, ], - 'Details' => [ - 'description' => 'ECS实例风险列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS实例风险列表。', - 'type' => 'object', - 'properties' => [ - 'Ip' => [ - 'description' => '服务器IP地址。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'Type' => [ - 'description' => '类型。', - 'type' => 'string', - 'example' => 'ResourceNotProtected', - ], - 'Level' => [ - 'description' => '风险等级。取值包括:'."\n" - .'- **medium**:中等', - 'type' => 'string', - 'example' => 'medium', - ], + 'Ipv6' => [ + 'title' => 'IPv6资产类型。', + 'description' => 'IPv6资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '资产类型:SlbIPv6。', + 'description' => '资产类型:SlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '资产类型:NlbIPv6。', + 'description' => '资产类型:NlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '资产类型:EniEIPv6。', + 'description' => '资产类型:EniEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '资产类型:AlbIPv6。', + 'description' => '资产类型:AlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '资产类型:GaEIPv6。', + 'description' => '资产类型:GaEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '资产类型:AIGatewayEIPv6。', + 'description' => '资产类型:AIGatewayEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '资产类型:EcsIPv6。', + 'description' => '资产类型:EcsIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '资产类型:ApigEIPv6。', + 'description' => '资产类型:ApigEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', ], ], + 'required' => false, ], ], + 'required' => false, ], ], + 'required' => false, ], + 'required' => false, ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'GroupUuid' => ['description' => '添加成功后返回的地址簿唯一标识ID。', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersGroupType', 'errorMessage' => 'The group type is invalid.', 'description' => '无效的group类型'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersGroupAddress', 'errorMessage' => 'The IP address of the address group is invalid.', 'description' => '地址簿IP地址错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorAddressGroupExist', 'errorMessage' => 'The address group already exists.', 'description' => '分组已存在'], + ['errorCode' => 'ErrorParamDomain', 'errorMessage' => 'The parameter Domain is invalid.', 'description' => '地址簿域名地址错误'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorAddressGroupCountExceed', 'errorMessage' => 'The maximum number of address group is exceeded.', 'description' => '地址簿数量超出上限'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorParametersTagKey', 'errorMessage' => 'The tag key is invalid.', 'description' => '无效的tag key'], + ['errorCode' => 'ErrorParametersTagList', 'errorMessage' => 'The tag list is invalid.', 'description' => '无效的tag list'], + ['errorCode' => 'ErrorTagCountExceed', 'errorMessage' => 'The maximum number of tag is exceeded.', 'description' => 'tag数量超出上限'], + ['errorCode' => 'ErrorParametersTagRelation', 'errorMessage' => 'The tag relation is invalid.', 'description' => '无效的tag relation'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => '地址簿端口错误'], + ['errorCode' => 'ErrorPortCountExceed', 'errorMessage' => 'The maixmum number of port in the group is exceeded.', 'description' => '地址簿内端口数量超出上限'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => '由于某些未知错误,请求处理失败。'], + ['errorCode' => 'ErrorAckClusterConnectorBusy', 'errorMessage' => 'The ACK cluster connector is operating.', 'description' => '指定的ACK集群连接器正在操作中。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersMemberUidMismatch', 'errorMessage' => 'The memberUid mismatch the aliUid.', 'description' => '成员账号和aliUid不匹配。'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014\\",\\n \\"InstanceRisks\\": [\\n {\\n \\"InstanceId\\": \\"vipcloudfw-cn-7mz2fj8nm0u\\",\\n \\"Level\\": \\"medium\\",\\n \\"Details\\": [\\n {\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询实例风险等级', - ], - 'DescribeInternetOpenStatistic' => [ - 'summary' => '获取互联网开放统计。', - 'methods' => [ - 'post', - 'get', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n","errorExample":""}]', + 'title' => '创建地址簿', + 'description' => '本接口一般用于创建地址簿,包括IPv4地址簿、ECS标签地址簿、IPv6地址簿、域名地址簿、ACK地址簿。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-02-20T01:44:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-12-30T03:12:26.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-20T08:17:59.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-12-22T08:33:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], + ], + ], + ], ], + ], + 'AddControlPolicy' => [ + 'summary' => '添加访问控制策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', + 'operationType' => 'create', + 'riskType' => 'high', 'chargeType' => 'free', - 'abilityTreeCode' => '68280', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68094', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '202.109.244.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => true, 'example' => 'accept'], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有类型的应用)'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationName支持选择以上所有应用类型中的任意一种;Proto为UDP、ICMP或ANY协议类型时,ApplicationName仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'ANY'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'required' => true, 'example' => 'Release flow'], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中流量访问的目的端口。取值:'."\n" + ."\n" + .'- 当协议类型为ICMP时,DestPort取值为空。'."\n" + .' '."\n" + .'> 协议类型为ICMP时,不支持对目的端口进行访问控制。'."\n" + ."\n" + .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为group时,DestPort取值为空。'."\n" + ."\n" + .'> 访问控制策略目的端口类型选择group(目的端口地址簿)时,您无需设置具体的目的端口号。需要该访问控制策略管控的所有端口会包含在目的端口地址簿中。'."\n" + ."\n" + .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为port时,DestPort取值为目的端口号。'."\n", 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址段。'."\n" + ."\n" + .'取值:'."\n" + .'- 当DestinationType为net时,Destination为目的CIDR。'."\n" + .' '."\n" + .' 例如:1.2.XX.XX/24'."\n" + ."\n" + .'- 当DestinationType为group时,Destination为目的地址簿名称。'."\n" + ."\n" + .' 例如:db_group'."\n" + ."\n" + .'- 当DestinationType为domain时,Destination为目的域名。'."\n" + ."\n" + .' 例如:*.aliyuncs.com'."\n" + ."\n" + .'- 当DestinationType为location时,Destination为目的区域。'."\n" + ."\n" + .' 例如: \\["BJ11", "ZB"\\]'."\n" + ."\n" + .'> 当Destination为目的区域时,更多信息,请参见 [地区编号](~~2854161~~)。', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX/24'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'required' => true, 'example' => 'in'], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中流量访问的协议类型。取值:'."\n" + ."\n" + .'- **ANY**(任何协议)'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + ."\n" + .'> 流量方向为出向时,访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', 'type' => 'string', 'required' => true, 'example' => 'ANY'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。取值:'."\n" + ."\n" + .'- 当SourceType为net时,Source为源CIDR地址。'."\n" + ."\n" + .' 例如:1.1.XX.XX/24'."\n" + ."\n" + .'- 当SourceType为group时,Source为源地址簿名称。'."\n" + ."\n" + .' 例如:db_group'."\n" + ."\n" + .'- 当SourceType为location时,Source为源区域。'."\n" + ."\n" + .' 例如\\["BJ11", "ZB"\\]'."\n" + ."\n" + .'> 当Source为源区域时,更多信息,请参见 [地区编号](~~2854161~~)。', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX/24'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + .'- **net**:源网段(CIDR)'."\n" + .'- **group**:源地址簿'."\n" + .'- **location**:源区域', 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略生效的优先级。优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中流量访问的目的端口类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, 'example' => 'port'], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的目的端口地址簿名称。'."\n" + ."\n\n" + .'> DestPortType设置为group时,您需要设置目的端口地址簿名称。', 'type' => 'string', 'required' => false, 'example' => 'my_port_group'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => '支持的IP地址版本。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **4**:表示IPv4地址'."\n" + ."\n" + .'- **6**:表示IPv6地址', 'type' => 'string', 'required' => false, 'example' => '6'], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', + 'description' => '访问控制策略支持的应用类型列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有类型的应用)'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型,使用`["HTTP","HTTPS",……]`格式表示;Proto为UDP、ICMP或ANY协议类型时,ApplicationNameList仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', 'type' => 'string', 'required' => false, 'example' => '["ANY"]'], 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'maxItems' => 30, ], ], [ - 'name' => 'Lang', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], ], [ - 'name' => 'StartTime', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], 'required' => false, - 'example' => '1734386501', ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'required' => false, 'example' => '08:00'], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'required' => false, 'example' => '23:30'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], + ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1736386501', - ], + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'required' => false, 'example' => 'FQDN'], ], ], 'responses' => [ @@ -1302,162 +1257,200 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetIpNum' => [ - 'description' => '全部开放公网IP。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'InternetPortNum' => [ - 'description' => '全部开放端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '38', - ], - 'InternetUnprotectedPortNum' => [ - 'description' => '未受ACL保护端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'InternetRiskServiceNum' => [ - 'description' => '风险应用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '6AB7822C-0D73-5D1D-81FD-45D4FB7C****', - ], - 'InternetRiskPortNum' => [ - 'description' => '风险端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'InternetRiskIpNum' => [ - 'description' => '风险开放公网IP。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'InternetSlbIpNum' => [ - 'description' => 'SLB公网IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'InternetServiceNum' => [ - 'description' => '全部开放应用。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'InternetSlbIpPortNum' => [ - 'description' => 'SLB公网端口数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', - ], + 'AclUuid' => ['description' => '互联网边界防火墙访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => '地址簿端口错误'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => '超出一条ACL选取区域个数, 建议拆分成多条ACL'], + ['errorCode' => 'ErrorSrcMand', 'errorMessage' => 'Source is mandatory for this action.', 'description' => '此操作需要提供指定的 source。'], + ['errorCode' => 'ErrorEmptyDomainResolveType', 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'description' => '不支持空的域名解析模式。'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => '访问控制策略支持的应用类型不合法。'], + ['errorCode' => 'ErrorApplicationTemplateNotFound', 'errorMessage' => 'Application template not found.', 'description' => '应用程序模版不存在'], + ['errorCode' => 'ErrorWebFilterTemplateNotFound', 'errorMessage' => 'Web filter template not found.', 'description' => 'Web过滤模版不存在'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '添加访问控制策略', + 'description' => '您可以使用本接口创建一条对经过云防火墙流量放行、拒绝或观察的策略。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-11-06T08:10:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-28T10:01:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-22T07:47:00.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-25T02:35:12.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-02-25T06:01:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-02-24T09:19:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-01-18T09:47:51.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-06T03:48:27.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2021-12-16T10:37:20.000Z', 'description' => '请求参数发生变更'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddControlPolicy'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetIpNum\\": 9,\\n \\"InternetPortNum\\": 38,\\n \\"InternetUnprotectedPortNum\\": 6,\\n \\"InternetRiskServiceNum\\": 3,\\n \\"RequestId\\": \\"6AB7822C-0D73-5D1D-81FD-45D4FB7C****\\",\\n \\"InternetRiskPortNum\\": 5,\\n \\"InternetRiskIpNum\\": 8,\\n \\"InternetSlbIpNum\\": 10,\\n \\"InternetServiceNum\\": 15,\\n \\"InternetSlbIpPortNum\\": 16\\n}","type":"json"}]', - 'title' => '获取互联网开放统计', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', ], - 'ModifyCfwInstance' => [ - 'summary' => '更新用户实例相关信息,用于按量付费2.0用户。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'AddDnsFirewallPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68399', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68096', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'SourceIp', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => true, - 'docRequired' => true, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '140.205.118.97'], ], [ - 'name' => 'UpdateList', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => true, 'example' => 'log'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'required' => true, 'example' => 'test'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中的目的地址。'."\n" + ."\n" + .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" + .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" + .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" + .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => true, 'example' => 'db_group'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名', 'type' => 'string', 'required' => true, 'example' => 'domain'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'required' => false, 'example' => 'out'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.XX.XX/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', 'type' => 'string', 'required' => true, 'example' => '192.168.0.223/32'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR)'."\n" + ."\n" + .'- **group**:源地址簿', 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略优先级修改前,该策略的优先级。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => true, 'example' => 'true'], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', - 'style' => 'repeatList', 'schema' => [ - 'description' => '更新的实例属性的列表。', - 'type' => 'array', - 'items' => [ - 'description' => '更新的实例属性的列表。', - 'type' => 'object', - 'properties' => [ - 'Code' => [ - 'description' => '更新的实例属性的Code。'."\n" - .'目前支持:'."\n" - ."\n" - .'- Code:MajorVersion,对应Value可选值:2。仅对按量付费1.0用户支持,即按量付费1.0升级为按量付费2.0。'."\n" - .'>请确保已充分了解按量付费2.0的收费方式和价格。>'."\n" - .'>请注意,若升级前已开启日志投递,升级后日志投递会继续开启,且会切换至新日志库。>'."\n" - .'- Code: ThreatIntelligence,对应Value可选值:0,1。仅对按量付费2.0用户支持,用于按量付费2.0用户开关威胁情报。'."\n" - .'- Code: Sdl,对应Value可选值:0,1。仅对按量付费2.0用户支持,用于按量付费2.0用户开关敏感数据泄漏检测。', - 'type' => 'string', - 'required' => false, - 'example' => 'Sdl', - ], - 'Value' => [ - 'description' => '对应Code的Value。可选值详见Code描述。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - 'required' => false, - ], + 'description' => '支持的IP地址版本。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **4**:表示IPv4地址'."\n" + ."\n" + .'- **6**:表示IPv6地址', + 'type' => 'string', 'required' => true, - 'docRequired' => true, - 'maxItems' => 100, + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '4', + 'enum' => ['4', '6'], ], ], ], @@ -1466,143 +1459,183 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], + 'AclUuid' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => 'f88dae6f-XXX-XXX-613de9ab2be8'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '71209DFE-XXX-XXX-52B4A4E9DA3B'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAclRuleDuplicate', 'errorMessage' => 'acl rule duplicate.', 'description' => '相同策略以存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '添加DNS防火墙ACL', + 'summary' => '添加DNS防火墙ACL', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - 'title' => '修改云防火墙实例', - 'description' => '请确保在使用该接口前,已充分了解云防火墙产品按量版的收费方式和[价格](https://help.aliyun.com/zh/cloud-firewall/cloudfirewall/product-overview/pay-as-you-go)。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"f88dae6f-XXX-XXX-613de9ab2be8\\",\\n \\"RequestId\\": \\"71209DFE-XXX-XXX-52B4A4E9DA3B\\"\\n}","type":"json"}]', ], - 'ReleasePostInstance' => [ - 'summary' => '释放按量付费防火墙。', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'AddDomainResolveRealtimeTask' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '103471', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '228230', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => '云防火墙实例的ID。', + 'description' => '云防火墙类型。', 'type' => 'string', 'required' => false, - 'example' => 'cfw_elasticity_public_cn-xxx', + 'enumValueTitles' => ['nat' => 'nat', 'vpc' => 'vpc', 'internet' => 'internet'], + 'example' => 'internet', ], ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '本次请求的ID。', 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', - 'type' => 'string', - 'example' => 'EE316A19-xxxx-5043-9DF1-C04458ABC570', - ], - 'Success' => [ - 'description' => '本次请求是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReleaseStatus' => [ - 'description' => '是否释放成功:'."\n" - .'- **true**:调用成功。'."\n" - .'- **false**:调用失败。', - 'type' => 'boolean', - 'example' => 'true', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorFirewallTypeDuplicates', 'errorMessage' => 'firewallType duplicates.', 'description' => '选择的防火墙边界已存在私有DNS终端节点'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => '地域选择错误, 请重新输入。'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"EE316A19-xxxx-5043-9DF1-C04458ABC570\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": true\\n}","type":"json"}]', - 'title' => '释放按量付费防火墙', - ], - 'ReleaseExpiredInstance' => [ - 'summary' => '释放已过期的实例。', - 'methods' => [ - 'post', + 'title' => '创建域名解析实时任务', + 'summary' => '创建域名解析实时任务。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDomainResolveRealtimeTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', + ], + 'AddInstanceMembers' => [ + 'summary' => '添加云防火墙成员账号。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '139427', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68097', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Members', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', + 'description' => '云防火墙成员账号。', + 'type' => 'array', + 'items' => [ + 'description' => '需要添加的成员账号信息列表。', + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => '云防火墙成员账号的备注信息,长度为1~256个字符。最多可添加20个成员账号。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => 'renewal'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。最多可添加20个成员账号。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '258039427902****'], + ], + 'required' => false, + ], 'required' => true, - 'example' => 'cfw-y3gpqq705****', ], ], ], @@ -1611,309 +1644,313 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'HttpStatusCode' => [ - 'description' => 'http状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '9EC1DB0F-EE53-5D36-B5DA-71CB******', - ], - 'Success' => [ - 'description' => '本次请求是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ReleaseStatus' => [ - 'description' => '是否释放成功:'."\n" - .'- **true**:成功。'."\n" - .'- **false**:失败。', - 'type' => 'string', - 'example' => 'true', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B40A54DF-C142-44F7-8441-B31C1EADB36E'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => '无效的参数'], + ['errorCode' => 'ErrotMaxInstanceMemberNumExceed', 'errorMessage' => 'The maximum number of firewall instance members is exceeded.', 'description' => '防火墙实例成员个数超限'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => '单次添加或删除的成员数量超限。'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorInstanceMemberAlreadyExist', 'errorMessage' => 'instance member is already exist.', 'description' => '待添加的云防火墙实例成员已存在。'], + ['errorCode' => 'ErrorInstanceMemberIsMaster', 'errorMessage' => 'instance member is master account.', 'description' => '待添加的云防火墙实例成员已开防火墙。'], + ['errorCode' => 'ErrorInstanceAliuidNotDaMa', 'errorMessage' => 'instance aliuid not DA or MA.', 'description' => '云防火墙实例主账号不是DA或者MA。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'internal error: sql insert.', 'description' => '请求错误,数据库插入失败。'], + ['errorCode' => 'ErrorInstanceMemberNotBelongRd', 'errorMessage' => 'instance member not belong rd.', 'description' => '待添加的云防火墙实例成员不属于RD。'], + ['errorCode' => 'ErrorInstanceMemberNotStsGrant', 'errorMessage' => 'instance member is not sts grant.', 'description' => '待添加的云防火墙实例成员未授权。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"9EC1DB0F-EE53-5D36-B5DA-71CB******\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": \\"true\\"\\n}","type":"json"}]', - 'title' => '释放已到期防火墙实例', - ], - 'DescribeRiskEventTopAttackAsset' => [ - 'summary' => '获取Top风险事件资产。', - 'methods' => [ - 'post', - 'get', + 'title' => '添加云防火墙成员账号', + 'description' => '本接口一般用于添加云防火墙成员账号。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-08-14T02:24:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-02-23T03:06:58.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstanceMembers'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B40A54DF-C142-44F7-8441-B31C1EADB36E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B40A54DF-C142-44F7-8441-B31C1EADB36E\\n","errorExample":""}]', + ], + 'AddPrivateDnsDomainName' => [ + 'summary' => '添加私网DNS域名', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68352', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '226307', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '125.33.253.XX', - ], + 'schema' => ['description' => '私有 DNS 解析实例 ID。', 'type' => 'string', 'required' => true, 'example' => 'cfw-xxx'], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '实例所在的区域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'], ], [ - 'name' => 'Lang', + 'name' => 'DomainNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'description' => '添加的私有域名列表。', + 'type' => 'array', + 'items' => ['description' => '添加的私有域名列表。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "internal.xxx.com",'."\n" + .' "api.xxx.com"'."\n" + .' ]'], + 'required' => true, + 'maxItems' => 1000, + 'minItems' => 1, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], ], - 'example' => 'zh', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => '指定的私有DNS不存在'], + ['errorCode' => 'ErrorPrivateDnsDomainName', 'errorMessage' => 'private dns domain name error.', 'description' => '私有DNS域名错误'], + ['errorCode' => 'ErrorPrivateDnsDomainNameMaxLimit', 'errorMessage' => 'the number of private DNS domain names exceeds the maximum limit.', 'description' => '私有DNS域名数量超过最大规格限制'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '添加私网DNS域名', + 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1754273436', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddPrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'BatchCopyVpcFirewallControlPolicy' => [ + 'summary' => '从源VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '104390', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1742955867', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'AttackType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '攻击应用类型。', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AttackApp', + 'name' => 'SourceVpcFirewallId', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '攻击应用列表。', - 'type' => 'array', - 'items' => [ - 'description' => '攻击应用列表。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => '该操作的源VPC边界防火墙的访问控制策略组ID。取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,策略组ID使用云企业网实例ID。'."\n" + ."\n" + .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], ], [ - 'name' => 'BuyVersion', + 'name' => 'TargetVpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '购买版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '高级版', - '企业版', - '旗舰版', - 10 => '按量付费版', - ], - 'example' => '10', - ], + 'schema' => ['description' => '该操作的目标VPC边界防火墙的访问控制策略组ID。取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,策略组ID使用云企业网实例ID。'."\n" + ."\n" + .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-e37d3a04cf79446a****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B9BF7C33-9A23-5096-8568-A3DACAF0****', - ], - 'Assets' => [ - 'description' => '资产统计信息。', - 'type' => 'array', - 'items' => [ - 'description' => '资产统计信息。', - 'type' => 'object', - 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => '资源实例名。', - 'type' => 'string', - 'example' => 'test_resource', - ], - 'ResourceType' => [ - 'description' => '资源实例类型。', - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'ResourceInstanceId' => [ - 'description' => '资产实例ID。', - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'RegionNo' => [ - 'description' => '地域id。', - 'type' => 'string', - 'example' => 'cn-chengdu', - ], - 'Ip' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'example' => '10.3.54.XXX', - ], - 'AttackCnt' => [ - 'description' => '漏洞的攻击次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'DropCnt' => [ - 'description' => '未识别次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersTarget', 'errorMessage' => 'Target VPC Firewall ID not exist.', 'description' => '目标VPC不存在'], + ['errorCode' => 'ErrorParametersSourceTarget', 'errorMessage' => 'Source and target firewall is same.', 'description' => '目标VPC和源VPC相同'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B9BF7C33-9A23-5096-8568-A3DACAF0****\\",\\n \\"Assets\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionNo\\": \\"cn-chengdu\\",\\n \\"Ip\\": \\"10.3.54.XXX\\",\\n \\"AttackCnt\\": 12,\\n \\"DropCnt\\": 8\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取top风险事件资产', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAttackAppCategory' => [ - 'summary' => '查询攻击类别列表。', - 'methods' => [ - 'get', - 'post', + 'title' => '从源VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组(废弃)', + 'description' => '本接口一般用于从一个VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组。'."\n" + ."\n" + .'进行该操作之前,建议您先进行策略备份。关于策略备份的详细信息,请参见[策略备份](~~170363~~)。'."\n" + ."\n" + .'该操作完成后,目标VPC边界防火墙策略组内的策略会完全替换成源VPC边界防火墙策略组内的策略。'."\n" + ."\n" + .'源VPC边界防火墙策略组和目标VPC边界防火墙策略组必须属于同一个阿里云账号。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchCopyVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchCopyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', + ], + 'BatchDeleteVpcFirewallControlPolicy' => [ + 'summary' => '批量删除VPC防火墙访问控制策略。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '195162', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'AclUuidList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'description' => 'ACL UUID 列表。', + 'type' => 'array', + 'items' => ['description' => 'ACL UUID 列表。', 'type' => 'string', 'required' => false, 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c'], + 'required' => true, + 'maxItems' => 100, ], ], ], @@ -1921,63 +1958,58 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '返回结果的请求ID。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558FE****', - ], - 'AppCategories' => [ - 'description' => '攻击应用类别列表。', - 'type' => 'array', - 'items' => [ - 'description' => '攻击应用类别。', - 'type' => 'object', - 'properties' => [ - 'AttackApps' => [ - 'description' => '攻击应用列表。', - 'type' => 'array', - 'items' => [ - 'description' => '攻击应用。', - 'type' => 'string', - 'example' => 'Nacos', - ], - ], - 'CategoryName' => [ - 'description' => '攻击应用类别名称。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParamUuidOrOrderMiss', 'errorMessage' => 'Either uuid or oldOrder is invalid.', 'description' => '无效的uuid或者oldOrder'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE****\\",\\n \\"AppCategories\\": [\\n {\\n \\"AttackApps\\": [\\n \\"Nacos\\"\\n ],\\n \\"CategoryName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询攻击类别列表', - 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeOutgoingRiskTrend' => [ - 'summary' => '查询外联风险趋势。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '批量删除VPC防火墙访问控制策略', + 'changeSet' => [ + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVpcFirewallControlPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchDeleteVpcFirewallControlPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', + ], + 'ClearLogStoreStorage' => [ + 'summary' => '清空防火墙日志。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -1986,73 +2018,127 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68330', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68112', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Site', 'in' => 'query', + 'schema' => ['title' => '代表要清空的站点名称,如果只有1个logStore,可以不填,如果有2个logStore,需要填cn或者intl。', 'description' => '代表要清空的站点名称,如果只有1个logStore,可以不填,如果有2个logStore,需要填cn或者intl。', 'type' => 'string', 'required' => false, 'example' => 'cn'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '219.145.94.XXX', + 'type' => 'object', + 'properties' => [ + 'HttpStatusCode' => ['title' => 'http状态码。', 'description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['title' => '本次请求的id。', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => '21C27710-2DB1-5F2A-8588-72D0541B****'], + 'Success' => ['title' => '返回结果。取值:-**true**:表示成功-**false**:表示失败', 'description' => '本次请求是否成功。', 'type' => 'boolean', 'example' => 'true'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '清空防火墙日志', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ClearLogStoreStorage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"21C27710-2DB1-5F2A-8588-72D0541B****\\",\\n \\"Success\\": true\\n}","type":"json"}]', + ], + 'CreateAckClusterConnector' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Lang', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'required' => false, 'example' => '135809047715****'], ], [ - 'name' => 'StartTime', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1733882648', - ], + 'schema' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'EndTime', + 'name' => 'ConnectorName', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1755051062', - ], + 'schema' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'ack-cluster-connector-name'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群ID。取值来源:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', 'type' => 'string', 'required' => true, 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b'], + ], + [ + 'name' => 'PrimaryVswitchId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器主交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'required' => true, 'example' => 'vsw-2zerfbbje7dvnbii2****'], + ], + [ + 'name' => 'PrimaryVswitchIp', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器主交换机IP。', 'type' => 'string', 'required' => false, 'example' => '10.100.1.1'], + ], + [ + 'name' => 'StandbyVswitchId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器备交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'required' => false, 'example' => 'vsw-2ze2gtlfozrab01cfo****'], + ], + [ + 'name' => 'StandbyVswitchIp', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器备交换机IP。', 'type' => 'string', 'required' => false, 'example' => '10.100.2.1'], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', 'type' => 'string', 'required' => true, 'example' => '30'], ], ], 'responses' => [ @@ -2060,169 +2146,160 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalRiskDomain' => [ - 'description' => '全部风险域名。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '1CA8D98E-A71B-5856-A658-3E8B3152E****', - ], - 'Interval' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'TotalRiskIp' => [ - 'description' => '全部风险IP。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'DataList' => [ - 'description' => '返回数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '返回数据列表。', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'RiskIp' => [ - 'description' => '风险IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RiskDomain' => [ - 'description' => '风险域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], + 'AckClusterConnector' => [ + 'description' => 'ACK集群连接器返回体。', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'ACK集群连接器唯一标识ID。', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'ConnectorName' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'MemberUid' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'example' => '135809047715****'], + 'RegionNo' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'ClusterId' => ['description' => 'ACK集群ID。取值来源:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', 'type' => 'string', 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b'], + 'ClusterName' => ['description' => 'ACK集群名称。', 'type' => 'string', 'example' => 'ack-cluster-name'], + 'VpcId' => ['description' => 'ACK集群所属VPC实例ID。', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****'], + 'PrimaryVswitchId' => ['description' => 'ACK集群连接器主交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****'], + 'PrimaryVswitchZoneId' => ['description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-hangzhou-g'], + 'PrimaryVswitchIp' => ['description' => 'ACK集群连接器主交换机IP。', 'type' => 'string', 'example' => '10.100.1.1'], + 'StandbyVswitchId' => ['description' => 'ACK集群连接器备交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****'], + 'StandbyVswitchZoneId' => ['description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-hangzhou-h'], + 'StandbyVswitchIp' => ['description' => 'ACK集群连接器备交换机IP。', 'type' => 'string', 'example' => '10.100.2.1'], + 'Ttl' => ['description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'ConnectorStatus' => [ + 'description' => 'ACK集群连接器实例状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'deleting' => '删除中', 'ready' => '正常'], + 'example' => 'ready', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'ACK集群连接器的健康检查状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'healthy' => '健康', 'unhealthy' => '不健康'], + 'example' => 'healthy', ], + 'AckClientHostIp' => ['description' => 'ACK集群连接器,通过内网访问ACK集群的上车点IP。', 'type' => 'string', 'example' => '10.40.32.240'], + 'TaskId' => ['description' => '创建ACK集群连接器的任务唯一标识ID。', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'], + 'CreateTime' => ['description' => '创建ACK集群连接器的时间戳,单位:秒。', 'type' => 'string', 'example' => '1724982259'], ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorVSwitchAndPrivateIpAddressMismatched', 'errorMessage' => 'The vSwitch and privateIpAddress are mismatched.', 'description' => '交换机和私网IP不匹配。'], + ['errorCode' => 'ErrorAckClusterNotFound', 'errorMessage' => 'The specified resource ACK cluster is not found.', 'description' => '指定的ACK集群不存在。'], + ['errorCode' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', 'errorMessage' => 'The IP is already allocated, failed to create reverse endpoint.', 'description' => '指定IP已经被分配,创建反向连接终端节点失败。'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorVswitchNoAvailableIP', 'errorMessage' => 'the vswitch has no available ip.', 'description' => '指定的交换机无可用IP'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorAckClusterNetworkOnlySupportTerway', 'errorMessage' => 'The ACK cluster network only support Terway.', 'description' => 'ACK集群的网络插件仅支持Terway。'], + ['errorCode' => 'ErrorAckVpcAndVSwitchVpcMismatched', 'errorMessage' => 'The ACK VPC and vSwitch VPC are mismatched.', 'description' => 'ACK集群的VPC和VSwitch的VPC不匹配。'], + ['errorCode' => 'ErrorPrimaryStandbyVswitchSameZone', 'errorMessage' => 'The primary and standby vSwitch are in the same availability zone.', 'description' => '多可用区交换机不能是同一可用区。'], + ['errorCode' => 'ErrorAckClusterSpecOnlySupportAckPro', 'errorMessage' => 'The ACK cluster spec only support ack.pro.small.', 'description' => 'ACK集群的规格仅支持集群 Pro 版。'], + ['errorCode' => 'ErrorAckClusterConnectorQuotaExceeded', 'errorMessage' => 'ACK cluster connector resource exceeds the quota limit.', 'description' => 'ACK集群连接器资源超过配额限制。'], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK服务未开通。'], + ['errorCode' => 'ErrorAckClusterConnectorExist', 'errorMessage' => 'The ACK cluster connector already exist.', 'description' => '指定的ACK集群连接器已存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建ACK集群连接器', + 'summary' => '创建ACK集群连接器。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalRiskDomain\\": 7,\\n \\"RequestId\\": \\"1CA8D98E-A71B-5856-A658-3E8B3152E****\\",\\n \\"Interval\\": 60,\\n \\"TotalRiskIp\\": 6,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"RiskIp\\": 5,\\n \\"RiskDomain\\": 20\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询外联风险趋势', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-hangzhou-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-hangzhou-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"AckClientHostIp\\": \\"10.40.32.240\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', ], - 'DescribeUnprotectedPortTrend' => [ - 'summary' => '查询未保护的端口趋势。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateAclCheck' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68393', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '219356', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '61.155.60.XXX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'AclType', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => 'ACL检查类型。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'required' => true, + 'enumValueTitles' => ['NAT' => 'NAT边界', 'AddressBook' => '地址簿', 'VPC' => 'VPC边界', 'Internet' => '互联网边界'], + 'example' => 'Internet', + 'enum' => ['Internet', 'NAT', 'VPC', 'AddressBook'], ], ], [ - 'name' => 'StartTime', + 'name' => 'CheckNames', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', + 'description' => 'ACL检查名称列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACL检查名称。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['PolicyDuplicate' => '重复冗余策略', 'PolicyConflict' => '业务冲突策略', 'AddressBookIpSeparated' => 'IP地址簿重复、重叠、分散', 'DefaultPolicyNotDeny' => '默认兜底策略不是Deny All白名单机制', 'PolicySourceDestinationSame' => '源和目的对象相同无效策略', 'PolicyPortHighRisk' => '高风险端口放行风险策略', 'PolicyTooLoose' => '管控策略过于宽松', 'PolicyHitCountZero' => '无流量命中策略', 'AddressBookPortSeparated' => '端口地址簿重复、重叠、分散', 'AddressBookDomainValid' => '域名地址簿合法性校验'], + 'example' => 'PolicyHitCountZero', + 'enum' => ['PolicyHitCountZero', 'PolicySourceDestinationSame', 'PolicyDuplicate', 'PolicyConflict', 'DefaultPolicyNotDeny', 'PolicyPortHighRisk', 'PolicyTooLoose', 'AddressBookIpSeparated', 'AddressBookPortSeparated', 'AddressBookDomainValid'], + ], 'required' => false, - 'example' => '1655778046', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => false, - 'example' => '1751210395', + 'maxItems' => 7, + 'minItems' => 1, ], ], ], @@ -2231,257 +2308,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Interval' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'E599A84E-CD22-5E42-A2A9-01A254AC****', - ], - 'DataList' => [ - 'description' => '数据列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****'], + 'TaskIds' => [ + 'description' => '任务ID列表。', 'type' => 'array', - 'items' => [ - 'description' => '数据列表。', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'Count' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'items' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'."\n"], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAclCheckQuotaUnavailable', 'errorMessage' => 'ACL check quota unavailable.', 'description' => 'ACL检查额度不足。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorAclCheckBusy', 'errorMessage' => 'ACL check is busy.', 'description' => 'ACL检查繁忙,请稍后再试。'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": 60,\\n \\"RequestId\\": \\"E599A84E-CD22-5E42-A2A9-01A254AC****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"Count\\": 1\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询未保护的端口趋势', - ], - 'DescribeVpcFirewallDropTrafficTrend' => [ - 'summary' => '查询VPC防火墙拦截趋势。', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '创建ACL检查', + 'summary' => '创建ACL检查。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\",\\n \\"TaskIds\\": [\\n \\"task-c92d4544ef7b6a42\\\\n\\"\\n ]\\n}","type":"json"}]', + ], + 'CreateDownloadTask' => [ + 'summary' => '创建文件下载任务。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '146117', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '174565', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '183.237.161.XXX', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], - ], - [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1747792853', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**:(默认)中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'TrafficTime', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '流量时间点。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739337840', - ], + 'schema' => ['description' => '任务类型,枚举值。可填枚举值见接口:查询文件下载任务类型。', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewallAsset'], ], [ - 'name' => 'Sort', + 'name' => 'TaskData', 'in' => 'query', - 'schema' => [ - 'description' => '排序标准。', - 'type' => 'string', - 'required' => false, - 'example' => 'LastTime', - ], + 'schema' => ['description' => '下载任务的请求查询条件。', 'type' => 'string', 'required' => false, 'example' => '{\\"SearchItem\\":\\"\\",\\"UserType\\":\\"buy\\",\\"IpVersion\\":\\"4\\"}'], ], [ - 'name' => 'Order', + 'name' => 'TimeZone', 'in' => 'query', - 'schema' => [ - 'description' => '升降序。取值:'."\n" - ."\n" - .'- **asc**:升序。'."\n" - .'- **desc**(默认):降序。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '下载文件中时间信息的时区,使用IANA时区标识符。默认为北京时间,即Asia/Shanghai。', 'type' => 'string', 'required' => false, 'example' => 'Asia/Shanghai'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'DropSessionMax' => [ - 'description' => '拦截最大连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C87C1797-02E6-5EEB-A943-4416207D****', - ], - 'DataList' => [ - 'description' => '返回数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '返回数据列表。', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '事件发生的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'AclDrop' => [ - 'description' => 'ACL拦截数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'IpsDrop' => [ - 'description' => 'IPS拦截数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalSession' => [ - 'description' => '总会话数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '153188', - ], - 'DataTime' => [ - 'description' => '当前时间点。', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'DropSession' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'TaskId' => ['description' => '任务Id,任务的唯一标识。', 'type' => 'integer', 'format' => 'int64', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DEE923'], + 'TaskName' => ['title' => '', 'description' => '文件下载任务的名称。', 'type' => 'string', 'example' => 'test-IPv4'], + 'Status' => ['description' => '任务状态。取值:'."\n" + ."\n" + .'finish:任务完成。即任务已经完成,可以通过查询任务,获取任务文件下载链接。'."\n" + ."\n" + .'start:任务开始。'."\n" + ."\n" + .'error:任务失败。'."\n" + ."\n" + .'expire:任务过期。即任务文件已经失效,无法下载。', 'type' => 'string', 'example' => 'start'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 0,\\n \\"RequestId\\": \\"C87C1797-02E6-5EEB-A943-4416207D****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 153188,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙拦截趋势', - ], - 'DescribeOutgoingRiskDomainAndIpCount' => [ - 'summary' => '获取入侵防御风险数。', - 'methods' => [ - 'get', + 'title' => '创建文件下载任务', + 'changeSet' => [ + ['createdAt' => '2024-12-18T03:11:50.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-04T11:04:35.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDownloadTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 132,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DEE923\\",\\n \\"TaskName\\": \\"test-IPv4\\",\\n \\"Status\\": \\"start\\"\\n}","type":"json"}]', + ], + 'CreateInstanceSyncTask' => [ + 'summary' => '创建互联网资产同步任务。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -2490,362 +2476,425 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '42917', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68123', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1749434787', - ], + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '60.182.79.XXX'], ], [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '语言类型。', + 'type' => 'string', 'required' => false, - 'example' => '1751595213', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'EE258AC0-6EDD-5929-AB47-165E9B54****', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'RiskDomainCount' => [ - 'description' => '风险域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'RiskIpCount' => [ - 'description' => '风险IP数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', - ], + 'Module' => ['description' => '应用模块', 'type' => 'string', 'example' => 'ips_server'."\n"], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE258AC0-6EDD-5929-AB47-165E9B54****\\",\\n \\"TotalCount\\": 6,\\n \\"RiskDomainCount\\": 6,\\n \\"RiskIpCount\\": 47\\n}","type":"json"}]', - 'title' => '获取入侵防御风险数', - ], - 'DescribeNatFirewallDropTrafficTrend' => [ - 'summary' => '概览页-nat防火墙拦截趋势。', - 'methods' => [ - 'get', + 'title' => '创建互联网资产同步任务', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateInstanceSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\"\\n}","type":"json"}]', + ], + 'CreateIpsPrivateAssoc' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '203563', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '240771', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问源IP地址。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '122.190.56.XXX', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1740968766', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'EndTime', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1758334822', - ], + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'DropSessionMax' => [ - 'description' => '对应周期丢弃的最大值 (峰值)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '62436', - ], - 'DropSessionMaxTime' => [ - 'description' => '丢弃最大值所在的周期。', - 'type' => 'string', - 'example' => '1525662720', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DataList' => [ - 'description' => '概览页数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '概览页数据列表。', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '事件发生的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'TotalSession' => [ - 'description' => '总请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '153188', - ], - 'DropSession' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ERR_RESOURCE_NOT_SUPPORT', 'errorMessage' => 'This operation is not currently supported by the resource.Please try again later.', 'description' => '资源当前不支持该操作,请稍后再试。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建IPS私网溯源', + 'summary' => '创建IPS私网溯源。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 62436,\\n \\"DropSessionMaxTime\\": \\"1525662720\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"TotalSession\\": 153188,\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', - 'title' => '概览页-nat防火墙拦截趋势。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', ], - 'DescribeInternetDropTrafficTrend' => [ - 'summary' => '互联网防御趋势。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateNatFirewallControlPolicy' => [ + 'summary' => '添加NAT防火墙访问控制策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68274', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '170916', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**:(默认)中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => true, 'example' => 'log'], + ], + [ + 'name' => 'ApplicationNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '120.136.21.XXX', + 'description' => '访问控制策略支持的应用类型列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略支持的应用类型。', 'type' => 'string', 'required' => false, 'example' => 'ANY'], + 'required' => true, + 'maxItems' => 30, ], ], [ - 'name' => 'Lang', + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'required' => true, 'example' => '放行流量'], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中流量访问的目的端口。取值:'."\n" + ."\n" + .'- 当协议类型为ICMP时,DestPort取值为空。'."\n" + .' '."\n" + .'> 协议类型为ICMP时,不支持对目的端口进行访问控制。'."\n" + ."\n" + .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为group时,DestPort取值为空。'."\n" + ."\n" + .'> 访问控制策略目的端口类型选择group(目的端口地址簿)时,您无需设置具体的目的端口号。需要该访问控制策略管控的所有端口会包含在目的端口地址簿中。'."\n" + ."\n" + .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为port时,DestPort取值为目的端口号。'."\n", 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址段。'."\n" + ."\n" + .'取值:'."\n" + .'- 当DestinationType为net时,Destination为目的CIDR。'."\n" + .' '."\n" + .' 例如:1.2.XX.XX/24'."\n" + ."\n" + .'- 当DestinationType为group时,Destination为目的地址簿名称。'."\n" + ."\n" + .' 例如:db_group'."\n" + ."\n" + .'- 当DestinationType为domain时,Destination为目的域名。'."\n" + ."\n" + .' 例如:*.aliyuncs.com'."\n" + ."\n" + .'- 当DestinationType为location时,Destination为目的区域。'."\n" + ."\n" + .' 例如: \\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => true, 'example' => 'XX.XX.XX.XX/24'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名', 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'NAT网关的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-2vc2ustolqn6sr0******'], + ], + [ + 'name' => 'Proto', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '访问控制策略中流量访问的安全协议类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- ANY(表示查询所有协议类型)'."\n" + .'- TCP'."\n" + .'- UDP'."\n" + .'- ICMP'."\n" + ."\n" + .'> 访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'ANY', ], ], [ - 'name' => 'Lang', + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" + ."\n" + .' 例如:10.2.4.0/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" + ."\n" + .' 例如:db_group', 'type' => 'string', 'required' => true, 'example' => '192.168.0.25/32'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n", 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略生效的优先级。优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'DestPortType', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'enumValueTitles' => [], + 'example' => 'port', ], ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的目的端口地址簿名称。'."\n" + ."\n\n" + .'> DestPortType设置为group时,您需要设置目的端口地址簿名称。', 'type' => 'string', 'required' => false, 'example' => 'my_port_group'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'- **0**:基于FQDN'."\n" + .'- **1**:基于DNS动态解析'."\n" + .'- **2**:基于FQDN与DNS动态解析'."\n" + ."\n" + .'> 域名识别模式包含FQDN时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL/IMAPS/POPS。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => '支持的IP地址版本。取值:'."\n" + ."\n" + .'- **4**(默认):代表IPv4地址', 'type' => 'string', 'required' => false, 'example' => '4'], + ], [ 'name' => 'Direction', 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'required' => true, 'example' => 'out'], + ], + [ + 'name' => 'RepeatType', + 'in' => 'query', 'schema' => [ - 'description' => '方向。', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in' => '入向', - 'out' => '出向', - ], - 'example' => 'out', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], ], [ - 'name' => 'StartTime', + 'name' => 'RepeatDays', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749176793', + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'required' => false, ], ], [ - 'name' => 'EndTime', + 'name' => 'RepeatStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1756346821', - ], + 'schema' => ['description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'required' => false, 'example' => '08:00'], ], [ - 'name' => 'SourceCode', + 'name' => 'RepeatEndTime', 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'required' => false, 'example' => '23:30'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], ], ], 'responses' => [ @@ -2853,332 +2902,177 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DropSessionMax' => [ - 'description' => '对应周期丢弃的最大值 (峰值)', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8090', - ], - 'RingRatioAverage' => [ - 'description' => '流量率。单位:%。', - 'type' => 'string', - 'example' => '1.23', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'RatioAverage' => [ - 'description' => '流量倍增模式。取值:-**0**:优先级方式-**1**:负载均衡方式', - 'type' => 'string', - 'example' => '12.34', - ], - 'DataList' => [ - 'description' => '数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据列表。', - 'type' => 'object', - 'properties' => [ - 'Time' => [ - 'description' => '时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - 'AclDrop' => [ - 'description' => '对应的入侵防御事件数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'DropRatio' => [ - 'description' => '查询到的流量点列表。', - 'type' => 'string', - 'example' => '1', - ], - 'RingDataTime' => [ - 'description' => '上周期对应时间点。', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'IpsDrop' => [ - 'description' => '查询到的ip地址的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'TotalSession' => [ - 'description' => '总请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'DataTime' => [ - 'description' => '当前时间点。', - 'type' => 'string', - 'example' => '2018-08-25 12:00:00', - ], - 'DropSession' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'RingTime' => [ - 'description' => '动态丢包时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1724982259', - ], - 'DropRing' => [ - 'description' => '对象取值范围:**\\[0,10000\\]**。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'DropRingRatio' => [ - 'description' => '网络流量的速率。单位:kbps。', - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], + 'AclUuid' => ['description' => '安全访问控制策略的唯一标识ID。'."\n" + ."\n" + .'> 修改安全访问控制策略,需要提供该策略的唯一标识ID,该ID可调用DescribeNatFirewallControlPolicy接口获取。', 'type' => 'string', 'example' => '6504d2fb-ab36-49c3-92a6-*****'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => '超出一条ACL选取区域个数, 建议拆分成多条ACL'], + ['errorCode' => 'ErrorStartTimeOrEndTime', 'errorMessage' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'description' => '开始时间或结束时间无效。时间必须是小时或半小时,并且开始时间必须比结束时间早30分钟。'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 8090,\\n \\"RingRatioAverage\\": \\"1.23\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"RatioAverage\\": \\"12.34\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"DropRatio\\": \\"1\\",\\n \\"RingDataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 10,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 12,\\n \\"RingTime\\": 1724982259,\\n \\"DropRing\\": 0,\\n \\"DropRingRatio\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '互联网防御趋势', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeInvadeEcsTrend' => [ - 'summary' => '查询ECS漏洞趋势。', - 'methods' => [ - 'post', - 'get', + 'title' => '添加NAT防火墙访问控制策略', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-28T10:01:55.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-22T07:46:59.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-03-13T11:58:30.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"6504d2fb-ab36-49c3-92a6-*****\\",\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', + ], + 'CreateNatFirewallPreCheck' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'readAndWrite', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68288', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], + 'abilityTreeCode' => '207105', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '120.230.45.XXX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'name' => 'RegionNo', + 'in' => 'formData', + 'schema' => ['description' => 'NAT所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1736561456', - ], + 'name' => 'VpcId', + 'in' => 'formData', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-2zeiljdml8pble168****'], ], [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1733796528', - ], + 'name' => 'NatGatewayId', + 'in' => 'formData', + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => true, 'example' => 'ngw-uf69hlxv5c817iqrk****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1736820365', - ], - 'StartTime' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1742177725', - ], - 'InvadeEcsCount' => [ - 'description' => '所有的失陷主机数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F90E816D-BEE7-5BD6-95ED-474F54****', - ], - 'Interval' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'DataList' => [ - 'description' => '数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据列表。', - 'type' => 'object', - 'properties' => [ - 'EcsCount' => [ - 'description' => 'ECS数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '27', - ], - 'Time' => [ - 'description' => '时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1659405600', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A426611F-04FA-5205-8D04-4F6DCF09****'], + 'PreCheckId' => ['description' => '预校验ID。', 'type' => 'string', 'example' => '2122'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建NAT防火墙预检查', + 'summary' => '创建NAT防火墙预检查', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1736820365,\\n \\"StartTime\\": 1742177725,\\n \\"InvadeEcsCount\\": 2,\\n \\"RequestId\\": \\"F90E816D-BEE7-5BD6-95ED-474F54****\\",\\n \\"Interval\\": 60,\\n \\"DataList\\": [\\n {\\n \\"EcsCount\\": 27,\\n \\"Time\\": 1659405600\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询ECS漏洞趋势', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A426611F-04FA-5205-8D04-4F6DCF09****\\",\\n \\"PreCheckId\\": \\"2122\\"\\n}","type":"json"}]', ], - 'DescribePostpayEnabledProtection' => [ - 'summary' => '查询按量付费版本防护状态。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateNatFirewallSyncTask' => [ + 'summary' => '创建NAT防火墙资产同步任务。', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'readAndWrite', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '144147', - 'abilityTreeNodes' => [ - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '237946', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -3186,13 +3080,10 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '返回消息的语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -3204,350 +3095,310 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '95CA5E2B-E5FB-5838-BC50-6A2C763C****', - ], - 'IsEnabledProtection' => [ - 'description' => '该防护功能是否被启用。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'IsOpenButDisabled' => [ - 'description' => '是否开启保护但是关闭。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'DisabledDays' => [ - 'description' => '未开启防护的天数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'DisabledType' => [ - 'description' => '未开启防护的类型。', - 'type' => 'string', - 'example' => 'nat', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '3E048D45-A563-5F81-9D97-536B4A84****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], - [ - 'errorCode' => 'ErrorInstanceNotPostpay', - 'errorMessage' => 'instance is not postpay', - ], - [ - 'errorCode' => 'ErrorInstanceNotInDB', - 'errorMessage' => 'no instance for process in db', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95CA5E2B-E5FB-5838-BC50-6A2C763C****\\",\\n \\"IsEnabledProtection\\": false,\\n \\"IsOpenButDisabled\\": false,\\n \\"DisabledDays\\": 6,\\n \\"DisabledType\\": \\"nat\\"\\n}","type":"json"}]', - 'title' => '查询按量付费版本防护状态', - ], - 'DescribePostpayTrafficTotal' => [ - 'summary' => '查询后付费计费流量总计,包括各个边界防火墙。', - 'methods' => [ - 'post', - 'get', + 'title' => '创建NAT防火墙资产同步任务', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3E048D45-A563-5F81-9D97-536B4A84****\\"\\n}","type":"json"}]', + ], + 'CreatePrivateDnsEndpoint' => [ + 'summary' => '创建私网DNS终端节点', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '183500', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '226205', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceName', + 'in' => 'query', + 'schema' => ['description' => '私有实例名称。', 'type' => 'string', 'required' => true, 'example' => 'test'], + ], + [ + 'name' => 'PrivateDnsType', + 'in' => 'query', + 'schema' => ['description' => '私有DNS类型。取值:'."\n" + .'- **PrivateZone**'."\n" + .'- **Custom**(默认)', 'type' => 'string', 'required' => true, 'example' => 'Custom'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'VpcId', 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-uf6b5lyul0x******'], + ], + [ + 'name' => 'PrimaryVSwitchId', + 'in' => 'query', + 'schema' => ['description' => '主交换机id。', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6b0dkyryer8******'."\n"], + ], + [ + 'name' => 'StandbyVSwitchId', + 'in' => 'query', + 'schema' => ['description' => '备交换机id。', 'type' => 'string', 'required' => false, 'example' => 'vsw-8vb6jk75wfcwn******'."\n"], + ], + [ + 'name' => 'PrimaryVSwitchIp', + 'in' => 'query', + 'schema' => ['description' => '主交换机ip。', 'type' => 'string', 'required' => false, 'example' => '10.1.1.1'."\n"], + ], + [ + 'name' => 'StandbyVSwitchIp', + 'in' => 'query', + 'schema' => ['description' => '备交换机ip。', 'type' => 'string', 'required' => false, 'example' => '10.2.2.2'], + ], + [ + 'name' => 'IpProtocol', + 'in' => 'query', + 'schema' => ['description' => 'IP协议。取值:'."\n" + .'- **TCP**'."\n" + .'- **UDP**', 'type' => 'string', 'required' => false, 'example' => 'UDP'], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口号。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', + 'type' => 'array', + 'items' => ['description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']'], + 'required' => true, + 'maxItems' => 3, + 'minItems' => 1, ], ], + [ + 'name' => 'PrimaryDns', + 'in' => 'query', + 'schema' => ['description' => '主DNS。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], + ], + [ + 'name' => 'StandbyDns', + 'in' => 'query', + 'schema' => ['description' => '备DNS。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.2'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '阿里云成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****'], + ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalAssets' => [ - 'title' => '总数', - 'description' => '所有边界防护总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '826B6280-9704-5643-97B1-6B47AC3F027A', - ], - 'TotalTraffic' => [ - 'description' => '总流量。包年包月版本对应为弹性处理总流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalNatAssets' => [ - 'description' => 'NAT边界防护总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TotalNatTraffic' => [ - 'description' => 'NAT边界总流量。包年包月版本对应为NAT边界弹性处理总流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '560646279', - ], - 'TotalVpcAssets' => [ - 'description' => 'VPC边界防护总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'TotalVpcTraffic' => [ - 'description' => 'VPC边界总流量。包年包月版本对应为VPC边界弹性处理总流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalInternetAssets' => [ - 'description' => '互联网边界防护总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '128', - ], - 'TotalInternetTraffic' => [ - 'description' => '互联网边界总流量。包年包月版本对应为互联网边界弹性处理总流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalBillTraffic' => [ - 'description' => '包年包月版本对应为弹性处理总出账流量,即减免后的流量大小。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2320274874426', - ], - 'TotalSdlFreeTraffic' => [ - 'description' => '数据泄漏检测总免费使用流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'TotalSdlBillTraffic' => [ - 'description' => '数据泄漏检测总计费流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], + 'AccessInstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'pd-12345'], + 'TaskId' => ['description' => '任务Id,任务的唯一标识。', 'type' => 'string', 'example' => '132'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorNotPostpayUser', - 'errorMessage' => 'not Postpay User.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorPrivateDnsType', 'errorMessage' => 'private dns type error.', 'description' => '私有DNS类型错误'], + ['errorCode' => 'ErrorPrivateDnsPrivateZoneConfigure', 'errorMessage' => 'private dns parameter error.', 'description' => '私有DNS配置参数错误'], + ['errorCode' => 'ErrorVswitchId', 'errorMessage' => 'vswitch id error.', 'description' => '交换机错误'], + ['errorCode' => 'ErrorVswitchIpAddress', 'errorMessage' => 'vswitch ip error.', 'description' => '交换机IP错误'], + ['errorCode' => 'ErrorPrivateDnsIpAddress', 'errorMessage' => 'private dns ip address error.', 'description' => '私有DNS IP错误'], + ['errorCode' => 'ErrorVswitchNoAvailableIP', 'errorMessage' => 'the vswitch has no available ip.', 'description' => '指定的交换机无可用IP'], + ['errorCode' => 'ErrorVfwVpcNoAvailable', 'errorMessage' => 'the vpc is cloud firewall vpc, please reselect vpc.', 'description' => '指定的VPC是云防火墙自动创建的VPC, 请重新选择VPC'], + ['errorCode' => 'ErrorProxyVswitchNoAvailable', 'errorMessage' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', 'description' => '指定的交换机是NAT防火墙自动创建的交换机, 请重新选择交换机'], + ['errorCode' => 'ErrorFirewallTypeDuplicates', 'errorMessage' => 'firewallType duplicates.', 'description' => '选择的防火墙边界已存在私有DNS终端节点'], + ['errorCode' => 'ErrorPrivateDnsIpSame', 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', 'description' => '私有DNS的主备DNS IP不能相同'], + ['errorCode' => 'ErrorPrivateDnsEndpointQuotaExceeded', 'errorMessage' => 'Private DNS endpoint resource exceeds the quota limit.', 'description' => '私网DNS同步节点资源超过配额限制。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalAssets\\": 132,\\n \\"RequestId\\": \\"826B6280-9704-5643-97B1-6B47AC3F027A\\",\\n \\"TotalTraffic\\": 2320274874426,\\n \\"TotalNatAssets\\": 1,\\n \\"TotalNatTraffic\\": 560646279,\\n \\"TotalVpcAssets\\": 3,\\n \\"TotalVpcTraffic\\": 2320274874426,\\n \\"TotalInternetAssets\\": 128,\\n \\"TotalInternetTraffic\\": 2320274874426,\\n \\"TotalBillTraffic\\": 2320274874426,\\n \\"TotalSdlFreeTraffic\\": 0,\\n \\"TotalSdlBillTraffic\\": 0\\n}","type":"json"}]', - 'title' => '查询后付费计费流量总计', - 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', - ], - 'DescribePostpayTrafficDetail' => [ - 'summary' => '查询后付费计费流量明细。', - 'methods' => [ - 'post', - 'get', + 'title' => '创建私网DNS终端节点', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreatePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', + ], + 'CreateSecurityProxy' => [ + 'summary' => '创建NAT防火墙。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '183328', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68127', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageSize', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10。可设置的最大值为50。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为4~50个字符,且不能以下划线开头。', 'type' => 'string', 'required' => true, 'example' => 'nat-firewall'], ], [ - 'name' => 'CurrentPage', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的当前页的页码。'."\n" - .'默认值为1。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'VPC所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'StartTime', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => '设置查询开始时间。使用YYYYMMDD格式的日期表示。', - 'type' => 'string', - 'required' => true, - 'example' => '20240101', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-uf6b5lyul0x******'], ], [ - 'name' => 'EndTime', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用YYYYMMDD格式的日期表示。', - 'type' => 'string', - 'required' => true, - 'example' => '20240131', - ], + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => true, 'example' => 'ngw-bp1okz6k7******'], ], [ - 'name' => 'SearchItem', + 'name' => 'VswitchAuto', 'in' => 'query', - 'schema' => [ - 'description' => '资产的IP或者实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '是否使用交换机自动模式。取值:'."\n" + .'- **true**:自动模式'."\n" + .'- **false**:手动模式', 'type' => 'string', 'required' => false, 'example' => 'true'], ], [ - 'name' => 'TrafficType', + 'name' => 'VswitchId', 'in' => 'query', + 'schema' => ['description' => '交换机ID。交换机手动模式时必填。', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1sqg9w******'], + ], + [ + 'name' => 'NatRouteEntryList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '统计流量的边界类型。必填。取值:'."\n" - .' '."\n" - .'- **EIP_TRAFFIC**:互联网边界流量。'."\n" - .' '."\n" - .'- **NatGateway_TRAFFIC**:NAT边界流量。'."\n" - .'- **VPC_TRAFFIC**:VPC边界流量。', - 'type' => 'string', + 'description' => 'NAT网关待切换路由列表。', + 'type' => 'array', + 'items' => [ + 'description' => '安全防护目的地址列表。', + 'type' => 'object', + 'properties' => [ + 'NextHopId' => ['description' => '原NAT网关下一跳转地址。', 'type' => 'string', 'required' => true, 'example' => 'ngw-bp1okz6******'], + 'DestinationCidr' => ['description' => '默认路由目的网段。', 'type' => 'string', 'required' => true, 'example' => '0.0.0.0/0'], + 'NextHopType' => ['description' => '下一跳的网络类型。取值:NatGateway。', 'type' => 'string', 'required' => true, 'example' => 'NatGateway'], + 'RouteTableId' => ['description' => 'NAT网关默认路由所在路由表。', 'type' => 'string', 'required' => true, 'example' => 'vtb-2ze1******'], + ], + 'required' => false, + ], 'required' => true, - 'example' => 'VPC_TRAFFIC', + 'maxItems' => 10000, ], ], [ - 'name' => 'Order', + 'name' => 'FirewallSwitch', 'in' => 'query', - 'schema' => [ - 'description' => '按照指定的字段排序。取值:'."\n" - ."\n" - .'- **resourceId**:资源ID。'."\n" - .'- **trafficDay**:日期。', - 'type' => 'string', - 'required' => false, - 'example' => 'resourceId', - ], + 'schema' => ['description' => '安全防护开关。取值:'."\n" + .'- **open**:打开'."\n" + .'- **close**:关闭', 'type' => 'string', 'required' => false, 'example' => 'close'], ], [ - 'name' => 'RegionNo', + 'name' => 'StrictMode', 'in' => 'query', - 'schema' => [ - 'description' => '地域信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式'."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'VswitchCidr', + 'in' => 'query', + 'schema' => ['description' => '虚拟交换机的网段。交换机自动模式时必填。', 'type' => 'string', 'required' => false, 'example' => '0.0.0.0/0'], + ], + [ + 'name' => 'FwVswitchZoneId', + 'in' => 'query', + 'schema' => ['title' => '可用区', 'description' => '防火墙交换机可用区', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing-b'], ], ], 'responses' => [ @@ -3555,180 +3406,103 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '流量统计总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '0525EADE-C112-5702-A5BC-0E2F6F94DB23', - ], - 'TrafficList' => [ - 'description' => '流量统计列表。', - 'type' => 'array', - 'items' => [ - 'description' => '流量统计信息。', - 'type' => 'object', - 'properties' => [ - 'TrafficDay' => [ - 'description' => '流量统计日期。', - 'type' => 'string', - 'example' => '20231001', - ], - 'TrafficType' => [ - 'description' => '统计流量的边界类型。取值:'."\n" - .' '."\n" - .'- **EIP_TRAFFIC**:互联网边界流量。'."\n" - .' '."\n" - .'- **NatGateway_TRAFFIC**:NAT边界流量。'."\n" - .'- **VPC_TRAFFIC**:VPC边界流量。', - 'type' => 'string', - 'example' => 'EIP_TRAFFIC', - ], - 'InstanceId' => [ - 'description' => '资产实例的ID。', - 'type' => 'string', - 'example' => 'i-8vb2d7c9mtn0bo9qcraq', - ], - 'ResourceId' => [ - 'description' => '资源ID。互联网边界为资产的公网IP,NAT边界为资产的防火墙实例ID。', - 'type' => 'string', - 'example' => '39.106.146.214', - ], - 'InstanceType' => [ - 'description' => '资产类型。仅互联网边界该值生效。', - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'TotalBytes' => [ - 'description' => '出方向和入方向总的网络吞吐量(总共发送和接收多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1215096939', - ], - 'InBytes' => [ - 'description' => '入方向的网络吞吐量(总计字节数)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1115096939', - ], - 'OutBytes' => [ - 'description' => '出方向的网络吞吐量(总计字节数)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000000', - ], - 'ProtectionDuration' => [ - 'description' => '防护时长(单位:小时)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'RegionNo' => [ - 'description' => '所在地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], + 'ProxyId' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'example' => 'proxy-nat97a******'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorNotPostpayUser', - 'errorMessage' => 'not Postpay User.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'NAT防火墙名称无效。'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => '地域选择错误, 请重新输入'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'VPC选择错误,请重新选择。'], + ['errorCode' => 'ErrorDnatNotSupport', 'errorMessage' => 'Secure proxy does not support DNAT entries.', 'description' => 'NAT防火墙暂不支持DNAT。'], + ['errorCode' => 'ErrorProxySnatIpEmpty', 'errorMessage' => 'SNAT entry is empty.', 'description' => 'SNAT条目为空。'], + ['errorCode' => 'ErrorSnatIpQuotaExceed', 'errorMessage' => 'The number of SNAT IP exceeds the specification.', 'description' => 'NAT网关EIP个数超过单个NAT防火墙支持的规格。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDefaultRouteConflicts', 'errorMessage' => 'Default route conflicts.', 'description' => '所选交换机绑定的路由表中已存在默认路由。'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => '调用 VPC API 失败'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], + ['errorCode' => 'ErrorProxyRouteEntryConflicts', 'errorMessage' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', 'description' => 'NAT网关的自定义路由表存在下一跳为NatGateway和Attachment的路由条目。'], + ['errorCode' => 'ErrorVswitchNoAvailableCidr', 'errorMessage' => 'No available CIDR to create a vswitch.', 'description' => 'VPC内没有空余网段可创建交换机。'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => '网段CIDR格式错误, 请重新选择'], + ['errorCode' => 'ErrorInternal', 'errorMessage' => 'internal error', 'description' => '内部错误'], + ['errorCode' => 'ErrorVswitchCidrNotInVpc', 'errorMessage' => 'Vswitch CIDR address not in vpc.', 'description' => '交换机网段地址不属于当前VPC。'], + ['errorCode' => 'ErrorVswitchRouteConflict', 'errorMessage' => 'vswitch route conflict.', 'description' => '输入的交换机网段和现有的交换机网段存在冲突。'], + ['errorCode' => 'ErrorVswitchCidrIpNumNotEnough', 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', 'description' => '防火墙交换机没有足够的私网IP。'], + ['errorCode' => 'ErrorRouteEntryNotFound', 'errorMessage' => 'route entry not found.', 'description' => '路由条目不存在。'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorProxyVpcNotSupportAdvFeature', 'errorMessage' => 'This vpc advanced feature is not supported.', 'description' => '该VPC含有不支持VPC高级功能的ECS实例。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorProxyNumQuotaTop', 'errorMessage' => 'Proxy num reaches maximum.', 'description' => '配额不足。'], + ['errorCode' => 'ErrorProxyClusterNotAvailable', 'errorMessage' => 'Can not find available cluster for nat firewall.', 'description' => '无法为nat 防火墙分配集群。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ['errorCode' => 'ErrorNatVpnRouteEntryQuotaLimit', 'errorMessage' => 'The number of VPN routes has reached the quota.', 'description' => 'VPN路由到达规格限制'], + ['errorCode' => 'ErrorVpcRouteTableQuotaLimit', 'errorMessage' => 'The number of VPC routing tables has reached the specification limit.', 'description' => 'VPC路由表数量到达规格上限'], + ['errorCode' => 'ErrorNatCustomRouteEntryDifferent', 'errorMessage' => 'The custom route entries in the routing tables are inconsistent.', 'description' => '各路由表的自定义路由条目不一致'], + ['errorCode' => 'ErrorSnatEntryQuotaExceed', 'errorMessage' => 'SNAT entry quota exceeded.', 'description' => 'SNAT条目个数到达规格限制'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyId\\": \\"proxy-nat97a******\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\"\\n}","type":"json"}]', + 'title' => ' 创建NAT防火墙', + 'changeSet' => [ + ['createdAt' => '2024-08-08T07:55:44.000Z', 'description' => '错误码发生变更'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecurityProxy'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"0525EADE-C112-5702-A5BC-0E2F6F94DB23\\",\\n \\"TrafficList\\": [\\n {\\n \\"TrafficDay\\": \\"20231001\\",\\n \\"TrafficType\\": \\"EIP_TRAFFIC\\",\\n \\"InstanceId\\": \\"i-8vb2d7c9mtn0bo9qcraq\\",\\n \\"ResourceId\\": \\"39.106.146.214\\",\\n \\"InstanceType\\": \\"EcsPublicIP\\",\\n \\"TotalBytes\\": 1215096939,\\n \\"InBytes\\": 1115096939,\\n \\"OutBytes\\": 100000000,\\n \\"ProtectionDuration\\": 20,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询后付费计费流量明细', - 'description' => '该明细对于按量付费用户精确至具体资源实例粒度,对于包年包月用户仅支持整体查询。', ], - 'DescribePostpayUserInternetStatus' => [ - 'summary' => '查询按量付费用户互联网边界开关模块状态。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateSlsLogDispatch' => [ + 'summary' => '创建云防火墙SLS日志投递。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205830', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '214748', + 'abilityTreeNodes' => ['FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'name' => 'SlsRegionId', + 'in' => 'formData', + 'schema' => ['description' => 'SLS地域ID。', 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-1'], ], [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '返回消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'name' => 'Ttl', + 'in' => 'formData', + 'schema' => ['description' => '日志存储时长,单位:天。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], ], ], 'responses' => [ @@ -3738,621 +3512,1127 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], - 'Status' => [ - 'description' => '云防火墙互联网边界开关模块状态。取值:'."\n" - ."\n" - .'- **open**:模块已开启。'."\n" - .'- **init**:模块开启中。'."\n" - .'- **closed**:模块未开启。', - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => '未开启防护的天数。仅当模块开启时,该参数有效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => '查询按量付费用户互联网边界开关模块状态', - ], - 'DescribePostpayUserNatStatus' => [ - 'summary' => '查询按量付费用户NAT边界开关模块状态。', - 'methods' => [ - 'get', + 'title' => '创建云防火墙SLS日志投递', + 'changeSet' => [ + ['createdAt' => '2024-07-08T08:25:30.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlsLogDispatch'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSlsLogDispatch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], + ], ], ], - 'operationType' => 'read', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\"\\n}","type":"json"}]', + ], + 'CreateTrFirewallV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '200722', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - 'FEATUREcfwATUJ57', - ], + 'abilityTreeCode' => '142851', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'FirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '云防火墙的名称。', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test'], + ], + [ + 'name' => 'RouteMode', + 'in' => 'query', + 'schema' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **managed**:表示自动模式'."\n" + ."\n" + .'- **manual**:表示手动模式', 'type' => 'string', 'required' => false, 'example' => 'managed'], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-m5etmb2q7e0mxcur****'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '转发路由器实例I的地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'FirewallVpcCidr', + 'in' => 'query', + 'schema' => ['description' => '自动模式下防火墙VPC网段。', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/16'], + ], + [ + 'name' => 'FirewallSubnetCidr', + 'in' => 'query', + 'schema' => ['description' => '自动模式下防火墙VPC中存放防火墙ENI的子网网段。', 'type' => 'string', 'required' => false, 'example' => '10.0.1.0/24'], + ], + [ + 'name' => 'TrAttachmentSlaveCidr', + 'in' => 'query', + 'schema' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网备用网段。', 'type' => 'string', 'required' => false, 'example' => '10.0.0.16/28'], + ], + [ + 'name' => 'TrAttachmentMasterCidr', + 'in' => 'query', + 'schema' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网主用网段。', 'type' => 'string', 'required' => false, 'example' => '10.0.3.0/24'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-4xbjup276au29r****'], + ], + [ + 'name' => 'FirewallDescription', + 'in' => 'query', + 'schema' => ['description' => '防火墙描述。', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-description'], + ], + [ + 'name' => 'FirewallVpcId', + 'in' => 'query', + 'schema' => ['description' => '手动模式下创建防火墙ENI的VPC ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9r5qvryn0lg3atb****'], + ], + [ + 'name' => 'FirewallVswitchId', + 'in' => 'query', + 'schema' => ['description' => '手动模式下创建防火墙ENI的VSW ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-uf6ydz3vqj77mr5l6****'], + ], + [ + 'name' => 'TrAttachmentSlaveZone', + 'in' => 'query', + 'schema' => ['description' => '交换机备可用区。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu-b'], + ], + [ + 'name' => 'TrAttachmentMasterZone', + 'in' => 'query', + 'schema' => ['description' => '交换机主可用区。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu-a'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636******', - ], - 'Status' => [ - 'description' => '云防火墙NAT边界开关模块状态。取值:'."\n" - ."\n" - .'- **open**:模块已开启。'."\n" - .'- **init**:模块开启中。'."\n" - .'- **closed**:模块未开启。', - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => '未开启防护的天数。仅当模块开启时,该参数有效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'FirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-37e22bf0d9b34870****'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '822B9125-6E1A-551C-8EAF-6E7AE7444B00'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorTrResourceNotReady', 'errorMessage' => 'Transit Router has not been detected by cloud firewall', 'description' => '云防火墙未同步到转发路由器'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorUserCenTrNotEnabled', 'errorMessage' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', 'description' => '此账号暂时不支持云企业网企业版云防火墙,请联系云防火墙服务团队加白后再操作。'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => '找不到CEN-TR附件关联。'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC 防火墙不支持 CEN-TR自动模式'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => '防火墙已配置,不能重复配置。'], + ['errorCode' => 'ErrorInvalidTrFirewallType', 'errorMessage' => 'Firewall type is invalid.', 'description' => '防火墙类型无法识别。'], + ['errorCode' => 'ErrorVpcDoNotSupportSubnetRouting', 'errorMessage' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', 'description' => '创建防火墙的VPC不支持子网路由特性,请先去该VPC手动创建自定义路由表启用特性。'], + ['errorCode' => 'ErrorVpcAndTrNotInTheSameAccount', 'errorMessage' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', 'description' => '云企业网手动模式创建云防火墙时,为防火墙配置的VPC和转发路由器需要在同一账号。'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => '网段CIDR格式错误, 请重新选择'], + ['errorCode' => 'ErrorVswitchCidrIpNumNotEnough', 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', 'description' => '防火墙交换机没有足够的私网IP。'], + ['errorCode' => 'ErrorTrFwVswCidrConflict', 'errorMessage' => 'Illegal tr firewall cidr configuration.', 'description' => 'Tr 防火墙配置网段不合法。'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorVpcFirewallZoneId', 'errorMessage' => 'VPC firewall zone error.', 'description' => 'VPC防火墙可用区选择错误'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => '成员账号状态不合法, 不支持此操作'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => '配额不足,无法配置VPC防火墙,请先增加配额'], + ['errorCode' => 'ErrorUserNotEnableTrService', 'errorMessage' => 'The user has not open transit router service.', 'description' => '转发路由器服务未开通'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => '查询按量付费用户NAT边界开关模块状态', - ], - 'DescribePostpayUserVpcStatus' => [ - 'summary' => '查询按量付费用户VPC边界开关模块状态。', - 'methods' => [ - 'get', + 'title' => '创建TR防火墙', + 'summary' => '创建TR防火墙。', + 'changeSet' => [ + ['createdAt' => '2025-02-19T05:47:28.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-08T08:02:14.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-10-18T05:11:52.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-07-21T03:40:57.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallId\\": \\"vfw-tr-37e22bf0d9b34870****\\",\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE7444B00\\"\\n}","type":"json"}]', + ], + 'CreateTrFirewallV2RoutePolicy' => [ + 'summary' => '创建TR防火墙路由规则。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '224805', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '142852', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'PolicyType', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙云企业网企业版引流场景类型。取值:'."\n" + ."\n" + .'- **fullmesh**:多点间互联'."\n" + ."\n" + .'- **one_to_one**:点到点'."\n" + ."\n" + .'- **end_to_end**:点到多点', 'type' => 'string', 'required' => false, 'example' => 'fullmesh'], + ], + [ + 'name' => 'PolicyName', + 'in' => 'query', + 'schema' => ['description' => '引流名称。', 'type' => 'string', 'required' => false, 'example' => 'Singapore Point to Multipoint'], + ], + [ + 'name' => 'PolicyDescription', + 'in' => 'query', + 'schema' => ['description' => '引流描述。', 'type' => 'string', 'required' => false, 'example' => 'Singapore Point to Multipoint'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-f8ce36689b224f77****'], + ], + [ + 'name' => 'SrcCandidateList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', + 'description' => '主引流实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****'], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', ], ], [ - 'name' => 'Lang', + 'name' => 'DestCandidateList', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', + 'description' => '子引流实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '子引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****'], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'zh', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF******', - ], - 'Status' => [ - 'description' => '云防火墙VPC边界开关模块状态。取值:'."\n" - ."\n" - .'- **open**:模块已开启。'."\n" - .'- **init**:模块开启中。'."\n" - .'- **closed**:模块未开启。', - 'type' => 'string', - 'example' => 'open', - ], - 'UnprotectedDate' => [ - 'description' => '未开启防护的天数。仅当模块开启时,该参数有效。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'TrFirewallRoutePolicyId' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'example' => 'policy-8ebed27e13e14ce2****'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPolicySrcAndDestConflict', 'errorMessage' => 'Policy has same destination candidate as source candidtes.', 'description' => '引流模板中主引流实例与子引流实例冲突。'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorTrFirewallEndToEndTrToAll', 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'description' => '参数错误, 点到多点场景, TR实例不支持配置ALL。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorCandidateNoRouteTable', 'errorMessage' => 'Please attach candidate with transit router before create routing template.', 'description' => '请在创建引流模板前先将引流实例绑定到某个转发路由器路由表上。'], + ['errorCode' => 'ErrorTrFirewallRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has route map conflict.', 'description' => '云企业网路由表和云防火墙存在路由策略冲突。'], + ['errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', 'description' => '存在优先级为5000的老版本cen企业版路由策略,请联系售后更新路由策略。'], + ['errorCode' => 'ErrorCandidateHasStaticRoute', 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', 'description' => '引流实例绑定的转发路由器路由表中有自定义路由,云防火墙不支持此种类型引流实例。请删除对应路由后重试。'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => '无法操作防火墙,防火墙处在更新状态, 请检查是否有引流模板正在创建、删除、更新中、开启或关闭中。'], + ['errorCode' => 'ErrorDuplicateTrFwPolicyName', 'errorMessage' => 'Duplicate firewall policy Name.', 'description' => '引流场景名称重复。'], + ['errorCode' => 'ErrorCandidateAlreadyInToALlPolicy', 'errorMessage' => 'Candidate already in to aLl policy.', 'description' => '引流实例已经存在于某个有all类型的引流模板中。'], + ['errorCode' => 'ErrorFirewallCandidateReference', 'errorMessage' => 'Firewall Candidate referrence count greater than one.', 'description' => '引流实例存在于多个引流场景中。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', 'description' => 'TR防火墙不能仅包含ECR和TR'], + ['errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', 'errorMessage' => 'Cen TR firewall do not support prefix list.', 'description' => '云企业网企业版云防火墙不支持前缀列表。'], + ['errorCode' => 'ErrorTrFirewallEcmpRoute', 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'description' => '云企业网企业版中等价路由的下一跳必须同时加入云防火墙引流场景。'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => '云企业网企业版防火墙不存在'], + ['errorCode' => 'ErrorCrossRegionCloudServiceStaticRoute', 'errorMessage' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', 'description' => 'CEN-TR路由表存在跨地域云服务静态路由, 请删除后重试'], + ['errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', 'errorMessage' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', 'description' => '转发路由器路由表中存在路由冲突,请先解决路由冲突再创建防火墙引流场景。'], + ['errorCode' => 'ErrorCandidateHasIPv6Route', 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'description' => '云企业网TR企业版防火墙不支持Ipv6路由'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', - 'title' => '查询按量付费用户VPC边界开关模块状态', - ], - 'UpdatePostpayUserInternetStatus' => [ - 'summary' => '更新按量付费用户互联网边界开关模块状态。', - 'methods' => [ - 'get', - 'post', + 'title' => '创建TR防火墙路由规则', + 'changeSet' => [ + ['createdAt' => '2024-11-18T03:34:46.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-11-12T06:32:51.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2RoutePolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2RoutePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-8ebed27e13e14ce2****\\",\\n \\"RequestId\\": \\"C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallCenConfigure' => [ + 'summary' => '创建VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205829', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68133', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-zsk39m******', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Operate', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '操作类型,目前只支持开通操作。'."\n" - ."\n" - .'- open: 开通', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => true, 'example' => 'vpc-firewall-test'], ], [ - 'name' => 'Lang', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '创建VPC边界防火墙的VPC实例ID。'."\n", 'type' => 'string', 'required' => true, 'example' => 'vpc-bp10zlifxh6j0232w****'], + ], + [ + 'name' => 'VpcRegion', + 'in' => 'query', + 'schema' => ['description' => '创建VPC边界防火墙的VPC所属地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => '设置VPC边界防火墙的开关状态。取值:'."\n" + ."\n" + .'- **open**(默认):创建VPC边界防火墙后自动开启防护。'."\n" + .'- **close**:创建VPC边界防火墙后不自动开启防护。您可以调用接口[ModifyVpcFirewallCenSwitchStatus](~~345780~~)开启防护。', 'type' => 'string', 'required' => true, 'example' => 'open'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例ID。', 'type' => 'string', 'required' => true, 'example' => 'cen-x5jayxou71ad73****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => '指定云防火墙接口所属的vSwitch ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-qzeaol304m***'], + ], + [ + 'name' => 'FirewallVpcCidrBlock', + 'in' => 'query', + 'schema' => ['description' => '防火墙所使用VPC网段, 需配置子网掩码不大于28位网段来分配给创建防火墙过程所需VPC网段,用以自动创建防火墙安全VPC(Cloud_Firewall_VPC)进行流量引流处理。'."\n" + ."\n" + .'如果不填此参数,则默认自动分配网段10.0.0.0/8。'."\n" + ."\n" + .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', 'type' => 'string', 'required' => false, 'example' => '10.0.0.0/8'], + ], + [ + 'name' => 'FirewallVpcZoneId', + 'in' => 'query', + 'schema' => ['description' => '防火墙所属的主可用区ID。'."\n" + .'如果您的业务延时敏感,您可以自定义防火墙可用区和业务VPC交换机可用区相同,以便降低延时。'."\n" + ."\n" + .'如果不填此参数,则默认自动分配防火墙可用区。'."\n" + ."\n\n" + ."\n" + .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-a'], + ], + [ + 'name' => 'FirewallVSwitchCidrBlock', + 'in' => 'query', + 'schema' => ['description' => '防火墙所使用vSwitch网段, 需配置子网掩码不大于29位且不与网络规划冲突的网段来分配给创建防火墙过程所需vSwitch网段,用以自动创建防火墙安全VPC内的交换机(Cloud_Firewall_VSWITCH)进行流量引流处理。交换机网段必须是防火墙VPC网段的子网。'."\n" + ."\n" + .'如果不填此参数, 则默认自动分配网段10.219.219.216/29。'."\n" + ."\n" + .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', 'type' => 'string', 'required' => false, 'example' => '10.0.*.*/28'], + ], + [ + 'name' => 'FirewallVpcStandbyZoneId', + 'in' => 'query', + 'schema' => ['description' => '防火墙所属的备可用区ID。只有防火墙主可用区服务不可用时, 防火墙会自动切换到备可用区继续运行。'."\n" + ."\n" + .'如果不填此参数,则默认自动分配防火墙备可用区。'."\n" + ."\n\n" + ."\n" + .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-b'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-000901******', - ], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', 'description' => '防火墙已配置,不能重复新建'], + ['errorCode' => 'ErrorVpcId', 'errorMessage' => 'The VPC ID is invalid.', 'description' => '无效的VPCID'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'The region is invalid.', 'description' => '无效的区域'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorCenVbrNotSupport', 'errorMessage' => '云企业网vbr不支持开防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportCCN', 'errorMessage' => 'VPC防火墙云企业网CCN实例, 不支持开启VPC防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportMultipleAccounts', 'errorMessage' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', 'description' => '云防火墙当前版本VPC防火墙云企业网不支持多账号,请升级规格后重试'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => '防火墙状态错误,请稍后再试'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'quota is not enough, unable to configure VPC firewall, please increase quota first.', 'description' => ''], + ['errorCode' => 'ErrorHubvpcCannotCreate', 'errorMessage' => 'HUB VPC不允许创建防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenVpcEcConflict', 'errorMessage' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', 'description' => '云企业网VPC和高速通道VPC冲突,无法开启防火墙,请重新选择'], + ['errorCode' => 'ErrorRegionNoDisable', 'errorMessage' => 'There are unsupported regions, please reselect', 'description' => '存在不支持的地域,请重新选择'], + ['errorCode' => 'ErrorCenFirewallVpcNumInvalid', 'errorMessage' => '云企业网vpc数量不足, 无法开启VPC边界防火墙', 'description' => ''], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'description' => '目标网段错误,请正确配置目标网段'], + ['errorCode' => 'ErrorVpcCustomRouteTableWithVswitch', 'errorMessage' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙', 'description' => ''], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC 防火墙不支持 CEN-TR自动模式'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => '防火墙名错误,请重新输入。'], + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => '防火墙开关参数错误,请重新选择'], + ['errorCode' => 'ErrorNetworkInstanceIdError', 'errorMessage' => 'Network InstanceId ID is invalid', 'description' => '网络实例id非法'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'cen id 错误'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => '网段CIDR格式错误,请重新选择'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => '目标网段为空, 不允许创建.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => '所属账号错误,请重新输入。'], + ['errorCode' => 'ErrorCenManualFirewallExist', 'errorMessage' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', 'description' => '此云企业网已存在手动模式的VPC边界防火墙, 不允许创建自动模式的VPC防火墙。'], + ['errorCode' => 'ErrorFirewallExistDeleting', 'errorMessage' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', 'description' => '存在删除中的VPC防火墙, 不允许创建。'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => '相同网段不能重复配置, 请重新选择网段'], + ['errorCode' => 'ErrorCenRouteMapExist', 'errorMessage' => 'cen route map is exist.', 'description' => 'RouteMap已存在, 不允许创建VPC边界防火墙。请联系云防火墙售后技术支持处理。'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorVpcFirewallVpcNumLimit', 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'description' => '此地域内vpc数量限制, 无法开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenExistPublicCidr', 'errorMessage' => 'cen domain route exist public route.', 'description' => '云企业网内存在公网网段, 不支持开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenExistTrRoute', 'errorMessage' => 'Cen VPC route exist tr route.', 'description' => '云企业网内的VPC存在下一跳是TR的路由, 不支持开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenTRAssociationCustomRouteTable', 'errorMessage' => 'CEN-TR association custom route table.', 'description' => 'VPC边界防火墙不支持CEN-TR网络实例连接关联自定义路由表, 无法开启VPC边界防火墙。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorVpcFirewallZoneId', 'errorMessage' => 'VPC firewall zone error.', 'description' => 'VPC防火墙可用区选择错误'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => '成员账号状态不合法, 不支持此操作'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ['errorCode' => 'ErrorFirewallVSwitchCidrConflict', 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', 'description' => '防火墙交换机网段和业务网段冲突'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-000901******\\"\\n}","type":"json"}]', - 'title' => '更新按量付费用户互联网边界开关模块状态', - ], - 'UpdatePostpayUserNatStatus' => [ - 'summary' => '更新按量付费用户NAT边界开关模块状态。', - 'methods' => [ - 'get', - 'post', + 'title' => '创建VPC边界防火墙', + 'description' => '本接口一般用于为云企业网内的VPC实例创建VPC边界防火墙。该VPC边界防火墙可以防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量,不支持防护VBR与VBR、CCN与CCN、VBR与CCN之间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-02-19T05:47:28.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-11-13T06:36:49.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-11-06T01:38:25.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-06T08:23:29.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-06-13T09:36:42.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-02-25T08:53:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-02-25T06:01:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-11-17T02:58:02.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', + ], + 'CreateVpcFirewallCenManualConfigure' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '200723', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68134', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', - ], + 'schema' => ['description' => '请求和接收的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Operate', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '操作类型,目前只支持开通操作。'."\n" - ."\n" - .'- open: 开通', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => true, 'example' => 'vpc-firewall-test'], ], [ - 'name' => 'Lang', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '云企业网实例的id。', 'type' => 'string', 'required' => true, 'example' => 'cen-37nddhri7jf0d2****'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'VSwitchId', + 'in' => 'query', + 'schema' => ['description' => '指定云防火墙接口所属的vSwitch ID。', 'type' => 'string', 'required' => true, 'example' => 'vsw-qzeaol304m***'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的uid。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090******', - ], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RequestId' => ['description' => '返回结果的请求id。', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'firewall name invalid', 'description' => '防火墙名错误, 请重新输入'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'cen id 错误'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'VPC选择错误,请重新选择。'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist, please select again.', 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090******\\"\\n}","type":"json"}]', - 'title' => '更新按量付费用户NAT边界开关模块状态', - ], - 'UpdatePostpayUserVpcStatus' => [ - 'summary' => '更新按量付费用户VPC边界开关模块状态。', - 'methods' => [ - 'get', - 'post', + 'title' => '创建VPC防火墙手动配置(废弃)', + 'summary' => '创建VPC防火墙手动配置', + 'description' => '本接口一般用于为云企业网内的VPC实例创建VPC边界防火墙。该VPC边界防火墙可以防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量,不支持防护VBR与VBR、CCN与CCN、VBR与CCN之间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenManualConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallConfigure' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '224794', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68135', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'InstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cfw_elasticity_public_cn-************', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Operate', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '操作类型,目前只支持开通操作。'."\n" - .'- open: 开通', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => true, 'example' => 'test-vpc-firewall'], ], [ - 'name' => 'Lang', + 'name' => 'LocalVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '本端VPC的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'LocalVpcRegion', + 'in' => 'query', + 'schema' => ['description' => '本端VPC所属地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'PeerVpcId', + 'in' => 'query', + 'schema' => ['description' => '对端VPC的实例ID。'."\n", 'type' => 'string', 'required' => true, 'example' => 'vpc-wb8vbo90rq0anm6t****'], + ], + [ + 'name' => 'PeerVpcRegion', + 'in' => 'query', + 'schema' => ['description' => '对端VPC所属地域ID。'."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'FirewallSwitch', + 'in' => 'query', + 'schema' => ['description' => '设置VPC边界防火墙创建后的开启状态。取值: '."\n" + ."\n" + .'- **open**(默认):创建VPC边界防火墙后自动开启防护。'."\n" + ."\n" + .'- **close**:创建VPC边界防火墙后不自动开启防护。您可以调用接口[ModifyVpcFirewallSwitchStatus](~~342935~~)开启防护。'."\n", 'type' => 'string', 'required' => true, 'example' => 'open'], + ], + [ + 'name' => 'LocalVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => '本端VPC的网段列表,以JSON格式表示,具体包含以下参数:'."\n" + ."\n" + .'- **RouteTableId**:表示本端VPC的路由表ID。'."\n" + .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示本端VPC的目标网段)和NextHopInstanceId(表示本端VPC的下一跳实例ID)。', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]'], + ], + [ + 'name' => 'PeerVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => '对端VPC的网段列表,以JSON格式表示,具体包含以下参数:'."\n" + .'- **RouteTableId**:表示对端VPC的路由表ID。'."\n" + .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示对端VPC的目标网段)和NextHopInstanceId(表示对端VPC的下一跳实例ID)。', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '阿里云成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8******', - ], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => '防火墙名错误,请重新输入。'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => '防火墙已配置,不能重复配置。'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'VPC选择错误,请重新选择。'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The destination CIDR block is invalid.', 'description' => '目标网段错误,请正确配置目标网段'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => '目标网段为空, 不允许创建.'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => '相同网段不能重复配置, 请重新选择网段'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => '网段CIDR格式错误,请重新选择'], + ['errorCode' => 'ErrorCidrIpAddress', 'errorMessage' => 'cidr ip error.', 'description' => '目标网段错误,请重新选择。'], + ['errorCode' => 'ErrorCustomRouteEntryMax', 'errorMessage' => 'custom route exceeds maximum limit.', 'description' => '目标网段数量超过最大数量限制,请减少网段数量。'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => '成员账号状态不合法, 不支持此操作'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorCenVpcEcConflict', 'errorMessage' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', 'description' => '云企业网VPC和高速通道VPC冲突, 无法开启防火墙, 请重新选择'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => '配额不足,无法配置VPC防火墙,请先增加配额'], + ['errorCode' => 'ErrorRouteTableIdNotFound', 'errorMessage' => 'Route table id not found.', 'description' => '路由表ID未找到'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8******\\"\\n}","type":"json"}]', - 'title' => '更新按量付费用户VPC边界开关模块状态', - ], - 'DescribeRegionInfo' => [ - 'summary' => '获取地域信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '创建VPC边界防火墙', + 'summary' => '创建VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)。', + 'description' => '本接口一般用于创建VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。该VPC边界防火墙不支持防护VPC跨地域、跨账号以及VPC与VBR间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" + ."\n" + .'### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-02-19T05:47:28.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-12-02T07:08:57.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-08T08:09:09.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', + ], + 'CreateVpcFirewallControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68346', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68136', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.59.XX', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => true, 'example' => 'accept'], ], [ - 'name' => 'Lang', + 'name' => 'ApplicationName', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略支持的应用类型。取值:'."\n" + ."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**(表示支持所有的应用类型)'."\n", 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP'], ], [ - 'name' => 'SourceCode', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略的描述信息。', 'type' => 'string', 'required' => true, 'example' => 'test'], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口。'."\n" + ."\n" + .'> 当**DestPortType**为`port`时,设置该参数。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的目的地址。取值:'."\n" + ."\n" + .'- 当**DestinationType**为`net`时,**Destination**为目的CIDR地址。'."\n" + ."\n" + .'- 当**DestinationType**为`group`时,**Destination**为目的地址簿名称。'."\n" + ."\n" + .'- 当**DestinationType**为`domain`时,**Destination**为目的域名。', 'type' => 'string', 'required' => true, 'example' => '10.2.XX.XX/24'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n", 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略组ID。'."\n" + .'- 当VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量时,策略组ID使用云企业网实例ID。'."\n" + .' '."\n" + .'- 当VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的安全协议类型。取值:'."\n" + ."\n" + .'- **ANY**(不确定具体协议类型时可设置为ANY)'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**', 'type' => 'string', 'required' => true, 'example' => 'TCP'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中的源地址。'."\n" + ."\n" + .'- 当SourceType为`net`时,Source为源CIDR。'."\n" + .'- 当SourceType为`group`时,Source为源地址簿名称。'."\n", 'type' => 'string', 'required' => true, 'example' => '10.2.XX.XX/24'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR)'."\n" + ."\n" + .'- **group**:源地址簿'."\n", 'type' => 'string', 'required' => true, 'example' => 'net'], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口类型。取值:'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, 'example' => 'port'], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口地址簿名称。'."\n" + ."\n" + .'> 当**DestPortType**为`group`时,设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'my_port_group'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '访问控制策略支持的应用类型列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有类型的应用)'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型,使用`["HTTP","HTTPS",……]`格式表示;Proto为UDP、ICMP或ANY协议类型时,ApplicationNameList仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "ANY"'."\n" + .']'], + 'required' => false, + 'maxItems' => 30, + ], + ], + [ + 'name' => 'RepeatType', + 'in' => 'query', + 'schema' => [ + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', + ], + ], + [ + 'name' => 'RepeatDays', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'required' => false, + ], + ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'格式为 HH:MM(24小时制),例如 08:00', 'type' => 'string', 'required' => false, 'example' => '08:00'], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。格式为 HH:MM(24小时制),例如 08:00', 'type' => 'string', 'required' => false, 'example' => '23:30'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'required' => false, 'example' => 'FQDN'], ], ], 'responses' => [ @@ -4360,240 +4640,269 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '25E655B0-CAED-53D4-8054-F983126****', - ], - 'DataList' => [ - 'description' => '数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据对象。', - 'type' => 'object', - 'properties' => [ - 'RegionName' => [ - 'description' => '地域名称。', - 'type' => 'string', - 'example' => '上海', - ], - 'RegionId' => [ - 'description' => '地域id。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - ], - ], - ], + 'AclUuid' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorQueryEcsByUid', - 'errorMessage' => 'An error occurred while querying ECS.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred. Try again later.', 'description' => '请求错误,请稍后重试。'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => '访问控制策略支持的应用类型不合法。'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"DataList\\": [\\n {\\n \\"RegionName\\": \\"上海\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取Region信息', - 'description' => '## QPS限制'."\n" + 'title' => '为指定VPC防火墙策略组添加访问控制策略', + 'summary' => '为指定VPC防火墙策略组添加访问控制策略。', + 'description' => '本接口一般用于为指定VPC边界防火墙策略组添加访问控制策略。VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量或防护通过高速通道连接的两个VPC之间的流量时,使用不同的访问控制策略。'."\n" + ."\n" + .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeCtrlInstanceMemberAccounts' => [ - 'summary' => '获取成员账号列表。', - 'methods' => [ - 'post', - 'get', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-10-28T10:01:54.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-13T07:13:38.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:16.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-09-11T09:00:25.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-12-22T11:22:10.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', + ], + 'CreateVpcFirewallPrecheck' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', - 'deprecated' => false, + 'operationType' => 'write', 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68240', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], + 'abilityTreeCode' => '120810', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'NetworkInstanceType', + 'in' => 'query', + 'schema' => ['description' => '网络实例的类型。取值:'."\n" + ."\n" + .'- **cen_firewall**。'."\n" + ."\n" + .'- **cen_tr_firewall**。'."\n" + ."\n" + .'- **ec_firewall**。', 'type' => 'string', 'required' => false, 'example' => 'cen_tr_firewall'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp132e2wpu9o6qth****'], + ], + [ + 'name' => 'Region', + 'in' => 'query', + 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-chengdu'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-iv8m2lj2fqg1xt****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '128599825273****'], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-t4n16htuv1jalj9cq****'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '9CC69FDA-69F6-585B-9262-A306F425****', - ], - 'InstanceMemberCount' => [ - 'description' => '云防火墙成员账号的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'MaxInstanceMemberNum' => [ - 'description' => '云防火墙成员账号的最大规格。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1000', - ], + 'PrecheckId' => ['description' => '预检查任务id。', 'type' => 'string', 'example' => '4197'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorNetworkInstanceIdError', 'errorMessage' => 'Network InstanceId ID is invalid', 'description' => '网络实例id非法'], + ['errorCode' => 'ErrorCenId', 'errorMessage' => 'CEN ID is error', 'description' => 'cen id 错误'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'description' => '目标网段错误,请正确配置目标网段'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => '目标网段为空, 不允许创建.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => '所属账号错误,请重新输入。'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => '防火墙状态错误,请稍后再试'], + ['errorCode' => 'ErrorHubvpcCannotCreate', 'errorMessage' => 'HUB VPC could not create vpc firewall', 'description' => 'HUB VPC不允许创建防火墙'], + ['errorCode' => 'ErrorFirewallQuotaNotEmpty', 'errorMessage' => 'The quota for VPC firewalls is exceeded.', 'description' => '配额不足,无法配置VPC防火墙,请先增加配额'], + ['errorCode' => 'ErrorCenVbrNotSupport', 'errorMessage' => 'The cloud enterprise network VBR does not support firewall', 'description' => '云企业网vbr不支持开防火墙'], + ['errorCode' => 'ErrorCenNotSupportCCN', 'errorMessage' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', 'description' => 'VPC防火墙云企业网CCN实例,不支持开启VPC防火墙。'], + ['errorCode' => 'ErrorOwnerIdUnauthorized', 'errorMessage' => 'owner id not authorized.', 'description' => '所属账号未授权,未购买云防火墙。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorVpcFirewallVpcNumLimit', 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'description' => '此地域内vpc数量限制, 无法开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenExistPublicCidr', 'errorMessage' => 'cen domain route exist public route.', 'description' => '云企业网内存在公网网段, 不支持开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenExistTrRoute', 'errorMessage' => 'Cen VPC route exist tr route.', 'description' => '云企业网内的VPC存在下一跳是TR的路由, 不支持开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenNotSupportTREnterprise', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', 'description' => 'VPC边界防火墙此地域暂不支持TR企业版, 无法开启VPC边界防火墙。'], + ['errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'description' => 'VPC 防火墙不支持 CEN-TR自动模式'], + ['errorCode' => 'ErrorCenTRAssociationCustomRouteTable', 'errorMessage' => 'CEN-TR association custom route table.', 'description' => 'VPC边界防火墙不支持CEN-TR网络实例连接关联自定义路由表, 无法开启VPC边界防火墙。'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => '调用 VPC API 失败'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Network segment CIDR format error, please select again', 'description' => '网段CIDR格式错误, 请重新选择'], + ['errorCode' => 'ErrorRouteTableNotFound', 'errorMessage' => 'route table not found.', 'description' => '路由表不存在'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC69FDA-69F6-585B-9262-A306F425****\\",\\n \\"InstanceMemberCount\\": 3,\\n \\"MaxInstanceMemberNum\\": 1000\\n}","type":"json"}]', - 'title' => '获取成员账号列表', - 'description' => '本接口一般用于查询云防火墙成员账号信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeFirewallTask' => [ - 'summary' => '获取防火墙任务。', - 'methods' => [ - 'post', - 'get', + 'title' => '创建VPC防火墙开墙前置任务', + 'summary' => '创建VPC防火墙开墙前置任务', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [ + ['createdAt' => '2022-02-24T13:48:33.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallPrecheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PrecheckId\\": \\"4197\\",\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\"\\n}","type":"json"}]', + ], + 'CreateVpcFirewallTask' => [ + 'summary' => '创建VPC防火墙资产同步任务', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120840', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68137', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'ChildInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-cd6000c588214403****', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'TaskAction', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '任务名称。', 'type' => 'string', 'required' => true, 'example' => 'sync'], ], [ - 'name' => 'TaskType', + 'name' => 'Priority', 'in' => 'query', - 'schema' => [ - 'description' => '任务的类型。枚举类型:'."\n" - ."\n" - .'- **NAT**:NAT边界任务'."\n" - ."\n" - .'- **VPC**:VPC边界任务', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], + 'schema' => ['description' => '规则的优先级。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'TaskId', + 'name' => 'Content', 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => '199431783', - ], + 'schema' => ['description' => '任务内容。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], ], 'responses' => [ @@ -4601,207 +4910,126 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsFound' => [ - 'description' => '是否存在任务。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'TaskStatus' => [ - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **init**'."\n" - ."\n" - .'- **running**'."\n" - ."\n" - .'- **finished**'."\n" - ."\n" - .'- **rollback**'."\n" - ."\n" - .'- **rollbackDone**', - 'type' => 'string', - 'example' => 'init', - ], - 'TaskWaitingTime' => [ - 'description' => '等待时间,单位:分钟。', - 'type' => 'string', - 'example' => '30', - ], - 'TaskSteps' => [ - 'description' => '任务步骤。', - 'type' => 'array', - 'items' => [ - 'description' => '任务步骤。', - 'type' => 'object', - 'properties' => [ - 'StepStatus' => [ - 'description' => '任务步骤状态。枚举类型:'."\n" - ."\n" - .'- **init** '."\n" - ."\n" - .'- **running**'."\n" - ."\n" - .'- **finished**'."\n" - ."\n" - .'- **failed**', - 'type' => 'string', - 'example' => 'init', - ], - 'StepName' => [ - 'description' => '创建云防火墙安全。', - 'type' => 'string', - 'example' => 'Create Firewall', - ], - 'StepProgress' => [ - 'description' => '任务步骤进度。', - 'type' => 'string', - 'example' => '80', - ], - 'StepInfo' => [ - 'description' => '任务信息。', - 'type' => 'string', - 'example' => 'abcd', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****', - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => 'egressgw', - ], - 'TaskStartTimestamp' => [ - 'description' => '任务创建时间。', - 'type' => 'string', - 'example' => '17151361285', - ], - 'TaskFinishTimestamp' => [ - 'description' => '任务完成时间。', - 'type' => 'string', - 'example' => '17151381075', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '189997648', - ], + 'Module' => ['description' => '应用模块', 'type' => 'string', 'example' => 'ips_server'."\n"], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '53252B14-BF7C-5A2D-9750-56F827EB****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"TaskStatus\\": \\"init\\",\\n \\"TaskWaitingTime\\": \\"30\\",\\n \\"TaskSteps\\": [\\n {\\n \\"StepStatus\\": \\"init\\",\\n \\"StepName\\": \\"Create Firewall\\",\\n \\"StepProgress\\": \\"80\\",\\n \\"StepInfo\\": \\"abcd\\"\\n }\\n ],\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"TaskName\\": \\"egressgw\\",\\n \\"TaskStartTimestamp\\": \\"17151361285\\",\\n \\"TaskFinishTimestamp\\": \\"17151381075\\",\\n \\"TaskId\\": 189997648\\n}","type":"json"}]', - 'title' => '获取防火墙任务', - 'description' => '### QPS限制'."\n" + 'title' => '创建VPC防火墙资产同步任务', + 'description' => '本接口一般用于创建VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。该VPC边界防火墙不支持防护VPC跨地域、跨账号以及VPC与VBR间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" + ."\n" + .'### QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeResourceTypeAutoEnable' => [ - 'summary' => '查询资产类型默认引流。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"53252B14-BF7C-5A2D-9750-56F827EB****\\"\\n}","type":"json"}]', + ], + 'DeleteAckClusterConnector' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'ACK集群连接器ID。', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求id。', - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF******', - ], - 'ResourceTypeAutoEnable' => [ - 'description' => '是否默认开启引流。', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - 'example' => '{"eip",true}'."\n", - 'description' => '是否默认开启引流。', - ], - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAckClusterConnectorAddressGroupReference', 'errorMessage' => 'The ACK cluster connector has address group, can not be deleted.', 'description' => '指定ACK集群连接器有地址簿,不能被删除。'], + ['errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'errorMessage' => 'The ACK cluster connector status is not allow operate.', 'description' => '指定的ACK集群连接器状态不允许操作。'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"ResourceTypeAutoEnable\\": {\\n \\"key\\": true\\n }\\n}","type":"json"}]', - 'title' => '查询资产类型默认引流', - 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" - ."\n" - .'## QPS限制'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除ACK集群连接器', + 'summary' => '删除ACK集群连接器。', + 'description' => '## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAssetList' => [ - 'summary' => '查询云防火墙防护的资产的信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', + ], + 'DeleteAclBackupData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -4810,204 +5038,230 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68138', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页的页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageSize', + 'name' => 'BackUpTime', 'in' => 'query', + 'schema' => ['description' => '备份时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n"], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询时,设置每页包含云防火墙防护资产的数量。', - 'type' => 'string', - 'required' => true, - 'example' => '10', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求id。', 'type' => 'string', 'example' => '75E60025-43C5-5635-B7B7-272C5246****'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '删除ACL备份', + 'summary' => '删除ACL备份', + 'description' => '本接口一般用于删除访问控制中的地址簿。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\"\\n}","type":"json"}]', + ], + 'DeleteAddressBook' => [ + 'summary' => '删除地址簿。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙状态。取值:'."\n" - ."\n" - .'- **open**:保护中。'."\n" - .'- **opening**:保护开启中。'."\n" - .'- **closed**:保护未开启。'."\n" - .'- **closing**:保护关闭中。'."\n" - ."\n" - .'>不设置该参数表示查询所有防火墙状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68139', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'SearchItem', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '资产的IP或者实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'Type', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '本参数已废弃。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'eip', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'ResourceType', + 'name' => 'GroupUuid', 'in' => 'query', + 'schema' => ['description' => '地址簿的唯一标识ID。'."\n" + ."\n" + .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', 'type' => 'string', 'required' => true, 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '资产类型。取值:'."\n" - ."\n" - .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" - .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" - .'- **EcsEIP**:ECS EIP。'."\n" - .'- **EcsPublicIP**:ECS公网IP。'."\n" - .'- **EIP**:弹性公网IP。'."\n" - .'- **EniEIP**:弹性网卡EIP。'."\n" - .'- **NatEIP**:NAT EIP。'."\n" - .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" - .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" - .'- **NatPublicIP**:NAT公网IP。'."\n" - .'- **HAVIP**:高可用虚拟IP。', - 'type' => 'string', - 'required' => false, - 'example' => 'EIP', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAddressGroupReference', 'errorMessage' => 'The address group is in use and cannot be deleted.', 'description' => '地址簿在使用中,无法删除'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ], [ - 'name' => 'SgStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '安全组策略状态。取值:'."\n" - ."\n" - .'- **pass**:已下发。'."\n" - .'- **block**:未下发。'."\n" - .'- **unsupport**:不支持。'."\n" - .'>不设置该参数表示查询所有安全组策略状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'pass', - ], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '删除地址簿', + 'description' => '本接口一般用于删除访问控制中的地址簿。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddressBook'], + ], + ], + 'ramActions' => [ [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙防护的资产的IP版本。取值:'."\n" - ."\n" - .'- **4**(默认):IPv4。'."\n" - .'- **6**:IPv6。', - 'type' => 'string', - 'required' => false, - 'example' => '4', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', + ], + 'DeleteControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], + 'AK' => [], ], + ], + 'operationType' => 'delete', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68146', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'UserType', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '用户类型。取值:'."\n" - ."\n" - .'- **buy**(默认):付费用户。'."\n" - .'- **free**:免费用户。', - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], + 'schema' => ['description' => '流量的源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'NewResourceTag', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '资产发现的时间。取值:'."\n" - .'- **discovered in 1 hour**:资产是1小时内新增的。'."\n" - .'- **discovered in 1 day**:资产是1天内新增的。'."\n" - .'- **discovered in 7 days**:资产是7天内新增的。', - 'type' => 'string', - 'required' => false, - 'example' => 'discovered in 1 hour', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'OutStatistic', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '是否查询外联流量信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用[DescribeControlPolicy](~~138866~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c'], ], [ - 'name' => 'SensitiveStatus', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '数据泄漏检测开启状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'open', - ], + 'schema' => ['description' => '安全访问控制策略管控的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **in**:流量从外到内。'."\n" + .'- **out**:流量从内到外。', 'type' => 'string', 'required' => false, 'example' => 'in'], ], ], 'responses' => [ @@ -5015,550 +5269,194 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '云防火墙防护的资产总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'Assets' => [ - 'description' => '云防火墙防护的资产信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '资产的风险级别。取值:'."\n" - ."\n" - .'- **low**:低风险。'."\n" - ."\n" - .'- **middle**:中风险。'."\n" - ."\n" - .'- **hight**:高风险。'."\n" - ."\n" - .'> 仅当UserType的值为free时,才会返回该参数。', - 'type' => 'string', - 'example' => 'low', - ], - 'BindInstanceName' => [ - 'description' => '绑定资产实例名称。', - 'type' => 'string', - 'example' => 'instance01', - ], - 'Type' => [ - 'description' => '该参数已废弃。', - 'type' => 'string', - 'example' => 'eip', - ], - 'SgStatusTime' => [ - 'description' => '最近一次安全组状态检测时间,使用时间戳格式。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1615082937', - ], - 'ResourceInstanceId' => [ - 'description' => '资产实例ID。', - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'IntranetAddress' => [ - 'description' => '服务器内网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'SyncStatus' => [ - 'description' => '资产引流支持状态。取值:'."\n" - ."\n" - .'- **enable**:支持引流。'."\n" - .'- **disable**:不支持引流。'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'AliUid' => [ - 'description' => '阿里云账号的UID。'."\n" - ."\n" - .'> 云防火墙成员账号的主账号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'ProtectStatus' => [ - 'description' => '防火墙状态。取值:'."\n" - ."\n" - .'- **open**:保护中。'."\n" - .'- **opening**:保护开启中。'."\n" - .'- **closed**:未受保护。'."\n" - .'- **closing**:保护关闭中。'."\n", - 'type' => 'string', - 'example' => 'open', - ], - 'InternetAddress' => [ - 'description' => '服务器公网IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'BindInstanceId' => [ - 'description' => '绑定资产实例ID。', - 'type' => 'string', - 'example' => 'i-8vbdrjrxzt78****', - ], - 'RegionID' => [ - 'description' => '资产所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'RegionStatus' => [ - 'description' => '资产所在地域是否支持开启云防火墙防护状态。取值:'."\n" - ."\n" - .'- **enable**:支持。'."\n" - .'- **disable**:不支持。'."\n", - 'type' => 'string', - 'example' => 'enable', - ], - 'ResourceType' => [ - 'description' => '资产类型。取值:'."\n" - ."\n\n" - .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" - .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" - .'- **EcsEIP**:ECS EIP。'."\n" - .'- **EcsPublicIP**:ECS公网IP。'."\n" - .'- **EIP**:弹性公网IP。'."\n" - .'- **EniEIP**:弹性网卡EIP。'."\n" - .'- **NatEIP**:NAT EIP。'."\n" - .'- **SlbEIP**:SLB EIP。'."\n" - .'- **SlbPublicIP**:SLB公网IP。'."\n" - .'- **NatPublicIP**:NAT公网IP。'."\n" - .'- **HAVIP**:高可用虚拟IP。', - 'type' => 'string', - 'example' => 'EIP', - ], - 'IpVersion' => [ - 'description' => '云防火墙防护的资产的IP地址版本。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **4**:表示IPv4地址。'."\n" - ."\n" - .'- **6**:表示IPv6地址。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'SgStatus' => [ - 'description' => '安全组策略。取值:'."\n" - ."\n" - .'- **pass**:已下发。'."\n" - .'- **block**:未下发。'."\n" - .'- **unsupport**:不支持。', - 'type' => 'string', - 'example' => 'block', - ], - 'Note' => [ - 'description' => '资产的备注信息。取值:'."\n" - ."\n" - .'- **REGION\\_NOT\\_SUPPORT**:地域不支持。'."\n" - .'- **NETWORK\\_NOT\\_SUPPORT**:网络不支持。', - 'type' => 'string', - 'example' => 'REGION_NOT_SUPPORT', - ], - 'Name' => [ - 'description' => '云防火墙防护的资产的实例名称。', - 'type' => 'string', - 'example' => 'instance01', - ], - 'CreateTimeStamp' => [ - 'description' => '云防火墙发现资产的时间。', - 'type' => 'string', - 'example' => '2023-02-28 10:29:58', - ], - 'NewResourceTag' => [ - 'description' => '资产发现的时间。取值:'."\n" - .'- **discovered in 1 hour**:资产是1小时内新增的。'."\n" - .'- **discovered in 1 day**:资产是1天内新增的。'."\n" - .'- **discovered in 7 days**:资产是7天内新增的。', - 'type' => 'string', - 'example' => 'discovered in 1 hour', - ], - 'SensitiveDataStatus' => [ - 'description' => '数据泄漏检测开启状态。', - 'type' => 'string', - 'example' => 'open', - ], - 'Last7DayOutTrafficBytes' => [ - 'description' => '近7日外联流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Assets\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"BindInstanceName\\": \\"instance01\\",\\n \\"Type\\": \\"eip\\",\\n \\"SgStatusTime\\": 1615082937,\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"MemberUid\\": 0,\\n \\"IntranetAddress\\": \\"192.168.XX.XX\\",\\n \\"SyncStatus\\": \\"enable\\",\\n \\"AliUid\\": 0,\\n \\"ProtectStatus\\": \\"open\\",\\n \\"InternetAddress\\": \\"192.0.XX.XX\\",\\n \\"BindInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionID\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResourceType\\": \\"EIP\\",\\n \\"IpVersion\\": 4,\\n \\"SgStatus\\": \\"block\\",\\n \\"Note\\": \\"REGION_NOT_SUPPORT\\",\\n \\"Name\\": \\"instance01\\",\\n \\"CreateTimeStamp\\": \\"2023-02-28 10:29:58\\",\\n \\"NewResourceTag\\": \\"discovered in 1 hour\\",\\n \\"SensitiveDataStatus\\": \\"open\\",\\n \\"Last7DayOutTrafficBytes\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 12\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n low\\n instance01\\n eip\\n 1615082937\\n i-8vbdrjrxzt78****\\n 192.168.XX.XX\\n enable\\n open\\n 192.0.XX.XX\\n i-8vbdrjrxzt78****\\n cn-hangzhou\\n enable\\n EIP\\n 4\\n block\\n REGION_NOT_SUPPORT\\n instance01\\n \\n","errorExample":""}]', - 'title' => '查询云防火墙防护的资产的信息', - 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + 'title' => '删除访问控制策略', + 'summary' => '删除访问控制策略。', + 'description' => '本接口一般用于删除流量方向为外对内或内对外的访问控制策略。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeAssetStatistic' => [ - 'summary' => '查询云防火墙防护的资产的统计信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-25T02:34:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', + ], + 'DeleteControlPolicyTemplate' => [ + 'summary' => '删除ACL模板。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68206', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'autoTest' => true, + 'abilityTreeCode' => '140699', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '112.239.XX.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '61.178.12.52'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '语言', - 'description' => '指定请求和接收消息的语言类型。-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '语言', - 'description' => '指定请求和接收消息的语言类型。-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'], + ], + [ + 'name' => 'TemplateId', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略模板ID。', 'type' => 'string', 'required' => true, 'example' => '719ce620-ae23-4e42-9f93-9191b4400b55'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => '返回对象', - 'description' => '返回对象', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '850A84******25g4d2', - ], - 'ResourceSpecStatistic' => [ - 'title' => '区域规格', - 'description' => '规格占用统计信息。', - 'type' => 'object', - 'properties' => [ - 'IpNumUsed' => [ - 'title' => 'IP使用数量', - 'description' => '公网IP开启保护数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'IpNumSpec' => [ - 'title' => 'IP规格', - 'description' => '公网IP保护规格数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'SensitiveDataIpNumSpec' => [ - 'description' => '敏感数据IP规格数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'SensitiveDataIpNumUsed' => [ - 'description' => '敏感数据IP开启数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - 'GeneralInstanceSpecStatistic' => [ - 'title' => '售卖2.0通用实例规格', - 'description' => '售卖2.0通用实例规格', - 'type' => 'object', - 'properties' => [ - 'TotalGeneralInstanceUsedCnt' => [ - 'title' => '总规格', - 'description' => '总规格', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCfwGeneralInstanceUsedCnt' => [ - 'title' => '互联网墙开启实例数量', - 'description' => '互联网墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalVfwGeneralInstanceUsedCnt' => [ - 'title' => 'vpc墙开启实例数量', - 'description' => 'vpc墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNatGeneralInstanceUsedCnt' => [ - 'title' => 'nat墙开启实例数量', - 'description' => 'nat墙开启实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalCfwGeneralInstanceCnt' => [ - 'title' => '互联网墙所有实例数量', - 'description' => '互联网墙所有实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalNatGeneralInstanceCnt' => [ - 'title' => 'nat墙所有实例数量', - 'description' => 'nat墙所有实例数量', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'CfwGeneralInstanceRegionStatistic' => [ - 'title' => '互联网墙地域已使用规格统计', - 'description' => '互联网墙地域规格统计', - 'type' => 'array', - 'items' => [ - 'title' => '互联网墙地域规格统计详情', - 'description' => '互联网墙地域规格统计详情', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'title' => '地域信息', - 'description' => '地域信息', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'MemberList' => [ - 'title' => '地域成员列表', - 'description' => '地域成员列表', - 'type' => 'array', - 'items' => [ - 'title' => '地域成员', - 'description' => '地域成员', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - ], - 'CfwTotalGeneralInstanceRegionStatistic' => [ - 'title' => '互联网墙地域全量规格统计', - 'description' => '互联网墙地域全量规格统计', - 'type' => 'array', - 'items' => [ - 'title' => '互联网墙地域规格统计详情', - 'description' => '互联网墙地域规格统计详情', - 'type' => 'object', - 'properties' => [ - 'RegionNo' => [ - 'title' => '地域信息', - 'description' => '地域信息', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'MemberList' => [ - 'title' => '地域成员列表', - 'description' => '地域成员列表', - 'type' => 'array', - 'items' => [ - 'title' => '地域成员', - 'description' => '地域成员', - 'type' => 'string', - 'example' => '123', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84******25g4d2\\",\\n \\"ResourceSpecStatistic\\": {\\n \\"IpNumUsed\\": 10,\\n \\"IpNumSpec\\": 20,\\n \\"SensitiveDataIpNumSpec\\": 0,\\n \\"SensitiveDataIpNumUsed\\": 0\\n },\\n \\"GeneralInstanceSpecStatistic\\": {\\n \\"TotalGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalVfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalNatGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceCnt\\": 1,\\n \\"TotalNatGeneralInstanceCnt\\": 1,\\n \\"CfwGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"CfwTotalGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '获取资产统计信息', - ], - 'DescribeAssetRiskList' => [ - 'summary' => '获取资产风险等级列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除ACL模板', + 'changeSet' => [ + ['createdAt' => '2024-08-26T02:12:53.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2024-07-30T08:28:33.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-07-14T13:59:08.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicyTemplate'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicyTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', + ], + 'DeleteDnsFirewallPolicy' => [ + 'summary' => '删除DNS防火墙规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68205', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68148', + 'abilityTreeNodes' => ['FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '140.210.39.***'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙防护的资产的IP版本。'."\n" - ."\n\n" - .'取值:'."\n" - ."\n" - .'- **4**(默认):IpV4'."\n" - ."\n" - .'- **6**:IpV6', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'IpAddrList', + 'name' => 'AclUuid', 'in' => 'query', - 'allowEmptyValue' => false, - 'style' => 'flat', - 'schema' => [ - 'description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" - ."\n" - .'>- IPv4举例:47.97.XX.XX。'."\n" - .'>- IPv6举例:2001:db8:ffff:ffff:ffff:XXXX:ffff。', - 'type' => 'array', - 'items' => [ - 'description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" - ."\n" - .'>- IPv4举例:47.97.XX.XX。'."\n" - .'>- IPv6举例:2001:db8:ffff:ffff:ffff:XXXX:ffff。', - 'type' => 'string', - 'required' => false, - 'example' => '47.97.XX.XX', - ], - 'required' => false, - 'docRequired' => true, - ], + 'schema' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => '498946f4-c98a-45c0-9038-635c******'], ], ], 'responses' => [ @@ -5566,125 +5464,82 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '443C5781-1C03-5FCD-8EC5-FB9C0B9AC396', - ], - 'AssetList' => [ - 'description' => '返回的资产详情。', - 'type' => 'array', - 'items' => [ - 'description' => '返回的资产详情。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险等级。取值:'."\n" - .'- **low**:低风险'."\n" - .'- **middle**:中风险'."\n" - .'- **high**:高风险', - 'type' => 'string', - 'example' => 'low', - ], - 'Ip' => [ - 'description' => '服务器IP。', - 'type' => 'string', - 'example' => '39.108.XX.XX', - ], - 'IpVersion' => [ - 'description' => '云防火墙防护的资产的IP地址版本。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **4**:表示IPv4地址。'."\n" - ."\n" - .'- **6**:表示IPv6地址。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'Reason' => [ - 'description' => '风险原因。', - 'type' => 'string', - 'example' => 'other', - ], - ], - ], - ], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '32314C1E-82CF-582C-853A-B1773F******'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"443C5781-1C03-5FCD-8EC5-FB9C0B9AC396\\",\\n \\"AssetList\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"Ip\\": \\"39.108.XX.XX\\",\\n \\"IpVersion\\": 4,\\n \\"Reason\\": \\"other\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取资产风险等级列表', - ], - 'CreateInstanceSyncTask' => [ - 'summary' => '创建互联网资产同步任务。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除DNS防火墙规则', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32314C1E-82CF-582C-853A-B1773F******\\"\\n}","type":"json"}]', + ], + 'DeleteDownloadTask' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68123', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '174566', + 'abilityTreeNodes' => ['FEATUREcfwHCOW32'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '60.182.79.XXX', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '文件下载任务的任务 ID。', 'type' => 'string', 'required' => false, 'example' => '4376'], ], ], 'responses' => [ @@ -5692,138 +5547,151 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '应用模块', - 'type' => 'string', - 'example' => 'ips_server'."\n", - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '064022A8-F415-572C-B3C1-657152833F11'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => '内部错误:数据库删除错误'], ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\"\\n}","type":"json"}]', - 'title' => '创建互联网资产同步任务', - ], - 'ModifyResourceTypeAutoEnable' => [ - 'summary' => '修改新增资产自动保护。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除文件下载任务', + 'summary' => '删除文件下载任务。', + 'description' => '调用该接口会立即删除文件下载任务,并删除下载文件。'."\n" + .'>删除操作会删除对应任务及文件。**对应文件无法再使用已有下载链接下载。此操作不可逆,请谨慎操作。**>', + 'responseParamsDescription' => '成功返回即表明任务已经删除完成。', + 'changeSet' => [ + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDownloadTask'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"064022A8-F415-572C-B3C1-657152833F11\\"\\n}","type":"json"}]', + ], + 'DeleteFirewallV2RoutePolicies' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240055', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'autoTest' => true, + 'abilityTreeCode' => '142855', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '接收消息的语言类型。', - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ResourceTypeAutoEnable', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'title' => '资源类型开启自动保护。', - 'description' => '资源类型开启自动保护。', - 'type' => 'string', - 'required' => false, - 'example' => '{"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false}', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-d5ba592ac6c84aff****'], ], [ - 'name' => 'RegionNo', + 'name' => 'TrFirewallRoutePolicyId', 'in' => 'query', - 'schema' => [ - 'title' => '地区编号', - 'description' => '地区编号', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => false, 'example' => 'policy-2d06d3568fd74d60****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '22B6B889-4E9F-56B3-AF3D-53749C477D1D'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => '无法操作防火墙,防火墙处在更新状态, 请检查是否有引流模板正在创建、删除、更新中、开启或关闭中。'], + ['errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', 'errorMessage' => 'Can not update policy status.', 'description' => '无法更新路由模板状态,请检查路由模板状态是否正在更新中。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => '无法获取到开启引流场景之前的路由表配置,开启引流场景之前的路由表可能已被删除。'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => 'TR防火墙引流场景不存在'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - 'title' => '修改新增资产自动保护', - ], - 'PutEnableFwSwitch' => [ - 'summary' => '开启防火墙开关。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除TR防火墙路由策略', + 'summary' => '删除TR防火墙路由策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFirewallV2RoutePolicies'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteFirewallV2RoutePolicies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22B6B889-4E9F-56B3-AF3D-53749C477D1D\\"\\n}","type":"json"}]', + ], + 'DeleteInstanceMembers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -5832,316 +5700,118 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68512', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68151', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'- **zh**:中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'IpaddrList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'IP地址列表。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'array', - 'items' => [ - 'description' => 'IP地址列表。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], - 'required' => false, - 'example' => '["192.0.X.X","192.0.X.X"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'RegionList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '区域列表。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'array', - 'items' => [ - 'description' => '区域列表。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou,cn-shanghai', - ], - 'required' => false, - 'example' => '["cn-hangzhou","cn-shanghai"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'ResourceTypeList', + 'name' => 'MemberUids', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => '资产类型列表。'."\n" - ."\n" - .'取值:'."\n" - .'- BastionHostIP:堡垒机出口IP。'."\n" - .'- BastionHostIngressIP:堡垒机入口IP。 '."\n" - .'- EcsEIP:ECS EIP。'."\n" - .'- EcsPublicIP :ECS公网IP。'."\n" - .'- EIP:弹性公网IP。'."\n" - .'- EniEIP:弹性网卡EIP。'."\n" - .'- NatEIP:NAT EIP。'."\n" - .'- SlbEIP:SLB EIP。'."\n" - .'- SlbPublicIP:SLB公网IP。'."\n" - .'- NatPublicIP:NAT公网IP。'."\n" - .'- HAVIP:高可用虚拟IP。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。'."\n", + 'description' => '云防火墙成员账号的UID列表。', 'type' => 'array', - 'items' => [ - 'description' => '资产类型列表。'."\n" - ."\n" - .'取值:'."\n" - .'- BastionHostIP:堡垒机出口IP。'."\n" - .'- BastionHostIngressIP:堡垒机入口IP。 '."\n" - .'- EcsEIP:ECS EIP。'."\n" - .'- EcsPublicIP :ECS公网IP。'."\n" - .'- EIP:弹性公网IP。'."\n" - .'- EniEIP:弹性网卡EIP。'."\n" - .'- NatEIP:NAT EIP。'."\n" - .'- SlbEIP:SLB EIP。'."\n" - .'- SlbPublicIP:SLB公网IP。'."\n" - .'- NatPublicIP:NAT公网IP。'."\n" - .'- HAVIP:高可用虚拟IP。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'EcsPublicIp,NatEip', - ], - 'required' => false, - 'example' => '["EcsPublicIp","NatEip"]', + 'items' => ['description' => '云防火墙成员账号的UID列表。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****'], + 'required' => true, + 'example' => '1234123412341234', 'maxItems' => 200, ], ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'title' => '成员唯一标识符', - 'description' => '成员唯一标识符', - 'type' => 'string', - 'required' => false, - 'example' => '1234', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'title' => 'IP版本号', - 'description' => 'IP版本号', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'AbnormalResourceStatusList' => [ - 'description' => '资产未同步时的状态信息列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Resource' => [ - 'description' => '资产IP。', - 'type' => 'string', - 'example' => '203.0.113.0', - ], - 'Status' => [ - 'description' => '资产未同步时的状态。取值:'."\n" - .'- ip_not_sync:资产未同步。', - 'type' => 'string', - 'example' => 'ip_not_sync', - ], - 'Msg' => [ - 'description' => '资产未同步时的信息。取值:'."\n" - .'- cloudfirewall do not sync this ip address:云防火墙没有同步这个资产IP。', - 'type' => 'string', - 'example' => 'cloudfirewall do not sync this ip address', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '03E8AA70-0CC9-42EA-97AA-EA68377930B4'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorInstanceOpenIpNumExceed', - 'errorMessage' => 'The maximum number of protected assets has been reached.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', - 'errorMessage' => 'open ip region num exceed.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => '单次添加或删除的成员数量超限。'], + ['errorCode' => 'ErrorInstanceMemberHasFirewall', 'errorMessage' => 'instance member has firewall resource.', 'description' => '成员账号拥有正向代理、DNS防火墙或手动模式vpc防火墙。'], ], [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"AbnormalResourceStatusList\\": [\\n {\\n \\"Resource\\": \\"203.0.113.0\\",\\n \\"Status\\": \\"ip_not_sync\\",\\n \\"Msg\\": \\"cloudfirewall do not sync this ip address\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => '开启防火墙开关', - 'description' => '本接口用于开启防火墙开关,防火墙开关开启后流量才会经过云防火墙。'."\n" + 'title' => '删除云防火墙成员账号', + 'summary' => '删除云防火墙成员账号。', + 'description' => '调用DeleteInstanceMembers接口一次最多可删除20个云防火墙成员账号,多个成员账号之间使用用英文逗号(,)分隔。成员账号被删除后,云防火墙无法访问被删除成员账号的云资源,请谨慎操作。删除前,调用[DescribeInstanceMembers](~~271704~~)接口获取云防火墙成员账号信息。'."\n" ."\n" .'## QPS限制'."\n" - .'本接口的单用户QPS限制为5次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'PutEnableAllFwSwitch' => [ - 'summary' => '开启所有防火墙开关。', - 'methods' => [ - 'post', - 'get', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstanceMembers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"03E8AA70-0CC9-42EA-97AA-EA68377930B4\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 03E8AA70-0CC9-42EA-97AA-EA68377930B4\\n","errorExample":""}]', + ], + 'DeleteIpsPrivateAssoc' => [ + 'summary' => '创建IPS私网关联信息。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68511', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '240774', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'InstanceId', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-2ze8v2x5kd9qyvp2****', - 'default' => '0', - ], + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****'], ], ], 'responses' => [ @@ -6149,79 +5819,41 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpNumExceed', - 'errorMessage' => 'The maximum number of protected assets has been reached.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', - 'errorMessage' => 'open ip region num exceed.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], + ['errorCode' => 'ERR_RESOURCE_NOT_SUPPORT', 'errorMessage' => 'This operation is not currently supported by the resource.Please try again later.', 'description' => '资源当前不支持该操作,请稍后再试。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '创建IPS私网关联信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => '开启所有防火墙开关', - 'description' => '本接口用于防护您阿里云账号的所有公网IP。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。'."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5*****\\"\\n}","type":"json"}]', ], - 'PutDisableFwSwitch' => [ - 'summary' => '关闭防火墙开关。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DeleteNatFirewallControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -6230,131 +5862,42 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68509', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '171413', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'IpaddrList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'IP地址列表。'."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'array', - 'items' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], - 'required' => false, - 'example' => '["192.0.XX.XX","192.0.XX.XX"]', - 'maxItems' => 200, - ], - ], - [ - 'name' => 'RegionList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '区域列表。'."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'array', - 'items' => [ - 'description' => '区域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - 'required' => false, - 'example' => '["cn-hangzhou","cn-shanghai"]', - 'maxItems' => 200, - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ResourceTypeList', + 'name' => 'AclUuid', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '资产类型列表。'."\n" - ."\n" - .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', - 'type' => 'array', - 'items' => [ - 'description' => '资产类型。取值:'."\n" - ."\n" - .'- BastionHostIP:堡垒机出口IP。'."\n" - .'- BastionHostIngressIP:堡垒机入口IP。 '."\n" - .'- EcsEIP:ECS EIP。'."\n" - .'- EcsPublicIP :ECS公网IP。'."\n" - .'- EIP:弹性公网IP。'."\n" - .'- EniEIP:弹性网卡EIP。'."\n" - .'- NatEIP:NAT EIP。'."\n" - .'- SlbEIP:SLB EIP。'."\n" - .'- SlbPublicIP:SLB公网IP。'."\n" - .'- NatPublicIP:NAT公网IP。'."\n" - .'- HAVIP:高可用虚拟IP。', - 'type' => 'string', - 'required' => false, - 'example' => 'EcsPublicIP', - ], - 'required' => false, - 'example' => '["EcsPublicIp","NatEip"]', - 'maxItems' => 200, - ], + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用DescribeNatFirewallControlPolicy接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => 'b6c8f905-2eb6-442a-ba35-9416e9dbb2c5'], ], [ - 'name' => 'MemberUid', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'title' => '成员唯一标识符', - 'description' => '成员唯一标识符', - 'type' => 'string', - 'required' => false, - 'example' => '1234', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx'], ], [ - 'name' => 'IpVersion', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'title' => 'IP版本号', - 'description' => 'IP版本号', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['description' => '安全访问控制策略管控的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **out**:流量从内到外。', 'type' => 'string', 'required' => true, 'example' => 'out'], ], ], 'responses' => [ @@ -6362,119 +5905,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '31306819-C4BC-56F3-BBE6-*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', - 'title' => '关闭防火墙开关', - 'description' => '本接口用于关闭防火墙开关,关闭防火墙开关后流量不经过云防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。'."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - ], - 'PutDisableAllFwSwitch' => [ - 'summary' => '关闭所有防火墙开关。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除NAT防火墙访问控制策略', + 'summary' => '删除NAT防火墙访问控制策略。', + 'description' => '本接口一般用于删除NAT防火墙流量方向为内对外的访问控制策略。', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-03-13T11:58:30.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\"\\n}","type":"json"}]', + ], + 'DeleteNatFirewallControlPolicyBatch' => [ + 'summary' => '批量删除NAT防火墙策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68508', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], + 'abilityTreeCode' => '173710', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'AclUuidList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'description' => 'ACL uuid 列表。', + 'type' => 'array', + 'items' => ['description' => 'ACL uuid。', 'type' => 'string', 'required' => true, 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c'], + 'required' => true, + 'maxItems' => 100, ], ], [ - 'name' => 'InstanceId', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-2ze8v2x5kd9qyvp2****', - 'default' => '0', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-uf6j0426ap74vd6vrb676'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。取值:'."\n" + .'- **out**:内对外流量。', 'type' => 'string', 'required' => false, 'example' => 'out'], ], ], 'responses' => [ @@ -6482,109 +6022,83 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParamUuidOrOrderMiss', 'errorMessage' => 'Either uuid or oldOrder is invalid.', 'description' => '无效的uuid或者oldOrder'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nB2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', - 'title' => '关闭所有防火墙开关', - 'description' => '本接口用于关闭所有防火墙开关。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'extraInfo' => ' ', - ], - 'DescribeNatFirewallQuota' => [ - 'summary' => '获取NAT防火墙配额。', - 'methods' => [ - 'get', + 'title' => '批量删除NAT防火墙策略', + 'changeSet' => [ + ['createdAt' => '2024-12-16T06:58:27.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicyBatch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicyBatch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsAllDomainName' => [ + 'summary' => '清空私网DNS域名', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '115963', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '226320', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '113.132.26.XXX', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], ], 'responses' => [ @@ -6594,230 +6108,228 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F98BAA59-5863-5B61-8FD4-C5E96813****', - ], - 'UsedCount' => [ - 'description' => '已使用数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'ExceptionCount' => [ - 'description' => '异常节点数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'UnprotectedCount' => [ - 'description' => '未保护数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F98BAA59-5863-5B61-8FD4-C5E96813****\\",\\n \\"UsedCount\\": 10,\\n \\"TotalCount\\": 6,\\n \\"ExceptionCount\\": 1,\\n \\"UnprotectedCount\\": 20\\n}","type":"json"}]', - 'title' => '获取NAT防火墙配额', - ], - 'DescribeNatFirewallList' => [ - 'summary' => '本接口用于获取NAT边界防火墙的详细信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '清空私网DNS域名', + 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], - ], + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsAllDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], - 'operationType' => 'read', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF****\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsDomainName' => [ + 'summary' => '删除私网DNS域名', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '115925', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '226315', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '返回消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '返回消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], ], [ - 'name' => 'PageNo', + 'name' => 'DomainNameList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', + 'description' => '域名列表。', + 'type' => 'array', + 'items' => ['description' => '域名列表。', 'type' => 'string', 'required' => false, 'example' => '[\\"example.com\\"]'], + 'required' => true, + 'maxItems' => 100, + 'minItems' => 1, ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询时,设置每页包含NAT边界防火墙的数量。'."\n" - ."\n" - .'默认值为**10**,表示每页包含**10**条结果。最大值为**50**。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-0009012****'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsDomainName', 'errorMessage' => 'private dns domain name error.', 'description' => '私有DNS域名错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '删除私网DNS域名', + 'description' => '本接口用于删除需要进行私有DNS解析的域名。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'ProxyId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy-nat97a******'."\n", + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', + ], + 'DeletePrivateDnsEndpoint' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ProxyName', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226262', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为[4,50]个字符,且不能以下划线开头。', - 'type' => 'string', - 'required' => false, - 'example' => 'nat-防火墙测试'."\n", - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '822B9125-6E1A-551C-8EAF-6E7****'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsOperationDenied', 'errorMessage' => 'private dns operation is not allowed.', 'description' => '不允许操作'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '删除私网DNS终端节点', + 'summary' => '删除私网DNS终端节点', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7****\\"\\n}","type":"json"}]', + ], + 'DeleteSecurityProxy' => [ + 'summary' => '删除NAT防火墙。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-bp123456g******', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68156', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Status', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙状态。取值:'."\n" - ."\n" - .'- configuring:创建中'."\n" - .'- deleting:删除中'."\n" - .'- normal:正常'."\n" - .'- abnormal:异常'."\n" - .'- opening:开启中'."\n" - .'- closing:关闭中'."\n" - .'- closed:已关闭', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '147783******', - ], + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => true, 'example' => 'proxy-nat00ab******'], ], ], 'responses' => [ @@ -6825,311 +6337,195 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'NAT边界防火墙的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n", - ], - 'NatFirewallList' => [ - 'description' => '云防火墙列表', - 'type' => 'array', - 'items' => [ - 'description' => '云防火墙列表', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19106481******', - ], - 'AliUid' => [ - 'description' => '阿里云账号的UID。'."\n" - ."\n" - .'> 云防火墙成员账号的主账号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '19106481******'."\n", - ], - 'ProxyId' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'example' => 'proxy-nat30******', - ], - 'ProxyName' => [ - 'description' => 'NAT防火墙名称。', - 'type' => 'string', - 'example' => 'nat-防火墙测试'."\n", - ], - 'ProxyStatus' => [ - 'description' => '云防火墙状态。取值:'."\n" - ."\n" - .'- configuring:创建中'."\n" - .'- deleting:删除中'."\n" - .'- normal:正常 '."\n" - .'- abnormal:异常'."\n" - .'- opening:开启中'."\n" - .'- closing:关闭中'."\n" - .'- closed:已关闭', - 'type' => 'string', - 'example' => 'normal', - ], - 'RegionId' => [ - 'description' => '云防火墙所在的地域ID。'."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'NatGatewayId' => [ - 'description' => '要查询的NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-uf6tnblxip4qcxg******', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关的名称', - 'type' => 'string', - 'example' => 'NAT网关测试'."\n", - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2ze26ya******', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'vpc-测试实例', - ], - 'ErrorDetail' => [ - 'description' => '错误原因。', - 'type' => 'string', - 'example' => '防火墙创建失败', - ], - 'StrictMode' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式 '."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NatRouteEntryList' => [ - 'description' => 'NAT网关默认路由条目列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'NAT网关默认路由条目。', - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'NAT网关默认路由所在路由表。', - 'type' => 'string', - 'example' => 'vtb-bp18o0gb******', - ], - 'NextHopId' => [ - 'description' => '原NAT网关下一跳转地址。', - 'type' => 'string', - 'example' => 'ngw-2ze0s284r9atg5******', - ], - 'NextHopType' => [ - 'description' => '下一跳的网络类型。取值:NatGateway。', - 'type' => 'string', - 'example' => 'NatGateway', - ], - 'DestinationCidr' => [ - 'description' => '默认路由目的网段。', - 'type' => 'string', - 'example' => '0.0.0.0/0', - ], - ], - ], - ], - 'ProxyVSwitchId' => [ - 'description' => '防火墙使用的交换机ID。', - 'type' => 'string', - 'example' => 'vsw-bp1amn3t1ktjjy8******', - ], - 'ProxyRouteTableId' => [ - 'description' => '防火墙使用的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-bp1pmyga7p4j10a******', - ], - 'ProxyNetworkInterfaceId' => [ - 'description' => '防火墙使用的弹性网卡ID。', - 'type' => 'string', - 'example' => 'eni-bp127llmo4v5qju******', - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorNatGatewayNotAvailable', - 'errorMessage' => 'Nat gateway not available.', - ], - [ - 'errorCode' => 'ErrorDnatNotSupport', - 'errorMessage' => 'NAT firewall does not support DAT entries.', - ], - [ - 'errorCode' => 'ErrorProxySnatIpEmpty', - 'errorMessage' => 'SNAT entry is empty.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\",\\n \\"NatFirewallList\\": [\\n {\\n \\"MemberUid\\": 0,\\n \\"AliUid\\": 0,\\n \\"ProxyId\\": \\"proxy-nat30******\\",\\n \\"ProxyName\\": \\"nat-防火墙测试\\\\n\\",\\n \\"ProxyStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6tnblxip4qcxg******\\",\\n \\"NatGatewayName\\": \\"NAT网关测试\\\\n\\",\\n \\"VpcId\\": \\"vpc-2ze26ya******\\",\\n \\"VpcName\\": \\"vpc-测试实例\\",\\n \\"ErrorDetail\\": \\"防火墙创建失败\\",\\n \\"StrictMode\\": 0,\\n \\"NatRouteEntryList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-bp18o0gb******\\",\\n \\"NextHopId\\": \\"ngw-2ze0s284r9atg5******\\",\\n \\"NextHopType\\": \\"NatGateway\\",\\n \\"DestinationCidr\\": \\"0.0.0.0/0\\"\\n }\\n ],\\n \\"ProxyVSwitchId\\": \\"vsw-bp1amn3t1ktjjy8******\\",\\n \\"ProxyRouteTableId\\": \\"vtb-bp1pmyga7p4j10a******\\",\\n \\"ProxyNetworkInterfaceId\\": \\"eni-bp127llmo4v5qju******\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询NAT防火墙', - ], - 'DescribeFirewallVSwitch' => [ - 'summary' => '获取防火墙创建的交换机。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除NAT防火墙', + 'changeSet' => [ + ['createdAt' => '2024-08-13T07:32:14.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecurityProxy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\"\\n}","type":"json"}]', + ], + 'DeleteTrFirewallV2' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68260', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '142850', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-99bc4f0fc88b4d00****'], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A774E66E-B170-59FC-9AAF-3068B15E991F'], + ], + 'description' => '', ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', - ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => '云企业网企业版防火墙不存在'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorTrFirewallNotEmpty', 'errorMessage' => 'Can not delete firewall since firewall still attached to a firewall policy.', 'description' => '无法删除防火墙,防火墙内仍然有防火墙引流场景。'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => '找不到CEN-TR附件关联。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorTrFirewallRouteTableInUse', 'errorMessage' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', 'description' => '无法删除防火墙,防火墙路由表仍然绑定在某些网络实例上。'], + ['errorCode' => 'ErrorIllegalFwStatusUpdate', 'errorMessage' => 'Can not set firewall status.', 'description' => '无法更新防火墙状态。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '删除TR防火墙', + 'summary' => '删除TR防火墙。', + 'changeSet' => [ + ['createdAt' => '2023-08-08T07:41:04.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrFirewallV2'], ], + ], + 'ramActions' => [ [ - 'name' => 'VswitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '交换机的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1sqg9w******', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A774E66E-B170-59FC-9AAF-3068B15E991F\\"\\n}","type":"json"}]', + ], + 'DeleteVpcFirewallCenConfigure' => [ + 'summary' => '删除VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', - ], + 'AK' => [], ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68163', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '102910763545****', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageNo', + 'name' => 'VpcFirewallIdList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'description' => 'VPC边界防火墙的实例ID列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], + 'required' => true, + 'maxItems' => 200, ], ], [ - 'name' => 'PageSize', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ @@ -7137,164 +6533,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'A1562A68-99FA-5D6B-BD5B-2F959F25****', - ], - 'VswitchList' => [ - 'description' => '交换机列表。', - 'type' => 'array', - 'items' => [ - 'description' => '交换机列表。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2zeez7gymz5r4pi****am', - ], - 'CidrBlock' => [ - 'description' => 'IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.XX/16', - ], - 'VswitchId' => [ - 'description' => '交换机id。', - 'type' => 'string', - 'example' => 'vsw-bp10qla9mgi42eo****', - ], - 'AvailableIpCount' => [ - 'description' => '可用ip数量。', - 'type' => 'string', - 'example' => '10', - ], - 'VswitchName' => [ - 'description' => '交换机名称。', - 'type' => 'string', - 'example' => 'vsw-test', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'MemberUid' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'example' => '184480249330****', - ], - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-shanghai-b', - ], - 'FirewallCount' => [ - 'description' => '入侵防御事件数。', - 'type' => 'string', - 'example' => '10', - ], - 'FirewallList' => [ - 'description' => '防火墙列表。', - 'type' => 'array', - 'items' => [ - 'description' => '防火墙列表。', - 'type' => 'object', - 'properties' => [ - 'FirewallName' => [ - 'description' => '云防火墙的名称。', - 'type' => 'string', - 'example' => 'test-Firewall', - ], - 'FirewallId' => [ - 'description' => '防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-37145c8f5ede45e9****', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => '无效的VPC防火墙ID。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => '当前防火墙状态, 不允许配置'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"A1562A68-99FA-5D6B-BD5B-2F959F25****\\",\\n \\"VswitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zeez7gymz5r4pi****am\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberUid\\": \\"184480249330****\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"FirewallCount\\": \\"10\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取防火墙创建的交换机', - 'description' => '### QPS限制'."\n" + 'title' => '删除VPC边界防火墙(云企业网)', + 'description' => '本接口一般用于删除VPC边界防火墙。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeNatFirewallPrecheckDetail' => [ - 'summary' => '查询NAT防火墙预检查结果。', - 'methods' => [ - 'get', + 'changeSet' => [ + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', + ], + 'DeleteVpcFirewallConfigure' => [ + 'summary' => '删除VPC边界防火墙(防护通过高速通道连接的两个VPC之间流量)。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '204316', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68165', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'VpcFirewallIdList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'description' => '要删除的VPC边界防火墙的实例ID列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], + 'required' => true, + 'maxItems' => 200, ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => ' NAT网关的ID。 ', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-bp1okz6k7dge****', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ @@ -7302,248 +6639,108 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsFound' => [ - 'description' => '是否存在任务。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PrecheckDetail' => [ - 'description' => '预检查的详细信息。', - 'type' => 'object', - 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'example' => 'vpc-m5emh0w6v2e15****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'FirewallId' => [ - 'description' => '防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - 'PrecheckTimestamp' => [ - 'description' => '预检查时间戳。', - 'type' => 'string', - 'example' => '1715136000', - ], - 'PrecheckStatus' => [ - 'description' => '预检查状态。取值:'."\n" - ."\n" - .'- **running**:预检查正在进行中'."\n" - ."\n" - .'- **passed**:预检查已通过'."\n" - ."\n" - .'- **failed**:预检查未通过', - 'type' => 'string', - 'example' => 'failed', - ], - 'PrecheckEntityGroups' => [ - 'description' => '预检查环节的分组列表。', - 'type' => 'array', - 'items' => [ - 'description' => '预检查环节的分组列表。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '预检查实例名。', - 'type' => 'string', - 'example' => 'test', - ], - 'PrecheckEntities' => [ - 'description' => '各预检查项的执行情况。', - 'type' => 'array', - 'items' => [ - 'description' => '各预检查项的执行情况。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '预检查项目名称。', - 'type' => 'string', - 'example' => 'Precheck test', - ], - 'Status' => [ - 'description' => '各预检查项的状态。取值:'."\n" - ."\n" - .'- **running**:预检查正在进行中'."\n" - ."\n" - .'- **passed**:预检查已通过'."\n" - ."\n" - .'- **failed**:预检查未通过', - 'type' => 'string', - 'example' => 'passed', - ], - 'Info' => [ - 'description' => '检查不通过的信息。', - 'type' => 'string', - 'example' => 'VPC防火墙配额已满', - ], - 'Suggestion' => [ - 'description' => '处理建议。', - 'type' => 'string', - 'example' => 'VPC防火墙配额已满,建议您提高防火墙配额', - ], - ], - ], - ], - 'PrecheckEntityGroupStatus' => [ - 'description' => '预检查的状态。取值:'."\n" - ."\n" - .'- **running**'."\n" - ."\n" - .'- **passed**'."\n" - ."\n" - .'- **failed**', - 'type' => 'string', - 'example' => 'running', - ], - 'FailedCount' => [ - 'description' => '预检查未通过数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorPreCheckDoing', - 'errorMessage' => 'Pre-check in progress, please try again later.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => ' 防火墙ID参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => '防火墙状态错误,请稍后再试'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC防火墙配额已满\\",\\n \\"Suggestion\\": \\"VPC防火墙配额已满,建议您提高防火墙配额\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 9\\n }\\n ]\\n },\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', - 'title' => '查询NAT防火墙预检查结果', - ], - 'DescribeFirewallVswitchResources' => [ - 'summary' => '查询防火墙交换机资源。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除VPC边界防火墙', + 'description' => '本接口一般用于删除VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间流量。'."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallConfigure'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', + ], + 'DeleteVpcFirewallControlPolicy' => [ + 'summary' => '删除指定VPC防火墙策略组的访问控制策略。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68261', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68166', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'- **zh**:中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'VpcId', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2ze36yb348axtnf****', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略的唯一标识ID。'."\n" + ."\n" + .'删除安全访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df2214****'], ], [ - 'name' => 'FirewallType', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'internet', - ], + 'schema' => ['description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" + ."\n" + .' 例如:cen-ervw0g12b5jbw*\\*\\*\\*'."\n" + ."\n" + .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" + .' '."\n" + .' 例如:vfw-a42bbb7b887148c9*\\*\\*\\*', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c91****'], ], ], 'responses' => [ @@ -7551,145 +6748,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A81E99DF-07CF-5EE4-966A-9FF9F2F****', - ], - 'VswitchList' => [ - 'description' => '交换机列表。', - 'type' => 'array', - 'items' => [ - 'description' => '交换机列表。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '配置状态。', - 'type' => 'string', - 'example' => 'open', - ], - 'CidrBlock' => [ - 'description' => 'IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.XX/16', - ], - 'VswitchId' => [ - 'description' => '交换机ID。', - 'type' => 'string', - 'example' => 'vsw-bp10qla9mgi42eo****', - ], - 'AvailableIpCount' => [ - 'description' => '可用区下可用IP。', - 'type' => 'string', - 'example' => '10', - ], - 'VswitchName' => [ - 'description' => '交换机名称。', - 'type' => 'string', - 'example' => 'vsw-test', - ], - 'RouteTableType' => [ - 'description' => '路由表的类型。取值:'."\n" - ."\n" - .'- **Custom**:自定义路由表。'."\n" - ."\n" - .'- **System**:系统路由表。', - 'type' => 'string', - 'example' => 'Custom', - ], - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-shanghai-b', - ], - 'RouteTableId' => [ - 'description' => '路由表的ID。', - 'type' => 'string', - 'example' => 'vtb-uf6ml7rgw5gzzdr****', - ], - 'Detail' => [ - 'description' => '事件详情。', - 'type' => 'string', - 'example' => '[]', - ], - 'FirewallList' => [ - 'description' => '防火墙列表。', - 'type' => 'array', - 'items' => [ - 'description' => '防火墙列表。', - 'type' => 'object', - 'properties' => [ - 'FirewallId' => [ - 'description' => '防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-37145c8f5ede45e9****', - ], - 'FirewallName' => [ - 'description' => '云防火墙的名称。', - 'type' => 'string', - 'example' => 'test-Firewall', - ], - 'FirewallType' => [ - 'description' => '云防火墙类型。', - 'type' => 'string', - 'example' => 'NatFirewall', - ], - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'vpc id invalid', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"A81E99DF-07CF-5EE4-966A-9FF9F2F****\\",\\n \\"VswitchList\\": [\\n {\\n \\"Status\\": \\"open\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RouteTableType\\": \\"Custom\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"RouteTableId\\": \\"vtb-uf6ml7rgw5gzzdr****\\",\\n \\"Detail\\": \\"[]\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\",\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallType\\": \\"NatFirewall\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询防火墙交换机资源', - ], - 'DescribeSecurityProxyResources' => [ - 'summary' => '查询NAT防火墙资源。', - 'methods' => [ - 'post', - 'get', + 'title' => '删除VPC防火墙策略组访问控制策略', + 'description' => '本接口一般用于删除指定VPC防火墙策略组的访问控制策略。防护每个云企业网的VPC防火墙实例和防护每个高速通道的VPC防火墙实例使用不同的访问控制策略。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-08T07:45:13.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', + ], + 'DescribeACLProtectTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -7701,47 +6828,60 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68361', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68171', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '本参数已废弃。', 'type' => 'string', 'required' => false, 'example' => '223.95.87.130', 'deprecated' => true], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf6y16l23fm8hq0****', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '136481150091****', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1677050306'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1670397599'], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => ['description' => '防火墙边界类型。取值:'."\n" + .'- **internet**(默认):互联网边界防火墙。'."\n" + .'- **vpc**:VPC边界防火墙。'."\n" + .'- **nat**:NAT边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'vpc'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '趋势数据的时间聚合粒度,单位为秒。取值:'."\n" + .'- **60**:1分钟粒度(使用分钟级明细表)。'."\n" + .'- **1800**:30分钟粒度。'."\n" + .'- **3600**:1小时粒度。'."\n" + .'- **86400**(默认):1天粒度。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'], ], ], 'responses' => [ @@ -7749,179 +6889,164 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A8E8D50E-9F45-5662-B116-A1D0807F****', - ], - 'ResourceList' => [ - 'description' => '资源列表。', + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => '9063AB86-6FFA-5B2D-A16D-697C966DECA3'], + 'Interval' => ['description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', 'type' => 'integer', 'format' => 'int32', 'example' => '86400'], + 'TotalProtectCnt' => ['description' => '互联网访问控制总拦截数。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'InProtectCnt' => ['description' => '互联网访问控制外对内拦截次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'InterVPCProtectCnt' => ['description' => '本参数已废弃。', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'deprecated' => true], + 'OutProtectCnt' => ['description' => '互联网访问控制内对外拦截次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'TrendList' => [ + 'description' => '互联网访问控制拦截趋势数据列表。', 'type' => 'array', 'items' => [ - 'description' => '资源列表。', + 'description' => '互联网访问控制拦截趋势数据。', 'type' => 'object', 'properties' => [ - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'VpcList' => [ - 'description' => 'vpc列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'vpc列表信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbuzirdl3w1r7exw****', - ], - 'VpcName' => [ - 'description' => 'VPC实例名称。', - 'type' => 'string', - 'example' => 'vpc-wz94a4q37rgl7g****', - ], - 'CidrBlock' => [ - 'description' => 'VPC的IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'MemberUid' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'example' => '157862808111****', - ], - 'NatGateways' => [ - 'description' => 'NAT网关列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'NAT网关信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => 'NAT网关状态。', - 'type' => 'string', - 'example' => 'Available', - ], - 'Detail' => [ - 'description' => 'NAT网关状态。', - 'type' => 'string', - 'example' => 'Available', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'example' => 'ngw-bp1bm0k2t8i6ooxu****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称。', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'NatRouteEntryList' => [ - 'description' => 'NAT路由表列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'NAT路由表。', - 'type' => 'object', - 'properties' => [ - 'NextHopId' => [ - 'description' => '下一跳实例ID。', - 'type' => 'string', - 'example' => 'ngw-2zey0w2u02u1x584m****', - ], - 'DestinationCidr' => [ - 'description' => '目的网段。', - 'type' => 'string', - 'example' => '10.0.70.XX/24', - ], - 'RouteTableId' => [ - 'description' => '路由表ID。', - 'type' => 'string', - 'example' => 'vtb-2ze409pp09d994a****', - ], - 'NextHopType' => [ - 'description' => '下一跳网络类型。', - 'type' => 'string', - 'example' => 'NatGateway', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], + 'Time' => ['description' => '每天0点的时间戳,单位为秒,表示当天的时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1697299200'], + 'ProtectCnt' => ['description' => '互联网访问控制当天拦截数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'PassCnt' => ['description' => '该时间点内ACL策略命中后执行放行动作的会话总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'AlertCnt' => ['description' => '该时间点内ACL策略命中后执行观察(告警)动作的会话总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], ], ], + 'TotalAlertCnt' => ['description' => '查询时间范围内所有时间点AlertCnt的累加总和,即整个时间段内ACL策略命中后执行观察(告警)动作的总会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'TotalPassCnt' => ['description' => '查询时间范围内所有时间点PassCnt的累加总和,即整个时间段内ACL策略命中后执行放行动作的总会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E8D50E-9F45-5662-B116-A1D0807F****\\",\\n \\"ResourceList\\": [\\n {\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"VpcName\\": \\"vpc-wz94a4q37rgl7g****\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"MemberUid\\": \\"157862808111****\\",\\n \\"NatGateways\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"Detail\\": \\"Available\\",\\n \\"NatGatewayId\\": \\"ngw-bp1bm0k2t8i6ooxu****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatRouteEntryList\\": [\\n {\\n \\"NextHopId\\": \\"ngw-2zey0w2u02u1x584m****\\",\\n \\"DestinationCidr\\": \\"10.0.70.XX/24\\",\\n \\"RouteTableId\\": \\"vtb-2ze409pp09d994a****\\",\\n \\"NextHopType\\": \\"NatGateway\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询NAT防火墙资源', - ], - 'CreateNatFirewallSyncTask' => [ - 'summary' => '创建NAT防火墙资产同步任务。', - 'methods' => [ - 'post', + 'title' => '查询互联网访问控制拦截趋势图', + 'summary' => '查询互联网访问控制拦截趋势图。', + 'changeSet' => [ + ['createdAt' => '2024-08-26T02:21:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeACLProtectTrend'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeACLProtectTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966DECA3\\",\\n \\"Interval\\": 86400,\\n \\"TotalProtectCnt\\": 300,\\n \\"InProtectCnt\\": 100,\\n \\"InterVPCProtectCnt\\": 0,\\n \\"OutProtectCnt\\": 200,\\n \\"TrendList\\": [\\n {\\n \\"Time\\": 1697299200,\\n \\"ProtectCnt\\": 100,\\n \\"PassCnt\\": 10,\\n \\"AlertCnt\\": 20\\n }\\n ],\\n \\"TotalAlertCnt\\": 100,\\n \\"TotalPassCnt\\": 100\\n}","type":"json"}]', + ], + 'DescribeAITrafficAnalysisStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '237946', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB085****'], + 'Status' => ['description' => '开启状态。取值:'."\n" + ."\n" + .'- **open**:打开'."\n" + .'- **close**:关闭', 'type' => 'string', 'example' => 'open'], + ], + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询AI流量分析开启状态', + 'summary' => '查询AI流量分析开启状态', + 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"Status\\": \\"open\\"\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceRegionList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '235038', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceStatus', + 'in' => 'query', + 'schema' => ['description' => '同步节点状态。', 'type' => 'string', 'required' => false, 'example' => 'ready'], + ], + [ + 'name' => 'AccessInstanceType', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '同步节点类型。取值:'."\n" + ."\n" + .'- **PrivateDns**:私有DNS。'."\n" + ."\n" + .'- **AckClusterConnector**:ACK集群连接器。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'enumValueTitles' => ['AckClusterConnector' => 'ACK集群连接器', 'PrivateDns' => '私有DNS'], + 'example' => 'AckClusterConnector', ], ], ], @@ -7932,95 +7057,96 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '3E048D45-A563-5F81-9D97-536B4A84****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'RegionNoList' => [ + 'description' => '支持当前同步节点类型的地域列表。', + 'type' => 'array', + 'items' => ['description' => '支持当前同步节点类型的地域。', 'type' => 'string', 'example' => 'cn-beijing'], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3E048D45-A563-5F81-9D97-536B4A84****\\"\\n}","type":"json"}]', - 'title' => '创建NAT防火墙资产同步任务', - ], - 'CreateNatFirewallPreCheck' => [ - 'summary' => '创建NAT防火墙预检查。', - 'methods' => [ - 'post', + 'title' => '查询同步节点地域列表', + 'summary' => '查询同步节点地域列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionNoList\\": [\\n \\"cn-beijing\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceTask' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '207105', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '226332', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '同步节点ID。', 'type' => 'string', 'required' => false, 'example' => 'pdi-3bc2f91695ee48bd9377'], ], [ 'name' => 'RegionNo', - 'in' => 'formData', - 'schema' => [ - 'description' => 'NAT所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ - 'name' => 'VpcId', - 'in' => 'formData', + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => 'VPC实例ID。', + 'description' => '接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2zeiljdml8pble168****', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'NatGatewayId', - 'in' => 'formData', + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => 'task-c92d4544ef7b6a42'], + ], + [ + 'name' => 'AccessInstanceType', + 'in' => 'query', 'schema' => [ - 'description' => ' NAT网关的ID。 ', + 'description' => '同步节点类型。', 'type' => 'string', - 'required' => true, - 'example' => 'ngw-uf69hlxv5c817iqrk****', + 'required' => false, + 'enumValueTitles' => ['AckClusterConnector' => 'ACK集群连接器', 'PrivateDNS' => '私有DNS'], + 'example' => 'AckClusterConnector', ], ], ], @@ -8031,445 +7157,340 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A426611F-04FA-5205-8D04-4F6DCF09****', - ], - 'PreCheckId' => [ - 'description' => '预校验ID。', - 'type' => 'string', - 'example' => '2122', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'IsFound' => ['description' => '是否存在任务。', 'type' => 'boolean', 'example' => 'true'], + 'TaskStatus' => ['description' => '任务状态。', 'type' => 'string', 'example' => 'running'], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'Create an ACK cluster connector'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => '3c9d576f-fce0-4caa-9116-15033509bdb6'], + 'TaskStartTimestamp' => ['description' => '任务创建时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '17151361285'], + 'TaskFinishTimestamp' => ['description' => '任务完成时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '17151381075'], + 'TaskSteps' => [ + 'description' => '任务步骤。', + 'type' => 'array', + 'items' => [ + 'description' => '任务步骤。', + 'type' => 'object', + 'properties' => [ + 'StepName' => ['description' => '步骤名称。', 'type' => 'string', 'example' => 'Obtain ACK cluster information'], + 'StepStatus' => ['description' => '步骤状态。', 'type' => 'string', 'example' => 'finished'], + 'StepProgress' => ['description' => '步骤进度。', 'type' => 'string', 'example' => '100%'], + ], + ], ], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A426611F-04FA-5205-8D04-4F6DCF09****\\",\\n \\"PreCheckId\\": \\"2122\\"\\n}","type":"json"}]', - 'title' => '创建NAT防火墙预检查', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'CreateSecurityProxy' => [ - 'summary' => '创建NAT防火墙。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询同步节点任务进度', + 'summary' => '查询同步节点任务进度。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"IsFound\\": true,\\n \\"TaskStatus\\": \\"running\\",\\n \\"TaskName\\": \\"Create an ACK cluster connector\\",\\n \\"TaskId\\": \\"3c9d576f-fce0-4caa-9116-15033509bdb6\\",\\n \\"TaskStartTimestamp\\": 17151361285,\\n \\"TaskFinishTimestamp\\": 17151381075,\\n \\"TaskSteps\\": [\\n {\\n \\"StepName\\": \\"Obtain ACK cluster information\\",\\n \\"StepStatus\\": \\"finished\\",\\n \\"StepProgress\\": \\"100%\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceVSwitchList' => [ + 'summary' => '查询同步节点交换机列表。', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68127', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '235044', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ProxyName', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为4~50个字符,且不能以下划线开头。', - 'type' => 'string', - 'required' => true, - 'example' => 'nat-防火墙名称', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6b5lyul0x******'], ], [ - 'name' => 'RegionNo', + 'name' => 'ZoneId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '可用区ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou-i'], ], [ - 'name' => 'VpcId', + 'name' => 'VSwitchId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-uf6b5lyul0x******', - ], + 'schema' => ['description' => '交换机的ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-qzeaol304m***'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => ' NAT网关的ID。 ', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-bp1okz6k7******', - ], + 'schema' => ['description' => '资源所属的阿里云UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****'], ], [ - 'name' => 'VswitchAuto', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '是否使用交换机自动模式。取值:'."\n" - .'- **true**:自动模式'."\n" - .'- **false**:手动模式', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'VswitchId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '交换机ID。交换机手动模式时必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-bp1sqg9w******', - ], + 'schema' => ['description' => '每页数目。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], - [ - 'name' => 'NatRouteEntryList', - 'in' => 'query', - 'style' => 'repeatList', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'NAT网关待切换路由列表。', - 'type' => 'array', - 'items' => [ - 'description' => '安全防护目的地址列表。', - 'type' => 'object', - 'properties' => [ - 'NextHopId' => [ - 'description' => '原NAT网关下一跳转地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-bp1okz6******', - ], - 'DestinationCidr' => [ - 'description' => '默认路由目的网段。', - 'type' => 'string', - 'required' => true, - 'example' => '0.0.0.0/0', - ], - 'NextHopType' => [ - 'description' => '下一跳的网络类型。取值:NatGateway。', - 'type' => 'string', - 'required' => true, - 'example' => 'NatGateway', - ], - 'RouteTableId' => [ - 'description' => 'NAT网关默认路由所在路由表。', - 'type' => 'string', - 'required' => true, - 'example' => 'vtb-2ze1******', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Zones' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可用区。', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-i'], + 'VSwitchList' => [ + 'description' => '交换机列表。', + 'type' => 'array', + 'items' => [ + 'description' => '交换机。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => '交换机所属的VPC ID。', 'type' => 'string', 'example' => 'vpc-uf6b5lyul0x******'], + 'VSwitchId' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-qzeaol304m***'], + 'VSwitchName' => ['description' => '交换机的名称。', 'type' => 'string', 'example' => 'ManagedVSW'], + 'CidrBlock' => ['description' => '交换机的IPv4网段。', 'type' => 'string', 'example' => '192.168.0.0/16'], + 'AvailableIpAddressCount' => ['description' => '交换机中可用的IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '254'], + 'FirewallVSwitch' => ['description' => '是否防火墙托管VPC。', 'type' => 'boolean', 'example' => 'false'], + ], + ], + ], + ], ], ], - 'required' => false, ], - 'required' => true, - 'maxItems' => 10000, ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询同步节点交换机列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FirewallSwitch', - 'in' => 'query', - 'schema' => [ - 'description' => '安全防护开关。取值:'."\n" - .'- **open**:打开'."\n" - .'- **close**:关闭', - 'type' => 'string', - 'required' => false, - 'example' => 'close', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 1,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Zones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"VSwitchId\\": \\"vsw-qzeaol304m***\\",\\n \\"VSwitchName\\": \\"ManagedVSW\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"AvailableIpAddressCount\\": 254,\\n \\"FirewallVSwitch\\": false\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAccessInstanceVpcList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'StrictMode', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '235040', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + ], + 'parameters' => [ + [ + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式'."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'VswitchCidr', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '虚拟交换机的网段。交换机自动模式时必填。', - 'type' => 'string', - 'required' => false, - 'example' => '0.0.0.0/0', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-j6cvhdscntzuvr0x****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '资源所属的阿里云UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****'], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页数目。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'ProxyId' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'example' => 'proxy-nat97a******', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '每页数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'VpcList' => [ + 'description' => 'VPC列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC列表。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2ze1t4irqj0fljlbb****'."\n"], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'Cloud_Firewall_VPC'], + 'FirewallVpc' => ['description' => '是否防火墙托管VPC。', 'type' => 'boolean', 'example' => 'false'], + ], + ], ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorDnatNotSupport', - 'errorMessage' => 'Secure proxy does not support DNAT entries.', - ], - [ - 'errorCode' => 'ErrorProxySnatIpEmpty', - 'errorMessage' => 'SNAT entry is empty.', - ], - [ - 'errorCode' => 'ErrorSnatIpQuotaExceed', - 'errorMessage' => 'The number of SNAT IP exceeds the specification.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDefaultRouteConflicts', - 'errorMessage' => 'Default route conflicts.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorProxyRouteEntryConflicts', - 'errorMessage' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableCidr', - 'errorMessage' => 'No available CIDR to create a vswitch.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorInternal', - 'errorMessage' => 'internal error', - ], - [ - 'errorCode' => 'ErrorVswitchCidrNotInVpc', - 'errorMessage' => 'Vswitch CIDR address not in vpc.', - ], - [ - 'errorCode' => 'ErrorVswitchRouteConflict', - 'errorMessage' => 'vswitch route conflict.', - ], - [ - 'errorCode' => 'ErrorVswitchCidrIpNumNotEnough', - 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', - ], - [ - 'errorCode' => 'ErrorRouteEntryNotFound', - 'errorMessage' => 'route entry not found.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorProxyVpcNotSupportAdvFeature', - 'errorMessage' => 'This vpc advanced feature is not supported.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyNumQuotaTop', - 'errorMessage' => 'Proxy num reaches maximum.', - ], - [ - 'errorCode' => 'ErrorProxyClusterNotAvailable', - 'errorMessage' => 'Can not find available cluster for nat firewall.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorNatVpnRouteEntryQuotaLimit', - 'errorMessage' => 'The number of VPN routes has reached the quota.', - ], - [ - 'errorCode' => 'ErrorVpcRouteTableQuotaLimit', - 'errorMessage' => 'The number of VPC routing tables has reached the specification limit.', - ], - [ - 'errorCode' => 'ErrorNatCustomRouteEntryDifferent', - 'errorMessage' => 'The custom route entries in the routing tables are inconsistent.', - ], - [ - 'errorCode' => 'ErrorSnatEntryQuotaExceed', - 'errorMessage' => 'SNAT entry quota exceeded.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询同步节点VPC列表', + 'summary' => '查询同步节点VPC列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVpcList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ProxyId\\": \\"proxy-nat97a******\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\"\\n}","type":"json"}]', - 'title' => ' 创建NAT防火墙', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2ze1t4irqj0fljlbb****\\\\n\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"FirewallVpc\\": false\\n }\\n ]\\n}","type":"json"}]', ], - 'SwitchSecurityProxy' => [ - 'summary' => '开/关NAT防火墙。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAccessInstanceZoneList' => [ + 'summary' => '查询同步节点可用区列表。', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68530', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '235042', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - ."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '同步节点地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'ProxyId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'NAT防火墙ID。', + 'description' => '接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'proxy-natbf******', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'Switch', + 'name' => 'AccessInstanceType', 'in' => 'query', 'schema' => [ - 'description' => '安全防护开关。取值:'."\n" - .'- open:打开'."\n" - .'- close:关闭', + 'description' => '同步节点类型。', 'type' => 'string', - 'required' => true, - 'example' => 'open', + 'required' => false, + 'enumValueTitles' => ['AckClusterConnector' => 'ACK集群连接器', 'PrivateDNS' => '私有DNS'], + 'example' => 'AckClusterConnector', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F1E55690-3ABA-58FA-90E3-593EF******', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '31306819-C4BC-56F3-BBE6-*****'], + 'ZoneList' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => ['description' => '可用区。', 'type' => 'string', 'example' => 'cn-beijing-g'], + ], + 'Zones' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可用区。', + 'type' => 'object', + 'properties' => [ + 'LocalName' => ['description' => '可用区本地语言名。', 'type' => 'string', 'example' => 'Beijing Area G'], + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-beijing-g'], + ], + ], ], ], ], @@ -8477,128 +7498,65 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyStatusNotNormal', - 'errorMessage' => 'proxy status is not normal.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => '地域选择错误, 请重新输入。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询同步节点可用区列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceZoneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1E55690-3ABA-58FA-90E3-593EF******\\"\\n}","type":"json"}]', - 'title' => '开/关NAT防火墙', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\",\\n \\"ZoneList\\": [\\n \\"cn-beijing-g\\"\\n ],\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"Beijing Area G\\",\\n \\"ZoneId\\": \\"cn-beijing-g\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'UpdateSecurityProxy' => [ - 'summary' => '更新NAT边界防火墙。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusterConnector' => [ + 'summary' => '查询指定ACK集群连接器详情。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68536', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'ProxyId', + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'proxy-natfdc73073e031****8e0d', - ], + 'schema' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab'], ], [ - 'name' => 'ProxyName', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为4~50个字符,且不能以下划线开头。', + 'description' => '显示ACK集群连接器健康状态错误原因的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'proxy_auto_heyuan', - ], - ], - [ - 'name' => 'StrictMode', - 'in' => 'query', - 'schema' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:严格模式'."\n" - .'- 0:宽松模式', - 'type' => 'integer', - 'format' => 'int32', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], ], @@ -8607,116 +7565,153 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '应用模块', - 'type' => 'string', - 'example' => 'ips_server', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '9E2CCAB4-E789-5BC9-88DC-5CE0358E****', + 'AckClusterConnector' => [ + 'description' => 'ACK集群连接器。', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'ConnectorName' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'MemberUid' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'example' => '135809047715****'."\n"], + 'RegionNo' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'example' => 'cn-beijing'], + 'ClusterId' => ['description' => 'ACK集群ID。取值来源:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', 'type' => 'string', 'example' => 'c857d908016794125883a9ee8196cba17'], + 'ClusterName' => ['description' => 'ACK集群名称。', 'type' => 'string', 'example' => 'ack-cluster-name'], + 'VpcId' => ['description' => 'ACK集群所属VPC实例ID。', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****'], + 'Ttl' => ['description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'PrimaryVswitchId' => ['description' => 'ACK集群连接器主交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****'], + 'PrimaryVswitchZoneId' => ['description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-g'], + 'PrimaryVswitchIp' => ['description' => 'ACK集群连接器主交换机IP。', 'type' => 'string', 'example' => '10.100.1.1'], + 'StandbyVswitchId' => ['description' => 'ACK集群连接器备交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****'], + 'StandbyVswitchZoneId' => ['description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-h'], + 'StandbyVswitchIp' => ['description' => 'ACK集群连接器备交换机IP。', 'type' => 'string', 'example' => '10.100.2.1'], + 'ConnectorStatus' => [ + 'description' => 'ACK集群连接器实例状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'deleting' => '删除中', 'ready' => '正常'], + 'example' => 'ready', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'ACK集群连接器的健康检查状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'healthy' => '健康', 'unhealthy' => '不健康'], + 'example' => 'healthy', + ], + 'UnhealthyReason' => ['description' => 'ACK集群连接器不健康的原因。', 'type' => 'string', 'example' => 'The ACK cluster status is unavailable.'], + 'CreateTime' => ['description' => '创建ACK集群连接器的时间戳,单位:秒。', 'type' => 'string', 'example' => '1724982259'], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '45E2E720-D2B4-506F-B682-1FCBE971****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParamProxyNameError', - 'errorMessage' => 'proxy name invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorProxyStatusNotNormal', - 'errorMessage' => 'proxy status is not normal.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询ACK集群连接器详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\",\\n \\"RequestId\\": \\"9E2CCAB4-E789-5BC9-88DC-5CE0358E****\\"\\n}","type":"json"}]', - 'title' => '更新NAT边界防火墙', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c857d908016794125883a9ee8196cba17\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"Ttl\\": 30,\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"45E2E720-D2B4-506F-B682-1FCBE971****\\"\\n}","type":"json"}]', ], - 'DeleteSecurityProxy' => [ - 'summary' => '删除NAT防火墙。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusterConnectors' => [ + 'summary' => '批量查询ACK集群连接器列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68156', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '页码。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'ProxyId', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '每页大小。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'required' => false, 'example' => '135809047715****'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen'], + ], + [ + 'name' => 'ConnectorName', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器名称。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群所属的VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6b5lyul0x******'], + ], + [ + 'name' => 'ClusterId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群ID。', 'type' => 'string', 'required' => false, 'example' => '0E0C30C977463****'], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'NAT防火墙ID。', + 'description' => '显示ACK集群连接器健康状态错误原因的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'proxy-nat00ab******', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], ], @@ -8725,65 +7720,101 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '7447795A-39AB-52CB-8F92-128DF******', + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AckClusterConnectors' => [ + 'description' => 'ACK集群连接器列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACK集群连接器。', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'ACK集群连接器ID。', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'ConnectorName' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'MemberUid' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'example' => '159663371500****'], + 'RegionNo' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'ClusterId' => ['description' => 'ACK集群ID。取值来源:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', 'type' => 'string', 'example' => 'f9b9815a5280****'], + 'ClusterName' => ['description' => 'ACK集群名称。', 'type' => 'string', 'example' => 'TestClusterA'], + 'VpcId' => ['description' => 'ACK集群所属VPC实例ID。', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****'], + 'PrimaryVswitchId' => ['description' => 'ACK集群连接器主交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****'], + 'PrimaryVswitchZoneId' => ['description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-g'], + 'PrimaryVswitchIp' => ['description' => 'ACK集群连接器主交换机IP。', 'type' => 'string', 'example' => '10.100.2.XXX'], + 'StandbyVswitchId' => ['description' => 'ACK集群连接器备交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****'], + 'StandbyVswitchZoneId' => ['description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-h'], + 'StandbyVswitchIp' => ['description' => 'ACK集群连接器备交换机IP。', 'type' => 'string', 'example' => '10.100.1.XXX'."\n"], + 'Ttl' => ['description' => 'ACK集群连接器同步容器周期。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'ConnectorStatus' => [ + 'description' => 'ACK集群连接器实例状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'deleting' => '删除中', 'ready' => '正常'], + 'example' => 'ready', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'ACK集群连接器的健康检查状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'healthy' => '健康', 'unhealthy' => '不健康'], + 'example' => 'healthy', + ], + 'UnhealthyReason' => ['description' => 'ACK集群连接器不健康的原因。', 'type' => 'string', 'example' => 'The ACK cluster status is unavailable.'], + 'GroupUuids' => [ + 'description' => '创建于ACK集群连接器的地址簿UUID列表。', + 'type' => 'array', + 'items' => ['description' => '创建于ACK集群连接器的地址簿UUID。', 'type' => 'string', 'example' => '["b84dec36-c4fc-458e-98b8-f1b5dd23****","8015d9eb-8382-4388-b965-b92d806d****"]'], + ], + 'CreateTime' => ['description' => '创建ACK集群连接器的时间戳,单位:秒。', 'type' => 'string', 'example' => '1760493347'], + ], + ], ], + 'PageSize' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DE****'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量查询ACK集群连接器列表', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnectors', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\"\\n}","type":"json"}]', - 'title' => '删除NAT防火墙', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"AckClusterConnectors\\": [\\n {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"159663371500****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"f9b9815a5280****\\",\\n \\"ClusterName\\": \\"TestClusterA\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.2.XXX\\",\\n \\"StandbyVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.1.XXX\\\\n\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"GroupUuids\\": [\\n \\"[\\\\\\"b84dec36-c4fc-458e-98b8-f1b5dd23****\\\\\\",\\\\\\"8015d9eb-8382-4388-b965-b92d806d****\\\\\\"]\\"\\n ],\\n \\"CreateTime\\": \\"1760493347\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DE****\\",\\n \\"TotalCount\\": 20\\n}","type":"json"}]', ], - 'DescribeVpcFirewallSummaryInfo' => [ - 'summary' => '获取VPC防火墙总结信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusterNamespaces' => [ + 'summary' => '查询阿里云K8S容器服务(ACK)集群命名空间。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -8795,54 +7826,92 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68427', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'ConnectorId', 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'AckNamespaces' => [ + 'description' => 'ACK集群命名空间列表。', + 'type' => 'array', + 'items' => ['description' => 'ACK集群命名空间。', 'type' => 'string', 'example' => 'default'], + ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAckClusterQueryClusterNamespace', 'errorMessage' => 'Failed to query cluster namespaces.', 'description' => '查询集群的命名空间失败。'], + ['errorCode' => 'ErrorAckClusterNotFound', 'errorMessage' => 'The specified resource ACK cluster is not found.', 'description' => '指定的ACK集群不存在。'], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK服务未开通。'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量查询ACK集群命名空间', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', + ], + 'DescribeAckClusterPodLabels' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'UserType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', 'in' => 'query', - 'schema' => [ - 'description' => '用户类型。取值:'."\n" - ."\n" - .'**buy**: 付费用户'."\n" - ."\n" - .'**free**: 免费用户', - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], + 'schema' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab'], ], ], 'responses' => [ @@ -8850,277 +7919,59 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AvailableVpcFirewallQuota' => [ - 'description' => 'vpc防火墙剩余可用配额。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'CenExpressConnectVpcCount' => [ - 'description' => '通过CEN方式连接的 VPC 数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'CenFirewallVpcCount' => [ - 'description' => '云企业网VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CenTrVpcCount' => [ - 'description' => '总的centr的vpc数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'ClosedCenFirewallCount' => [ - 'description' => '未开启已配置的云企业网防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ClosedExpressConnectFirewallCount' => [ - 'description' => '未开启已配置的高速通道防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'ClosedVpcFirewallCount' => [ - 'description' => '未开启已配置的所有边界防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredCenFirewallCount' => [ - 'description' => '已配置的cen基础版防火墙实例数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredCenFirewallRegionCount' => [ - 'description' => '已配置的云企业网地域数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredCenFirewallVpcCount' => [ - 'description' => '已配置的云企业网VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '18', - ], - 'ConfiguredCenTrFirewallCount' => [ - 'description' => '已配置的centr防火墙实例数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredExpressConnectFirewallCount' => [ - 'description' => '已配置的高速通道数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredExpressConnectVpcCount' => [ - 'description' => '已配置的高速通道VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'ConfiguredVpcFirewallCount' => [ - 'description' => '已配置的所有边界防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ConfiguredVpcFirewallVpcCount' => [ - 'description' => '已配置防火墙的VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'ExpressConnectVpcCount' => [ - 'description' => '高速通道VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'NotConfiguredCenFirewallCount' => [ - 'description' => '未配置的云企业网防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NotConfiguredCenTrFirewallCount' => [ - 'description' => '未配置的centr防火墙实例数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'NotConfiguredExpressConnectFirewallCount' => [ - 'description' => '未配置的高速通道防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'NotConfiguredVpcFirewallCount' => [ - 'description' => '未配置的所有边界防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'OpenedCenExpressConnectVpcCount' => [ - 'description' => '已开启并正常工作的 VPC 连接数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'OpenedCenFirewallCount' => [ - 'description' => '已开启的云企业网防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'OpenedCenFirewallVpcCount' => [ - 'description' => '云企业网已防护VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedCenTrFirewallVpcCount' => [ - 'description' => '已防护的centr的vpc数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'OpenedEcrCount' => [ - 'description' => '云企业网ECR数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedExpressConnectFirewallCount' => [ - 'description' => '已开启高速通道防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'OpenedExpressConnectVpcCount' => [ - 'description' => '高速通道已防护VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'OpenedPeerTrCount' => [ - 'description' => '已防护cen-tr的的跨地域连接。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'OpenedVbrCount' => [ - 'description' => '已防护cen-tr的vbr总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'OpenedVpcCount' => [ - 'description' => '总的已防护VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '17', - ], - 'OpenedVpcFirewallCount' => [ - 'description' => '已开启的所有边界防火墙数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'OpenedVpnCount' => [ - 'description' => '已防护cen-tr的vpn总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '8AABEF64-7ABF-52CB-BA6C-0598E3DB****', - ], - 'TotalEcrCount' => [ - 'description' => '总的ECR数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalPeerTrCount' => [ - 'description' => '总的cen-tr的跨地域连接数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'TotalVbrCount' => [ - 'description' => '总的cen-tr的vbr数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TotalVpcCount' => [ - 'description' => '总的互联VPC数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalVpcFirewallQuota' => [ - 'description' => '总vpc防火墙配额。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TotalVpnCount' => [ - 'description' => '总的cen-tr的vpn数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'AckLabels' => [ + 'description' => 'ACK标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACK标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['description' => '标签键。', 'type' => 'string', 'example' => 'app'], + 'Value' => ['description' => '标签值。', 'type' => 'string', 'example' => 'storage-operator'], + ], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量查询ACK集群容器标签', + 'summary' => '查询阿里云K8S容器服务(ACK)集群标签。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterPodLabels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AvailableVpcFirewallQuota\\": 4,\\n \\"CenExpressConnectVpcCount\\": 7,\\n \\"CenFirewallVpcCount\\": 10,\\n \\"CenTrVpcCount\\": 13,\\n \\"ClosedCenFirewallCount\\": 1,\\n \\"ClosedExpressConnectFirewallCount\\": 10,\\n \\"ClosedVpcFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallRegionCount\\": 2,\\n \\"ConfiguredCenFirewallVpcCount\\": 18,\\n \\"ConfiguredCenTrFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectVpcCount\\": 2,\\n \\"ConfiguredVpcFirewallCount\\": 5,\\n \\"ConfiguredVpcFirewallVpcCount\\": 1,\\n \\"ExpressConnectVpcCount\\": 2,\\n \\"NotConfiguredCenFirewallCount\\": 0,\\n \\"NotConfiguredCenTrFirewallCount\\": 6,\\n \\"NotConfiguredExpressConnectFirewallCount\\": 7,\\n \\"NotConfiguredVpcFirewallCount\\": 12,\\n \\"OpenedCenExpressConnectVpcCount\\": 10,\\n \\"OpenedCenFirewallCount\\": 4,\\n \\"OpenedCenFirewallVpcCount\\": 0,\\n \\"OpenedCenTrFirewallVpcCount\\": 4,\\n \\"OpenedEcrCount\\": 0,\\n \\"OpenedExpressConnectFirewallCount\\": 15,\\n \\"OpenedExpressConnectVpcCount\\": 2,\\n \\"OpenedPeerTrCount\\": 3,\\n \\"OpenedVbrCount\\": 0,\\n \\"OpenedVpcCount\\": 17,\\n \\"OpenedVpcFirewallCount\\": 9,\\n \\"OpenedVpnCount\\": 6,\\n \\"RequestId\\": \\"8AABEF64-7ABF-52CB-BA6C-0598E3DB****\\",\\n \\"TotalEcrCount\\": 2,\\n \\"TotalPeerTrCount\\": 6,\\n \\"TotalVbrCount\\": 5,\\n \\"TotalVpcCount\\": 2,\\n \\"TotalVpcFirewallQuota\\": 5,\\n \\"TotalVpnCount\\": 1\\n}","type":"json"}]', - 'title' => '获取VPC防火墙总结信息', - 'description' => '### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', ], - 'DescribeVpcFirewallAccessDetail' => [ - 'summary' => '获取VPC防火墙接入详情。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAckClusters' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -9132,218 +7983,251 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68411', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwC140SS', 'FEATUREcfw0T2ZBS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'ACK集群地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'Lang', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'required' => false, 'example' => '135809047715****'], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1655778046', - ], + 'schema' => ['description' => '分页参数:每页显示条数。', 'type' => 'string', 'required' => true, 'example' => '10'], ], [ - 'name' => 'EndTime', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1729042555', - ], + 'schema' => ['description' => '页码。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'VpcId', + 'name' => 'ClusterId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-2ze4xj5kmb5udb****', - ], + 'schema' => ['description' => 'ACK集群ID。', 'type' => 'string', 'required' => false, 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b'], ], [ - 'name' => 'Port', + 'name' => 'ClusterName', 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'ACK集群名称。', 'type' => 'string', 'required' => false, 'example' => 'ack-cluster-name'], ], [ - 'name' => 'Direction', + 'name' => 'ClusterSpec', 'in' => 'query', 'schema' => [ - 'description' => '流量的方向。取值:'."\n" - .'- **in**:表示进方向。'."\n" - .'- **out**:表示出方向。'."\n" - ."\n" - .'>不设置该参数表示查询所有流量方向。', + 'description' => 'ACK集群规格。', 'type' => 'string', 'required' => false, - 'example' => 'in', + 'enumValueTitles' => ['ack.pro.small' => '集群 Pro 版'], + 'example' => 'ack.pro.small', ], ], [ - 'name' => 'IPProtocol', + 'name' => 'ConnectorStatus', 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器实例状态。', 'type' => 'string', 'required' => false, 'example' => 'ready'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '协议类型。取值:'."\n" - .'- **tcp**:tcp协议'."\n" - .'- **udp**:udp协议', - 'type' => 'string', - 'required' => false, - 'example' => 'tcp', + 'type' => 'object', + 'properties' => [ + 'Clusters' => [ + 'description' => 'ACK集群列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACK集群。', + 'type' => 'object', + 'properties' => [ + 'MemberUid' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'example' => '135809047715****'], + 'RegionId' => ['description' => 'ACK集群地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ClusterId' => ['description' => 'ACK集群ID。', 'type' => 'string', 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b'], + 'ClusterName' => ['description' => 'ACK集群名称。', 'type' => 'string', 'example' => 'ack-cluster-name'], + 'ClusterType' => [ + 'description' => 'ACK集群类型。取值来源:'."\n" + .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', + 'type' => 'string', + 'enumValueTitles' => ['ExternalKubernetes' => '注册集群。', 'ManagedKubernetes' => 'ACK 托管类的集群,包括 ACK 托管集群(Pro 版、基础版)、ACK Serverless 集群(Pro 版、基础版)、ACK Edge 集群(Pro 版、基础版)、ACK 灵骏集群(Pro 版)。', 'Kubernetes' => 'ACK 专有集群。'], + 'example' => 'ManagedKubernetes', + ], + 'Profile' => [ + 'description' => '当您选择`cluster_type`为`ManagedKubernetes`时,即 ACK 托管类的集群时,您可以进一步指定集群的子类型。取值来源:'."\n" + .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', + 'type' => 'string', + 'enumValueTitles' => ['Lingjun' => 'ACK 灵骏集群,提供 Pro 版。', 'Serverless' => 'ACK Serverless 集群,包括 ACK Serverless 集群 Pro 版和 ACK Serverless 集群基础版。', 'Default' => 'ACK 托管集群,包括 ACK 集群 Pro 版和 ACK 集群基础版。', 'Edge' => 'ACK Edge 集群,包括 ACK Edge 集群 Pro 版和 ACK Edge 集群基础版。'], + 'example' => 'Default', + ], + 'VpcId' => ['description' => 'ACK集群所属VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2vcg932hsxsxuqbgl****'], + 'Network' => [ + 'description' => 'ACK集群网络插件。取值来源:'."\n" + .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', + 'type' => 'string', + 'enumValueTitles' => ['terway-eniip' => 'Terway-eniip', 'Flannel' => 'Flannel'], + 'example' => 'terway-eniip', + ], + 'ClusterSpec' => [ + 'description' => 'ACK集群规格。', + 'type' => 'string', + 'enumValueTitles' => ['ack.pro.small' => '集群 Pro 版'], + 'example' => 'ack.pro.small', + ], + 'State' => [ + 'description' => 'ACK集群运行状态。取值来源:'."\n" + .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', + 'type' => 'string', + 'enumValueTitles' => [ + 'running' => '集群运行中', 'scaling' => '集群伸缩中', 'stopped' => '集群已经停止运行', 'upgrading' => '集群升级中', 'updating' => '集群配置变更中', 'deleting' => '集群删除中', 'deleted' => '集群已经被删除', 'initial' => '集群创建中', 'draining' => '节点排水中', 'delete_failed' => '集群删除失败', + 'failed' => '集群创建失败', 'removing' => '节点移除中', + ], + 'example' => 'running', + ], + ], + ], + ], + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分页参数:每页显示条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorRegionNo', 'errorMessage' => 'regionNo error.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorAckNotOpen', 'errorMessage' => 'ACK service is not open.', 'description' => 'ACK服务未开通。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量查询ACK集群', + 'summary' => '查询阿里云K8S容器服务(ACK)集群,查询符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '风险评估等级。', - 'type' => 'string', - 'required' => false, - 'example' => '3', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Clusters\\": [\\n {\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"ClusterType\\": \\"ManagedKubernetes\\",\\n \\"Profile\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2vcg932hsxsxuqbgl****\\",\\n \\"Network\\": \\"terway-eniip\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\",\\n \\"State\\": \\"running\\"\\n }\\n ],\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + ], + 'DescribeAclApps' => [ + 'summary' => '批量查询访问控制应用。', + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PeerVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PeerAssetIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '对端源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.125.1.XX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PeerAssetInstanceId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '对端资产实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-123451'."\n", - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'PeerAssetInstanceName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '对端资产实例名。', - 'type' => 'string', - 'required' => false, - 'example' => 'ecs22'."\n", - ], + 'schema' => ['description' => '每页大小。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], ], [ - 'name' => 'AssetIP', + 'name' => 'AclType', 'in' => 'query', 'schema' => [ - 'description' => '本端资产ip。', + 'description' => 'ACL类型:'."\n" + .'- **Internet** '."\n" + .'- **NAT**'."\n" + .'- **VPC**'."\n" + .'- **All**', 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + 'required' => true, + 'enumValueTitles' => ['NAT' => 'NAT防火墙策略', 'All' => '所有类型策略', 'VPC' => 'VPC防火墙策略', 'Internet' => '互联网防火墙策略'], + 'example' => 'VPC', + 'enum' => ['Internet', 'NAT', 'VPC', 'All'], ], ], [ - 'name' => 'Sort', + 'name' => 'Popular', 'in' => 'query', 'schema' => [ - 'description' => '排序方式。取值如下:'."\n" - ."\n" - .' - **InBytes**'."\n" - ."\n" - .'- **OutBytes**'."\n" - ."\n" - .'- **TotalBytes**'."\n" - ."\n" - .'- **InPackets**'."\n" + 'description' => '是否常见。取值:'."\n" ."\n" - .'- **OutPackets**'."\n" + .'- 1:常见'."\n" ."\n" - .'- **SessionCount**', - 'type' => 'string', - 'required' => false, - 'example' => 'InBytes', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => '升降序。取值:'."\n" + .'- 0:不常见'."\n" ."\n" - .'- **asc**:升序。'."\n" - .'- **desc**(默认):降序。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页的页码。', - 'type' => 'string', + .'- 不输入(默认值):查询所有', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, + 'enumValueTitles' => [1 => '1'], 'example' => '1', + 'enum' => ['1'], ], ], [ - 'name' => 'PageSize', + 'name' => 'Protocols', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '分页查询时,显示的当前页的大小。', - 'type' => 'string', + 'description' => '协议类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '协议类型。'."\n" + ."\n" + .'- **TCP**:TCP协议'."\n" + ."\n" + .'- **UDP**:UDP协议', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['TCP' => 'TCP协议', 'UDP' => 'UDP协议'], + 'example' => '['."\n" + .' "TCP",'."\n" + .' "UDP"'."\n" + .']', + 'enum' => ['TCP', 'UDP'], + ], 'required' => false, - 'example' => '10', ], ], ], @@ -9352,400 +8236,203 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '8EAC2347-E85A-5DFF-9F49-B8E1BAFB****', - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '9063AB86-6FFA-5B2D-A16D-697C966D****'], + 'AclApps' => [ + 'description' => '访问控制应用列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据。', 'type' => 'object', 'properties' => [ - 'SessionCount' => [ - 'description' => '会话总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'PeerAssetInstanceId' => [ - 'description' => '对端实例ID。', - 'type' => 'string', - 'example' => 'i-123451', - ], - 'PeerAssetIP' => [ - 'description' => '对端源IP。', - 'type' => 'string', - 'example' => '10.125.1.XX', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OutBytes' => [ - 'description' => '发送字节数, 单位Bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'InBytes' => [ - 'description' => '接收字节数, 单位Bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17845821669.0', - ], - 'peerVpcName' => [ - 'description' => '对端VPC名称。', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'PeerVpcId' => [ - 'description' => '对端VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-123411'."\n", - ], - 'PeerAssetInstanceName' => [ - 'description' => '对端实例名。', - 'type' => 'string', - 'example' => 'test', + 'AppId' => ['description' => '应用ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '1.0'], + 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'test'], + 'RiskLevel' => ['description' => '风险评估等级,取值:'."\n" + ."\n" + .'- **1**:低危'."\n" + .'- **2**:中危'."\n" + .'- **3**:高危', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Popular' => ['description' => '是否常见。取值:'."\n" + ."\n" + .'- 1:常见'."\n" + ."\n" + .'- 0:不常见'."\n" + ."\n" + .'- 不输入(默认值):查询所有', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Protocols' => [ + 'description' => '协议类型列表。', + 'type' => 'array', + 'items' => ['description' => '协议类型。'."\n" + ."\n" + .'- **TCP**:TCP协议'."\n" + ."\n" + .'- **UDP**:UDP协议', 'type' => 'string', 'example' => '['."\n" + .' "TCP",'."\n" + .' "UDP"'."\n" + .']'], ], + 'SupportFqdn' => ['description' => '是否支持 **Fqdn** 。'."\n" + ."\n" + .'- **0**:不支持'."\n" + ."\n" + .'- **1**:支持', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], + 'description' => '', ], ], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 9,\\n \\"RequestId\\": \\"8EAC2347-E85A-5DFF-9F49-B8E1BAFB****\\",\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"PeerAssetInstanceId\\": \\"i-123451\\",\\n \\"PeerAssetIP\\": \\"10.125.1.XX\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutBytes\\": 1123,\\n \\"InBytes\\": 17845821669,\\n \\"peerVpcName\\": \\"vpc-test\\",\\n \\"PeerVpcId\\": \\"vpc-123411\\\\n\\",\\n \\"PeerAssetInstanceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取VPC防火墙接入详情', + 'title' => '批量查询访问控制应用', 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallPrecheckDetail' => [ - 'summary' => '获取VPC防火墙预检查详情。', - 'methods' => [ - 'post', - 'get', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966D****\\",\\n \\"AclApps\\": [\\n {\\n \\"AppId\\": 1,\\n \\"AppName\\": \\"test\\",\\n \\"RiskLevel\\": 1,\\n \\"Popular\\": 1,\\n \\"Protocols\\": [\\n \\"[\\\\n \\\\\\"TCP\\\\\\",\\\\n \\\\\\"UDP\\\\\\"\\\\n]\\"\\n ],\\n \\"SupportFqdn\\": 1\\n }\\n ],\\n \\"TotalCount\\": 20\\n}","type":"json"}]', + ], + 'DescribeAclBackupList' => [ + 'summary' => '查询访问控制备份列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120839', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68169', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'NetworkInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '网络实例的类型。取值:'."\n" - ."\n" - .'- **cen_firewall**:cen基础版防火墙'."\n" - ."\n" - .'- **cen_tr_firewall**:cen-tr防火墙', - 'type' => 'string', - 'required' => false, - 'example' => 'cen_firewall', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zev8s8rxao33xt****', - ], - ], - [ - 'name' => 'Region', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'CenId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-hxsqf2bv6di1a****', - ], + 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '110.191.179.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'TransitRouterId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-2vcn4u2g86tm72****', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'MemberUid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '134388541648****', - ], + 'schema' => ['description' => '每页数目。', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'IsFound' => [ - 'description' => '是否存在任务。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'PrecheckDetail' => [ - 'description' => '预检查的详细信息。', - 'type' => 'object', - 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'example' => 'vpc-m5emh0w6v2e15****', - ], - 'RegionNo' => [ - 'description' => '所在地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'FirewallId' => [ - 'description' => '防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - 'PrecheckTimestamp' => [ - 'description' => '预检查时间戳。', - 'type' => 'string', - 'example' => '1715136000', - ], - 'PrecheckStatus' => [ - 'description' => '预检查状态。取值:'."\n" - ."\n" - .'- **running**:预检查正在进行中'."\n" - ."\n" - .'- **passed**:预检查已通过'."\n" - ."\n" - .'- **failed**:预检查未通过', - 'type' => 'string', - 'example' => 'failed', - ], - 'PrecheckEntityGroups' => [ - 'description' => '预检查环节的分组列表。', - 'type' => 'array', - 'items' => [ - 'description' => '预检查环节的分组列表。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '预检查实例名。', - 'type' => 'string', - 'example' => 'test', - ], - 'PrecheckEntities' => [ - 'description' => '各预检查项的执行情况。', - 'type' => 'array', - 'items' => [ - 'description' => '各预检查项的执行情况。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '预检查项目名称。', - 'type' => 'string', - 'example' => 'Precheck test', - ], - 'Status' => [ - 'description' => '各预检查项的状态。取值:'."\n" - ."\n" - .'- **running**:预检查正在进行中'."\n" - ."\n" - .'- **passed**:预检查已通过'."\n" - ."\n" - .'- **failed**:预检查未通过', - 'type' => 'string', - 'example' => 'passed', - ], - 'Info' => [ - 'description' => '检查不通过的信息', - 'type' => 'string', - 'example' => 'VPC防火墙配额已满', - ], - 'Suggestion' => [ - 'description' => '处理建议', - 'type' => 'string', - 'example' => 'VPC防火墙配额已满,建议您提高防火墙配额', - ], - ], - ], - ], - 'PrecheckEntityGroupStatus' => [ - 'description' => '预检查的状态。取值:'."\n" - ."\n" - .'- **running**'."\n" - ."\n" - .'- **passed**'."\n" - ."\n" - .'- **failed**', - 'type' => 'string', - 'example' => 'running', - ], - 'FailedCount' => [ - 'description' => '预检查未通过的规则数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - ], - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '6C9105F2-9F31-5A62-8D52-FA65A3E5****'], + 'Backups' => [ + 'description' => '备份记录集合。', + 'type' => 'array', + 'items' => [ + 'description' => '备份记录集合。', + 'type' => 'object', + 'properties' => [ + 'BackUpTime' => ['description' => '备份时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1743683400'], + 'AclCount' => ['description' => 'ACL数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'Description' => ['description' => '备份任务描述。', 'type' => 'string', 'example' => 'description'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPreCheckDoing', - 'errorMessage' => 'Pre-check in progress, please try again later.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC防火墙配额已满\\",\\n \\"Suggestion\\": \\"VPC防火墙配额已满,建议您提高防火墙配额\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 3\\n }\\n ]\\n },\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\"\\n}","type":"json"}]', - 'title' => '获取VPC防火墙预检查详情', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'CreateVpcFirewallPrecheck' => [ - 'summary' => '创建VPC防火墙开墙前置任务。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询访问控制备份列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclBackupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 32,\\n \\"RequestId\\": \\"6C9105F2-9F31-5A62-8D52-FA65A3E5****\\",\\n \\"Backups\\": [\\n {\\n \\"BackUpTime\\": 1743683400,\\n \\"AclCount\\": 10,\\n \\"Description\\": \\"description\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAclCheck' => [ + 'summary' => '查询ACL检查详情。', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '120810', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '219336', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -9753,81 +8440,373 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], [ - 'name' => 'NetworkInstanceType', + 'name' => 'TaskId', 'in' => 'query', - 'schema' => [ - 'description' => '网络实例的类型。取值:'."\n" - ."\n" - .'- **cen_firewall**。'."\n" - ."\n" - .'- **cen_tr_firewall**。'."\n" - ."\n" - .'- **ec_firewall**。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen_tr_firewall', - ], + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => true, 'example' => '132'], ], [ - 'name' => 'VpcId', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp132e2wpu9o6qth****', - ], + 'schema' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'Region', + 'name' => 'PageSize', 'in' => 'query', + 'schema' => ['description' => '每页数目。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '25E655B0-CAED-53D4-8054-F983126****'], + 'CheckRecord' => [ + 'description' => '检查记录。', + 'type' => 'object', + 'properties' => [ + 'AclTotalCount' => ['description' => '检查时的ACL策略总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RecordAssessmentDetail' => ['description' => 'ACL检查的研判详情。', 'type' => 'string', 'example' => 'It is recommended to remove the invalid policy, while helping to save the specification.'."\n"], + 'CheckName' => ['description' => 'ACL检查名称。', 'type' => 'string', 'example' => 'PolicyHitCountZero'], + 'Description' => ['description' => 'ACL检查项说明。', 'type' => 'string', 'example' => 'Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.'."\n"], + 'LastCheckTime' => ['description' => '最近检查时间戳,单位:秒。', 'type' => 'string', 'example' => '1724982259'], + 'Level' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'High'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'], + 'Acls' => [ + 'description' => 'ACL检查结果列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACL检查结果。', + 'type' => 'object', + 'properties' => [ + 'Acl' => [ + 'description' => 'ACL检查结果。', + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => '互联网流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'example' => 'out'], + 'Order' => ['description' => '访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SourceType' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n" + .'- **location**:源区域', 'type' => 'string', 'example' => 'group'], + 'ApplicationName' => ['description' => 'VPC边界防火墙访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" + ."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**(表示查询访问控制策略所有的应用类型)', 'type' => 'string', 'example' => 'ANY'], + 'HitTimes' => ['description' => '访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Description' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test_policy'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", 'type' => 'string', 'example' => 'ip'], + 'DnsResultTime' => ['description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DnsResult' => ['description' => 'DNS解析结果。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'Proto' => ['description' => '访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(表示所有协议类型)'."\n" + .'> 不设置该参数表示查询所有协议类型。', 'type' => 'string', 'example' => 'TCP'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", 'type' => 'string', 'example' => 'domain'], + 'Destination' => ['description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" + ."\n" + .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" + ."\n" + .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" + ."\n" + .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" + ."\n" + .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的目的地址。', 'type' => 'string', 'example' => 'kms.cn-shanghai.aliyuncs.com'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DestPortGroup' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'my_port_group'."\n"], + 'AclUuid' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '997b38e0-01fa-4db7-8d30-02ebf6fdb747'], + 'DestPortType' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'Source' => ['description' => '访问控制策略中的访问源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" + .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", 'type' => 'string', 'example' => '172.28.7.167'], + 'DestinationType' => ['description' => '访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'example' => 'domain'], + 'DestPort' => ['description' => '访问控制策略中访问流量的目的端口。', 'type' => 'string', 'example' => '80/80'], + 'IpVersion' => ['description' => '支持的IP地址版本。取值:'."\n" + ."\n" + .'- **4**:代表IPv4地址'."\n" + .'- **6**:代表IPv6地址', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AclAction' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'log'], + 'Release' => ['description' => '访问控制策略的启用状态。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'ApplicationId' => ['description' => '访问控制策略中设置访问流量的应用ID。', 'type' => 'string', 'example' => 'plugin_idp4_ciam'], + 'DestinationGroupCidrs' => [ + 'description' => '访问控制策略中的目的地址簿中的网段。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略中的目的地址簿中的网段。', 'type' => 'string', 'example' => '192.0.XX.XX/32'], + ], + 'DestPortGroupPorts' => [ + 'description' => '目的端口地址簿中包含的端口。', + 'type' => 'array', + 'items' => ['description' => '目的端口地址簿中包含的端口。', 'type' => 'string', 'example' => '80/80'], + ], + 'SourceGroupCidrs' => [ + 'description' => '访问控制策略中的源地址簿中的网段。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略中的源地址簿中的网段。', 'type' => 'string', 'example' => '111.48.54.39/32'], + ], + 'ApplicationNameList' => [ + 'description' => '访问控制策略支持的应用类型列表。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有应用类型)', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙访问控制策略支持的应用类型列表。取值:'."\n" + ."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**(表示查询访问控制策略所有的应用类型)', 'type' => 'string', 'example' => 'ANY'], + ], + 'SpreadCnt' => ['description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" + .'单条策略占用的规格数 = 源地址个数(IP地址段个数或区域个数)\\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 端口段个数 \\* 应用数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CreateTime' => ['description' => '策略创建时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'ModifyTime' => ['description' => '策略最后修改时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'RepeatType' => ['description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'example' => 'Permanent'], + 'RepeatDays' => [ + 'description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + ], + 'RepeatStartTime' => ['description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '08:00'."\n"], + 'RepeatEndTime' => ['description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '23:30'], + 'StartTime' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1730318400'], + 'EndTime' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1758334822'], + 'AddressListCount' => ['description' => '地址簿中包含地址的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GroupUuid' => ['description' => '地址簿的唯一标识ID。'."\n" + ."\n" + .'删除安全访问控制的地址簿,需要提供该地址簿的唯一标识ID,该ID可调用[DescribeAddressBook](~~138869~~)接口获取。', 'type' => 'string', 'example' => 'b91d86c3-2b52-4534-aae9-8d0339b12a48'], + 'AutoAddTagEcs' => ['description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'GroupName' => ['description' => '地址簿的名称。', 'type' => 'string', 'example' => 'Zhong Kui Open White List'], + 'ReferenceCount' => ['description' => '地址簿被引用次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GroupType' => ['description' => '地址簿的类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿。'."\n" + ."\n" + .'- **domain**:域名地址簿。'."\n" + ."\n" + .'- **port**:端口地址簿。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿。'."\n" + ."\n" + .'- **allCloud**:云服务地址簿。'."\n" + ."\n" + .'- **threat**:威胁情报地址簿。', 'type' => 'string', 'example' => 'ip'], + 'TagRelation' => ['description' => '多个ECS标签间的关系。取值:'."\n" + ."\n" + .'- **and**:多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。'."\n" + ."\n" + .'- **or**:多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', 'type' => 'string', 'example' => 'or'], + 'TagList' => [ + 'description' => 'ECS标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ECS标签。', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'ECS标签值。', 'type' => 'string', 'example' => 'tfTestAcc0'], + 'TagKey' => ['description' => 'ECS标签键。', 'type' => 'string', 'example' => 'ss'], + ], + ], + ], + 'AddressList' => [ + 'description' => '地址簿的地址信息。', + 'type' => 'array', + 'items' => ['description' => '地址簿的地址信息。', 'type' => 'string', 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32'], + ], + 'NatGatewayId' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-2ze4w62zbdkwjmoqeokgl'], + 'DomainResolveType' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'integer', 'format' => 'int32', 'example' => 'FQDN'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-925514970c2c4bcab222'], + 'Addresses' => [ + 'description' => '地址和描述备注信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '地址和描述备注信息。', + 'type' => 'object', + 'properties' => [ + 'Address' => ['description' => '地址簿的地址信息。', 'type' => 'string', 'example' => '192.0.XX.XX/32'], + 'Note' => ['description' => '描述备注信息。', 'type' => 'string', 'example' => 'Reviewed'], + ], + ], + ], + ], + ], + 'AclStatus' => [ + 'description' => 'ACL检查状态。', + 'type' => 'string', + 'enumValueTitles' => ['Pending' => '待处理', 'Ignored' => '已忽略', 'Processed' => '已处理'], + 'example' => 'Pending', + ], + 'AclAssessmentDetail' => ['description' => '该条ACL策略的研判详情。', 'type' => 'string', 'example' => 'No traffic hit policy.'], + ], + ], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAclCheckNotExist', 'errorMessage' => 'ACL check not exist.', 'description' => 'ACL检查不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询ACL检查详情', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-iv8m2lj2fqg1xt****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"CheckRecord\\": {\\n \\"AclTotalCount\\": 10,\\n \\"RecordAssessmentDetail\\": \\"It is recommended to remove the invalid policy, while helping to save the specification.\\\\n\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.\\\\n\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"out\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"group\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\\\n\\",\\n \\"AclUuid\\": \\"997b38e0-01fa-4db7-8d30-02ebf6fdb747\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"172.28.7.167\\",\\n \\"DestinationType\\": \\"domain\\",\\n \\"DestPort\\": \\"80/80\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"plugin_idp4_ciam\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"111.48.54.39/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"ANY\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 6\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\\\n\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1730318400,\\n \\"EndTime\\": 1758334822,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"b91d86c3-2b52-4534-aae9-8d0339b12a48\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"Zhong Kui Open White List\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"or\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"ss\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-2ze4w62zbdkwjmoqeokgl\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"vfw-925514970c2c4bcab222\\",\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.0.XX.XX/32\\",\\n \\"Note\\": \\"Reviewed\\"\\n }\\n ]\\n },\\n \\"AclStatus\\": \\"Pending\\",\\n \\"AclAssessmentDetail\\": \\"No traffic hit policy.\\"\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeAclCheckQuota' => [ + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '128599825273****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '219328', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'TransitRouterId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-t4n16htuv1jalj9cq****', - ], + 'schema' => ['description' => '语言。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ @@ -9835,175 +8814,53 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PrecheckId' => [ - 'description' => '预检查任务id。', - 'type' => 'string', - 'example' => '4197', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****'], + 'Quota' => [ + 'description' => '配额。', + 'type' => 'object', + 'properties' => [ + 'AvailableQuota' => ['description' => '可用额度。', 'type' => 'integer', 'format' => 'int64', 'example' => '500'], + 'ConsumedQuota' => ['description' => '已消耗额度。', 'type' => 'integer', 'format' => 'int64', 'example' => '1500'], + 'TotalQuota' => ['description' => '总额度。', 'type' => 'integer', 'format' => 'int64', 'example' => '2000'], + 'UpdateTime' => ['description' => '额度最新更新时间,单位:秒。', 'type' => 'string', 'example' => '1724982259'], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdError', - 'errorMessage' => 'Network InstanceId ID is invalid', - ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], - [ - 'errorCode' => 'ErrorHubvpcCannotCreate', - 'errorMessage' => 'HUB VPC could not create vpc firewall', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], - [ - 'errorCode' => 'ErrorCenVbrNotSupport', - 'errorMessage' => 'The cloud enterprise network VBR does not support firewall', - ], - [ - 'errorCode' => 'ErrorCenNotSupportCCN', - 'errorMessage' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', - ], - [ - 'errorCode' => 'ErrorOwnerIdUnauthorized', - 'errorMessage' => 'owner id not authorized.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallVpcNumLimit', - 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', - ], - [ - 'errorCode' => 'ErrorCenExistPublicCidr', - 'errorMessage' => 'cen domain route exist public route.', - ], - [ - 'errorCode' => 'ErrorCenExistTrRoute', - 'errorMessage' => 'Cen VPC route exist tr route.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterprise', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationCustomRouteTable', - 'errorMessage' => 'CEN-TR association custom route table.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorRouteTableNotFound', - 'errorMessage' => 'route table not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PrecheckId\\": \\"4197\\",\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\"\\n}","type":"json"}]', - 'title' => '创建VPC防火墙开墙前置任务', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'CreateVpcFirewallTask' => [ - 'summary' => '创建VPC防火墙资产同步任务。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询ACL检查额度', + 'summary' => '查询ACL检查额度。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheckQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"Quota\\": {\\n \\"AvailableQuota\\": 500,\\n \\"ConsumedQuota\\": 1500,\\n \\"TotalQuota\\": 2000,\\n \\"UpdateTime\\": \\"1724982259\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeAclChecks' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -10012,13 +8869,11 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68137', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '219331', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -10026,43 +8881,23 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'TaskAction', + 'name' => 'AclType', 'in' => 'query', 'schema' => [ - 'description' => '任务名称。', + 'description' => 'ACL检查类型。', 'type' => 'string', 'required' => true, - 'example' => 'sync', - ], - ], - [ - 'name' => 'Priority', - 'in' => 'query', - 'schema' => [ - 'description' => '规则的优先级。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Content', - 'in' => 'query', - 'schema' => [ - 'description' => '任务内容。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', + 'enumValueTitles' => ['NAT' => 'NAT边界', 'AddressBook' => '地址簿', 'VPC' => 'VPC边界', 'Internet' => '互联网边界'], + 'example' => 'VPC', + 'enum' => ['Internet', 'NAT', 'VPC', 'AddressBook'], ], ], ], @@ -10071,62 +8906,90 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '应用模块', - 'type' => 'string', - 'example' => 'ips_server'."\n", - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '53252B14-BF7C-5A2D-9750-56F827EB****', + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3D****'], + 'CheckRecords' => [ + 'description' => 'ACL检查记录列表。', + 'type' => 'object', + 'properties' => [ + 'AclType' => [ + 'description' => 'ACL检查类型。', + 'type' => 'string', + 'enumValueTitles' => ['NAT' => 'NAT边界', 'AddressBook' => '地址簿', 'VPC' => 'VPC边界', 'Internet' => '互联网边界'], + 'example' => 'Internet', + ], + 'Records' => [ + 'description' => 'ACL检查记录列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ACL检查记录。', + 'type' => 'object', + 'properties' => [ + 'CheckName' => [ + 'description' => 'ACL检查名称。', + 'type' => 'string', + 'enumValueTitles' => ['PolicyDuplicate' => '重复冗余策略', 'PolicyConflict' => '业务冲突策略', 'AddressBookIpSeparated' => 'IP地址簿重复、重叠、分散', 'DefaultPolicyNotDeny' => '默认兜底策略不是Deny All白名单机制', 'PolicySourceDestinationSame' => '源和目的对象相同无效策略', 'PolicyPortHighRisk' => '高风险端口放行风险策略', 'PolicyTooLoose' => '管控策略过于宽松', 'PolicyHitCountZero' => '无流量命中策略', 'AddressBookPortSeparated' => '端口地址簿重复、重叠、分散', 'AddressBookDomainValid' => '域名地址簿合法性校验'], + 'example' => 'AddressBookDomainValid', + ], + 'CheckStatus' => [ + 'description' => 'ACL检查项状态。', + 'type' => 'string', + 'enumValueTitles' => ['Checked' => '已检查', 'Unchecked' => '待检查', 'Checking' => '检查中'], + 'example' => 'Checked', + ], + 'CheckType' => [ + 'description' => 'ACL检查类型。', + 'type' => 'string', + 'enumValueTitles' => ['InvalidPolicy' => '无效策略', 'AddressBookGather' => '地址簿聚合', 'HighRisk' => '减少风险'], + 'example' => 'AddressBookGather', + ], + 'LastCheckTime' => ['description' => '最新检测时间戳,单位为秒。', 'type' => 'string', 'example' => '1724982259'], + 'Level' => [ + 'description' => '风险等级。', + 'type' => 'string', + 'enumValueTitles' => ['High' => '高', 'Low' => '低', 'Medium' => '中'], + 'example' => 'Medium', + ], + 'AclPendingCount' => ['description' => 'ACL检查任务待处理的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'AclTotalCount' => ['description' => 'ACL检查总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TaskId' => ['description' => 'ACK检查任务ID。', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'], + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '批量查询ACL检查列表', + 'summary' => '批量查询ACL检查列表。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\\\n\\",\\n \\"RequestId\\": \\"53252B14-BF7C-5A2D-9750-56F827EB****\\"\\n}","type":"json"}]', - 'title' => '创建VPC防火墙资产同步任务', - 'description' => '本接口一般用于创建VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。该VPC边界防火墙不支持防护VPC跨地域、跨账号以及VPC与VBR间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" - ."\n" - .'### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3D****\\",\\n \\"CheckRecords\\": {\\n \\"AclType\\": \\"Internet\\",\\n \\"Records\\": [\\n {\\n \\"CheckName\\": \\"AddressBookDomainValid\\",\\n \\"CheckStatus\\": \\"Checked\\",\\n \\"CheckType\\": \\"AddressBookGather\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"Medium\\",\\n \\"AclPendingCount\\": 1,\\n \\"AclTotalCount\\": 10,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n ]\\n }\\n}","type":"json"}]', ], - 'DescribeTrFirewallsV2List' => [ - 'summary' => '获取TR防火墙列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeAclRuleCount' => [ + 'summary' => '获取总ACL配置数。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10138,141 +9001,249 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142848', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68172', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '27.151.85.XX'], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '转发路由器实例I的地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'type' => 'object', + 'properties' => [ + 'InternetInAclCount' => ['description' => '互联网边界入向策略数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalAclCount' => ['description' => '总策略数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****'], + 'InternetOutAclCount' => ['description' => '互联网边界出向策略数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'VpcAclCount' => ['description' => 'VPC边界策略数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'NatInAclCount' => ['description' => 'NAT边界入向策略数。>废弃字段>', 'type' => 'integer', 'format' => 'int32', 'example' => '0', 'deprecated' => true], + 'NatOutAclCount' => ['description' => 'NAT边界内到外策略数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + 'description' => '', ], ], - [ - 'name' => 'FirewallSwitchStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启'."\n" - ."\n" - .'- **closed**:已关闭'."\n" - ."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" - ."\n" - .'- **configured**:表示已配置VPC边界防火墙'."\n" - ."\n" - .'- **creating**:表示正在创建VPC边界防火墙'."\n" - ."\n" - .'- **opening**:表示正在开启VPC边界防火墙'."\n" - ."\n" - .'- **deleting**:表示正在删除VPC边界防火墙'."\n" - ."\n\n" - .'> 不设置该参数表示查询所有状态的VPC边界防火墙', - 'type' => 'string', - 'required' => false, - 'example' => 'opened', + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取总ACL配置数', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclRuleCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetInAclCount\\": 2,\\n \\"TotalAclCount\\": 8,\\n \\"RequestId\\": \\"27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****\\",\\n \\"InternetOutAclCount\\": 3,\\n \\"VpcAclCount\\": 3,\\n \\"NatInAclCount\\": 0,\\n \\"NatOutAclCount\\": 2\\n}","type":"json"}]', + ], + 'DescribeAclWhitelist' => [ + 'summary' => '获取ACL白名单。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68174', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页码。默认值为**1**。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '101.36.65.XX'], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + 'type' => 'object', + 'properties' => [ + 'DomainGroupUseDns' => ['description' => '是否已开启白名单。取值:'."\n" + .'- **true**:已开启'."\n" + .'- **false**:未开启', 'type' => 'boolean', 'example' => 'true'], + 'SupportMessageType' => ['description' => '是否支持消息类型。取值:'."\n" + .'- **true**:支持'."\n" + .'- **false**:不支持', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '7D45133B-DBC0-506B-9DF9-AB0735D3****'], + 'NatDomainGroupUseDns' => ['description' => 'NAT 场景下是否支持域名 DNS。取值:'."\n" + .'- **true**:支持'."\n" + .'- **false**:不支持', 'type' => 'boolean', 'example' => 'false'], + 'VpcDomainGroupUseDns' => ['description' => 'VPC 场景下是否支持域名 DNS。取值:'."\n" + .'- **true**:支持'."\n" + .'- **false**:不支持', 'type' => 'boolean', 'example' => 'false'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => '获取ACL白名单', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-f1799baa9e254651****', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroupUseDns\\": true,\\n \\"SupportMessageType\\": true,\\n \\"RequestId\\": \\"7D45133B-DBC0-506B-9DF9-AB0735D3****\\",\\n \\"NatDomainGroupUseDns\\": false,\\n \\"VpcDomainGroupUseDns\\": false\\n}","type":"json"}]', + ], + 'DescribeAddressBook' => [ + 'summary' => '批量查询地址簿列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FirewallName', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68175', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙实例名称。', + 'description' => '地址簿描述的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'VPC边界防火墙云企业网企业版'."\n", + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'RouteMode', + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。'."\n" + ."\n" + .'默认值为1,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '1', 'default' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含的地址簿的数量。'."\n" + ."\n" + .'默认值为10,表示每页包含10条结果。最大值为50。', 'type' => 'string', 'required' => false, 'docRequired' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'Query', + 'in' => 'query', + 'schema' => ['description' => '搜索条件,输入待查询地址簿信息。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'GroupType', 'in' => 'query', 'schema' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **managed**:表示自动模式。'."\n" - ."\n" - .'- **manual**:表示手动模式。'."\n" + 'description' => '地址簿的类型。'."\n" ."\n" - .'> 不设置该参数表示查询所有路由模式的VPC边界防火墙。', + .'> 不设置该参数表示查询IP地址簿和ECS标签地址簿。', 'type' => 'string', 'required' => false, - 'example' => 'managed', + 'enumValueTitles' => [ + 'tagPrivate' => 'ECS标签私网地址簿', 'backsrcIpv6' => 'IPv6回源地址簿', 'ackLabel' => 'ACK容器组标签地址簿', 'ip' => 'IPv4地址簿', 'cloud' => '云地址簿', 'cloudServiceDomain' => '云服务域名地址簿', 'backsrc' => 'IPv4回源地址簿', 'cloudDomain' => '云域名地址簿', 'port' => '端口地址簿', 'ipv6' => 'IPv6地址簿', + 'domain' => '域名地址簿', 'assetIpv6' => 'IPv6公网资产地址簿', 'ackNamespace' => 'ACK命名空间地址簿', 'tag' => 'ECS标签公网地址簿', 'threat' => '情报地址簿', 'asset' => 'IPv4公网资产地址簿', + ], + 'example' => 'ip', ], ], [ - 'name' => 'CenId', + 'name' => 'ContainPort', 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-rig0t5zi96crkl****', - ], + 'schema' => ['description' => '查询包含指定端口的地址簿。仅当**GroupType**参数的值为**port**时,该参数才会作为本次查询的条件。', 'type' => 'string', 'required' => false, 'example' => '80'], ], [ - 'name' => 'TransitRouterId', + 'name' => 'GroupUuid', 'in' => 'query', + 'schema' => ['description' => '地址簿的唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****'], + ], + [ + 'name' => 'AssetMemberUids', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', + 'title' => '资产地址簿,成员账号列表。', + 'description' => '资产地址簿,成员账号列表。', + 'type' => 'array', + 'items' => ['title' => '成员账号列表。', 'description' => '成员账号列表。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], 'required' => false, - 'example' => 'tr-uf6egtvyaedvt20xl****', ], ], ], @@ -10281,367 +9252,372 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'string', - 'example' => '6', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '1471E2EC-F706-5F11-A79B-BD583ACB8297', - ], - 'VpcTrFirewalls' => [ - 'description' => 'VPC边界防火墙列表。', + 'PageNo' => ['description' => '当前页面的页码。', 'type' => 'string', 'example' => '1'], + 'PageSize' => ['description' => '每页包含的地址簿的数量。', 'type' => 'string', 'example' => '10'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'B36F150A-1E27-43AA-B72C-D2AC712F09DA'], + 'TotalCount' => ['description' => '地址簿的总数量。', 'type' => 'string', 'example' => '100'], + 'Acls' => [ + 'description' => '地址簿列表。', 'type' => 'array', 'items' => [ - 'description' => 'VPC边界防火墙。', + 'description' => '地址簿信息。', 'type' => 'object', 'properties' => [ - 'CenId' => [ - 'description' => ' 云企业网实例的ID。 ', - 'type' => 'string', - 'example' => 'cen-03f8s0z052ka3v****', - ], - 'CenName' => [ - 'description' => '云企业网实例名称。', - 'type' => 'string', - 'example' => 'cen_swas', - ], - 'CloudFirewallVpcOrderType' => [ - 'description' => '防火墙VPC产生的TR费用付费方, 取值:'."\n" - ."\n" - .'- **PayByCloudFirewall**: 由云防火墙承担费用'."\n" - .'- **PayByCenOwner**: 由云企业网实例所属账号承担费用', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'PayByCenOwner', + 'AddressListCount' => ['description' => '地址簿中包含地址的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'GroupUuid' => ['description' => '地址簿的唯一标识ID。', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****'], + 'AutoAddTagEcs' => [ + 'description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['不自动添加', '自动添加'], + 'example' => '1', ], - 'FirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', + 'Description' => ['description' => '地址簿的描述信息。', 'type' => 'string', 'example' => 'DEMO'], + 'GroupName' => ['description' => '地址簿的名称。', 'type' => 'string', 'example' => 'demo_address_book'], + 'ReferenceCount' => ['description' => '地址簿被引用次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'GroupType' => [ + 'description' => '地址簿的类型。', 'type' => 'string', - 'example' => 'vfw-tr-99bc4f0fc88b4d00****', + 'enumValueTitles' => [ + 'tagPrivate' => 'ECS标签私网地址簿', 'backsrcIpv6' => 'IPv6回源地址簿', 'ackLabel' => 'ACK容器组标签地址簿', 'ip' => 'IPv4地址簿', 'cloudServiceDomain' => '云服务域名地址簿', 'cloud' => '云地址簿', 'backsrc' => 'IPv4回源地址簿', 'cloudDomain' => '云域名地址簿', 'port' => '端口地址簿', 'ipv6' => 'IPv6地址簿', + 'domain' => '域名地址簿', 'assetIpv6' => 'IPv6公网资产地址簿', 'ackNamespace' => 'ACK命名空间地址簿', 'tag' => 'ECS标签公网地址簿', 'threat' => '情报地址簿', 'asset' => 'IPv4公网资产地址簿', + ], + 'example' => 'ip', ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启'."\n" - ."\n" - .'- **closed**:已关闭'."\n" - ."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" - ."\n" - .'- **configured**:表示已配置VPC边界防火墙'."\n" - ."\n" - .'- **creating**:表示正在创建VPC边界防火墙'."\n" - ."\n" - .'- **opening**:表示正在开启VPC边界防火墙'."\n" - ."\n" - .'- **deleting**:表示正在删除VPC边界防火墙'."\n" - ."\n\n" - .'> 不设置该参数表示查询所有状态的VPC边界防火墙', + 'TagRelation' => [ + 'description' => '多个ECS标签间的关系。', 'type' => 'string', - 'example' => 'opened', + 'enumValueTitles' => ['or' => '多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', 'and' => '多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。'], + 'example' => 'and', ], - 'IpsConfig' => [ - 'description' => 'IPS配置信息。', - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开启状态'."\n" - ."\n" - .'- **0**:关闭状态', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开启状态'."\n" - .'- **0**:关闭状态', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RunMode' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式'."\n" - .'- **0**:观察模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'TagList' => [ + 'description' => 'ECS标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ECS标签。', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'ECS标签值。', 'type' => 'string', 'example' => 'ALL VALUE'], + 'TagKey' => ['description' => 'ECS标签键。', 'type' => 'string', 'example' => 'company'], ], ], ], - 'OwnerId' => [ - 'description' => 'VPC实例所属账号ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '171761785151****', - ], - 'PrecheckStatus' => [ - 'description' => '是否可以自动开墙。取值:'."\n" - ."\n" - .'- **passed**:可以自动开墙'."\n" - ."\n" - .'- **failed**:不可以自动开墙'."\n" - ."\n" - .'- **unknown**:未知状态', - 'type' => 'string', - 'example' => 'passed', + 'AddressList' => [ + 'description' => '地址簿的地址列表。', + 'type' => 'array', + 'items' => ['description' => '地址簿的地址信息。', 'type' => 'string', 'example' => '[ "192.168.XX.XX/32", "192.168.XX.XX/32" ]'], ], - 'ProtectedResource' => [ - 'description' => '已防护的资源列表。', - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => '已防护的资源个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EcrList' => [ - 'description' => '已防护的ECR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已防护的ECR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "ecr-d6yi3kl5qxmvkz****"'."\n" - .']', - ], - ], - 'PeerTrList' => [ - 'description' => '已防护的对端TR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已防护的对端TR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "tr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VbrList' => [ - 'description' => '已防护的VBR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已防护的VBR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "vbr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VpcList' => [ - 'description' => '已防护的VPC列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已防护的VPC列表。', - 'type' => 'string', - 'example' => '["vpc-2zegxdvs5f2je81ph****"]', - ], - ], - 'VpnList' => [ - 'description' => '已防护的VPN列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已防护的VPN列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "vpn-2zegxdvs5f2je81ph****"'."\n" - .']', - ], + 'Addresses' => [ + 'description' => '地址簿的含单地址描述的地址列表。', + 'type' => 'array', + 'items' => [ + 'description' => '地址簿的含单地址描述的地址。', + 'type' => 'object', + 'properties' => [ + 'Address' => ['description' => '地址簿的地址信息。', 'type' => 'string', 'example' => '192.168.0.1/32'], + 'Note' => ['description' => '单地址描述。', 'type' => 'string', 'example' => 'Single Address Description'], ], ], ], - 'RegionNo' => [ - 'description' => '转发路由器实例I的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'RegionStatus' => [ - 'description' => '地域开放状态。取值:'."\n" - ."\n" - .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙'."\n" - ."\n" - .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙', - 'type' => 'string', - 'example' => 'enable', - ], - 'ResultCode' => [ - 'description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" - ."\n" - .'- **RegionDisable**:表示网络实例所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙'."\n" - ."\n" - .'- **空字符串**,表示该网络实例可以正常创建VPC边界防火墙', - 'type' => 'string', - 'example' => ' RegionDisable', + 'AckClusterConnectorId' => ['title' => 'ACK集群连接器ID。', 'description' => 'ACK集群连接器ID。', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'AckClusterConnectorName' => ['title' => 'ACK集群连接器名称。', 'description' => 'ACK集群连接器名称。', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'AckLabels' => [ + 'title' => 'ACK集群容器组标签列表。', + 'description' => 'ACK集群容器组标签列表。', + 'type' => 'array', + 'items' => [ + 'title' => 'ACK集群容器组标签。', + 'description' => 'ACK集群容器组标签。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => 'ACK集群容器组标签的键。', 'description' => 'ACK集群容器组标签的键。', 'type' => 'string', 'example' => 'app'], + 'Value' => ['title' => 'ACK集群容器组标签的值。', 'description' => 'ACK集群容器组标签的值。', 'type' => 'string', 'example' => 'storage-operator'], + ], + ], ], - 'RouteMode' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **managed**:表示自动模式'."\n" - ."\n" - .'- **manual**:表示手动模式', - 'type' => 'string', - 'example' => 'managed', + 'AckNamespaces' => [ + 'title' => 'ACK集群容器组命名空间列表。', + 'description' => 'ACK集群容器组命名空间列表。', + 'type' => 'array', + 'items' => ['title' => 'ACK集群容器组命名空间。', 'description' => 'ACK集群容器组命名空间。', 'type' => 'string', 'example' => 'default'], ], - 'TransitRouterId' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'example' => 'tr-2vcmhjs88nil55fvu****', + 'RegionNo' => ['title' => '当GroupType是ACK地址簿时,地址簿仅在该地域的ACL策略生效。', 'description' => '当GroupType是ACK地址簿时,地址簿所属的ACK集群连接器的地域。', 'type' => 'string', 'example' => 'cn-beijing'], + 'AssetMemberUids' => [ + 'title' => '资产地址簿,成员账号列表。', + 'description' => '资产地址簿,成员账号列表。', + 'type' => 'array', + 'items' => ['title' => '成员账号列表。', 'description' => '成员账号列表。', 'type' => 'integer', 'format' => 'int64', 'example' => '13580xxxxxx6271'], ], - 'UnprotectedResource' => [ - 'description' => '未防护的资源列表。', - 'type' => 'object', - 'properties' => [ - 'Count' => [ - 'description' => '未防护的资源个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EcrList' => [ - 'description' => '未防护的ECR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未防护的ECR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "ecr-d6yi3kl5qxmvkz****"'."\n" - .']', - ], - ], - 'PeerTrList' => [ - 'description' => '未防护的对端TR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未防护的对端TR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "tr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VbrList' => [ - 'description' => '未防护的VBR列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未防护的VBR列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "vbr-2zegxdvs5f2je81ph****"'."\n" - .']', - ], - ], - 'VpcList' => [ - 'description' => '未防护的VPC列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未防护的VPC列表。', + 'AssetRegionResourceTypes' => [ + 'title' => '资产地址簿,地域和资源类型列表。', + 'description' => '资产地址簿,地域和资源类型列表。', + 'type' => 'array', + 'items' => [ + 'title' => '地域和资源类型列表。', + 'description' => '地域和资源类型列表。', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '资产地域ID。', + 'description' => '资产地域ID。', 'type' => 'string', - 'example' => '['."\n" - .' "vpc-2zegxdvs5f2je81ph****"'."\n" - .']', + 'enumValueTitles' => ['all' => '全部地域'], + 'example' => 'all', ], - ], - 'VpnList' => [ - 'description' => '未防护的VPN列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未防护的VPN列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "vpn-2zegxdvs5f2je81ph****"'."\n" - .']', + 'ResourceType' => [ + 'title' => '资产类型。', + 'description' => '资产类型。', + 'type' => 'object', + 'properties' => [ + 'Ipv4' => [ + 'title' => 'IPv4资产类型。', + 'description' => 'IPv4资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '资产类型:SlbEIP。', + 'description' => '资产类型:SlbEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '资产类型:NatPublicIP。', + 'description' => '资产类型:NatPublicIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '资产类型:BastionHostIngressIP。', + 'description' => '资产类型:BastionHostIngressIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '资产类型:EniEIP。', + 'description' => '资产类型:EniEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '资产类型:NlbEIP。', + 'description' => '资产类型:NlbEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '资产类型:ApigEIP。', + 'description' => '资产类型:ApigEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '资产类型:EcsPublicIP。', + 'description' => '资产类型:EcsPublicIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '资产类型:BastionHostIP。', + 'description' => '资产类型:BastionHostIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '资产类型:BastionHostEgressIP。', + 'description' => '资产类型:BastionHostEgressIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '资产类型:AlbEIP。', + 'description' => '资产类型:AlbEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '资产类型:GaEIP。', + 'description' => '资产类型:GaEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '资产类型:AIGatewayEIP。', + 'description' => '资产类型:AIGatewayEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '资产类型:EIP。', + 'description' => '资产类型:EIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '资产类型:NatEIP。', + 'description' => '资产类型:NatEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '资产类型:SlbPublicIP。', + 'description' => '资产类型:SlbPublicIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '资产类型:EcsEIP。', + 'description' => '资产类型:EcsEIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '资产类型:HAVIP。', + 'description' => '资产类型:HAVIP。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + ], + ], + 'Ipv6' => [ + 'title' => 'IPv6资产类型。', + 'description' => 'IPv6资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '资产类型:SlbIPv6。', + 'description' => '资产类型:SlbIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '资产类型:NlbIPv6。', + 'description' => '资产类型:NlbIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '资产类型:EniEIPv6。', + 'description' => '资产类型:EniEIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '资产类型:AlbIPv6。', + 'description' => '资产类型:AlbIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '资产类型:GaEIPv6。', + 'description' => '资产类型:GaEIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '资产类型:AIGatewayEIPv6。', + 'description' => '资产类型:AIGatewayEIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '资产类型:EcsIPv6。', + 'description' => '资产类型:EcsIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '资产类型:ApigEIPv6。', + 'description' => '资产类型:ApigEIPv6。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + ], + ], + ], ], ], ], ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'example' => 'VPC边界防火墙', - ], - 'AclConfig' => [ - 'description' => 'ACL引擎模式。', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式 '."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParametersGroupType', 'errorMessage' => 'The group type is invalid.', 'description' => '无效的group类型'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"B36F150A-1E27-43AA-B72C-D2AC712F09DA\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Acls\\": [\\n {\\n \\"AddressListCount\\": 2,\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AutoAddTagEcs\\": 1,\\n \\"Description\\": \\"DEMO\\",\\n \\"GroupName\\": \\"demo_address_book\\",\\n \\"ReferenceCount\\": 3,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"ALL VALUE\\",\\n \\"TagKey\\": \\"company\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"[ \\\\\\"192.168.XX.XX/32\\\\\\", \\\\\\"192.168.XX.XX/32\\\\\\" ]\\"\\n ],\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.168.0.1/32\\",\\n \\"Note\\": \\"Single Address Description\\"\\n }\\n ],\\n \\"AckClusterConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"AckClusterConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetMemberUids\\": [\\n 0\\n ],\\n \\"AssetRegionResourceTypes\\": [\\n {\\n \\"AssetRegionId\\": \\"all\\",\\n \\"ResourceType\\": {\\n \\"Ipv4\\": {\\n \\"SlbEIP\\": true,\\n \\"NatPublicIP\\": false,\\n \\"BastionHostIngressIP\\": false,\\n \\"EniEIP\\": false,\\n \\"NlbEIP\\": false,\\n \\"ApiGatewayEIP\\": false,\\n \\"EcsPublicIP\\": false,\\n \\"BastionHostIP\\": false,\\n \\"BastionHostEgressIP\\": false,\\n \\"AlbEIP\\": false,\\n \\"GaEIP\\": false,\\n \\"AiGatewayEIP\\": false,\\n \\"EIP\\": false,\\n \\"NatEIP\\": false,\\n \\"SlbPublicIP\\": false,\\n \\"EcsEIP\\": false,\\n \\"HAVIP\\": false\\n },\\n \\"Ipv6\\": {\\n \\"SlbIPv6\\": false,\\n \\"NlbIPv6\\": false,\\n \\"EniEIPv6\\": false,\\n \\"AlbIPv6\\": false,\\n \\"GaEIPv6\\": false,\\n \\"AiGatewayEIPv6\\": false,\\n \\"EcsIPv6\\": false,\\n \\"ApiGatewayEIPv6\\": false\\n }\\n }\\n }\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n B36F150A-1E27-43AA-B72C-D2AC712F09DA\\n 100\\n \\n 2\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n 1\\n DEMO地址簿\\n demo_address_book\\n 3\\n ip\\n and\\n \\n 全部VALUE\\n company\\n \\n [ \\"192.168.XX.XX/32\\", \\"192.168.XX.XX/32\\" ]\\n \\n","errorExample":""}]', + 'title' => '批量查询地址簿列表', + 'description' => '本接口一般用于查询访问控制策略地址簿的详细信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-12-30T03:12:26.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-11-21T08:54:47.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-27T08:09:23.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-06-02T02:31:29.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-01-21T03:16:19.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-10-18T06:47:41.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"6\\",\\n \\"RequestId\\": \\"1471E2EC-F706-5F11-A79B-BD583ACB8297\\",\\n \\"VpcTrFirewalls\\": [\\n {\\n \\"CenId\\": \\"cen-03f8s0z052ka3v****\\",\\n \\"CenName\\": \\"cen_swas\\",\\n \\"CloudFirewallVpcOrderType\\": \\"PayByCenOwner\\",\\n \\"FirewallId\\": \\"vfw-tr-99bc4f0fc88b4d00****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RuleClass\\": 3,\\n \\"RunMode\\": 1\\n },\\n \\"OwnerId\\": 0,\\n \\"PrecheckStatus\\": \\"passed\\",\\n \\"ProtectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResultCode\\": \\" RegionDisable\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"TransitRouterId\\": \\"tr-2vcmhjs88nil55fvu****\\",\\n \\"UnprotectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\n \\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"VpcFirewallName\\": \\"VPC边界防火墙\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取云企业网(企业版)防火墙列表', - ], - 'DescribeTrFirewallsV2Detail' => [ - 'summary' => '获取TR防火墙详情。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], + ], ], + ], + 'DescribeAssetList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10653,38 +9629,131 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142863', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'FirewallId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-a5a6b89f46764928****', - ], + 'schema' => ['description' => '分页查询时,设置当前页的页码。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含云防火墙防护资产的数量。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '云防火墙所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '云防火墙状态。取值:'."\n" + ."\n" + .'- **open**:保护中。'."\n" + .'- **opening**:保护开启中。'."\n" + .'- **closed**:保护未开启。'."\n" + .'- **closing**:保护关闭中。'."\n" + ."\n" + .'>不设置该参数表示查询所有防火墙状态。', 'type' => 'string', 'required' => false, 'example' => 'open'], + ], + [ + 'name' => 'SearchItem', + 'in' => 'query', + 'schema' => ['description' => '资产的IP或者实例ID。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => '本参数已废弃。', 'type' => 'string', 'required' => false, 'example' => 'eip', 'deprecated' => true], + ], + [ + 'name' => 'ResourceType', + 'in' => 'query', + 'schema' => ['description' => '资产类型。取值:'."\n" + ."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。', 'type' => 'string', 'required' => false, 'example' => 'EIP'], + ], + [ + 'name' => 'SgStatus', + 'in' => 'query', + 'schema' => ['description' => '安全组策略状态。取值:'."\n" + ."\n" + .'- **pass**:已下发。'."\n" + .'- **block**:未下发。'."\n" + .'- **unsupport**:不支持。'."\n" + .'>不设置该参数表示查询所有安全组策略状态。', 'type' => 'string', 'required' => false, 'example' => 'pass'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => '云防火墙防护的资产的IP版本。取值:'."\n" + ."\n" + .'- **4**(默认):IPv4。'."\n" + .'- **6**:IPv6。', 'type' => 'string', 'required' => false, 'example' => '4'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => ['description' => '用户类型。取值:'."\n" + ."\n" + .'- **buy**(默认):付费用户。'."\n" + .'- **free**:免费用户。', 'type' => 'string', 'required' => false, 'example' => 'buy'], + ], + [ + 'name' => 'NewResourceTag', + 'in' => 'query', + 'schema' => ['description' => '资产发现的时间。取值:'."\n" + .'- **discovered in 1 hour**:资产是1小时内新增的。'."\n" + .'- **discovered in 1 day**:资产是1天内新增的。'."\n" + .'- **discovered in 7 days**:资产是7天内新增的。', 'type' => 'string', 'required' => false, 'example' => 'discovered in 1 hour'], + ], + [ + 'name' => 'OutStatistic', + 'in' => 'query', + 'schema' => ['description' => '是否查询外联流量信息。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'SensitiveStatus', + 'in' => 'query', + 'schema' => ['description' => '数据泄漏检测开启状态。', 'type' => 'string', 'required' => false, 'example' => 'open'], ], ], 'responses' => [ @@ -10692,196 +9761,146 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallName' => [ - 'description' => 'VPC边界防火墙实例名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-manual', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B', - ], - 'FirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-9c7c711abdfa4d80****', - ], - 'FirewallStatus' => [ - 'description' => '防火墙状态。取值:'."\n" - ."\n" - .'- Creating:创建中'."\n" - ."\n" - .'- Deleting:删除中'."\n" - ."\n" - .'- Ready:就绪', - 'type' => 'string', - 'example' => 'Ready', - ], - 'CenId' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'example' => 'cen-37nddhri7jf0d2****', - ], - 'TransitRouterId' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'example' => 'tr-wz9y8sgug8b1xb416****', - ], - 'RegionNo' => [ - 'description' => '转发路由器实例I的地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'FirewallEniId' => [ - 'description' => '防火墙ENI ID。', - 'type' => 'string', - 'example' => 'eni-uf621u00nafypeex****', - ], - 'FirewallEniVpcId' => [ - 'description' => '防火墙ENI 所在的VPC ID。', - 'type' => 'string', - 'example' => 'vpc-2zeppcci782zeh2bk****', - ], - 'FirewallEniVswitchId' => [ - 'description' => '防火墙ENI 所在的VSWITCH ID。', - 'type' => 'string', - 'example' => 'vsw-uf6ptq1kl1c1d9pw9****', - ], - 'FirewallDescription' => [ - 'description' => '防火墙描述。', - 'type' => 'string', - 'example' => 'VPC边界防火墙', - ], - 'RouteMode' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **managed**:表示自动模式'."\n" - ."\n" - .'- **manual**:表示手动模式', - 'type' => 'string', - 'example' => 'managed', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启'."\n" - ."\n" - .'- **closed**:已关闭'."\n" - ."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" - ."\n" - .'- **configured**:表示已配置VPC边界防火墙'."\n" - ."\n" - .'- **creating**:表示正在创建VPC边界防火墙'."\n" - ."\n" - .'- **opening**:表示正在开启VPC边界防火墙'."\n" - ."\n" - .'- **deleting**:表示正在删除VPC边界防火墙'."\n" - ."\n\n" - .'> 不设置该参数表示查询所有状态的VPC边界防火墙', - 'type' => 'string', - 'example' => 'opened', - ], - 'FirewallVpcCidr' => [ - 'description' => '自动模式下防火墙VPC网段。', - 'type' => 'string', - 'example' => '10.0.0.0/16', - ], - 'FirewallSubnetCidr' => [ - 'description' => '自动模式下防火墙VPC中存放防火墙ENI的子网网段。', - 'type' => 'string', - 'example' => '10.0.1.0/24', - ], - 'TrAttachmentMasterCidr' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网主用网段。', - 'type' => 'string', - 'example' => '10.0.2.0/24', - ], - 'TrAttachmentSlaveZone' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网备用可用区。', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'TrAttachmentSlaveCidr' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网备用网段。', - 'type' => 'string', - 'example' => '10.0.3.0/24', - ], - 'TrAttachmentMasterZone' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网主用可用区。', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'TrAttachmentId' => [ - 'description' => '自动模式下防火墙 VPC 中用于连接 TR 的关联Id。', - 'type' => 'string', - 'example' => 'tr-attach-r1llaxxeha71jsm36v', + 'TotalCount' => ['description' => '云防火墙防护的资产总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + 'Assets' => [ + 'description' => '云防火墙防护的资产信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => '资产的风险级别。取值:'."\n" + ."\n" + .'- **low**:低风险。'."\n" + ."\n" + .'- **middle**:中风险。'."\n" + ."\n" + .'- **hight**:高风险。'."\n" + ."\n" + .'> 仅当UserType的值为free时,才会返回该参数。', 'type' => 'string', 'example' => 'low'], + 'BindInstanceName' => ['description' => '绑定资产实例名称。', 'type' => 'string', 'example' => 'instance01'], + 'Type' => ['description' => '该参数已废弃。', 'type' => 'string', 'example' => 'eip', 'deprecated' => true], + 'SgStatusTime' => ['description' => '最近一次安全组状态检测时间,使用时间戳格式。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1615082937'], + 'ResourceInstanceId' => ['description' => '资产实例ID。', 'type' => 'string', 'example' => 'i-8vbdrjrxzt78****'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****'], + 'IntranetAddress' => ['description' => '服务器内网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'SyncStatus' => ['description' => '资产引流支持状态。取值:'."\n" + ."\n" + .'- **enable**:支持引流。'."\n" + .'- **disable**:不支持引流。'."\n", 'type' => 'string', 'example' => 'enable'], + 'AliUid' => ['description' => '阿里云账号的UID。'."\n" + ."\n" + .'> 云防火墙成员账号的主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****'], + 'ProtectStatus' => ['description' => '防火墙状态。取值:'."\n" + ."\n" + .'- **open**:保护中。'."\n" + .'- **opening**:保护开启中。'."\n" + .'- **closed**:未受保护。'."\n" + .'- **closing**:保护关闭中。'."\n", 'type' => 'string', 'example' => 'open'], + 'InternetAddress' => ['description' => '服务器公网IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'BindInstanceId' => ['description' => '绑定资产实例ID。', 'type' => 'string', 'example' => 'i-8vbdrjrxzt78****'], + 'RegionID' => ['description' => '资产所在的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'RegionStatus' => ['description' => '资产所在地域是否支持开启云防火墙防护状态。取值:'."\n" + ."\n" + .'- **enable**:支持。'."\n" + .'- **disable**:不支持。'."\n", 'type' => 'string', 'example' => 'enable'], + 'ResourceType' => ['description' => '资产类型。取值:'."\n" + ."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。', 'type' => 'string', 'example' => 'EIP'], + 'IpVersion' => ['description' => '云防火墙防护的资产的IP地址版本。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **4**:表示IPv4地址。'."\n" + ."\n" + .'- **6**:表示IPv6地址。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'SgStatus' => ['description' => '安全组策略。取值:'."\n" + ."\n" + .'- **pass**:已下发。'."\n" + .'- **block**:未下发。'."\n" + .'- **unsupport**:不支持。', 'type' => 'string', 'example' => 'block'], + 'Note' => ['description' => '资产的备注信息。取值:'."\n" + ."\n" + .'- **REGION\\_NOT\\_SUPPORT**:地域不支持。'."\n" + .'- **NETWORK\\_NOT\\_SUPPORT**:网络不支持。', 'type' => 'string', 'example' => 'REGION_NOT_SUPPORT'], + 'Name' => ['description' => '云防火墙防护的资产的实例名称。', 'type' => 'string', 'example' => 'instance01'], + 'CreateTimeStamp' => ['description' => '云防火墙发现资产的时间。时间格式为YYYY-MM-DD HH:mm:ss。', 'type' => 'string', 'example' => '2023-02-28 10:29:58'], + 'NewResourceTag' => ['description' => '资产发现的时间。取值:'."\n" + .'- **discovered in 1 hour**:资产是1小时内新增的。'."\n" + .'- **discovered in 1 day**:资产是1天内新增的。'."\n" + .'- **discovered in 7 days**:资产是7天内新增的。', 'type' => 'string', 'example' => 'discovered in 1 hour'], + 'SensitiveDataStatus' => ['description' => '数据泄漏检测开启状态。', 'type' => 'string', 'example' => 'open'], + 'Last7DayOutTrafficBytes' => ['description' => '近7日外联流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询云防火墙防护的资产的信息', + 'summary' => '查询云防火墙防护的资产的信息。', + 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-11-13T11:10:41.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-11-13T03:49:46.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-08-29T10:57:57.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallName\\": \\"cloudfirewall-manual\\",\\n \\"RequestId\\": \\"7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B\\",\\n \\"FirewallId\\": \\"vfw-tr-9c7c711abdfa4d80****\\",\\n \\"FirewallStatus\\": \\"Ready\\",\\n \\"CenId\\": \\"cen-37nddhri7jf0d2****\\",\\n \\"TransitRouterId\\": \\"tr-wz9y8sgug8b1xb416****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallEniId\\": \\"eni-uf621u00nafypeex****\\",\\n \\"FirewallEniVpcId\\": \\"vpc-2zeppcci782zeh2bk****\\",\\n \\"FirewallEniVswitchId\\": \\"vsw-uf6ptq1kl1c1d9pw9****\\",\\n \\"FirewallDescription\\": \\"VPC边界防火墙\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"FirewallVpcCidr\\": \\"10.0.0.0/16\\",\\n \\"FirewallSubnetCidr\\": \\"10.0.1.0/24\\",\\n \\"TrAttachmentMasterCidr\\": \\"10.0.2.0/24\\",\\n \\"TrAttachmentSlaveZone\\": \\"cn-hangzhou-i\\",\\n \\"TrAttachmentSlaveCidr\\": \\"10.0.3.0/24\\",\\n \\"TrAttachmentMasterZone\\": \\"cn-hangzhou-h\\",\\n \\"TrAttachmentId\\": \\"tr-attach-r1llaxxeha71jsm36v\\"\\n}","type":"json"}]', - 'title' => '获取TR防火墙详情', - ], - 'DescribeTrFirewallsV2RouteList' => [ - 'summary' => '获取TR防火墙路由表列表。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Assets\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"BindInstanceName\\": \\"instance01\\",\\n \\"Type\\": \\"eip\\",\\n \\"SgStatusTime\\": 1615082937,\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"MemberUid\\": 0,\\n \\"IntranetAddress\\": \\"192.168.XX.XX\\",\\n \\"SyncStatus\\": \\"enable\\",\\n \\"AliUid\\": 0,\\n \\"ProtectStatus\\": \\"open\\",\\n \\"InternetAddress\\": \\"192.0.XX.XX\\",\\n \\"BindInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionID\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResourceType\\": \\"EIP\\",\\n \\"IpVersion\\": 4,\\n \\"SgStatus\\": \\"block\\",\\n \\"Note\\": \\"REGION_NOT_SUPPORT\\",\\n \\"Name\\": \\"instance01\\",\\n \\"CreateTimeStamp\\": \\"2023-02-28 10:29:58\\",\\n \\"NewResourceTag\\": \\"discovered in 1 hour\\",\\n \\"SensitiveDataStatus\\": \\"open\\",\\n \\"Last7DayOutTrafficBytes\\": 0\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 12\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n low\\n instance01\\n eip\\n 1615082937\\n i-8vbdrjrxzt78****\\n 192.168.XX.XX\\n enable\\n open\\n 192.0.XX.XX\\n i-8vbdrjrxzt78****\\n cn-hangzhou\\n enable\\n EIP\\n 4\\n block\\n REGION_NOT_SUPPORT\\n instance01\\n \\n","errorExample":""}]', + ], + 'DescribeAssetRiskList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -10893,64 +9912,53 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142865', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68205', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-8bcfa0f2f12d411e****', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.100.XX.XX'], ], [ - 'name' => 'TrFirewallRoutePolicyId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'policy-7d5c672e37ee4175****', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'CurrentPage', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页码。默认值为1。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '云防火墙防护的资产的IP版本。'."\n" + ."\n\n" + .'取值:'."\n" + ."\n" + .'- **4**(默认):IpV4'."\n" + ."\n" + .'- **6**:IpV6', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '4'], ], [ - 'name' => 'PageSize', + 'name' => 'IpAddrList', 'in' => 'query', + 'allowEmptyValue' => false, + 'style' => 'flat', 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', - 'type' => 'string', + 'description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" + ."\n" + .'>- IPv4举例:47.97.XX.XX。'."\n" + .'>- IPv6举例:2001:db8:ffff:ffff:ffff:XXXX:ffff。', + 'type' => 'array', + 'items' => ['description' => '待查询的IP地址列表参数,IP地址之间用半角逗号(,)分隔,一次性最多查询20个IP地址。'."\n" + ."\n" + .'>- IPv4举例:47.97.XX.XX。'."\n" + .'>- IPv6举例:2001:db8:ffff:ffff:ffff:XXXX:ffff。', 'type' => 'string', 'required' => false, 'example' => '47.97.XX.XX'], 'required' => false, - 'example' => '10', + 'docRequired' => true, + 'maxItems' => 200, ], ], ], @@ -10959,97 +9967,70 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallRouteDetailList' => [ - 'description' => '云防火墙路由表列表。', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '443C5781-1C03-5FCD-8EC5-FB9C0B9AC396'], + 'AssetList' => [ + 'description' => '返回的资产详情。', 'type' => 'array', 'items' => [ - 'description' => '云防火墙路由表。', + 'description' => '返回的资产详情。', 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'example' => 'policy-04ecbbc6720d4f90****', - ], - 'TrFirewallRouteTableId' => [ - 'description' => '路由所属路由表的ID。', - 'type' => 'string', - 'example' => 'vtb-2zeockxxxorv0mnhz****', - ], - 'TrFirewallRouteDestination' => [ - 'description' => '路由目的地址。', - 'type' => 'string', - 'example' => '192.168.10.0/25', - ], - 'TrFirewallRouteNexthop' => [ - 'description' => '路由下一跳ID。', - 'type' => 'string', - 'example' => 'tr-attach-hnxab1y0pxn16p****', - ], + 'RiskLevel' => ['description' => '风险等级。取值:'."\n" + .'- **low**:低风险'."\n" + .'- **middle**:中风险'."\n" + .'- **high**:高风险', 'type' => 'string', 'example' => 'low'], + 'Ip' => ['description' => '服务器IP。', 'type' => 'string', 'example' => '39.108.XX.XX'], + 'IpVersion' => ['description' => '云防火墙防护的资产的IP地址版本。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **4**:表示IPv4地址。'."\n" + ."\n" + .'- **6**:表示IPv6地址。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'Reason' => ['description' => '风险原因。', 'type' => 'string', 'example' => 'other'], ], ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'ABF190A2-B4D0-53F6-995A-5690A721F91C', - ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallRouteDetailList\\": [\\n {\\n \\"TrFirewallRoutePolicyId\\": \\"policy-04ecbbc6720d4f90****\\",\\n \\"TrFirewallRouteTableId\\": \\"vtb-2zeockxxxorv0mnhz****\\",\\n \\"TrFirewallRouteDestination\\": \\"192.168.10.0/25\\",\\n \\"TrFirewallRouteNexthop\\": \\"tr-attach-hnxab1y0pxn16p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"ABF190A2-B4D0-53F6-995A-5690A721F91C\\"\\n}","type":"json"}]', - 'title' => '获取TR防火墙路由表列表', - ], - 'DescribeTrFirewallV2RoutePolicyList' => [ - 'summary' => '获取TR防火墙路由策略列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取资产风险等级列表', + 'summary' => '获取资产风险等级列表。', + 'changeSet' => [ + ['createdAt' => '2024-08-20T08:17:59.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetRiskList'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetRiskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"443C5781-1C03-5FCD-8EC5-FB9C0B9AC396\\",\\n \\"AssetList\\": [\\n {\\n \\"RiskLevel\\": \\"low\\",\\n \\"Ip\\": \\"39.108.XX.XX\\",\\n \\"IpVersion\\": 4,\\n \\"Reason\\": \\"other\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeAssetStatistic' => [ + 'summary' => '查询云防火墙防护的资产的统计信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11061,223 +10042,138 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142849', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68206', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-d5ba592ac6c84aff****', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '112.239.XX.XX'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页码。默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '语言', 'description' => '指定请求和接收消息的语言类型。-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PolicyId', + 'name' => 'Lang', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'policy-7b66257c14e141fb****', - ], + 'schema' => ['title' => '语言', 'description' => '指定请求和接收消息的语言类型。-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => '返回对象', + 'description' => '返回对象', 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicies' => [ - 'description' => '防火墙路由策略列表。', - 'type' => 'array', - 'items' => [ - 'description' => '防火墙路由策略。', - 'type' => 'object', - 'properties' => [ - 'PolicyType' => [ - 'description' => 'VPC边界防火墙云企业网企业版引流场景类型。取值:'."\n" - ."\n" - .'- **fullmesh**:多点间互联'."\n" - ."\n" - .'- **one_to_one**:点到点'."\n" - ."\n" - .'- **end_to_end**:点到多点', - 'type' => 'string', - 'example' => 'fullmesh', - ], - 'PolicyName' => [ - 'description' => '策略名称。', - 'type' => 'string', - 'example' => '新加坡点到多点', - ], - 'PolicyDescription' => [ - 'description' => '策略描述。', - 'type' => 'string', - 'example' => '点到多点', - ], - 'SrcCandidateList' => [ - 'description' => '主引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '主引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'example' => 'VPC', - ], + 'AutoResourceEnable' => ['description' => '是否开启自动引流。取值:-**true**:开启-**false**:关闭', 'type' => 'boolean', 'example' => 'true'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '850A84******25g4d2'], + 'ResourceSpecStatistic' => [ + 'title' => '区域规格', + 'description' => '规格占用统计信息。', + 'type' => 'object', + 'properties' => [ + 'IpNumUsed' => ['title' => 'IP使用数量', 'description' => '公网IP开启保护数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'IpNumSpec' => ['title' => 'IP规格', 'description' => '公网IP保护规格数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'SensitiveDataIpNumSpec' => ['description' => '敏感数据IP规格数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'SensitiveDataIpNumUsed' => ['description' => '敏感数据IP开启数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], + 'GeneralInstanceSpecStatistic' => [ + 'title' => '售卖2.0通用实例规格', + 'description' => '售卖2.0通用实例规格', + 'type' => 'object', + 'properties' => [ + 'TotalGeneralInstanceUsedCnt' => ['title' => '总规格', 'description' => '总规格', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCfwGeneralInstanceUsedCnt' => ['title' => '互联网墙开启实例数量', 'description' => '互联网墙开启实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalVfwGeneralInstanceUsedCnt' => ['title' => 'vpc墙开启实例数量', 'description' => 'vpc墙开启实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNatGeneralInstanceUsedCnt' => ['title' => 'nat墙开启实例数量', 'description' => 'nat墙开启实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalCfwGeneralInstanceCnt' => ['title' => '互联网墙所有实例数量', 'description' => '互联网墙所有实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalNatGeneralInstanceCnt' => ['title' => 'nat墙所有实例数量', 'description' => 'nat墙所有实例数量', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'CfwGeneralInstanceRegionStatistic' => [ + 'title' => '互联网墙地域已使用规格统计', + 'description' => '互联网墙地域规格统计', + 'type' => 'array', + 'items' => [ + 'title' => '互联网墙地域规格统计详情', + 'description' => '互联网墙地域规格统计详情', + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['title' => '地域信息', 'description' => '地域信息', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'MemberList' => [ + 'title' => '地域成员列表', + 'description' => '地域成员列表', + 'type' => 'array', + 'items' => ['title' => '地域成员', 'description' => '地域成员', 'type' => 'string', 'example' => '123'], ], ], ], - 'DestCandidateList' => [ - 'description' => '子引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '子引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'example' => 'VPC', - ], + ], + 'CfwTotalGeneralInstanceRegionStatistic' => [ + 'title' => '互联网墙地域全量规格统计', + 'description' => '互联网墙地域全量规格统计', + 'type' => 'array', + 'items' => [ + 'title' => '互联网墙地域规格统计详情', + 'description' => '互联网墙地域规格统计详情', + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['title' => '地域信息', 'description' => '地域信息', 'type' => 'string', 'example' => 'cn-shanghai'], + 'MemberList' => [ + 'title' => '地域成员列表', + 'description' => '地域成员列表', + 'type' => 'array', + 'items' => ['title' => '地域成员', 'description' => '地域成员', 'type' => 'string', 'example' => '123'], ], ], ], - 'TrFirewallRoutePolicyId' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'example' => 'policy-7b66257c14e141fb****', - ], - 'PolicyStatus' => [ - 'description' => '策略状态。取值:'."\n" - ."\n" - .'- creating:创建中'."\n" - ."\n" - .'- deleting:删除中'."\n" - ."\n" - .'- opening:开启中'."\n" - ."\n" - .'- opened:已开启'."\n" - ."\n" - .'- closing:关闭中'."\n" - ."\n" - .'- closed:已关闭', - 'type' => 'string', - 'example' => 'opened', - ], ], ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '95EB5F3A-67FE-5780-92BD-5ECBA772AB7E', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'string', - 'example' => '1', - ], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取资产统计信息', + 'changeSet' => [ + ['createdAt' => '2024-12-05T03:48:21.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-11-13T03:49:46.000Z', 'description' => '响应参数发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicies\\": [\\n {\\n \\"PolicyType\\": \\"fullmesh\\",\\n \\"PolicyName\\": \\"新加坡点到多点\\",\\n \\"PolicyDescription\\": \\"点到多点\\",\\n \\"SrcCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"DestCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"TrFirewallRoutePolicyId\\": \\"policy-7b66257c14e141fb****\\",\\n \\"PolicyStatus\\": \\"opened\\"\\n }\\n ],\\n \\"RequestId\\": \\"95EB5F3A-67FE-5780-92BD-5ECBA772AB7E\\",\\n \\"TotalCount\\": \\"1\\"\\n}","type":"json"}]', - 'title' => '获取TR防火墙路由策略列表', - ], - 'DescribeTrFirewallPolicyBackUpAssociationList' => [ - 'summary' => '获取TR防火墙ACL备份。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetStatistic'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AutoResourceEnable\\": true,\\n \\"RequestId\\": \\"850A84******25g4d2\\",\\n \\"ResourceSpecStatistic\\": {\\n \\"IpNumUsed\\": 10,\\n \\"IpNumSpec\\": 20,\\n \\"SensitiveDataIpNumSpec\\": 0,\\n \\"SensitiveDataIpNumUsed\\": 0\\n },\\n \\"GeneralInstanceSpecStatistic\\": {\\n \\"TotalGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalVfwGeneralInstanceUsedCnt\\": 1,\\n \\"TotalNatGeneralInstanceUsedCnt\\": 1,\\n \\"TotalCfwGeneralInstanceCnt\\": 1,\\n \\"TotalNatGeneralInstanceCnt\\": 1,\\n \\"CfwGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ],\\n \\"CfwTotalGeneralInstanceRegionStatistic\\": [\\n {\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberList\\": [\\n \\"123\\"\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeAttackAppCategory' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -11286,179 +10182,83 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '150101', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-8b268ce1b26e4c68****', - ], - ], - [ - 'name' => 'TrFirewallRoutePolicyId', - 'in' => 'query', - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'policy-5dcafb12ff794a56****', - ], - ], - [ - 'name' => 'CandidateList', - 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '引流实例列表', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9grb8ng3y7h7lf2****'."\n", - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'PolicyAssociationBackupConfigs' => [ - 'description' => '恢复路由表列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558FE****'], + 'AppCategories' => [ + 'description' => '攻击应用类别列表。', 'type' => 'array', 'items' => [ - 'description' => '恢复路由表。', + 'description' => '攻击应用类别。', 'type' => 'object', 'properties' => [ - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'example' => 'VPC', - ], - 'CandidateId' => [ - 'description' => '引流实例ID。', - 'type' => 'string', - 'example' => 'vpc-wz9grb8ng3y7h7lf2****', - ], - 'OriginalRouteTableId' => [ - 'description' => '恢复路由表ID。', - 'type' => 'string', - 'example' => 'vtb-wz9slp3s7m4qrzvnq****', - ], - 'CurrentRouteTableId' => [ - 'description' => '引流后路由表。', - 'type' => 'string', - 'example' => 'vtb-wz9898grickmh5j09****', - ], - 'CandidateName' => [ - 'description' => '引流实例名称。', - 'type' => 'string', - 'example' => 'VPC引流实例', + 'AttackApps' => [ + 'description' => '攻击应用列表。', + 'type' => 'array', + 'items' => ['description' => '攻击应用。', 'type' => 'string', 'example' => 'Nacos'], ], + 'CategoryName' => ['description' => '攻击应用类别名称。', 'type' => 'string', 'example' => 'test'], ], ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C264A756-9B48-57E3-B312-716941E146C6', - ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询攻击类别列表', + 'summary' => '查询攻击类别列表', + 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAttackAppCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PolicyAssociationBackupConfigs\\": [\\n {\\n \\"CandidateType\\": \\"VPC\\",\\n \\"CandidateId\\": \\"vpc-wz9grb8ng3y7h7lf2****\\",\\n \\"OriginalRouteTableId\\": \\"vtb-wz9slp3s7m4qrzvnq****\\",\\n \\"CurrentRouteTableId\\": \\"vtb-wz9898grickmh5j09****\\",\\n \\"CandidateName\\": \\"VPC引流实例\\"\\n }\\n ],\\n \\"RequestId\\": \\"C264A756-9B48-57E3-B312-716941E146C6\\"\\n}","type":"json"}]', - 'title' => '获取TR防火墙恢复路由表', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE****\\",\\n \\"AppCategories\\": [\\n {\\n \\"AttackApps\\": [\\n \\"Nacos\\"\\n ],\\n \\"CategoryName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeTransitRouterResourcesList' => [ - 'summary' => '查询TR交换机资源列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeBatchSlsDispatchStatus' => [ + 'summary' => '查询日志投递状态状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -11470,90 +10270,33 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '143494', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68214', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '云企业网Id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-djz1i6p8shzioz****', - ], - ], - [ - 'name' => 'TransitRouterId', - 'in' => 'query', - 'schema' => [ - 'description' => '转发路由器ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-2zefgvkcl2qcexbb7****', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-741de4c8956341****', - ], - ], - [ - 'name' => 'ResourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '资产类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'VBR' => 'VBR', - 'VPC' => 'VPC', - 'TR' => 'TR', - 'CCN' => 'CCN', - ], - 'example' => 'TR', - ], - ], - [ - 'name' => 'VpcId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC实例ID。', + 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'vpc-wz9lllsbftdm0svpj****', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], ], @@ -11562,909 +10305,773 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A61A2516-0A22-5B3F-986B-3D4BF2A****', - ], - 'TransitRouterAttachedResources' => [ - 'description' => 'TR交换机资源列表。', + 'RequestId' => ['title' => '返回结果的请求id。', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '7036EBAB-F85F-5AAE-976F-C75AEE59****'], + 'LogstoreName' => ['title' => '日志服务的logStore名称。', 'description' => '日志服务的日志库名称。', 'type' => 'string', 'example' => 'rs-stats'], + 'ProjectName' => ['title' => '日志服务的project。', 'description' => '日志服务的Project名称。', 'type' => 'string', 'example' => 'cloudfirewallnew-project-199053910542****-cn-hangzhou'], + 'ItemList' => [ + 'title' => '日志投递配置详情。', + 'description' => '日志服务列表。', 'type' => 'array', 'items' => [ - 'description' => 'TR交换机资源列表。', + 'title' => '日志投递配置详情。', + 'description' => '日志服务列表。', 'type' => 'object', 'properties' => [ - 'ResourceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'eas-r-8k1a6jjofkp0cq****', - ], - 'ResourceType' => [ - 'description' => '资产类型。', - 'type' => 'string', - 'example' => 'VPC', + 'DispatchName' => ['title' => '投递类型中文名称。', 'description' => '投递名称。', 'type' => 'string', 'example' => 'internet-traffic-log'], + 'DispatchValue' => ['title' => '分类日志的key。取值:'."\n" + ."\n" + .'**internet_log**'."\n" + ."\n" + .'**vpc_firewall_log**'."\n" + ."\n" + .'**nat_firewall_log**'."\n" + ."\n" + .'**ipv6_firewall_log**'."\n" + ."\n" + .'**dns_firewall_log**。', 'description' => '投递日志的值。', 'type' => 'string', 'example' => 'internet_log'], + 'SearchName' => ['title' => '固定为log_type,无需关注。', 'description' => '搜索类型的名称。', 'type' => 'string', 'example' => 'log_type'], + 'Enable' => ['title' => '该投递类型开关情况。', 'description' => '投递状态。', 'type' => 'boolean', 'example' => 'true'], + 'ConfigStatus' => ['title' => '配置状态。', 'description' => '投递配置状态。', 'type' => 'string', 'example' => 'success_finished'], + 'FilterKeys' => [ + 'title' => '互联网和VPC的详细投递配置。', + 'description' => '支持的过滤条件。', + 'type' => 'array', + 'items' => [ + 'title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', + 'description' => '支持的过滤条件。', + 'type' => 'string', + 'enumValueTitles' => ['other' => '其他', 'attack' => '攻击', 'acl' => 'ACL'], + 'example' => 'attack', + ], ], - 'ResourceName' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'example' => 'test', + ], + ], + ], + 'LogVersion' => ['title' => '日志版本,1代表只有1个logStore,2代表有2个。', 'description' => '日志版本,1代表只有1个logStore,2代表有2个。', 'type' => 'string', 'example' => '1'], + 'InfoList' => [ + 'title' => 'logStore的详细信息列表', + 'description' => 'logStore的详细信息列表', + 'type' => 'array', + 'items' => [ + 'title' => '信息列表。', + 'description' => '信息列表。', + 'type' => 'object', + 'properties' => [ + 'LogstoreName' => ['title' => '日志服务的logStore名称。', 'description' => '日志服务的logStore名称。', 'type' => 'string', 'example' => 'cloudfirewall-logstore'], + 'ProjectName' => ['title' => '日志服务的Project名称。', 'description' => '日志服务的Project名称。', 'type' => 'string', 'example' => 'cloudfirewall-project-1204872307283650-cn-hangzhou'], + 'ItemList' => [ + 'title' => '日志投递配置详情。', + 'description' => '日志投递配置详情。', + 'type' => 'array', + 'items' => [ + 'title' => '日志投递配置详情。', + 'description' => '日志投递配置详情。', + 'type' => 'object', + 'properties' => [ + 'DispatchName' => ['title' => '投递类型中文名称。', 'description' => '投递类型中文名称。', 'type' => 'string', 'example' => 'internet-traffic-log'], + 'DispatchValue' => ['title' => '分类日志的key。取值:'."\n" + ."\n" + .'**internet_log**'."\n" + ."\n" + .'**vpc_firewall_log**'."\n" + ."\n" + .'**nat_firewall_log**'."\n" + ."\n" + .'**ipv6_firewall_log**'."\n" + ."\n" + .'**dns_firewall_log**', 'description' => '分类日志的key。取值:'."\n" + ."\n" + .'**internet_log**'."\n" + ."\n" + .'**vpc_firewall_log**'."\n" + ."\n" + .'**nat_firewall_log**'."\n" + ."\n" + .'**ipv6_firewall_log**'."\n" + ."\n" + .'**dns_firewall_log**', 'type' => 'string', 'example' => 'ipv6_firewall_log'], + 'SearchName' => ['title' => '固定为log_type,无需关注。', 'description' => '固定为log_type,无需关注。', 'type' => 'string', 'example' => 'log_type'], + 'Enable' => ['title' => '该投递类型开关情况。', 'description' => '该投递类型开关情况。', 'type' => 'boolean', 'example' => 'true'], + 'ConfigStatus' => ['title' => '配置状态。', 'description' => '配置状态。', 'type' => 'string', 'example' => 'success_finished'], + 'FilterKeys' => [ + 'title' => '互联网和VPC的详细投递配置。', + 'description' => '互联网和VPC的详细投递配置。', + 'type' => 'array', + 'items' => ['title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', 'description' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', 'type' => 'string', 'example' => 'attack,other'], + ], + ], + ], ], + 'Site' => ['title' => 'cn代表中国内地,intl代表非中国内地,global代表全球。', 'description' => 'cn代表中国内地,intl代表非中国内地,global代表全球。', 'type' => 'string', 'example' => 'cn'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorTrResourceNotReady', - 'errorMessage' => 'Transit Router has not been detected by cloud firewall', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorAssetSynchronizationNotCompleted', - 'errorMessage' => 'VPC firewall asset synchronization is not completed.', - ], + ['errorCode' => 'InvokeError', 'errorMessage' => 'Invoke rosttea\'s api failed.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A61A2516-0A22-5B3F-986B-3D4BF2A****\\",\\n \\"TransitRouterAttachedResources\\": [\\n {\\n \\"ResourceId\\": \\"eas-r-8k1a6jjofkp0cq****\\",\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询TR交换机资源列表', - ], - 'CreateTrFirewallV2' => [ - 'summary' => '创建TR防火墙。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询日志投递状态状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeBatchSlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7036EBAB-F85F-5AAE-976F-C75AEE59****\\",\\n \\"LogstoreName\\": \\"rs-stats\\",\\n \\"ProjectName\\": \\"cloudfirewallnew-project-199053910542****-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"internet-traffic-log\\",\\n \\"DispatchValue\\": \\"internet_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack\\"\\n ]\\n }\\n ],\\n \\"LogVersion\\": \\"1\\",\\n \\"InfoList\\": [\\n {\\n \\"LogstoreName\\": \\"cloudfirewall-logstore\\",\\n \\"ProjectName\\": \\"cloudfirewall-project-1204872307283650-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"internet-traffic-log\\",\\n \\"DispatchValue\\": \\"ipv6_firewall_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack,other\\"\\n ]\\n }\\n ],\\n \\"Site\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCfwRiskLevelSummary' => [ + 'summary' => '查询防火墙风险等级。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142851', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '174512', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值包括:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'FirewallName', + 'name' => 'RegionId', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC边界防火墙云企业网企业版', - ], + 'schema' => ['description' => '云防火墙所在的地域ID。'."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ - 'name' => 'RouteMode', + 'name' => 'InstanceType', 'in' => 'query', 'schema' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **managed**:表示自动模式'."\n" - ."\n" - .'- **manual**:表示手动模式', + 'description' => '实例类型。可选值:'."\n" + .'- **ecs**', 'type' => 'string', 'required' => false, - 'example' => 'managed', + 'enumValueTitles' => [], + 'example' => 'EcsEIP', ], ], - [ - 'name' => 'TransitRouterId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-m5etmb2q7e0mxcur****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F1F30435-FA0A-52DA-A5DE-C16FD6C171DA'], + 'RiskList' => [ + 'description' => '风险列表。', + 'type' => 'array', + 'items' => [ + 'description' => '风险列表。', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => '类型。', 'type' => 'string', 'example' => 'ResourceNotProtected'], + 'Num' => ['description' => '风险ECS数量。', 'type' => 'string', 'example' => '50'], + 'Level' => ['description' => '风险等级。取值包括:'."\n" + .'- **medium**:中等', 'type' => 'string', 'example' => 'medium'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询防火墙风险等级(废弃)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCfwRiskLevelSummary'], + ], + ], + 'ramActions' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '转发路由器实例I的地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCfwRiskLevelSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1F30435-FA0A-52DA-A5DE-C16FD6C171DA\\",\\n \\"RiskList\\": [\\n {\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Num\\": \\"50\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeClearAuthInfo' => [ + 'summary' => '获取清空授权信息', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'FirewallVpcCidr', - 'in' => 'query', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68232', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '自动模式下防火墙VPC网段。', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.0/16', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '到期时间戳。', 'type' => 'integer', 'format' => 'int32', 'example' => '1755964800'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '8DDEE254-5639-5548-82D1-AAAC7347****'], + 'LeftTimes' => ['description' => '剩余清空次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取清空授权信息', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'FirewallSubnetCidr', - 'in' => 'query', - 'schema' => [ - 'description' => '自动模式下防火墙VPC中存放防火墙ENI的子网网段。', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.1.0/24', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeClearAuthInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1755964800,\\n \\"RequestId\\": \\"8DDEE254-5639-5548-82D1-AAAC7347****\\",\\n \\"LeftTimes\\": 20\\n}","type":"json"}]', + ], + 'DescribeConfiguredDestinationIP' => [ + 'summary' => '查询主动外联IP列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68235', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'TrAttachmentSlaveCidr', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网备用网段。', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.0.16/28', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '123.113.99.XXX'], ], [ - 'name' => 'TrAttachmentMasterCidr', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '自动模式下防火墙VPC中用于连接TR的子网主用网段。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '10.0.3.0/24', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'CenId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '云企业网实例ID。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'cen-4xbjup276au29r****', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'FirewallDescription', + 'name' => 'DestinationIP', 'in' => 'query', - 'schema' => [ - 'description' => '防火墙描述。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC边界防火墙云企业网企业版', - ], + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'."\n"], ], [ - 'name' => 'FirewallVpcId', + 'name' => 'DestinationRegion', 'in' => 'query', - 'schema' => [ - 'description' => '手动模式下创建防火墙ENI的VPC ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9r5qvryn0lg3atb****', - ], + 'schema' => ['description' => '目的区域。', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen'], ], [ - 'name' => 'FirewallVswitchId', + 'name' => 'DestinationISP', 'in' => 'query', - 'schema' => [ - 'description' => '手动模式下创建防火墙ENI的VSW ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf6ydz3vqj77mr5l6****', - ], + 'schema' => ['description' => '目的运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ - 'name' => 'TrAttachmentSlaveZone', + 'name' => 'GroupName', 'in' => 'query', 'schema' => [ - 'description' => '交换机备可用区。', + 'description' => '分组名称。', 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu-b', + 'required' => true, + 'enumValueTitles' => ['subscribe' => 'subscribe', 'ignore' => 'ignore'], + 'example' => 'ignore', ], ], [ - 'name' => 'TrAttachmentMasterZone', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前查询页码。', 'type' => 'string', 'required' => false, 'example' => '20'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '当前查询页数。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '交换机主可用区。', + 'description' => '流量方向。', 'type' => 'string', - 'required' => false, - 'example' => 'cn-chengdu-a', + 'required' => true, + 'enumValueTitles' => ['in' => '外对内流量访问控制', 'out' => '内对外流量访问控制'], + 'example' => 'out', ], ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'FirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-tr-37e22bf0d9b34870****', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7AE7444B00', + 'PageNo' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0AE91F8-E6C5-50D4-983F-FC53672****'], + 'PageSize' => ['description' => '当前页面的页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'], + 'Destinations' => [ + 'description' => '返回的数据目的列表数据。', + 'type' => 'array', + 'items' => [ + 'description' => '返回的数据目的列表数据。', + 'type' => 'object', + 'properties' => [ + 'DestinationIP' => ['description' => '目的IP。', 'type' => 'string', 'example' => '1.1.1.1'], + 'DestinationRegion' => ['description' => '目标区域。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'OperationTime' => ['description' => '操作时间。使用秒级Unix时间戳表示,如1672502400。', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189'], + 'DestinationISP' => ['description' => '目的运营商。', 'type' => 'string', 'example' => 'telecom'], + 'Comment' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'test'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorTrResourceNotReady', - 'errorMessage' => 'Transit Router has not been detected by cloud firewall', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorUserCenTrNotEnabled', - 'errorMessage' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorInvalidTrFirewallType', - 'errorMessage' => 'Firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcDoNotSupportSubnetRouting', - 'errorMessage' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', - ], - [ - 'errorCode' => 'ErrorVpcAndTrNotInTheSameAccount', - 'errorMessage' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Network segment CIDR format error, please select again', - ], - [ - 'errorCode' => 'ErrorVswitchCidrIpNumNotEnough', - 'errorMessage' => 'No enough private proxy IP in vswitch cidr.', - ], - [ - 'errorCode' => 'ErrorTrFwVswCidrConflict', - 'errorMessage' => 'Illegal tr firewall cidr configuration.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallZoneId', - 'errorMessage' => 'VPC firewall zone error.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => '无效的objectOperation '], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallId\\": \\"vfw-tr-37e22bf0d9b34870****\\",\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE7444B00\\"\\n}","type":"json"}]', - 'title' => '创建TR防火墙', - ], - 'CreateTrFirewallV2RoutePolicy' => [ - 'summary' => '创建TR防火墙路由规则。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询主动外联IP列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"RequestId\\": \\"F0AE91F8-E6C5-50D4-983F-FC53672****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 32,\\n \\"Destinations\\": [\\n {\\n \\"DestinationIP\\": \\"1.1.1.1\\",\\n \\"DestinationRegion\\": \\"cn-shenzhen\\",\\n \\"OperationTime\\": 1534408189,\\n \\"DestinationISP\\": \\"telecom\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeConfiguredDomainNames' => [ + 'summary' => '查询主动外联域名列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142852', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68237', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '1.202.149.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'PolicyType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙云企业网企业版引流场景类型。取值:'."\n" - ."\n" - .'- **fullmesh**:多点间互联'."\n" - ."\n" - .'- **one_to_one**:点到点'."\n" - ."\n" - .'- **end_to_end**:点到多点', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'fullmesh', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'PolicyName', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '引流名称。', - 'type' => 'string', - 'required' => false, - 'example' => '新加坡点到多点', - ], + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'PolicyDescription', + 'name' => 'GroupName', 'in' => 'query', - 'schema' => [ - 'description' => '引流描述。', - 'type' => 'string', - 'required' => false, - 'example' => '新加坡点到多点', - ], + 'schema' => ['description' => '分组名称。', 'type' => 'string', 'required' => true, 'example' => 'ignore'], ], [ - 'name' => 'FirewallId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-f8ce36689b224f77****', - ], + 'schema' => ['description' => '当前页面页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'SrcCandidateList', + 'name' => 'CurrentPage', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '主引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '当前页面页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DestCandidateList', + 'name' => 'Direction', 'in' => 'query', - 'style' => 'json', 'schema' => [ - 'description' => '子引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '子引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4sha****', - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], - 'required' => false, + 'description' => '流量方向。', + 'type' => 'string', + 'required' => true, + 'enumValueTitles' => ['in' => '外对内流量', 'out' => '内对外流量'], + 'example' => 'out', ], ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'example' => 'policy-8ebed27e13e14ce2****', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D', + 'Module' => ['description' => '应用模块。', 'type' => 'string', 'example' => 'sg_server'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '09A2D6F1-EA1B-56D9-977D-74878405****'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'], + 'DomainNames' => [ + 'description' => '域名名称列表。', + 'type' => 'array', + 'items' => [ + 'description' => '域名名称列表。', + 'type' => 'object', + 'properties' => [ + 'IsMalicious' => ['description' => '是否为恶意域名。取值:0(非恶意)、1(恶意)。', 'type' => 'boolean', 'example' => '0'], + 'OperationTime' => ['description' => '操作时间。使用秒级Unix时间戳表示,如1672502400。', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], + 'Comment' => ['description' => '备注信息。', 'type' => 'string', 'example' => 'test'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPolicySrcAndDestConflict', - 'errorMessage' => 'Policy has same destination candidate as source candidtes.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEndToEndTrToAll', - 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorCandidateNoRouteTable', - 'errorMessage' => 'Please attach candidate with transit router before create routing template.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has route map conflict.', - ], - [ - 'errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', - ], - [ - 'errorCode' => 'ErrorCandidateHasStaticRoute', - 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorDuplicateTrFwPolicyName', - 'errorMessage' => 'Duplicate firewall policy Name.', - ], - [ - 'errorCode' => 'ErrorCandidateAlreadyInToALlPolicy', - 'errorMessage' => 'Candidate already in to aLl policy.', - ], - [ - 'errorCode' => 'ErrorFirewallCandidateReference', - 'errorMessage' => 'Firewall Candidate referrence count greater than one.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', - 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', - ], - [ - 'errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', - 'errorMessage' => 'Cen TR firewall do not support prefix list.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEcmpRoute', - 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorCrossRegionCloudServiceStaticRoute', - 'errorMessage' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', - ], - [ - 'errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', - 'errorMessage' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', - ], - [ - 'errorCode' => 'ErrorCandidateHasIPv6Route', - 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => '无效的objectOperation '], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询主动外联域名列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDomainNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-8ebed27e13e14ce2****\\",\\n \\"RequestId\\": \\"C91D68BA-A0BE-51BF-A0F1-1CB5C57FE58D\\"\\n}","type":"json"}]', - 'title' => '创建TR防火墙路由规则', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"09A2D6F1-EA1B-56D9-977D-74878405****\\",\\n \\"TotalCount\\": 16,\\n \\"DomainNames\\": [\\n {\\n \\"IsMalicious\\": true,\\n \\"OperationTime\\": 1534408189,\\n \\"DomainName\\": \\"example.com\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'ModifyTrFirewallV2Configuration' => [ - 'summary' => '修改TR防火墙配置。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '143829', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68239', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-bcdf89d405ce4bd2****', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'FirewallName', + 'name' => 'Direction', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => 'VPC边界防火墙实例名。', + 'description' => '访问控制策略控制的流量方向。取值:'."\n" + .'- **in**:外对内方向的流量访问控制。'."\n" + .'- **out**:内对外方向的流量访问控制。', 'type' => 'string', 'required' => false, - 'example' => 'VPC边界防火墙', + 'enumValueTitles' => ['in' => '入方向,即外部访问内部的流量', 'out' => '出方向,即内部访问外部的流量'], + 'example' => 'in', + 'enum' => ['out', 'in'], ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9', - ], - ], - ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的当前页的页码。'."\n" + ."\n" + .'默认值为1。', 'type' => 'string', 'required' => true, 'example' => '1'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。'."\n", 'type' => 'string', 'required' => true, 'example' => '10'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9\\"\\n}","type":"json"}]', - 'title' => '修改TR防火墙配置', - ], - 'ModifyFirewallV2RoutePolicySwitch' => [ - 'summary' => '修改路由策略开关。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的访问源地址。支持使用模糊查询的方式进行查询。SourceType(源类型)不同,访问源地址的取值也不同。'."\n" + ."\n" + .'- 当SourceType为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + ."\n" + .'- 当SourceType为`group`时,访问源为源地址簿名称。例如:db_group为空(表示查询所有访问控制源)。'."\n" + ."\n" + .'- 当SourceType为`location`时,访问源为源区域。例如:北京或beijing(支持使用中文或英文进行查询)。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的访问源。'."\n", 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '142877', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" + ."\n" + .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" + ."\n" + .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" + ."\n" + .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" + ."\n" + .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的目的地址。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问控制策略的描述信息。支持模糊查询。'."\n" + ."\n" + .'> 不设置该参数表示查询所有策略的描述信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ - 'name' => 'FirewallId', + 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', - ], + 'schema' => ['description' => '访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(表示所有协议类型)'."\n" + .'> 不设置该参数表示查询所有协议类型。', 'type' => 'string', 'required' => false, 'example' => 'TCP'], ], [ - 'name' => 'TrFirewallRoutePolicyId', + 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'policy-93684cc5caa44b2e****', - ], + 'schema' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + ."\n" + .'- **drop**:拒绝'."\n" + ."\n" + .'- **log**:观察'."\n" + ."\n" + .'> 不设置该参数表示查询所有的动作类型。', 'type' => 'string', 'required' => false, 'example' => 'accept'], ], [ - 'name' => 'TrFirewallRoutePolicySwitchStatus', + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => '00281255-d220-4db1-8f4f-c4df221a****'], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => '策略开关。取值:'."\n" + 'description' => '支持的IP地址版本。取值:'."\n" ."\n" - .'- open:开启'."\n" + .'- **4**(默认):代表IPv4地址'."\n" ."\n" - .'- close:关闭', + .'- **6**:代表IPv6地址', 'type' => 'string', 'required' => false, - 'example' => 'open', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '6', + 'enum' => ['4', '6'], ], ], [ - 'name' => 'ShouldRecover', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '是否恢复引流配置。取值:'."\n" - ."\n" - .'- true:路由回滚'."\n" - ."\n" - .'- false:路由撤销', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'example' => 'false', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], ], ], @@ -12473,87 +11080,269 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '1F6D4A8D-EC01-5996-A61A-AA3B56490C00', + 'PageNo' => ['description' => '分页查询时,显示的当前页的页码。', 'type' => 'string', 'example' => '1'], + 'PageSize' => ['description' => '分页查询时,显示的每页数据的最大条数。', 'type' => 'string', 'example' => '10'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****'], + 'TotalCount' => ['description' => '访问控制策略的总数量。', 'type' => 'string', 'example' => '100'], + 'Policys' => [ + 'description' => '访问控制策略的信息。', + 'type' => 'array', + 'items' => [ + 'description' => '访问控制策略的详细信息。', + 'type' => 'object', + 'properties' => [ + 'Direction' => ['description' => '访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'example' => 'in'], + 'Order' => ['description' => '访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SourceType' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n" + .'- **location**:源区域', 'type' => 'string', 'example' => 'net'], + 'ApplicationName' => ['description' => '访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有应用类型)', 'type' => 'string', 'example' => 'HTTP'], + 'HitTimes' => ['description' => '访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Description' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", 'type' => 'string', 'example' => 'ip'], + 'DnsResultTime' => ['description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DnsResult' => ['description' => 'DNS解析结果。', 'type' => 'string', 'deprecated' => true, 'example' => '192.0.XX.XX,192.0.XX.XX'], + 'Proto' => ['description' => '访问控制策略中流量访问的安全协议类型。取值:'."\n" + ."\n" + .'- **ANY**'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**', 'type' => 'string', 'example' => 'TCP'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", 'type' => 'string', 'example' => 'ip'], + 'Destination' => ['description' => '访问控制策略中的目的地址。DestinationType(目的类型)不同,目的地址的取值也不同。取值:'."\n" + ."\n" + .'- 当**DestinationType**为**net**时,目的地址为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + .'- 当**DestinationType**为**domain**时,目的地址为域名。例如:aliyuncs.com。'."\n" + .'- 当**DestinationType**为**group**时,目的地址为地址簿的名称。例如:db_group。'."\n" + .'- 当**DestinationType**为**location**时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如: \\["BJ11", "ZB"\\]。', 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DestPortGroup' => ['description' => '访问控制策略中流量访问的目的端口地址簿名称。', 'type' => 'string', 'example' => 'my_port_group'], + 'AclUuid' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '00281255-d220-4db1-8f4f-c4df221a****'], + 'DestPortType' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'Source' => ['description' => '访问控制策略中的访问源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" + .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'DestinationType' => ['description' => '访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'example' => 'net'], + 'DestPort' => ['description' => '访问控制策略中访问流量的目的端口。', 'type' => 'string', 'example' => '80'], + 'IpVersion' => ['description' => '支持的IP地址版本。取值:'."\n" + ."\n" + .'- **4**:代表IPv4地址'."\n" + .'- **6**:代表IPv6地址', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'AclAction' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'accept'], + 'Release' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'ApplicationId' => ['description' => '访问控制策略中设置访问流量的应用ID。', 'type' => 'string', 'example' => '10***'], + 'DestinationGroupCidrs' => [ + 'description' => '访问控制策略中的目的地址簿中的网段列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略中的目的地址簿中的网段。', 'type' => 'string', 'example' => '192.0.XX.XX/24'], + ], + 'DestPortGroupPorts' => [ + 'description' => '目的端口地址簿中包含的端口列表。', + 'type' => 'array', + 'items' => ['description' => '目的端口地址簿中包含的端口。', 'type' => 'string', 'example' => '80/80'], + ], + 'SourceGroupCidrs' => [ + 'description' => '访问控制策略中的源地址簿中的网段列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略中的源地址簿中的网段。', 'type' => 'string', 'example' => '192.0.XX.XX/24'], + ], + 'ApplicationNameList' => [ + 'description' => '应用名称列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略支持的应用类型列表。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + .'- **ANY**(表示所有应用类型)', 'type' => 'string', 'example' => 'HTTP'], + ], + 'SpreadCnt' => ['description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" + .'单条策略占用的规格数 = 源地址个数(IP地址段个数或区域个数)\\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 端口段个数 \\* 应用数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10000'], + 'CreateTime' => ['description' => '创建策略的时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'ModifyTime' => ['description' => '修改策略的时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'RepeatType' => [ + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', + 'type' => 'string', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', + ], + 'RepeatDays' => [ + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'RepeatStartTime' => ['description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '08:00'], + 'RepeatEndTime' => ['description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '23:30'], + 'StartTime' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200'], + 'EndTime' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800'], + 'DomainResolveType' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'example' => 'FQDN'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', - 'errorMessage' => 'Can not update policy status.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取所有访问控制策略的信息', + 'summary' => '获取所有访问控制策略的信息。', + 'description' => '本接口一般用于分页查询访问控制策略的信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-02-10T02:07:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-25T02:35:12.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-09-27T08:09:23.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-14T13:59:08.000Z', 'description' => '响应参数发生变更、响应参数发生变更'], + ['createdAt' => '2021-12-16T10:37:20.000Z', 'description' => '响应参数发生变更'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeControlPolicy'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1F6D4A8D-EC01-5996-A61A-AA3B56490C00\\"\\n}","type":"json"}]', - 'title' => '修改路由策略开关', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"HitTimes\\": 100,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX,192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"DestPort\\": \\"80\\",\\n \\"IpVersion\\": 6,\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"10***\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n 100\\n \\n in\\n 1\\n net\\n HTTP\\n 100\\n test\\n ip\\n 1579261141\\n 192.0.XX.XX,192.0.XX.XX\\n TCP\\n ip\\n 192.0.XX.XX/24\\n 1579261141\\n my_port_group\\n 00281255-d220-4db1-8f4f-c4df221a****\\n port\\n 192.0.XX.XX/24\\n net\\n 80\\n 6\\n accept\\n true\\n 10***\\n 192.0.XX.XX/24\\n 80/80\\n 192.0.XX.XX/24\\n HTTP\\n 10000\\n 1761062400\\n 1761062400\\n \\n","errorExample":""}]', ], - 'ModifyTrFirewallV2RoutePolicyScope' => [ - 'summary' => '修改TR防火墙路由策略范围。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeControlPolicyDomainResolve' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -12562,13 +11351,11 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142854', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '221221', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -12576,105 +11363,45 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'TrFirewallRoutePolicyId', - 'in' => 'query', - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'policy-4d724d0139df48f1****', - ], - ], - [ - 'name' => 'FirewallId', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-tr-6520de0253bc4669****', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ - 'name' => 'SrcCandidateList', + 'name' => 'Domain', 'in' => 'query', - 'style' => 'json', - 'schema' => [ - 'description' => '主引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '主引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4sha****'."\n", - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC'."\n", - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'DestCandidateList', + 'name' => 'IpVersion', 'in' => 'query', - 'style' => 'json', 'schema' => [ - 'description' => '子引流实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '子引流实例。', - 'type' => 'object', - 'properties' => [ - 'CandidateId' => [ - 'description' => '引流实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2ze9epancaw8t4uzi****'."\n", - ], - 'CandidateType' => [ - 'description' => '引流实例类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], - ], - 'required' => false, - ], + 'description' => '支持的IP地址版本。', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '4', + 'enum' => ['4', '6'], ], ], [ - 'name' => 'ShouldRecover', + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => '是否恢复引流配置。取值:'."\n" - ."\n" - .'- true:路由回滚'."\n" - ."\n" - .'- false:路由撤销', + 'description' => '云防火墙类型。', 'type' => 'string', 'required' => false, - 'example' => 'false', + 'enumValueTitles' => ['nat' => 'nat', 'vpc' => 'vpc', 'internet' => 'internet'], + 'example' => 'internet', ], ], ], @@ -12683,447 +11410,229 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrFirewallRoutePolicyId' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'example' => 'policy-4d724d0139df48f1****', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'E7D4D635-0C70-5CEB-A609-851E94D51FBB', + 'ResolveResult' => [ + 'description' => '域名解析结果。', + 'type' => 'array', + 'items' => [ + 'description' => '域名解析结果。', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], + 'UpdateTime' => ['description' => '更新时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579091739'], + 'IpVersion' => [ + 'description' => '支持的IP地址版本。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '4', + ], + 'IpAddrList' => [ + 'description' => 'IP地址列表参数。', + 'type' => 'array', + 'items' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '['."\n" + .' "10.10.10.1"'."\n" + .']'], + ], + ], + ], ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPolicySrcAndDestConflict', - 'errorMessage' => 'Policy has same destination candidate as source candidtes.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEndToEndTrToAll', - 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', - ], - [ - 'errorCode' => 'ErrorCannotEditRoutePolicyWhenClose', - 'errorMessage' => 'Can not edit route policy when policy closed.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyScopeUpdate', - 'errorMessage' => 'Can not update policy scope.', - ], - [ - 'errorCode' => 'ErrorCannotEditToAllPolicy', - 'errorMessage' => 'Can not modify policy scope for policy contains All type candidate.', - ], - [ - 'errorCode' => 'ErrorCandidateNoRouteTable', - 'errorMessage' => 'Please attach candidate with transit router before create routing template.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has route map conflict.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', - 'errorMessage' => 'Cen TR firewall do not support prefix list.', - ], - [ - 'errorCode' => 'ErrorCandidateHasStaticRoute', - 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', - ], - [ - 'errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', - 'errorMessage' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', - ], - [ - 'errorCode' => 'ErrorTrFwVswCidrConflict', - 'errorMessage' => 'Illegal tr firewall cidr configuration.', - ], - [ - 'errorCode' => 'ErrorFirewallCandidateReference', - 'errorMessage' => 'Firewall Candidate referrence count greater than one.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', - 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallEcmpRoute', - 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', - ], - [ - 'errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', - 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', - ], - [ - 'errorCode' => 'ErrorCandidateHasIPv6Route', - 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-4d724d0139df48f1****\\",\\n \\"RequestId\\": \\"E7D4D635-0C70-5CEB-A609-851E94D51FBB\\"\\n}","type":"json"}]', - 'title' => '修改TR防火墙路由策略范围', - 'description' => '支持*点到多点*和*多点间互联*场景的修改,不支持*点到点*场景的修改。', - ], - 'DeleteTrFirewallV2' => [ - 'summary' => '删除TR防火墙。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询访问控制策略的域名解析结果', + 'summary' => '查询访问控制策略的域名解析结果。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicyDomainResolve', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResolveResult\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"UpdateTime\\": 1579091739,\\n \\"IpVersion\\": 4,\\n \\"IpAddrList\\": [\\n \\"[\\\\n \\\\\\"10.10.10.1\\\\\\"\\\\n]\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'DescribeCreatedNatFirewall' => [ + 'summary' => '获取已经创建的NAT防火墙。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142850', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '116773', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '121.225.255.XXX'], ], [ - 'name' => 'FirewallId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'vfw-tr-99bc4f0fc88b4d00****', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A774E66E-B170-59FC-9AAF-3068B15E991F', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '072B5287-8A85-529E-BD47-F8AC2DB1****'], + 'CreatedNatFirewalls' => [ + 'description' => '创建NAT防火墙列表。', + 'type' => 'array', + 'items' => [ + 'description' => '创建NAT防火墙列表。', + 'type' => 'object', + 'properties' => [ + 'NatFirewallId' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'example' => 'cfw-adk2ad45sf4t8****'], + 'NatGatewayId' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-uf6i0zkjtz4t2sttf****'], + 'NatGatewayName' => ['description' => 'NAT网关的名称', 'type' => 'string', 'example' => 'ngw-text'], + ], + ], ], ], ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorTrFirewallNotExist', - 'errorMessage' => 'Cen TR firewall not exist', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorTrFirewallNotEmpty', - 'errorMessage' => 'Can not delete firewall since firewall still attached to a firewall policy.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFirewallRouteTableInUse', - 'errorMessage' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', - ], - [ - 'errorCode' => 'ErrorIllegalFwStatusUpdate', - 'errorMessage' => 'Can not set firewall status.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A774E66E-B170-59FC-9AAF-3068B15E991F\\"\\n}","type":"json"}]', - 'title' => '删除TR防火墙', - ], - 'DeleteFirewallV2RoutePolicies' => [ - 'summary' => '删除TR防火墙路由策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取已经创建的NAT防火墙', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCreatedNatFirewall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"072B5287-8A85-529E-BD47-F8AC2DB1****\\",\\n \\"CreatedNatFirewalls\\": [\\n {\\n \\"NatFirewallId\\": \\"cfw-adk2ad45sf4t8****\\",\\n \\"NatGatewayId\\": \\"ngw-uf6i0zkjtz4t2sttf****\\",\\n \\"NatGatewayName\\": \\"ngw-text\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeCtrlInstanceMemberAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '142855', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '68240', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'FirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-d5ba592ac6c84aff****', - ], - ], - [ - 'name' => 'TrFirewallRoutePolicyId', - 'in' => 'query', - 'schema' => [ - 'description' => '防火墙路由策略ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'policy-2d06d3568fd74d60****', - ], - ], - ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '22B6B889-4E9F-56B3-AF3D-53749C477D1D', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '9CC69FDA-69F6-585B-9262-A306F425****'], + 'InstanceMemberCount' => ['description' => '云防火墙成员账号的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'MaxInstanceMemberNum' => ['description' => '云防火墙成员账号的最大规格。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'authentication error', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorFirewallUpdating', - 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', - ], - [ - 'errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', - 'errorMessage' => 'Can not update policy status.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorTrFwBackUpAssocationNotExist', - 'errorMessage' => 'Tr firewall back up association not Exist.', - ], - [ - 'errorCode' => 'ErrorTrFirewallPolicyNotFound', - 'errorMessage' => 'TR firewall policy does not exist.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"22B6B889-4E9F-56B3-AF3D-53749C477D1D\\"\\n}","type":"json"}]', - 'title' => '删除TR防火墙路由策略', - ], - 'DescribeVpcFirewallCenSummaryList' => [ - 'summary' => '获取VPC的CEN列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取成员账号列表', + 'summary' => '获取成员账号列表', + 'description' => '本接口一般用于查询云防火墙成员账号信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCtrlInstanceMemberAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9CC69FDA-69F6-585B-9262-A306F425****\\",\\n \\"InstanceMemberCount\\": 3,\\n \\"MaxInstanceMemberNum\\": 1000\\n}","type":"json"}]', + ], + 'DescribeDefaultIPSConfig' => [ + 'summary' => '互联网IPS防护功能。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13135,83 +11644,193 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68416', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68241', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********'], + 'RuleClass' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'CtiRules' => ['description' => '威胁情报。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'PatchRules' => ['description' => '虚拟补丁开关。取值:'."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RunMode' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + ."\n" + .'- **0**:观察模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'BasicRules' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MaxSdl' => ['description' => '敏感数据检测每日检测流量上限。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '互联网IPS防护功能', + 'changeSet' => [ + ['createdAt' => '2025-02-13T02:35:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-01-08T02:47:11.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-08-26T02:45:19.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefaultIPSConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"RuleClass\\": 3,\\n \\"CtiRules\\": 0,\\n \\"PatchRules\\": 0,\\n \\"RunMode\\": 0,\\n \\"BasicRules\\": 0,\\n \\"MaxSdl\\": 10\\n}","type":"json"}]', + ], + 'DescribeDnsFirewallPolicy' => [ + 'summary' => '获取DNS防火墙ACL列表', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68243', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '140.205.118.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的当前页的页码。默认值为1。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时,显示的当前页的页码。默认值为1。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的数量。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '本次查询获取的数量。', 'type' => 'string', 'required' => true, 'example' => '10'], ], [ - 'name' => 'MemberUid', + 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => 'DNS边界防火墙访问控制策略中的访问源地址。支持使用模糊查询。'."\n" + ."\n" + .'> Source可以是单个CIDR地址或地址簿名称。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24'], ], [ - 'name' => 'TransitRouterType', + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => 'DNS边界防火墙访问控制策略中的目的地址。支持模糊查询。'."\n" + ."\n" + .'> Destination可以是单个CIDR地址或域名,也可以是地址薄名称。', 'type' => 'string', 'required' => false, 'example' => '10.2.XX.XX/24'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => 'DNS边界防火墙策略的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => 'DNS边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察'."\n" + ."\n" + .'> 不设置该参数表示查询所有动作。', 'type' => 'string', 'required' => false, 'example' => 'accept'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '防火墙规则的唯一标识id。', 'type' => 'string', 'required' => false, 'example' => 'b6c8f905-2eb6-442a-ba35-9416e****'], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => 'CEN转发路由器类型。 取值:'."\n" - ."\n" - .'**Basic**: 基础版'."\n" + 'description' => '支持的IP地址版本。取值:'."\n" ."\n" - .'**Enterprise**: 企业版', + .'- **4**:代表IPv4地址'."\n" + .'- **6**:代表IPv6地址', 'type' => 'string', 'required' => false, - 'example' => 'Basic', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '4', + 'enum' => ['4', '6'], ], ], ], @@ -13220,272 +11839,302 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '432D6CCA-5186-5B91-A2B8-10C8994B****', - ], - 'CenList' => [ - 'description' => '云企业网实例列表。', + 'PageNo' => ['description' => '当前页码。', 'type' => 'string', 'example' => '1'], + 'PageSize' => ['description' => '本次查询获取的数量。', 'type' => 'string', 'example' => '10'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '0A4ACDE9-9F9F-56C1-B3B7-60971BA1****'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'string', 'example' => '10'], + 'Policys' => [ + 'description' => 'DNS防火墙访问控制策略的信息。', 'type' => 'array', 'items' => [ - 'description' => '云企业网实例列表。', + 'description' => 'DNS防火墙访问控制策略的信息。', 'type' => 'object', 'properties' => [ - 'CenName' => [ - 'description' => '云企业网实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'CenId' => [ - 'description' => '云企业网实例的ID。', - 'type' => 'string', - 'example' => 'cen-maqfw3abcmjy56****', + 'Direction' => ['description' => '访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'example' => 'in'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。', 'type' => 'string', 'example' => 'ip'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'Destination' => ['description' => 'DNS边界防火墙访问控制策略中的目的地址。取值:'."\n" + ."\n" + .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" + ."\n" + .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" + ."\n" + .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。', 'type' => 'string', 'example' => 'x.x.x.x/32'], + 'SourceType' => ['description' => 'DNS边界防火墙访问控制策略中源地址类型。取值:'."\n" + ."\n" + .'- **net**:源CIDR地址'."\n" + .'- **group**:源地址簿', 'type' => 'string', 'example' => 'net'], + 'AclUuid' => ['description' => '访问控制策略的唯一标识id。', 'type' => 'string', 'example' => '01281255-d220-4db1-8f4f-c4df221a****'], + 'Priority' => ['description' => '访问控制策略优先级。数字越小,优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '110'], + 'Source' => ['description' => '访问控制策略中的访问源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" + .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。', 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'DestinationType' => ['description' => '访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'example' => 'net'], + 'HitTimes' => ['description' => '访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'IpVersion' => ['description' => '支持的IP地址版本。取值:'."\n" + ."\n" + .'- **4**:代表IPv4地址'."\n" + .'- **6**:代表IPv6地址', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'Description' => ['description' => 'DNS边界防火墙访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', 'type' => 'string', 'example' => 'ip'], + 'AclAction' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'accept'], + 'Release' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'DestinationAddrs' => [ + 'description' => '目的地址簿的地址列表。', + 'type' => 'array', + 'items' => ['description' => '目的地址簿的地址列表。', 'type' => 'string', 'example' => '192.0.XX.XX/24'."\n"], ], - 'RegionNoList' => [ - 'description' => 'vpc边界防火墙的地域id列表。', + 'SourceAddrs' => [ + 'description' => '源地址。', 'type' => 'array', - 'items' => [ - 'description' => 'vpc边界防火墙的地域id列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "cn-hangzhou",'."\n" - .' "cn-beijing"'."\n" - .']', - ], + 'items' => ['description' => '源地址。', 'type' => 'string', 'example' => '10.2.XX.XX/24'."\n"], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - ], - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"432D6CCA-5186-5B91-A2B8-10C8994B****\\",\\n \\"CenList\\": [\\n {\\n \\"CenName\\": \\"test\\",\\n \\"CenId\\": \\"cen-maqfw3abcmjy56****\\",\\n \\"RegionNoList\\": [\\n \\"[\\\\n \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取VPC_CEN列表', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallCenList' => [ - 'summary' => '查询VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取DNS防火墙ACL列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"0A4ACDE9-9F9F-56C1-B3B7-60971BA1****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"SourceType\\": \\"net\\",\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"Priority\\": 110,\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"IpVersion\\": 6,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"DestinationAddrs\\": [\\n \\"192.0.XX.XX/24\\\\n\\"\\n ],\\n \\"SourceAddrs\\": [\\n \\"10.2.XX.XX/24\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDomainResolve' => [ + 'summary' => '获取域名DNS的解析结果。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68415', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68245', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值包括:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值包括:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => '待解析的域名地址。', 'type' => 'string', 'required' => true, 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'FirewallSwitchStatus', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启。'."\n" - ."\n" - .'- **closed**:已关闭。'."\n" - ."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" - ."\n" - .'- **configured**:表示已配置但未开启VPC边界防火墙。'."\n" - ."\n" - .'> 不设置该参数表示查询所有状态的VPC边界防火墙。', - 'type' => 'string', - 'required' => false, - 'example' => 'opened', - ], + 'schema' => ['description' => '云防火墙防护的资产的IP版本。取值:'."\n" + ."\n" + .'- **4**(默认):IPV4'."\n" + .'- **6**:IPV6', 'type' => 'string', 'required' => false, 'example' => '6'], ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + 'ResolveResult' => [ + 'description' => '域名解析结果。', + 'type' => 'object', + 'properties' => [ + 'IpAddrs' => ['description' => '域名解析结果,多个IP地址用半角逗号(,)分隔。', 'type' => 'string', 'example' => '11.1.X.X,12.1.X.X'], + 'UpdateTime' => ['description' => '解析时间戳。单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579091739'], + ], + ], + ], + 'description' => '', ], ], - [ - 'name' => 'VpcFirewallName', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试环境防火墙', - ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => '无效的Aliuid'], + ], + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取域名DNS的解析结果', + 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolve'], ], + ], + 'ramActions' => [ [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-x5jayxou71ad73****', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDomainResolve', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"ResolveResult\\": {\\n \\"IpAddrs\\": \\"11.1.X.X,12.1.X.X\\",\\n \\"UpdateTime\\": 1579091739\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 11.1.X.X,12.1.X.X\\n 1579091739\\n \\n","errorExample":""}]', + ], + 'DescribeDownloadTask' => [ + 'summary' => '查询文件下载任务,包括任务信息以及下载地址。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。'."\n" - ."\n" - .'默认值为1,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '174551', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含VPC边界防火墙的数量。'."\n" - ."\n" - .'默认值为10,表示每页包含10条结果。最大值为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RouteMode', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **auto**:表示自动模式。'."\n" - ."\n" - .'- **manual**:表示手动模式。'."\n" - ."\n" - .'> 不设置该参数表示查询所有路由模式的VPC边界防火墙。', - 'type' => 'string', - 'required' => false, - 'example' => 'auto', - ], + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '分页查询时,显示的每页数据的最大条数。默认为10。'."\n" + .'可设置值最大为50。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'MemberUid', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号(其他阿里云账号)UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['title' => '当前页', 'description' => '分页查询时,设置当前页的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'TransitRouterType', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '转发实例路由器类型。可选值:'."\n" - ."\n" - .'- **Basic**:基础版转发路由器。'."\n" - ."\n" - .'- **Enterprise**:企业版转发路由器。', - 'type' => 'string', - 'required' => false, - 'example' => 'Basic', - ], + 'schema' => ['title' => '任务类型', 'description' => '任务类型,枚举值。可填枚举值见接口:查询文件下载任务类型。不填默认查询所有文件。', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewallAsset'], ], ], 'responses' => [ @@ -13493,350 +12142,76 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'VPC边界防火墙的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', - ], - 'VpcFirewalls' => [ - 'description' => 'VPC边界防火墙的详细信息。', + 'TotalCount' => ['title' => '总数', 'description' => '任务总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '3F2BED13-F3D0-5984-80D6-D5F298CFEA88'], + 'Tasks' => [ + 'description' => '任务列表。', 'type' => 'array', 'items' => [ + 'description' => '任务信息。', 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'VPC边界防火墙的互通类型。取值:cen,表示云企业网。', - 'type' => 'string', - 'example' => 'cen', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RegionStatus' => [ - 'description' => '地域开放状态。取值:'."\n" - ."\n" - .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙。'."\n" - ."\n" - .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙。', - 'type' => 'string', - 'example' => 'enable', - ], - 'CenId' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'example' => 'cen-x5jayxou71ad73****', - ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'example' => '测试防火墙', - ], - 'ResultCode' => [ - 'description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" - ."\n" - .'- **Unauthorized**:表示存在未授权的网络实例, 不允许创建VPC边界防火墙。'."\n" - ."\n" - .'- **RegionDisable**:表示网络实例所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙。'."\n" - ."\n" - .'- **OpsDisable**:表示不允许创建VPC边界防火墙。'."\n" - ."\n" - .'- **VbrNotSupport**:表示云企业网中的VBR不支持创建VPC边界防火墙。'."\n" - ."\n" - .'- 空字符串,表示该网络实例可以正常创建VPC边界防火墙。'."\n", - 'type' => 'string', - 'example' => 'Unauthorized', - ], - 'CenName' => [ - 'description' => '云企业网实例名称。', - 'type' => 'string', - 'example' => '测试云企业网', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙开关的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启。'."\n" - ."\n" - .'- **closed**:已关闭。'."\n" - ."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙。', - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => 'VPC的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'TransitRouterType' => [ - 'description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" - ."\n" - .'- **Basic**:基础版转发路由器。'."\n" - ."\n" - .'- **Enterprise**:企业版转发路由器。', - 'type' => 'string', - 'example' => 'Basic', - ], - 'NetworkInstanceId' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'example' => 'vpc-2zefk9fbn8j7v585g****', - ], - 'RouteMode' => [ - 'description' => '路由模式。取值:'."\n" - ."\n" - .'- **auto**:表示自动模式。'."\n" - ."\n" - .'- **manual**:表示手动模式。'."\n", - 'type' => 'string', - 'example' => 'auto', - ], - 'RegionNo' => [ - 'description' => 'VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'AuthorizationStatus' => [ - 'description' => 'VPC的授权状态。取值:**authorized**,表示已授权。', - 'type' => 'string', - 'example' => 'authorized', - ], - 'ManualVSwitchId' => [ - 'description' => '路由模式为手动模式时指定的vSwitch的ID。', - 'type' => 'string', - 'example' => 'vsw-zeq4o875u****', - ], - 'OwnerId' => [ - 'description' => 'VPC所属阿里云账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'NetworkInstanceType' => [ - 'description' => '网络实例的类型。取值:'."\n" - ."\n" - .'- **VPC**(Virtual Private Cloud)。'."\n" - ."\n" - .'- **VBR**(Virtual Border Router)。'."\n" - ."\n" - .'- **CCN**(Cloud Connect Network)。', - 'type' => 'string', - 'example' => 'VPC', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => '测试用实例', - ], - 'SupportManualMode' => [ - 'description' => '路由模式是否支持手动模式。取值:'."\n" - ."\n" - .'- **1**:支持。'."\n" - ."\n" - .'- **0**:不支持。', - 'type' => 'string', - 'example' => '0', - ], - 'NetworkInstanceName' => [ - 'description' => '网络实例的名称。', - 'type' => 'string', - 'example' => '测试业务VPC', - ], - 'VpcCidrTableList' => [ - 'description' => 'VPC的网段列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC的网段列表信息。', - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'VPC的路由条目列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC的路由条目列表。', - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'VPC中的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - 'DefendCidrList' => [ - 'description' => 'VPC边界防火墙防护的网段列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙防护的网段。', - 'type' => 'string', - 'example' => '10.0.XX.XX/24', - ], - ], - ], - ], - 'IpsConfig' => [ - 'description' => 'IPS配置信息。', - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开启状态。'."\n" - ."\n" - .'- **0**:关闭状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开启状态。'."\n" - ."\n" - .'- **0**:关闭状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RunMode' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - ."\n" - .'- **0**:观察模式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleClass' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'MemberUid' => [ - 'description' => '当前阿里云账号的成员账号(其他阿里云账号)UID。', - 'type' => 'string', - 'example' => '258039427902****', - ], - 'PrecheckStatus' => [ - 'description' => '是否可以自动开墙,即云防火墙会根据路由学习,自动防护VPC流量。取值:'."\n" - ."\n" - .'- **passed**:可以自动开墙。'."\n" - ."\n" - .'- **failed**:不可以自动开墙。'."\n" - ."\n" - .'- **unknown**:未知状态。'."\n", - 'type' => 'string', - 'example' => 'failed', - ], - 'AclConfig' => [ - 'description' => 'ACL引擎模式。', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式 '."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'TaskId' => ['title' => '任务id', 'description' => '任务id。', 'type' => 'string', 'example' => '1111'], + 'TaskName' => ['title' => '名称', 'description' => '任务名称。', 'type' => 'string', 'example' => 'Internet Border Firewall Assets-IPv4'], + 'Status' => ['title' => '', 'description' => '任务状态。取值:'."\n" + ."\n" + .'- **finish**:任务完成。'."\n" + .'- **start**:任务开始。'."\n" + .'- **error**:任务失败。'."\n" + .'- **expire**:任务过期。即任务文件已经失效,无法下载。', 'type' => 'string', 'example' => 'finish'], + 'FileURL' => ['description' => 'OSS文件地址。', 'type' => 'string', 'example' => 'https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D'], + 'FileSize' => ['title' => '', 'description' => '文件大小。', 'type' => 'string', 'example' => '24.04KB'], + 'CreateTime' => ['description' => '创建任务的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1706595827'], + 'ExpireTime' => ['description' => '任务过期的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1714371828'], + 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'InternetFirewallAsset'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'firewall status error.', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"CenId\\": \\"cen-x5jayxou71ad73****\\",\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"CenName\\": \\"测试云企业网\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": 0,\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"NetworkInstanceName\\": \\"测试业务VPC\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n cen\\n vfw-m5e7dbc4y****\\n enable\\n cen-x5jayxou71ad73****\\n 测试防火墙\\n Unauthorized\\n 测试云企业网\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n vpc-2zefk9fbn8j7v585g****\\n auto\\n cn-hangzhou\\n authorized\\n vsw-zeq4o875u****\\n VPC\\n 测试用实例\\n 0\\n 测试业务VPC\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n 10.0.XX.XX/24\\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n failed\\n \\n","errorExample":""}]', - 'title' => '查询云企业网(基础版)防火墙列表', - 'description' => '本接口一般用于查询VPC边界防火墙的信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallCenDetail' => [ - 'summary' => '查询VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的详细信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询文件下载任务', + 'changeSet' => [ + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTask'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"3F2BED13-F3D0-5984-80D6-D5F298CFEA88\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskId\\": \\"1111\\",\\n \\"TaskName\\": \\"Internet Border Firewall Assets-IPv4\\",\\n \\"Status\\": \\"finish\\",\\n \\"FileURL\\": \\"https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D\\",\\n \\"FileSize\\": \\"24.04KB\\",\\n \\"CreateTime\\": 1706595827,\\n \\"ExpireTime\\": 1714371828,\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeDownloadTaskType' => [ + 'summary' => '查询下载任务类型。对应下载任务相关接口中的TaskType字段。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -13848,62 +12223,36 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68414', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '175450', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10。可设置的最大值为50。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '分页查询时,返回第几页数据。'."\n" + .'默认值为**1**,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '创建VPC边界防火墙的VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2zefk9fbn8j7v585g****', - ], + 'schema' => ['title' => '任务类型', 'description' => '任务类型。', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewallAsset'], ], ], 'responses' => [ @@ -13911,385 +12260,164 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'VPC边界防火墙的互通类型。取值:**cen**,表示云企业网。'."\n", - 'type' => 'string', - 'example' => 'cen', - ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'example' => '测试防火墙', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙的开关状态。取值:'."\n" - ."\n" - .'- **opened**:已开启。'."\n" - ."\n" - .'- **closed**:已关闭。'."\n" - ."\n" - .'- **notconfigured**:未配置。', - 'type' => 'string', - 'example' => 'opened', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', - ], - 'LocalVpc' => [ - 'description' => 'VPC的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'TransitRouterType' => [ - 'description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" - ."\n" - .'- **Basic**:基础版。'."\n" - ."\n" - .'- **Enterprise**:企业版。', - 'type' => 'string', - 'example' => 'Basic', - ], - 'RouteMode' => [ - 'description' => '路由模式,。取值:'."\n" - ."\n" - .'- auto:表示自动模式。'."\n" - ."\n" - .'- manual:表示手动模式。'."\n", - 'type' => 'string', - 'example' => 'auto', - ], - 'NetworkInstanceId' => [ - 'description' => '创建VPC边界防火墙的VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2zefk9fbn8j7v585g****', - ], - 'RegionNo' => [ - 'description' => 'VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ManualVSwitchId' => [ - 'description' => '路由模式为手动模式时指定的vSwitch的ID。', - 'type' => 'string', - 'example' => 'vsw-zeq4o875u****', - ], - 'OwnerId' => [ - 'description' => 'VPC所属阿里云账户的UID。', - 'type' => 'string', - 'example' => '158039427902****', - ], - 'NetworkInstanceType' => [ - 'description' => '网络实例的类型。取值:**VPC**。'."\n", - 'type' => 'string', - 'example' => 'VPC', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => '测试用实例', - ], - 'SupportManualMode' => [ - 'description' => '路由模式是否支持手动模式。取值:'."\n" - ."\n" - .'- **1**:支持。'."\n" - .'- **0**:不支持。', - 'type' => 'string', - 'example' => '0', - ], - 'TransitRouterId' => [ - 'description' => 'CEN-TR的实例ID。', - 'type' => 'string', - 'example' => 'tr-2zetwxskej633l3u1****', - ], - 'AttachmentId' => [ - 'description' => '网络实例的连接ID。', - 'type' => 'string', - 'example' => 'tr-attach-sxig7bye51fid5****', - ], - 'NetworkInstanceName' => [ - 'description' => '网络实例的名称。', - 'type' => 'string', - 'example' => '测试业务vpc', - ], - 'AttachmentName' => [ - 'description' => '网络实例的连接名称', - 'type' => 'string', - 'example' => '本地测试', - ], - 'VpcCidrTableList' => [ - 'description' => 'VPC的网段列表信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => 'VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => 'VPC的路由条目列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => 'VPC中的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => 'VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - 'EniList' => [ - 'description' => '弹性网卡列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EniId' => [ - 'description' => 'VPC中弹性网卡的实例ID。', - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'EniPrivateIpAddress' => [ - 'description' => 'VPC中弹性网卡的私网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'EniVSwitchId' => [ - 'description' => 'VPC中弹性网卡的虚拟交换机ID。', - 'type' => 'string', - 'example' => 'vsw-wz9viido7j436b0n1****', - ], - ], - ], - ], - 'DefendCidrList' => [ - 'description' => 'VPC边界防火墙防护的网段列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙防护的网段。', - 'type' => 'string', - 'example' => '10.0.XX.XX/24', - ], - ], - ], - ], - 'FirewallVpc' => [ - 'description' => '防火墙所使用VPC。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-bp1245k5oagy2bp74****', - ], - 'VpcCidr' => [ - 'description' => 'VPC的网段。', - 'type' => 'string', - 'example' => '10.0.0.0/8', - ], - 'VswitchId' => [ - 'description' => '虚拟交换机ID。', - 'type' => 'string', - 'example' => 'vsw-bp1sqg9wms9wxcs1****', - ], - 'VswitchCidr' => [ - 'description' => '虚拟交换机的网段。', - 'type' => 'string', - 'example' => '10.0.0.1/24', - ], - 'ZoneId' => [ - 'description' => '防火墙主可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'AllowConfiguration' => [ - 'description' => 'CEN基础版创建VPC防火墙时是否允许配置防火墙VPC网段。取值:'."\n" - .'- **1**:允许。'."\n" - .'- **0**:不允许。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'VswitchZoneId' => [ - 'description' => '虚拟交换机的可用区ID', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'StandbyZoneId' => [ - 'description' => '防火墙备可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-k', + 'TotalCount' => ['title' => '总数', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B835494C-D093-5524-BBDE-BD272077B40E'], + 'TaskTypeArray' => [ + 'description' => '任务类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '任务类型信息。', + 'type' => 'object', + 'properties' => [ + 'TaskName' => ['title' => '名称', 'description' => '任务类型名称。', 'type' => 'string', 'example' => 'Internet Border Firewall Assets'], + 'TaskType' => ['description' => '任务类型。', 'type' => 'string', 'example' => 'InternetFirewallAsset'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorVpcIdPara', - 'errorMessage' => 'vpc id and firewall id parameter not exist.', - ], - [ - 'errorCode' => 'ErrorFirewallNotFound', - 'errorMessage' => 'Firewall not found', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', - ], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => '由于某些未知错误,请求处理失败。'], ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": \\"158039427902****\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"TransitRouterId\\": \\"tr-2zetwxskej633l3u1****\\",\\n \\"AttachmentId\\": \\"tr-attach-sxig7bye51fid5****\\",\\n \\"NetworkInstanceName\\": \\"测试业务vpc\\",\\n \\"AttachmentName\\": \\"本地测试\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"EniList\\": [\\n {\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"EniVSwitchId\\": \\"vsw-wz9viido7j436b0n1****\\"\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"FirewallVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1245k5oagy2bp74****\\",\\n \\"VpcCidr\\": \\"10.0.0.0/8\\",\\n \\"VswitchId\\": \\"vsw-bp1sqg9wms9wxcs1****\\",\\n \\"VswitchCidr\\": \\"10.0.0.1/24\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"AllowConfiguration\\": 0,\\n \\"VswitchZoneId\\": \\"cn-hangzhou-i\\",\\n \\"StandbyZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n cen\\n 测试防火墙\\n vfw-m5e7dbc4y****\\n opened\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n auto\\n vpc-2zefk9fbn8j7v585g****\\n cn-hangzhou\\n vsw-zeq4o875u****\\n 158039427902****\\n VPC\\n 测试用实例\\n 0\\n tr-2zetwxskej633l3u1****\\n tr-attach-sxig7bye51fid5****\\n 测试业务vpc\\n 本地测试\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n eni-8vbhfosfqv2rff42****\\n 192.168.XX.XX\\n \\n 10.0.XX.XX/24\\n \\n","errorExample":""}]', - 'title' => '查询VPC边界防火墙的详细信息', - 'description' => '本接口一般用于获取VPC边界防火墙的详细信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeNetworkInstanceList' => [ - 'summary' => '获取网络实例列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询文件下载任务类型', + 'changeSet' => [ + ['createdAt' => '2025-02-20T01:44:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTaskType'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTaskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"B835494C-D093-5524-BBDE-BD272077B40E\\",\\n \\"TaskTypeArray\\": [\\n {\\n \\"TaskName\\": \\"Internet Border Firewall Assets\\",\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallDropStatistics' => [ + 'summary' => '获取防火墙DROP数据统计。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68310', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68258', + 'abilityTreeNodes' => ['FEATUREcfw9GLVIS'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'type' => 'object', + 'properties' => [ + 'IpsDropCnt' => ['description' => 'IPS 防护数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'TotalDropCnt' => ['description' => '总防护数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'BEA1D173-D5DB-582E-9637-438D5CE3****'], + 'VulnDropCnt' => ['description' => '漏洞防护数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'AclDropCnt' => ['description' => 'ACL策略拦截数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], ], - 'example' => 'zh', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取防火墙DROP数据统计(废弃)', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsDropCnt\\": 20,\\n \\"TotalDropCnt\\": 50,\\n \\"RequestId\\": \\"BEA1D173-D5DB-582E-9637-438D5CE3****\\",\\n \\"VulnDropCnt\\": 10,\\n \\"AclDropCnt\\": 20\\n}","type":"json"}]', + ], + 'DescribeFirewallDropTrend' => [ + 'summary' => '获取防火墙总拦截趋势,包括互联网/VPC/NAT流量。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'ConnectType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '互通类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'expressconnect' => '高速通道', - 'cen' => '云企业网', - ], - 'example' => 'expressconnect', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'CenId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '云企业Id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-x5jayxou71ad73****', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758470400'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758474000'], ], ], 'responses' => [ @@ -14297,248 +12425,196 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '21', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'D2373503-3921-59F2-93A6-3DA7FB7****', - ], - 'NetworkInstanceList' => [ - 'description' => '网络实例信息。', + 'MaxDropSession' => ['description' => '总拦截会话数最大值。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'MaxDropTime' => ['description' => '总拦截会话数最大值发生时间。使用秒级Unix时间戳表示,如1672502400。', 'type' => 'integer', 'format' => 'int64', 'example' => '1656837360'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '75E60025-43C5-5635-B7B7-272C5246****'], + 'DataList' => [ + 'description' => '返回数据列表。', 'type' => 'array', 'items' => [ - 'description' => '网络实例信息。', + 'description' => '返回数据列表。', 'type' => 'object', 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'example' => 'vpc-m5ewlqkuf7or****', - ], - 'NetworkInstanceName' => [ - 'description' => '网络实例名。', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'NetworkInstanceType' => [ - 'description' => '网络实例的类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'vpc', - ], + 'TotalDropSession' => ['description' => '防火墙总拦截会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'NatDropSession' => ['description' => 'NAT防火墙拦截会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'VpcDropSession' => ['description' => 'VPC防火墙拦截会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'Time' => ['description' => '流量发生的时间。使用秒级时间戳格式表示。'."\n" + ."\n" + .'若该时间点未加工完成,则其他字段值均为-1。', 'type' => 'integer', 'format' => 'int64', 'example' => '1758474000'], + 'InternetDropSession' => ['description' => '互联网防火墙拦截会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorConnectType', - 'errorMessage' => 'Connect type invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 21,\\n \\"RequestId\\": \\"D2373503-3921-59F2-93A6-3DA7FB7****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-m5ewlqkuf7or****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"vpc\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取网络实例列表', - ], - 'DescribeVpcZone' => [ - 'summary' => '查询VPC zone。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询防火墙拦截趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxDropSession\\": 300,\\n \\"MaxDropTime\\": 1656837360,\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\",\\n \\"DataList\\": [\\n {\\n \\"TotalDropSession\\": 300,\\n \\"NatDropSession\\": 100,\\n \\"VpcDropSession\\": 100,\\n \\"Time\\": 1758474000,\\n \\"InternetDropSession\\": 100\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallTask' => [ + 'summary' => '获取防火墙任务', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '179270', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '120840', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'ChildInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '1415189284827022', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-cd6000c588214403****'], ], [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Environment', + 'name' => 'TaskType', 'in' => 'query', - 'schema' => [ - 'description' => '环境。取值:'."\n" - .'- **VPC**:VPC'."\n" - .'- **TransitRouter**:TransitRouter', - 'type' => 'string', - 'required' => false, - 'example' => 'VPC', - ], + 'schema' => ['description' => '任务的类型。枚举类型:'."\n" + ."\n" + .'- **NAT**:NAT边界任务'."\n" + ."\n" + .'- **VPC**:VPC边界任务', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => '任务ID。', 'type' => 'string', 'required' => false, 'example' => '199431783'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '694DFBF3-C060-529F-92D0-7FC7E0DA1E21', - ], - 'ZoneList' => [ - 'description' => '可用区列表。', + 'IsFound' => ['description' => '是否存在任务。', 'type' => 'boolean', 'example' => 'false'], + 'TaskStatus' => ['description' => '任务状态。取值:'."\n" + ."\n" + .'- **init**'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **finished**'."\n" + ."\n" + .'- **rollback**'."\n" + ."\n" + .'- **rollbackDone**', 'type' => 'string', 'example' => 'init'], + 'TaskWaitingTime' => ['description' => '等待时间,单位:分钟。', 'type' => 'string', 'example' => '30'], + 'TaskSteps' => [ + 'description' => '任务步骤。', 'type' => 'array', 'items' => [ - 'description' => '可用区列表。', + 'description' => '任务步骤。', 'type' => 'object', 'properties' => [ - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-b', - ], - 'LocalName' => [ - 'description' => '可用区名称。', - 'type' => 'string', - 'example' => '华东 1 可用区 B', - ], - 'ZoneType' => [ - 'description' => '查询到的可用区的类型,默认取值为 AvailabilityZone 即普通云上可用区。', - 'type' => 'string', - 'example' => 'AvailabilityZone', - ], + 'StepStatus' => ['description' => '任务步骤状态。枚举类型:'."\n" + ."\n" + .'- **init** '."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **finished**'."\n" + ."\n" + .'- **failed**', 'type' => 'string', 'example' => 'init'], + 'StepName' => ['description' => '创建云防火墙安全。', 'type' => 'string', 'example' => 'Create Firewall'], + 'StepProgress' => ['description' => '任务步骤进度。', 'type' => 'string', 'example' => '80'], + 'StepInfo' => ['description' => '任务信息。', 'type' => 'string', 'example' => 'abcd'], ], ], ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****'], + 'TaskName' => ['description' => '任务名称。', 'type' => 'string', 'example' => 'egressgw'], + 'TaskStartTimestamp' => ['description' => '任务创建时间。', 'type' => 'string', 'example' => '17151361285'], + 'TaskFinishTimestamp' => ['description' => '任务完成时间。', 'type' => 'string', 'example' => '17151381075'], + 'TaskId' => ['description' => '任务ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '189997648'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'user credentials failed', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationNotFound', - 'errorMessage' => 'CEN-TR attachment association not found.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"694DFBF3-C060-529F-92D0-7FC7E0DA1E21\\",\\n \\"ZoneList\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"LocalName\\": \\"华东 1 可用区 B\\",\\n \\"ZoneType\\": \\"AvailabilityZone\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC zone', - ], - 'DescribeVpcFirewallZone' => [ - 'summary' => '查询VPC防火墙可用区列表。', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'title' => '获取防火墙任务', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2022-02-24T13:48:33.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"TaskStatus\\": \\"init\\",\\n \\"TaskWaitingTime\\": \\"30\\",\\n \\"TaskSteps\\": [\\n {\\n \\"StepStatus\\": \\"init\\",\\n \\"StepName\\": \\"Create Firewall\\",\\n \\"StepProgress\\": \\"80\\",\\n \\"StepInfo\\": \\"abcd\\"\\n }\\n ],\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"TaskName\\": \\"egressgw\\",\\n \\"TaskStartTimestamp\\": \\"17151361285\\",\\n \\"TaskFinishTimestamp\\": \\"17151381075\\",\\n \\"TaskId\\": 189997648\\n}","type":"json"}]', + ], + 'DescribeFirewallTrafficTrend' => [ + 'summary' => '查询防火墙流量趋势。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -14547,170 +12623,103 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Environment', - 'in' => 'query', - 'schema' => [ - 'description' => '环境。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'TransitRouter' => 'cen-tr企业版使用', - 'VPC' => 'cen基础版使用', - ], - 'example' => 'TransitRouter', - ], - ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cen-4xbjup276au29r****', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'TransitRouterId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '转发路由器实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tr-m5etmb2q7e0mxcur****', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758470400'], ], [ - 'name' => 'SourceIp', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '222.212.86.7XXX', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758474000'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', + 'MaxBandwidthTimeBps' => [ + 'description' => '总流量峰值时刻,流量分布情况。', + 'type' => 'object', + 'properties' => [ + 'TotalBps' => ['description' => '总流量峰值。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'InternetBps' => ['description' => '总流量峰值时刻互联网防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'NatBps' => ['description' => '总流量峰值时刻NAT防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'VpcBps' => ['description' => '总流量峰值时刻VPC防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + ], ], - 'ZoneList' => [ - 'description' => '可用区列表。', + 'MaxBandwidthTime' => ['description' => '总流量峰值发生时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1758470400'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB085****'], + 'DataList' => [ + 'description' => '返回数据列表。', 'type' => 'array', 'items' => [ - 'description' => '可用区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '可用区。', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => '可用区ID', - 'type' => 'string', - 'example' => 'cn-hangzhou-c', - ], - 'LocalName' => [ - 'description' => '可用区名称。', - 'type' => 'string', - 'example' => '杭州 可用区C', - ], - ], + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '流量发生的时间。使用秒级时间戳格式表示。'."\n" + ."\n" + .'若该时间点未加工完成,则其他字段值均为-1。', 'type' => 'integer', 'format' => 'int64', 'example' => '1758470400'], + 'InternetBps' => ['description' => '互联网防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'NatBps' => ['description' => 'NAT防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'TotalBps' => ['description' => '防火墙总流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '300'], + 'VpcBps' => ['description' => 'VPC防火墙流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region is error, please reselect', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSrcDstIPError', 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'description' => '源公网IP和目的公网IP不能同时出现'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => '无效的流量类型'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询防火墙流量趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"ZoneList\\": [\\n [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-c\\",\\n \\"LocalName\\": \\"杭州 可用区C\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙可用区', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxBandwidthTimeBps\\": {\\n \\"TotalBps\\": 1000,\\n \\"InternetBps\\": 100,\\n \\"NatBps\\": 100,\\n \\"VpcBps\\": 100\\n },\\n \\"MaxBandwidthTime\\": 1758470400,\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1758470400,\\n \\"InternetBps\\": 100,\\n \\"NatBps\\": 100,\\n \\"TotalBps\\": 300,\\n \\"VpcBps\\": 100\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeVpcFirewallManualVSwitchList' => [ - 'summary' => '查询VPC防火墙手动模式交换机列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeFirewallVSwitch' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -14722,69 +12731,189 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68422', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68260', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'schema' => ['description' => '语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6b5lyul0x******'], + ], + [ + 'name' => 'VswitchId', + 'in' => 'query', + 'schema' => ['description' => '交换机的ID。', 'type' => 'string', 'required' => false, 'example' => 'vsw-bp1sqg9w******'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-5b202e7f0be64611****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '102910763545****'], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'A1562A68-99FA-5D6B-BD5B-2F959F25****'], + 'VswitchList' => [ + 'description' => '交换机列表。', + 'type' => 'array', + 'items' => [ + 'description' => '交换机列表。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2zeez7gymz5r4pi****am'], + 'CidrBlock' => ['description' => 'IPv4网段。', 'type' => 'string', 'example' => '192.168.0.XX/16'], + 'VswitchId' => ['description' => '交换机id。', 'type' => 'string', 'example' => 'vsw-bp10qla9mgi42eo****'], + 'AvailableIpCount' => ['description' => '可用ip数量。', 'type' => 'string', 'example' => '10'], + 'VswitchName' => ['description' => '交换机名称。', 'type' => 'string', 'example' => 'vsw-test'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'MemberUid' => ['description' => '成员账号UID。', 'type' => 'string', 'example' => '184480249330****'], + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-b'], + 'FirewallCount' => ['description' => '入侵防御事件数。', 'type' => 'string', 'example' => '10'], + 'FirewallList' => [ + 'description' => '防火墙列表。', + 'type' => 'array', + 'items' => [ + 'description' => '防火墙列表。', + 'type' => 'object', + 'properties' => [ + 'FirewallName' => ['description' => '云防火墙的名称。', 'type' => 'string', 'example' => 'test-Firewall'], + 'FirewallId' => ['description' => '防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-37145c8f5ede45e9****'], + ], + ], + ], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取防火墙创建的交换机', + 'summary' => '获取防火墙创建的交换机。', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"A1562A68-99FA-5D6B-BD5B-2F959F25****\\",\\n \\"VswitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2zeez7gymz5r4pi****am\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"MemberUid\\": \\"184480249330****\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"FirewallCount\\": \\"10\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeFirewallVswitchResources' => [ + 'summary' => '查询防火墙交换机资源。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68261', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '地域ID。', + 'description' => '接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'cn-qingdao', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'VpcId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC实例ID。', + 'description' => '接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'vpc-m5ewlqkuf7orclr1****', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'MemberUid', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze36yb348axtnf****'], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => '成员账号UID。', + 'description' => '云防火墙类型。', 'type' => 'string', - 'required' => false, - 'example' => '18820897691****', + 'required' => true, + 'enumValueTitles' => [], + 'example' => 'internet', ], ], ], @@ -14793,315 +12922,284 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '6EED3674-74E7-54DC-8FD4-6A374133****', - ], - 'VSwitchList' => [ + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A81E99DF-07CF-5EE4-966A-9FF9F2F****'], + 'VswitchList' => [ 'description' => '交换机列表。', 'type' => 'array', 'items' => [ 'description' => '交换机列表。', 'type' => 'object', 'properties' => [ - 'Status' => [ - 'description' => '状态。', - 'type' => 'string', - 'example' => 'Available', - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-uf62kq7c364sil2z2****', - ], - 'VSwitchId' => [ - 'description' => '交换机ID。', - 'type' => 'string', - 'example' => 'vsw-bp10d0kcp907721z****', - ], - 'CidrBlock' => [ - 'description' => 'IPv4网段。', - 'type' => 'string', - 'example' => '10.0.31.0/24', - ], - 'AvailableIpAddressCount' => [ - 'description' => '交换机中可用的IP地址数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-a', - ], - 'AliUid' => [ - 'description' => '阿里云账号的UID。'."\n" - ."\n" - .'> 云防火墙成员账号的主账号。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122167357026****', - ], - 'RouteTableId' => [ - 'description' => '关联路由表ID。', - 'type' => 'string', - 'example' => 'vtb-2zet3gyk01o07so****', - ], - 'OwnerId' => [ - 'description' => '所属用户ID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '137578716100****', - ], - 'VSwitchName' => [ - 'description' => '交换机的名称。', - 'type' => 'string', - 'example' => 'vsw-test', + 'Status' => ['description' => '配置状态。', 'type' => 'string', 'example' => 'open'], + 'CidrBlock' => ['description' => 'IPv4网段。', 'type' => 'string', 'example' => '192.168.0.XX/16'], + 'VswitchId' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-bp10qla9mgi42eo****'], + 'AvailableIpCount' => ['description' => '可用区下可用IP。', 'type' => 'string', 'example' => '10'], + 'VswitchName' => ['description' => '交换机名称。', 'type' => 'string', 'example' => 'vsw-test'], + 'RouteTableType' => ['description' => '路由表的类型。取值:'."\n" + ."\n" + .'- **Custom**:自定义路由表。'."\n" + ."\n" + .'- **System**:系统路由表。', 'type' => 'string', 'example' => 'Custom'], + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-shanghai-b'], + 'RouteTableId' => ['description' => '路由表的ID。', 'type' => 'string', 'example' => 'vtb-uf6ml7rgw5gzzdr****'], + 'Detail' => ['description' => '事件详情。', 'type' => 'string', 'example' => '[]'], + 'FirewallList' => [ + 'description' => '防火墙列表。', + 'type' => 'array', + 'items' => [ + 'description' => '防火墙列表。', + 'type' => 'object', + 'properties' => [ + 'FirewallId' => ['description' => '防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-37145c8f5ede45e9****'], + 'FirewallName' => ['description' => '云防火墙的名称。', 'type' => 'string', 'example' => 'test-Firewall'], + 'FirewallType' => ['description' => '云防火墙类型。', 'type' => 'string', 'example' => 'NatFirewall'], + ], + ], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorVpcOpenApi', - 'errorMessage' => 'vpc open api failed', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'vpc id invalid', 'description' => 'VPC选择错误, 请重新选择'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"6EED3674-74E7-54DC-8FD4-6A374133****\\",\\n \\"VSwitchList\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VpcId\\": \\"vpc-uf62kq7c364sil2z2****\\",\\n \\"VSwitchId\\": \\"vsw-bp10d0kcp907721z****\\",\\n \\"CidrBlock\\": \\"10.0.31.0/24\\",\\n \\"AvailableIpAddressCount\\": 10,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-hangzhou-a\\",\\n \\"AliUid\\": 0,\\n \\"RouteTableId\\": \\"vtb-2zet3gyk01o07so****\\",\\n \\"OwnerId\\": 0,\\n \\"VSwitchName\\": \\"vsw-test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙手动模式交换机列表', - ], - 'CreateVpcFirewallCenConfigure' => [ - 'summary' => '创建VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询防火墙交换机资源', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVswitchResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"A81E99DF-07CF-5EE4-966A-9FF9F2F****\\",\\n \\"VswitchList\\": [\\n {\\n \\"Status\\": \\"open\\",\\n \\"CidrBlock\\": \\"192.168.0.XX/16\\",\\n \\"VswitchId\\": \\"vsw-bp10qla9mgi42eo****\\",\\n \\"AvailableIpCount\\": \\"10\\",\\n \\"VswitchName\\": \\"vsw-test\\",\\n \\"RouteTableType\\": \\"Custom\\",\\n \\"ZoneId\\": \\"cn-shanghai-b\\",\\n \\"RouteTableId\\": \\"vtb-uf6ml7rgw5gzzdr****\\",\\n \\"Detail\\": \\"[]\\",\\n \\"FirewallList\\": [\\n {\\n \\"FirewallId\\": \\"vfw-tr-37145c8f5ede45e9****\\",\\n \\"FirewallName\\": \\"test-Firewall\\",\\n \\"FirewallType\\": \\"NatFirewall\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeIPSRules' => [ + 'summary' => '查询IPS规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68133', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68300', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '8.139.222.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '请求消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', + 'description' => '请求消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => '测试用实例', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'RuleType', 'in' => 'query', 'schema' => [ - 'description' => '创建VPC边界防火墙的VPC实例ID。'."\n", + 'description' => '规则类型。', 'type' => 'string', 'required' => true, - 'example' => 'vpc-bp10zlifxh6j0232w****', + 'enumValueTitles' => ['patchRule' => 'patchRule', 'basicRule' => 'basicRule'], + 'example' => 'patchRule', ], ], [ - 'name' => 'VpcRegion', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '创建VPC边界防火墙的VPC所属地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'QueryModify', + 'in' => 'query', + 'schema' => ['description' => '是否修改过规则。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'RuleLevel', 'in' => 'query', 'schema' => [ - 'description' => '设置VPC边界防火墙的开关状态。取值:'."\n" - ."\n" - .'- **open**(默认):创建VPC边界防火墙后自动开启防护。'."\n" - .'- **close**:创建VPC边界防火墙后不自动开启防护。您可以调用接口[ModifyVpcFirewallCenSwitchStatus](~~345780~~)开启防护。', - 'type' => 'string', - 'required' => true, - 'example' => 'open', + 'description' => '规则等级。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enumValueTitles' => [1 => '严格', '中等', '较低'], + 'example' => '1', ], ], [ - 'name' => 'CenId', + 'name' => 'AttackType', + 'in' => 'query', + 'schema' => ['description' => '攻击应用类型。', 'type' => 'string', 'required' => false, 'example' => 'Web attack'], + ], + [ + 'name' => 'AttackApp', + 'in' => 'query', + 'schema' => ['description' => '攻击应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], + ], + [ + 'name' => 'RuleAction', 'in' => 'query', 'schema' => [ - 'description' => '云企业网实例ID。', + 'description' => '规则动作。', 'type' => 'string', - 'required' => true, - 'example' => 'cen-x5jayxou71ad73****', + 'required' => false, + 'enumValueTitles' => ['drop' => '拦截', 'alert' => '观察'], + 'example' => 'alert', ], ], [ - 'name' => 'MemberUid', + 'name' => 'RuleId', + 'in' => 'query', + 'schema' => ['description' => '规则ID。', 'type' => 'string', 'required' => false, 'example' => 'f835533b-01ef-49f4-b172-85bbfd0e****'], + ], + [ + 'name' => 'RuleName', + 'in' => 'query', + 'schema' => ['description' => '规则名称。', 'type' => 'string', 'required' => false, 'example' => 'Nmap scan detection'], + ], + [ + 'name' => 'Cve', + 'in' => 'query', + 'schema' => ['description' => 'CVE编号。', 'type' => 'string', 'required' => false, 'example' => 'CVE-2026-25253'], + ], + [ + 'name' => 'RuleClass', 'in' => 'query', 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', + 'description' => '支持的引擎模式。', 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'enumValueTitles' => ['alert' => '观察', 'dropMiddle' => '拦截-中等严格', 'dropStrict' => '拦截-严格', 'dropLoose' => '拦截-宽松/中等/严格'], + 'example' => 'dropStrict', ], ], [ - 'name' => 'VSwitchId', + 'name' => 'DefaultAction', 'in' => 'query', 'schema' => [ - 'description' => '指定云防火墙接口所属的vSwitch ID。', + 'description' => '启用状态。', 'type' => 'string', 'required' => false, - 'example' => 'vsw-qzeaol304m***', + 'enumValueTitles' => ['禁用', '启用'], + 'example' => '1', ], ], [ - 'name' => 'FirewallVpcCidrBlock', + 'name' => 'Sort', + 'in' => 'query', + 'schema' => ['description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'UpdateTime'], + ], + [ + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '防火墙所使用VPC网段, 需配置子网掩码不大于28位网段来分配给创建防火墙过程所需VPC网段,用以自动创建防火墙安全VPC(Cloud_Firewall_VPC)进行流量引流处理。'."\n" - ."\n" - .'如果不填此参数,则默认自动分配网段10.0.0.0/8。'."\n" - ."\n" - .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', + 'description' => '排序方向。', 'type' => 'string', 'required' => false, - 'example' => '10.0.0.0/8', + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], [ - 'name' => 'FirewallVpcZoneId', + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => '防火墙所属的主可用区ID。'."\n" - .'如果您的业务延时敏感,您可以自定义防火墙可用区和业务VPC交换机可用区相同,以便降低延时。'."\n" - ."\n" - .'如果不填此参数,则默认自动分配防火墙可用区。'."\n" - ."\n\n" - ."\n" - .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', + 'description' => '云防火墙类型。', 'type' => 'string', 'required' => false, - 'example' => 'cn-hangzhou-a', + 'enumValueTitles' => ['VpcFirewall' => 'VPC 边界防火墙', 'InternetFirewall' => '互联网边界防火墙'], + 'example' => 'VpcFirewall', + 'default' => 'InternetFirewall', ], ], [ - 'name' => 'FirewallVSwitchCidrBlock', + 'name' => 'VpcFirewallId', 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-rnbkqx4a8er21a****'], + ], + [ + 'name' => 'AttackApps', + 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => '防火墙所使用vSwitch网段, 需配置子网掩码不大于29位且不与网络规划冲突的网段来分配给创建防火墙过程所需vSwitch网段,用以自动创建防火墙安全VPC内的交换机(Cloud_Firewall_VSWITCH)进行流量引流处理。交换机网段必须是防火墙VPC网段的子网。'."\n" - ."\n" - .'如果不填此参数, 则默认自动分配网段10.219.219.216/29。'."\n" - ."\n" - .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', - 'type' => 'string', + 'description' => '攻击应用列表。', + 'type' => 'array', + 'items' => ['description' => '攻击应用列表。', 'type' => 'string', 'required' => false, 'example' => 'SSH'], 'required' => false, - 'example' => '10.0.*.*/28', + 'maxItems' => 50, + 'minItems' => 0, ], ], [ - 'name' => 'FirewallVpcStandbyZoneId', + 'name' => 'AttackAppCategory', 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'repeatList', 'schema' => [ - 'description' => '防火墙所属的备可用区ID。只有防火墙主可用区服务不可用时, 防火墙会自动切换到备可用区继续运行。'."\n" - ."\n" - .'如果不填此参数,则默认自动分配防火墙备可用区。'."\n" - ."\n\n" - ."\n" - .'> 参数仅本CEN本地域首次创建VPC防火墙时有效。', - 'type' => 'string', + 'description' => '被攻击应用的类别的列表,使用["AttackAppCategory1","AttackAppCategory2"]格式表示。', + 'type' => 'array', + 'items' => ['description' => '被攻击应用的类别的列表,使用["AttackAppCategory1","AttackAppCategory2"]格式表示。', 'type' => 'string', 'required' => false, 'example' => 'AI Component'], 'required' => false, - 'example' => 'cn-hangzhou-b', + 'maxItems' => 50, + 'minItems' => 0, ], ], ], @@ -15110,291 +13208,142 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PageSize' => ['description' => '页数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '6DF55258-1448-5386-B263-4771D081****'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'Rules' => [ + 'description' => '规则列表。', + 'type' => 'array', + 'items' => [ + 'description' => '规则列表。', + 'type' => 'object', + 'properties' => [ + 'CurrentMode' => [ + 'description' => '当前动作。', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'alert', + ], + 'UpdateTime' => ['description' => '修改时间的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1775101028'], + 'AttackType' => ['description' => '攻击类型。', 'type' => 'string', 'example' => 'Exception connection'], + 'RuleLevel' => [ + 'description' => '规则等级。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '严格', '中等', '较低'], + 'example' => '1', + ], + 'RuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => 'f532f59d-2026-436b-8209-e04d8ebc2****'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'Nmap扫描探测'], + 'DefaultMode' => [ + 'description' => '默认动作。', + 'type' => 'string', + 'enumValueTitles' => ['drpo' => '拦截', 'alert' => '观察'], + 'example' => 'alert', + ], + 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'test'], + 'RuleClass' => [ + 'description' => '支持的引擎模式。'."\n" + ."\n" + .'生效条件:仅当 DefaultMode 为 drop (拦截) 时有效;其它模式下该值无参考意义。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [1 => '拦截-宽松/中等/严格', '拦截-宽松/中等', '拦截-严格'], + 'example' => '1', + ], + 'Cve' => ['description' => 'CVE编号。', 'type' => 'string', 'example' => 'cve-2024-38816'], + 'AttackApp' => ['description' => '攻击应用。', 'type' => 'string', 'example' => 'SMB'], + 'RuleUuid' => ['description' => '规则uuid。', 'type' => 'string', 'example' => 'd401b0cb-dc64-4bbe-bba0-3e7c744****'], + 'UserDefined' => ['description' => '是否为用户自定义规则。', 'type' => 'string', 'example' => '1'], + 'UserStatus' => ['description' => '用户状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], + 'OpenCount' => ['description' => '开启总条目。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752'], + 'HighRiskCount' => ['description' => '高危风险数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '518'], + 'DropCount' => ['description' => '拦截总条目。', 'type' => 'integer', 'format' => 'int64', 'example' => '976'], + 'UserDefineCount' => ['description' => '自定义动作总条目。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', - ], - [ - 'errorCode' => 'ErrorVpcId', - 'errorMessage' => 'The VPC ID is invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'The region is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorCenVbrNotSupport', - 'errorMessage' => '云企业网vbr不支持开防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportCCN', - 'errorMessage' => 'VPC防火墙云企业网CCN实例, 不支持开启VPC防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportMultipleAccounts', - 'errorMessage' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'quota is not enough, unable to configure VPC firewall, please increase quota first.', - ], - [ - 'errorCode' => 'ErrorHubvpcCannotCreate', - 'errorMessage' => 'HUB VPC不允许创建防火墙', - ], - [ - 'errorCode' => 'ErrorCenVpcEcConflict', - 'errorMessage' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', - ], - [ - 'errorCode' => 'ErrorRegionNoDisable', - 'errorMessage' => 'There are unsupported regions, please reselect', - ], - [ - 'errorCode' => 'ErrorCenFirewallVpcNumInvalid', - 'errorMessage' => '云企业网vpc数量不足, 无法开启VPC边界防火墙', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The target network segment is wrong. Please configure the target network segment correctly.', - ], - [ - 'errorCode' => 'ErrorVpcCustomRouteTableWithVswitch', - 'errorMessage' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙', - ], - [ - 'errorCode' => 'ErrorCenNotSupportTREnterpriseAutoMode', - 'errorMessage' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdError', - 'errorMessage' => 'Network InstanceId ID is invalid', - ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorOwnerId', - 'errorMessage' => 'owner id invalid.', - ], - [ - 'errorCode' => 'ErrorCenManualFirewallExist', - 'errorMessage' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', - ], - [ - 'errorCode' => 'ErrorFirewallExistDeleting', - 'errorMessage' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorCenRouteMapExist', - 'errorMessage' => 'cen route map is exist.', - ], - [ - 'errorCode' => 'ErrorUserCredentials', - 'errorMessage' => 'User credentials failed.', - ], - [ - 'errorCode' => 'ErrorDBNoRow', - 'errorMessage' => 'No rows in database.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallVpcNumLimit', - 'errorMessage' => 'The number of vpcs in this region is limited to open the vpc firewall.', - ], - [ - 'errorCode' => 'ErrorCenExistPublicCidr', - 'errorMessage' => 'cen domain route exist public route.', - ], - [ - 'errorCode' => 'ErrorCenExistTrRoute', - 'errorMessage' => 'Cen VPC route exist tr route.', - ], - [ - 'errorCode' => 'ErrorCenTRAssociationCustomRouteTable', - 'errorMessage' => 'CEN-TR association custom route table.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallZoneId', - 'errorMessage' => 'VPC firewall zone error.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorFirewallVSwitchCidrConflict', - 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询IPS规则', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIPSRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', - 'title' => '创建VPC边界防火墙', - 'description' => '本接口一般用于为云企业网内的VPC实例创建VPC边界防火墙。该VPC边界防火墙可以防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量,不支持防护VBR与VBR、CCN与CCN、VBR与CCN之间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"6DF55258-1448-5386-B263-4771D081****\\",\\n \\"TotalCount\\": 20,\\n \\"Rules\\": [\\n {\\n \\"CurrentMode\\": \\"alert\\",\\n \\"UpdateTime\\": 1775101028,\\n \\"AttackType\\": \\"Exception connection\\",\\n \\"RuleLevel\\": 1,\\n \\"RuleId\\": \\"f532f59d-2026-436b-8209-e04d8ebc2****\\",\\n \\"RuleName\\": \\"Nmap扫描探测\\",\\n \\"DefaultMode\\": \\"alert\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleClass\\": 1,\\n \\"Cve\\": \\"cve-2024-38816\\",\\n \\"AttackApp\\": \\"SMB\\",\\n \\"RuleUuid\\": \\"d401b0cb-dc64-4bbe-bba0-3e7c744****\\",\\n \\"UserDefined\\": \\"1\\",\\n \\"UserStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 1752,\\n \\"HighRiskCount\\": 518,\\n \\"DropCount\\": 976,\\n \\"UserDefineCount\\": 32\\n}","type":"json"}]', ], - 'ModifyVpcFirewallCenConfigure' => [ - 'summary' => '修改VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的配置信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInstanceMembers' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68493', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68269', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '分页查询时,返回第几页数据。'."\n" + .'默认值为**1**,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '分页查询时,每页包含多少条结果。'."\n" + ."\n" + .'默认值为**20**,表示每页包含20条结果。', 'type' => 'string', 'required' => false, 'example' => '20'], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试用实例', - ], + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], [ - 'name' => 'MemberUid', + 'name' => 'MemberDisplayName', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '云防火墙成员账号的名称。', 'type' => 'string', 'required' => false, 'example' => 'cloudfirewall_2'], + ], + [ + 'name' => 'MemberDesc', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的备注信息,长度为1~256个字符。', 'type' => 'string', 'required' => false, 'example' => 'renewal'], ], ], 'responses' => [ @@ -15402,173 +13351,140 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8', + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'A531AE1A-FBA2-48B6-BAB8-84D02BD409EE'], + 'PageInfo' => [ + 'description' => '分页查询时的页面信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '本次查询第几页数据。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '本次查询每页包含多少条结果。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '云防火墙成员账号的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + ], + ], + 'Members' => [ + 'description' => '云防火墙成员账号的信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => '云防火墙成员账号的备注信息。', 'type' => 'string', 'example' => 'renewal'], + 'MemberDisplayName' => ['description' => '云防火墙成员账号的名称。', 'type' => 'string', 'example' => 'cloudfirewall_2'], + 'CreateTime' => ['description' => '云防火墙成员账号的加入时间。使用时间戳格式,单位:秒。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1615189819'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****'], + 'MemberStatus' => ['description' => '云防火墙成员账号的状态。取值:'."\n" + .'- **normal**:正常'."\n" + .'- **deleting**:删除中', 'type' => 'string', 'example' => 'normal'], + 'ModifyTime' => ['description' => '云防火墙成员账号的最近修改时间。使用时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '1615189819'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallIdNotFound', - 'errorMessage' => 'The VPC firewall ID is not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'The region is invalid.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - [ - 'errorCode' => 'ErrorRegionNoDisable', - 'errorMessage' => 'There are unsupported regions, please reselect', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', - 'title' => '修改VPC边界防火墙的配置信息(云企业网)', - 'description' => '本接口一般用于修改VPC边界防火墙的配置信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" + 'title' => '获取云防火墙成员账号信息', + 'summary' => '获取云防火墙成员账号信息。', + 'description' => '本接口一般用于查询云防火墙成员账号信息。'."\n" ."\n" .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ModifyVpcFirewallCenSwitchStatus' => [ - 'summary' => '修改VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的开关状态。', - 'methods' => [ - 'post', - 'get', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceMembers'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20\\n },\\n \\"Members\\": [\\n {\\n \\"MemberDesc\\": \\"renewal\\",\\n \\"MemberDisplayName\\": \\"cloudfirewall_2\\",\\n \\"CreateTime\\": 1615189819,\\n \\"MemberUid\\": 0,\\n \\"MemberStatus\\": \\"normal\\",\\n \\"ModifyTime\\": 1615189819\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\n \\n 1\\n 20\\n 20\\n \\n \\n renewal\\n cloudfirewall_2\\n 1615189819\\n normal\\n 1615189819\\n \\n","errorExample":""}]', + ], + 'DescribeInstanceRdAccounts' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68494', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68270', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.170.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '当前页面页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '设置VPC边界防火墙的开关状态。取值:'."\n" - ."\n" - .'- **open**:开启。'."\n" - ."\n" - .'- **close**:关闭。', - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => '当前页面页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'MemberDisplayName', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的名称。', 'type' => 'string', 'required' => false, 'example' => 'cloudfirewall_2'], + ], + [ + 'name' => 'MemberDesc', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的备注信息。', 'type' => 'string', 'required' => false, 'example' => 'renewal'], ], ], 'responses' => [ @@ -15576,172 +13492,112 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2', + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '06D1EC07-C9EB-58AC-A750-C87C9A0****'], + 'Accounts' => [ + 'description' => '账号信息。', + 'type' => 'array', + 'items' => [ + 'description' => '账号信息。', + 'type' => 'object', + 'properties' => [ + 'DisplayName' => ['description' => '成员名称。', 'type' => 'string', 'example' => 'test'], + 'AccountId' => ['description' => '成员账号ID。', 'type' => 'string', 'example' => '171054237268****'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCenTRManualModifySwitchStatus', - 'errorMessage' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', - ], - [ - 'errorCode' => 'ErrorCenRouteMapExist', - 'errorMessage' => 'cen route map is exist.', - ], - [ - 'errorCode' => 'ErrorFirewallNotConfig', - 'errorMessage' => 'Firewall not config', - ], - [ - 'errorCode' => 'ErrorFirewallStatusClosed', - 'errorMessage' => 'firewall is already closed.', - ], - [ - 'errorCode' => 'ErrorNetworkInterfaceNotFound', - 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorFirewallVSwitchCidrConflict', - 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => '访问的实例不存在。'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => '无效的参数'], + ['errorCode' => 'ErrorInstanceAliuidNotDaMa', 'errorMessage' => 'instance aliuid not DA or MA.', 'description' => '云防火墙实例主账号不是DA或者MA。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', - 'title' => '修改VPC边界防火墙的开关状态(云企业网)', - 'description' => '本接口一般用于修改VPC边界防火墙的开关状态。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。打开VPC边界防火墙的开关后,云企业网内的网络实例和指定VPC之间的互访流量会受VPC边界防火墙防护。关闭VPC边界防火墙的开关后,VPC边界防火墙不再防护云企业网内的网络实例和指定VPC之间的互访流量。'."\n" - ."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DeleteVpcFirewallCenConfigure' => [ - 'summary' => '删除VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取实例RD账号', + 'summary' => '获取实例RD账号。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRdAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D1EC07-C9EB-58AC-A750-C87C9A0****\\",\\n \\"Accounts\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"AccountId\\": \\"171054237268****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInstanceRiskLevels' => [ + 'summary' => '查询实例风险等级。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68163', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '174508', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'en'], ], [ - 'name' => 'VpcFirewallIdList', + 'name' => 'Instances', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID列表。', + 'description' => '实例列表信息。', 'type' => 'array', 'items' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', + 'description' => '实例列表。', + 'type' => 'object', + 'properties' => [ + 'Uuid' => ['description' => '实例的UUID。', 'type' => 'string', 'required' => false, 'example' => '181ad081-e4f2-4e3e-b925-03b67f648397'], + 'InstanceId' => ['description' => '云防火墙的ID。', 'type' => 'string', 'required' => false, 'example' => 'vipcloudfw-cn-7mz2fj8nm0u'], + 'IntranetIp' => ['description' => '实例的私网IP。', 'type' => 'string', 'required' => false, 'example' => '172.17.XX.XX'], + 'InternetIp' => [ + 'description' => '实例的公网IP。', + 'type' => 'array', + 'items' => ['description' => '实例的公网IP。', 'type' => 'string', 'required' => false, 'example' => '60.205.XX.XX'], + 'required' => false, + 'maxItems' => 100, + ], + ], 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', ], - 'required' => true, - 'maxItems' => 200, - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'maxItems' => 100, ], ], ], @@ -15750,76 +13606,69 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014'], + 'InstanceRisks' => [ + 'description' => '实例风险列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InstanceId' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'example' => 'vipcloudfw-cn-7mz2fj8nm0u'], + 'Level' => ['description' => '风险等级。取值包括:'."\n" + .'- **medium**:中等', 'type' => 'string', 'example' => 'medium'], + 'Details' => [ + 'description' => 'ECS实例风险列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'ECS实例风险列表。', + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => '服务器IP地址。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'Type' => ['description' => '类型。', 'type' => 'string', 'example' => 'ResourceNotProtected'], + 'Level' => ['description' => '风险等级。取值包括:'."\n" + .'- **medium**:中等', 'type' => 'string', 'example' => 'medium'], + ], + ], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => '删除VPC边界防火墙(云企业网)', - 'description' => '本接口一般用于删除VPC边界防火墙。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallList' => [ - 'summary' => '查询VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询实例风险等级', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceRiskLevels'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3DA014\\",\\n \\"InstanceRisks\\": [\\n {\\n \\"InstanceId\\": \\"vipcloudfw-cn-7mz2fj8nm0u\\",\\n \\"Level\\": \\"medium\\",\\n \\"Details\\": [\\n {\\n \\"Ip\\": \\"203.107.XX.XX\\",\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetDropTrafficTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -15831,491 +13680,141 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68420', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'tenant', + 'abilityTreeCode' => '68274', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '120.136.21.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - ], - [ - 'name' => 'FirewallSwitchStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启。'."\n" - .'- **closed**:已关闭。'."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" - .'- **configured**:表示已配置VPC边界防火墙。'."\n" - ."\n" - .'> 不设置该参数表示查询所有状态的VPC边界防火墙。', - 'type' => 'string', - 'required' => false, - 'example' => 'opened', - ], - ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], - ], - [ - 'name' => 'VpcFirewallName', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试环境防火墙', - ], - ], - [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。'."\n" - ."\n" - .'默认值为**1**,表示返回第**1**页数据。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'PageSize', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '分页查询时,设置每页包含VPC边界防火墙的数量。'."\n" - ."\n" - .'默认值为**10**,表示每页包含**10**条结果。最大值为**50**。', + 'description' => '方向。', 'type' => 'string', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['in' => '入向', 'out' => '出向'], + 'example' => 'out', ], ], [ - 'name' => 'MemberUid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749176793'], ], [ - 'name' => 'ConnectSubType', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '连接子类型。取值:'."\n" - ."\n" - .'- **vpc2vpc**:高速通道。'."\n" - .'- **vpcpeer**:对等连接。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpcpeer', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1756346821'], ], [ - 'name' => 'PeerUid', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC云账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'VPC防火墙的列表。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'VPC边界防火墙的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2', - ], - 'VpcFirewalls' => [ - 'description' => 'VPC边界防火墙的详细信息。', + 'DropSessionMax' => ['description' => '对应周期丢弃的最大值 (峰值)', 'type' => 'integer', 'format' => 'int64', 'example' => '8090'], + 'RingRatioAverage' => ['description' => '流量率。单位:%。', 'type' => 'string', 'example' => '1.23'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'RatioAverage' => ['description' => '流量倍增模式。取值:-**0**:优先级方式-**1**:负载均衡方式', 'type' => 'string', 'example' => '12.34'], + 'DataList' => [ + 'description' => '数据列表。', 'type' => 'array', 'items' => [ - 'description' => 'VPC边界防火墙的详细信息。', + 'description' => '数据列表。', 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => 'VPC边界防火墙的互通类型。取值:**expressconnect**,表示高速通道。', - 'type' => 'string', - 'example' => 'expressconnect', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RegionStatus' => [ - 'description' => '地域开放状态。取值:'."\n" - ."\n" - .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙。'."\n" - .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙。', - 'type' => 'string', - 'example' => 'enable', - ], - 'Bandwidth' => [ - 'description' => '高速通道的带宽规格。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'example' => '测试防火墙', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙开关的状态。取值:'."\n" - ."\n" - .'- **opened**:已开启。'."\n" - .'- **closed**:已关闭。'."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙。', - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => '本端VPC的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcName' => [ - 'description' => '本端VPC的实例名称。', - 'type' => 'string', - 'example' => '测试用实例', - ], - 'VpcId' => [ - 'description' => '本端VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'AuthorizationStatus' => [ - 'description' => '本端VPC的授权状态。取值:authorized,表示已授权。', - 'type' => 'string', - 'example' => 'authorized', - ], - 'OwnerId' => [ - 'description' => '本端VPC所属阿里云账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'RegionNo' => [ - 'description' => '本端VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcCidrTableList' => [ - 'description' => '本端VPC的网段列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => '本端VPC的网段列表信息。', - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => '本端VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => '本端VPC的路由条目列表。', - 'type' => 'array', - 'items' => [ - 'description' => '本端VPC的路由条目列表。', - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => '本端VPC的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => '本端VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'PeerVpc' => [ - 'description' => '对端VPC的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcName' => [ - 'description' => '对端VPC的实例名称。', - 'type' => 'string', - 'example' => '测试vpc2', - ], - 'VpcId' => [ - 'description' => '对端VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'AuthorizationStatus' => [ - 'description' => '对端VPC的授权状态。取值:**authorized**,表示已授权。', - 'type' => 'string', - 'example' => 'authorized', - ], - 'OwnerId' => [ - 'description' => '对端VPC所属的阿里云账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '158039427902****', - ], - 'RegionNo' => [ - 'description' => '对端VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'VpcCidrTableList' => [ - 'description' => '对端VPC网段列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => '对端VPC网段列表信息。', - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => '对端VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1256', - ], - 'RouteEntryList' => [ - 'description' => '对端VPC路由条目列表信息。', - 'type' => 'array', - 'items' => [ - 'description' => '对端VPC路由条目列表信息。', - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => '对端VPC的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => '对端VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'IpsConfig' => [ - 'description' => 'IPS配置信息。', - 'type' => 'object', - 'properties' => [ - 'BasicRules' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开启状态。'."\n" - .'- **0**:关闭状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'EnableAllPatch' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开启状态。'."\n" - .'- **0**:关闭状态。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RunMode' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - .'- **0**:观察模式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleClass' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - 'MemberUid' => [ - 'description' => '阿里云成员账号的UID。', - 'type' => 'string', - 'example' => '258039427902****', - ], - 'ResultCode' => [ - 'description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" - ."\n" - .'- **Unauthorized**:表示存在未授权的VPC, 不允许创建VPC边界防火墙。'."\n" - .'- **RegionDisable**:表示VPC所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙。'."\n" - .'- **空字符串**:表示该网络实例可以正常创建VPC边界防火墙。', - 'type' => 'string', - 'example' => 'Unauthorized', - ], - 'ConnectSubType' => [ - 'description' => '连接子类型。取值:'."\n" - ."\n" - .'- **vpc2vpc**:高速通道。'."\n" - .'- **vpcpeer**:对等连接。', - 'type' => 'string', - 'example' => 'vpcpeer', - ], - 'AclConfig' => [ - 'description' => 'ACL引擎模式。', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式 '."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - 'default' => '0', - ], - ], - ], + 'Time' => ['description' => '时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + 'AclDrop' => ['description' => '对应的入侵防御事件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'DropRatio' => ['description' => '查询到的流量点列表。', 'type' => 'string', 'example' => '1'], + 'RingDataTime' => ['description' => '上周期对应时间点。时间格式为YYYY-MM-DD HH:mm:ss。', 'type' => 'string', 'example' => '2018-08-25 12:00:00'], + 'IpsDrop' => ['description' => '查询到的ip地址的数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalSession' => ['description' => '总请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'DataTime' => ['description' => '当前时间点。时间格式为YYYY-MM-DD HH:mm:ss。', 'type' => 'string', 'example' => '2018-08-25 12:00:00'], + 'DropSession' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'RingTime' => ['description' => '动态丢包时间。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1724982259'], + 'DropRing' => ['description' => '对象取值范围:**\\[0,10000\\]**。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'DropRingRatio' => ['description' => '网络流量的速率。单位:kbps。', 'type' => 'string', 'example' => '1'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcName\\": \\"测试vpc2\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"ConnectSubType\\": \\"vpcpeer\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n expressconnect\\n vfw-m5e7dbc4y****\\n enable\\n 2\\n 测试防火墙\\n opened\\n \\n 测试用实例\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 测试vpc2\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n \\n","errorExample":""}]', - 'title' => '获取高速通道防火墙列表', - 'description' => '本接口一般用于分页查询VPC边界防火墙的信息。该VPC边界防火墙是防护通过高速通道连接两个VPC之间的流量。'."\n" - ."\n" - .'### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallDetail' => [ - 'summary' => '查询VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的详细信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '互联网防御趋势', + 'summary' => '互联网防御趋势。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 8090,\\n \\"RingRatioAverage\\": \\"1.23\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"RatioAverage\\": \\"12.34\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"DropRatio\\": \\"1\\",\\n \\"RingDataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 10,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 12,\\n \\"RingTime\\": 1724982259,\\n \\"DropRing\\": 0,\\n \\"DropRingRatio\\": \\"1\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenDetail' => [ + 'summary' => '获取互联网开放详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -16327,24 +13826,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68419', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68276', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '222.212.86.7XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -16352,427 +13851,322 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '应用名称,精确匹配,不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], ], [ - 'name' => 'LocalVpcId', + 'name' => 'ServiceNameFuzzy', + 'in' => 'query', + 'schema' => ['description' => '应用名称,模糊匹配,不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], + ], + [ + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '本端VPC的实例ID。', + 'description' => '风险等级,不填为全部风险等级。', 'type' => 'string', 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + 'enumValueTitles' => ['无风险', '低危', '中危', '高危', -1 => '评估中'], + 'example' => '3', ], ], [ - 'name' => 'PeerVpcId', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '对端VPC的实例ID。', + 'description' => '建议策略级别。', 'type' => 'string', 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', + 'enumValueTitles' => ['未知', 10 => '放行', 20 => '检查', 30 => '拒绝', -1 => '评估中'], + 'example' => '10', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'ConnectType' => [ - 'description' => 'VPC边界防火墙的互通类型。取值:**expressconnect**,表示高速通道。'."\n" - ."\n", - 'type' => 'string', - 'example' => 'expressconnect', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2', - ], - 'Bandwidth' => [ - 'description' => '高速通道的带宽规格。单位:Mbps。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'example' => '测试防火墙', - ], - 'FirewallSwitchStatus' => [ - 'description' => 'VPC边界防火墙的状态。取值:'."\n" - .'- **opened**:已开启。'."\n" - .'- **closed**:已关闭。'."\n" - .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" - .'- **configured**:表示已配置VPC边界防火墙。', - 'type' => 'string', - 'example' => 'opened', - ], - 'LocalVpc' => [ - 'description' => '本端VPC的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '本端VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - 'VpcName' => [ - 'description' => '本端VPC的实例名称。', - 'type' => 'string', - 'example' => '测试用实例', - ], - 'RegionNo' => [ - 'description' => '本端VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EniPrivateIpAddress' => [ - 'description' => '本端VPC中弹性网卡私网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RouterInterfaceId' => [ - 'description' => '本端VPC中路由器接口ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'EniId' => [ - 'description' => '本端VPC中弹性网卡的实例ID。', - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'VpcCidrTableList' => [ - 'description' => '本端VPC的网段列表信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => '本端VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1234', - ], - 'RouteEntryList' => [ - 'description' => '本端VPC的路由条目列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => '本端VPC中的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => '本端VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], - ], - ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口,精确匹配1-65535,不带表示所有端口。', 'type' => 'string', 'required' => false, 'example' => '9100'], + ], + [ + 'name' => 'AssetsInstanceId', + 'in' => 'query', + 'schema' => ['description' => '资产ID,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'i-uf6faknmuby7ezht****'], + ], + [ + 'name' => 'AssetsInstanceName', + 'in' => 'query', + 'schema' => ['description' => '资产名称,支持模糊搜索。', 'type' => 'string', 'required' => false, 'example' => 'instance_test'], + ], + [ + 'name' => 'PublicIp', + 'in' => 'query', + 'schema' => ['description' => '公网IP,精确匹配,不带表示查找所有公网IP。', 'type' => 'string', 'required' => false, 'example' => '203.0.13.XX'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'AssetsType', + 'in' => 'query', + 'schema' => ['description' => '资产类型,精确匹配,不带表示查找所有资产类型。', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIP'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询的开始时间。使用秒级Unix时间戳表示。', 'type' => 'string', 'required' => false, 'example' => '1656837360'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询的结束时间。使用秒级Unix时间戳表示。', 'type' => 'string', 'required' => false, 'example' => '1745251200'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'SortList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '排序列表。', + 'type' => 'array', + 'items' => [ + 'description' => '排序列表。', + 'type' => 'object', + 'properties' => [ + 'Dir' => [ + 'description' => '升降序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'asc', + ], + 'SortKey' => [ + 'description' => '排序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['ServiceName' => '按应用排序', 'PublicIp' => '按公网IP排序', 'Port' => '按端口排序'], + 'example' => 'ServiceName', ], ], - 'PeerVpc' => [ - 'description' => '对端VPC的详细信息。', + 'required' => false, + ], + 'required' => false, + 'maxItems' => 200, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '3495E758-BB4B-5F5C-8AE0-897489F****'], + 'PageInfo' => [ + 'description' => '分页信息。', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => '对端VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], - 'VpcName' => [ - 'description' => '对端VPC的实例名称。', - 'type' => 'string', - 'example' => '测试vpc2', - ], - 'RegionNo' => [ - 'description' => '对端VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'EniPrivateIpAddress' => [ - 'description' => '对端VPC中弹性网卡私网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RouterInterfaceId' => [ - 'description' => '对端VPC中路由器接口ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'EniId' => [ - 'description' => '对端VPC中弹性网卡的实例ID。', - 'type' => 'string', - 'example' => 'eni-8vbhfosfqv2rff42****', - ], - 'VpcCidrTableList' => [ - 'description' => '对端VPC的网段列表信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RouteTableId' => [ - 'description' => '对端VPC的路由表ID。', - 'type' => 'string', - 'example' => 'vtb-1256', - ], - 'RouteEntryList' => [ - 'description' => '对端VPC路由条目列表信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'NextHopInstanceId' => [ - 'description' => '对端VPC中的下一跳实例ID。', - 'type' => 'string', - 'example' => 'vrt-m5eb5me6c3l5sezae****', - ], - 'DestinationCidr' => [ - 'description' => '对端VPC的目标网段。', - 'type' => 'string', - 'example' => '192.168.XX.XX/24', - ], - ], - ], - ], - ], + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + ], + ], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险级别。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无', ' 低危', '中危', ' 3' => '高危', -1 => '评估中'], + 'example' => '3', + ], + 'ProbRiskDesc' => ['description' => '安全隐患描述。', 'type' => 'string', 'example' => 'test'], + 'TrafficPercent1Day' => ['description' => '1日流量占比。', 'type' => 'string', 'example' => '10'], + 'SuggestLevel' => [ + 'description' => '建议策略级别。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['未知', 10 => '放行', 20 => '检查', 30 => '拒绝', -1 => '评估中'], + 'example' => '20', + ], + 'Protocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'AssetsName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'launch-advisor-2023****'], + 'AssetsType' => ['description' => '实例的资产类型。', 'type' => 'string', 'example' => 'EcsEIP'], + 'Port' => ['description' => '开放公网端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '3389'], + 'TrafficPercent7Day' => ['description' => '7日流量占比。', 'type' => 'string', 'example' => '30'], + 'TrafficPercent30Day' => ['description' => '30日流量占比。', 'type' => 'string', 'example' => '48'], + 'ProbRisk' => ['description' => '安全隐患。', 'type' => 'string', 'example' => 'test'], + 'PublicIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '39.101.167.XX'], + 'ServiceName' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'Redis'], + 'Id' => ['description' => '明细ID。', 'type' => 'string', 'example' => '1123'], + 'AssetsInstanceId' => ['description' => '资产实例ID。', 'type' => 'string', 'example' => 'i-bp1ix9w22kv6aew9****'], + 'RiskReason' => ['description' => '风险原因。', 'type' => 'string', 'example' => 'test'], + 'InBytes' => ['description' => '入流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'OutBytes' => ['description' => '出流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'TotalBytes' => ['description' => '总流量', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'UnknownReason' => [ + 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'type' => 'array', + 'items' => ['description' => '识别协议为Unknown情况下,未分析到协议的原因。', 'type' => 'string', 'example' => '['."\n" + .' "no_payload",'."\n" + .' "tcp_not_establish"'."\n" + .']'], ], ], ], ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'example' => '258039427902****', - ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallNotFound', - 'errorMessage' => 'Firewall not found', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'firewall status error.', - ], - [ - 'errorCode' => 'ErrorVpcIdPara', - 'errorMessage' => 'vpc id and firewall id parameter not exist.', - ], - [ - 'errorCode' => 'ErrorLocalVpcIdPeerVpcIdError', - 'errorMessage' => 'local vpc id and peer vpc id cannot be empty at the same time.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"测试防火墙\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"VpcName\\": \\"测试用实例\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcId\\": \\"vpc-90rq0anm6t8vbwbo****\\",\\n \\"VpcName\\": \\"测试vpc2\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"MemberUid\\": \\"258039427902****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n expressconnect\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n 2\\n 测试防火墙\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n 测试用实例\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n vpc-90rq0anm6t8vbwbo****\\n 测试vpc2\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n 258039427902****\\n","errorExample":""}]', - 'title' => '查询VPC边界防火墙的详情', - 'description' => '本接口用于获取VPC边界防火墙的详细信息。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。'."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'CreateVpcFirewallConfigure' => [ - 'summary' => '创建VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取互联网开放详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3495E758-BB4B-5F5C-8AE0-897489F****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 5\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"SuggestLevel\\": 20,\\n \\"Protocol\\": \\"tcp\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"Port\\": 3389,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"PublicIp\\": \\"39.101.167.XX\\",\\n \\"ServiceName\\": \\"Redis\\",\\n \\"Id\\": \\"1123\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"InBytes\\": 0,\\n \\"OutBytes\\": 0,\\n \\"TotalBytes\\": 0,\\n \\"UnknownReason\\": [\\n \\"[\\\\n \\\\\\"no_payload\\\\\\",\\\\n \\\\\\"tcp_not_establish\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenIp' => [ + 'summary' => '查询云防火墙访问控制策略组的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68135', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68277', + 'abilityTreeNodes' => ['FEATUREcfwVWCDEU'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试用实例', - ], + 'schema' => ['description' => '查询的应用名称。', 'type' => 'string', 'required' => false, 'example' => 'SSH'], ], [ - 'name' => 'LocalVpcId', + 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => '本端VPC的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], + 'schema' => ['description' => '风险等级,不填为全部风险等级。取值:'."\n" + .'- **3**:高风险'."\n" + .'- **2**:中风险'."\n" + .'- **1**:低风险'."\n" + .'- **0**:无风险', 'type' => 'string', 'required' => false, 'example' => '2'], ], [ - 'name' => 'LocalVpcRegion', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '本端VPC所属地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '80'], ], [ - 'name' => 'PeerVpcId', + 'name' => 'AssetsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC的实例ID。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-wb8vbo90rq0anm6t****', - ], + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-uf6faknmuby7ezht****'], ], [ - 'name' => 'PeerVpcRegion', + 'name' => 'AssetsInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC所属地域ID。'."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], + 'schema' => ['description' => '实例名称。', 'type' => 'string', 'required' => false, 'example' => 'launch-advisor-2023****'], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'PublicIp', 'in' => 'query', - 'schema' => [ - 'description' => '设置VPC边界防火墙创建后的开启状态。取值: '."\n" - ."\n" - .'- **open**(默认):创建VPC边界防火墙后自动开启防护。'."\n" - ."\n" - .'- **close**:创建VPC边界防火墙后不自动开启防护。您可以调用接口[ModifyVpcFirewallSwitchStatus](~~342935~~)开启防护。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'open', - ], + 'schema' => ['description' => '实例的公网IP。', 'type' => 'string', 'required' => false, 'example' => '203.0.113.1'], ], [ - 'name' => 'LocalVpcCidrTableList', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '本端VPC的网段列表,以JSON格式表示,具体包含以下参数:'."\n" - ."\n" - .'- **RouteTableId**:表示本端VPC的路由表ID。'."\n" - .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示本端VPC的目标网段)和NextHopInstanceId(表示本端VPC的下一跳实例ID)。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', - ], + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], [ - 'name' => 'PeerVpcCidrTableList', + 'name' => 'AssetsType', 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC的网段列表,以JSON格式表示,具体包含以下参数:'."\n" - .'- **RouteTableId**:表示对端VPC的路由表ID。'."\n" - .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示对端VPC的目标网段)和NextHopInstanceId(表示对端VPC的下一跳实例ID)。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', - ], + 'schema' => ['description' => '实例的资产类型。', 'type' => 'string', 'required' => false, 'example' => 'EcsEIP'], ], [ - 'name' => 'MemberUid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '阿里云成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '公网IP暴露的开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1681957629'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '公网IP暴露的结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1663640336'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '设置分页查询时的页码。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '设置分页查询每页包含多少条结果。', 'type' => 'string', 'required' => true, 'example' => '10'], ], ], 'responses' => [ @@ -16780,559 +14174,575 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54'], + 'PageInfo' => [ + 'description' => '分页查询时的页面信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '分页查询时,显示的当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分页查询时,显示的每页数据的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '查询到的数据总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + ], ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125h4j6', + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => '风险等级。取值:'."\n" + .'- **3**:高风险'."\n" + .'- **2**:中风险'."\n" + .'- **1**:低风险'."\n" + .'- **0**:无风险', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'TrafficPercent1Day' => ['description' => '具体流量信息参见TotalBytes字段。', 'type' => 'string', 'example' => '0'], + 'AclRecommendDetail' => ['description' => '没有智能推荐策略的原因。取值:'."\n" + .'- 当前无智能策略推荐'."\n" + .'- 当前只对部分用户开放该功能'."\n" + .'- 策略配置已经修改,当前无智能策略推荐'."\n" + .'- 智能策略已经配置,当前无新智能策略推荐', 'type' => 'string', 'example' => 'No recommended intelligent policies are available.'], + 'AssetsName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'launch-advisor-2023****'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'AssetsType' => ['description' => '实例的资产类型。', 'type' => 'string', 'example' => 'EcsEIP'], + 'HasAclRecommend' => ['description' => '是否有推荐ACL。取值:'."\n" + ."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'DetailNum' => ['description' => '端口总明细数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TrafficPercent7Day' => ['description' => '具体流量信息参见TotalBytes字段。', 'type' => 'string', 'example' => '0'], + 'TrafficPercent30Day' => ['description' => '具体流量信息参见TotalBytes字段。', 'type' => 'string', 'example' => ' 0'], + 'PublicIp' => ['description' => '实例的公网IP。', 'type' => 'string', 'example' => '203.0.113.1'], + 'RiskReason' => ['description' => '风险原因。', 'type' => 'string', 'example' => 'Previous traffic is all malicious traffic.'], + 'AssetsInstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-bp1ix9w22kv6aew9****'], + 'PortList' => [ + 'description' => '端口列表。', + 'type' => 'array', + 'items' => ['description' => '端口列表。', 'type' => 'string', 'example' => '["3000","5601","8886,"8887","8889"]'], + ], + 'ServiceNameList' => [ + 'description' => '应用列表。', + 'type' => 'array', + 'items' => ['description' => '应用列表。', 'type' => 'string', 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']'], + ], + 'TotalReplyBytes' => ['description' => '7日总回应流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000'], + 'SrcIpCnt' => ['description' => '源IP数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '22'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '14151892****7022'], + 'InBytes' => ['description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '235'], + 'OutBytes' => ['description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '253023143'], + 'UnknownReason' => [ + 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'type' => 'array', + 'items' => ['description' => '识别协议为Unknown情况下,未分析到协议的原因。', 'type' => 'string', 'example' => 'no_payload'], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', - ], - [ - 'errorCode' => 'ErrorRegionNoError', - 'errorMessage' => 'Region invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The destination CIDR block is invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorCidrIpAddress', - 'errorMessage' => 'cidr ip error.', - ], - [ - 'errorCode' => 'ErrorCustomRouteEntryMax', - 'errorMessage' => 'custom route exceeds maximum limit.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUidStatus', - 'errorMessage' => 'invalid member uid status.', - ], - [ - 'errorCode' => 'ErrorGeneralInstanceSpecFull', - 'errorMessage' => 'Cloud Firewall instance specifications are full.', - ], - [ - 'errorCode' => 'ErrorBandwidthPenalty', - 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', - ], - [ - 'errorCode' => 'ErrorCenVpcEcConflict', - 'errorMessage' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', - ], - [ - 'errorCode' => 'ErrorFirewallQuotaNotEmpty', - 'errorMessage' => 'The quota for VPC firewalls is exceeded.', - ], - [ - 'errorCode' => 'ErrorRouteTableIdNotFound', - 'errorMessage' => 'Route table id not found.', - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取防护资产暴露到互联网的IP', + 'changeSet' => [ + ['createdAt' => '2025-04-27T09:40:06.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-24T07:56:42.000Z', 'description' => '响应参数发生变更'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetOpenIp'], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125h4j6\\"\\n}","errorExample":""},{"type":"xml","example":"\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125h4j6\\n","errorExample":""}]', - 'title' => '创建VPC边界防火墙', - 'description' => '本接口一般用于创建VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。该VPC边界防火墙不支持防护VPC跨地域、跨账号以及VPC与VBR间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" - ."\n" - .'### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"AclRecommendDetail\\": \\"No recommended intelligent policies are available.\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"HasAclRecommend\\": true,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"0\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"PublicIp\\": \\"203.0.113.1\\",\\n \\"RiskReason\\": \\"Previous traffic is all malicious traffic.\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"PortList\\": [\\n \\"[\\\\\\"3000\\\\\\",\\\\\\"5601\\\\\\",\\\\\\"8886,\\\\\\"8887\\\\\\",\\\\\\"8889\\\\\\"]\\"\\n ],\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"TotalReplyBytes\\": 100000,\\n \\"SrcIpCnt\\": 22,\\n \\"MemberUid\\": 0,\\n \\"InBytes\\": 235,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 253023143,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'ModifyVpcFirewallConfigure' => [ - 'summary' => '修改VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的配置信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInternetOpenPort' => [ + 'summary' => '获取互联网开放端口。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68495', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68278', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '114.242.33.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => 'en', 'zh' => 'zh'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', + 'description' => '语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', + 'required' => false, + 'enumValueTitles' => ['en' => 'en', 'zh' => 'zh'], + 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallName', + 'name' => 'ServiceName', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试环境防火墙', - ], + 'schema' => ['description' => '应用名称, 精确匹配, 不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], ], [ - 'name' => 'LocalVpcCidrTableList', + 'name' => 'ServiceNameFuzzy', 'in' => 'query', - 'schema' => [ - 'description' => '本端VPC的网段信息,以JSON格式表示,具体包含以下参数:'."\n" - ."\n" - .'- **RouteTableId**:表示本端VPC的路由表ID。'."\n" - ."\n" - .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示本端VPC的目标网段)和NextHopInstanceId(表示本端VPC的下一跳实例ID)。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallDetail](~~342892~~)接口查询VPC边界防火墙的本端VPC网段信息。', - 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', - ], + 'schema' => ['description' => '应用名称, 模糊匹配, 不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], ], [ - 'name' => 'PeerVpcCidrTableList', + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '对端VPC的网段信息,以JSON格式表示,具体包含以下参数:'."\n" - ."\n" - .'- **RouteTableId**:表示对端VPC的路由表ID。'."\n" - ."\n" - .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示对端VPC的目标网段)和NextHopInstanceId(表示对端VPC的下一跳实例ID)。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallDetail](~~342892~~)接口查询VPC边界防火墙的对端VPC网段信息。', + 'description' => '风险级别。', 'type' => 'string', - 'required' => true, - 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]', + 'required' => false, + 'enumValueTitles' => [1 => '低危', '中危', '高危', -1 => '评估中'], + 'example' => '3', ], ], [ - 'name' => 'MemberUid', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', + 'description' => '建议策略级别。', 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'enumValueTitles' => ['未知', 10 => ' 放行', 30 => ' 拒绝', -1 => '评估中', ' 20' => '检查'], + 'example' => '10', ], ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1735264800'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1748358644'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时的页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F3637663-991B-547F-9163-1A5AC367****'], + 'PageInfo' => [ + 'description' => '页面信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '数据的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '39'], + ], + ], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险级别。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [1 => '低危', '中危', '高危', -1 => '评估中'], + 'example' => '3', + ], + 'ProbRiskDesc' => ['description' => '安全隐患描述信息。', 'type' => 'string', 'example' => 'desc'], + 'TrafficPercent1Day' => ['description' => '流量占比。取值范围:**1**~**100**。', 'type' => 'string', 'example' => '10'], + 'Protocol' => ['description' => '协议。', 'type' => 'string', 'example' => 'tcp'], + 'PublicIpNum' => ['description' => '开放公网IP数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SuggestLevel' => [ + 'description' => '建议策略级别。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['未知', 10 => '放行', 20 => '检查', 30 => '拒绝', ' -1' => '评估中'], + 'example' => '20', + ], + 'DetailNum' => ['description' => '明细数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'Port' => ['description' => '开放端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'TrafficPercent7Day' => ['description' => '7日流量占比。', 'type' => 'string', 'example' => '30'], + 'TrafficPercent30Day' => ['description' => '30日流量占比。', 'type' => 'string', 'example' => '48'], + 'ProbRisk' => ['description' => '安全隐患。', 'type' => 'string', 'example' => 'test'], + 'RiskReason' => ['description' => '风险描述。', 'type' => 'string', 'example' => 'test'], + 'ServiceNameList' => [ + 'description' => '应用列表。', + 'type' => 'array', + 'items' => ['description' => '应用列表。', 'type' => 'string', 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']'], + ], + 'InBytes' => ['description' => '流入流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1456536639.0'], + 'OutBytes' => ['description' => '流出流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '117200.0'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '621404'], + 'UnknownReason' => [ + 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'type' => 'array', + 'items' => ['description' => '识别协议为Unknown情况下,未分析到协议的原因。', 'type' => 'string', 'example' => 'no_payload'], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'Firewall name invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrError', - 'errorMessage' => 'The destination CIDR block is invalid.', - ], - [ - 'errorCode' => 'ErrorDestCidrEmpty', - 'errorMessage' => 'The target network segment is empty and cannot be created', - ], - [ - 'errorCode' => 'ErrorVpcFirewallExist', - 'errorMessage' => 'Vpc firewall already exist.', - ], - [ - 'errorCode' => 'ErrorFirewallStatusCannotModify', - 'errorMessage' => 'Current firewall status, configuration not allowed', - ], - [ - 'errorCode' => 'ErrorSameCidrIp', - 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', - ], - [ - 'errorCode' => 'ErrorCustomRouteEntryMax', - 'errorMessage' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', - ], - [ - 'errorCode' => 'ErrorCidrFormat', - 'errorMessage' => 'Cidr ip format error.', - ], - [ - 'errorCode' => 'ErrorCidrIpAddress', - 'errorMessage' => 'Target network segment error, please reselect', - ], - [ - 'errorCode' => 'ErrorRouteTableIdNotFound', - 'errorMessage' => 'Route table id not found.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', - 'title' => '修改VPC边界防火墙的配置信息', - 'description' => '本接口一般用于修改VPC边界防火墙的配置信息。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。'."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ModifyVpcFirewallSwitchStatus' => [ - 'summary' => '修改VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的开关状态。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取互联网开放端口', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F3637663-991B-547F-9163-1A5AC367****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 39\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"desc\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 10,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"Port\\": 80,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"InBytes\\": 1456536639,\\n \\"OutBytes\\": 117200,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetOpenService' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68499', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68279', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '122.200.64.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。'."\n", + 'description' => '语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'FirewallSwitch', + 'name' => 'ServiceName', + 'in' => 'query', + 'schema' => ['description' => '应用名称, 精确匹配, 不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], + ], + [ + 'name' => 'ServiceNameFuzzy', + 'in' => 'query', + 'schema' => ['description' => '应用名称, 模糊匹配, 不带表示查找所有应用。', 'type' => 'string', 'required' => false, 'example' => 'SMB'], + ], + [ + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '设置VPC边界防火墙的开关状态。取值:'."\n" - ."\n" - .'- **open**:开启。'."\n" - ."\n" - .'- **close**:关闭。', + 'description' => '风险级别。', 'type' => 'string', - 'required' => true, - 'example' => 'open', + 'required' => false, + 'enumValueTitles' => ['无', '低危', '中危', '高危', -1 => '评估中'], + 'example' => '2', ], ], [ - 'name' => 'MemberUid', + 'name' => 'SuggestLevel', 'in' => 'query', 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', + 'description' => '建议策略级别。', 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'enumValueTitles' => ['未知', 10 => '放行', 20 => '检查', 30 => '拒绝', ' -1' => '评估中'], + 'example' => '10', ], ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '3389'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1755742107'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1753804800'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****'], + 'PageInfo' => [ + 'description' => '分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '分数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + ], + ], + 'DataList' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险级别 -1:评估中 0:无 1: 低危 2: 中危 3: 高危. 不选代表所有风险', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无', '低危', '中危', '高危', ' -1' => '评估中'], + 'example' => '3', + ], + 'ProbRiskDesc' => ['description' => '安全隐患描述。', 'type' => 'string', 'example' => 'test'], + 'TrafficPercent1Day' => ['description' => '1日流量占比。', 'type' => 'string', 'example' => '0'], + 'Protocol' => [ + 'description' => '协议类型。', + 'type' => 'string', + 'enumValueTitles' => ['tcp' => 'tcp', 'udp' => 'udp'], + 'example' => 'tcp', + ], + 'PublicIpNum' => ['description' => '开放公网IP数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'SuggestLevel' => [ + 'description' => '建议策略级别。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['未知', 10 => '放行 ', 20 => '检查', 30 => '拒绝', -1 => '评估中'], + 'example' => '20', + ], + 'DetailNum' => ['description' => '明细数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TrafficPercent7Day' => ['description' => '7日流量占比。', 'type' => 'string', 'example' => '77'], + 'TrafficPercent30Day' => ['description' => '30日流量占比。', 'type' => 'string', 'example' => ' 0'], + 'ProbRisk' => ['description' => '安全隐患。', 'type' => 'string', 'example' => 'test'], + 'ServiceName' => ['description' => '应用名称。', 'type' => 'integer', 'format' => 'int32', 'example' => 'SMB'], + 'RiskReason' => ['description' => '风险描述。', 'type' => 'string', 'example' => 'test'], + 'PortList' => [ + 'description' => '开放端口列表。', + 'type' => 'array', + 'items' => ['description' => '开放端口列表。', 'type' => 'string', 'example' => '['."\n" + .' 80,'."\n" + .' 8080,'."\n" + .' 80,'."\n" + .' 21'."\n" + .']'], + ], + 'InBytes' => ['description' => '流入流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '447458.0'], + 'OutBytes' => ['description' => '流出流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], + 'TotalBytes' => ['description' => '总流量。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '621404'], + 'UnknownReason' => [ + 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'type' => 'array', + 'items' => ['description' => '识别协议为Unknown情况下,未分析到协议的原因。', 'type' => 'string', 'example' => 'no_payload'], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorFirewallSwitch', - 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'Vpc firewall not found.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorNetworkInterfaceNotFound', - 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取互联网开放服务', + 'summary' => '获取互联网开放服务。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', - 'title' => '修改VPC边界防火墙的开关状态', - 'description' => '本接口一般用于修改VPC边界防火墙的开关状态。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。打开VPC边界防火墙的开关后,高速通道连接的两个VPC之间的互访流量会受VPC边界防火墙防护。关闭VPC边界防火墙的开关后,VPC边界防火墙不再防护通过高速通道连接的两个VPC之间的互访流量。'."\n" - ."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 10\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 3,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"77\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"ServiceName\\": 0,\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"InBytes\\": 447458,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DeleteVpcFirewallConfigure' => [ - 'summary' => '删除VPC边界防火墙(防护通过高速通道连接的两个VPC之间流量)。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeInternetOpenStatistic' => [ + 'summary' => '获取互联网开放统计。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68165', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68280', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '202.109.244.XX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallIdList', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', 'schema' => [ - 'description' => '要删除的VPC边界防火墙的实例ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙的实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], - 'required' => true, - 'maxItems' => 200, + 'description' => '请求和接收消息的语言类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'MemberUid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1734386501'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1736386501'], ], ], 'responses' => [ @@ -17340,80 +14750,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', - ], + 'InternetIpNum' => ['description' => '全部开放公网IP。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'InternetPortNum' => ['description' => '全部开放端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '38'], + 'InternetUnprotectedPortNum' => ['description' => '未受ACL保护端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'InternetRiskServiceNum' => ['description' => '风险应用。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '6AB7822C-0D73-5D1D-81FD-45D4FB7C****'], + 'InternetRiskPortNum' => ['description' => '风险端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'InternetRiskIpNum' => ['description' => '风险开放公网IP。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'InternetSlbIpNum' => ['description' => 'SLB公网IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'InternetServiceNum' => ['description' => '全部开放应用。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'InternetSlbIpPortNum' => ['description' => 'SLB公网端口数。', 'type' => 'integer', 'format' => 'int32', 'example' => '16'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorFirewallId', - 'errorMessage' => 'Firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorFirewallStatus', - 'errorMessage' => 'Firewall status error, please try again later.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => '删除VPC边界防火墙', - 'description' => '本接口一般用于删除VPC边界防火墙。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间流量。'."\n" - .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeInternetTimeTop' => [ - 'summary' => '查询互联网流量时间TOP。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取互联网开放统计', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetIpNum\\": 9,\\n \\"InternetPortNum\\": 38,\\n \\"InternetUnprotectedPortNum\\": 6,\\n \\"InternetRiskServiceNum\\": 3,\\n \\"RequestId\\": \\"6AB7822C-0D73-5D1D-81FD-45D4FB7C****\\",\\n \\"InternetRiskPortNum\\": 5,\\n \\"InternetRiskIpNum\\": 8,\\n \\"InternetSlbIpNum\\": 10,\\n \\"InternetServiceNum\\": 15,\\n \\"InternetSlbIpPortNum\\": 16\\n}","type":"json"}]', + ], + 'DescribeInternetServiceNameList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17425,34 +14809,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68283', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68281', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '60.179.179.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.240.17.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -17460,164 +14833,156 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], - [ - 'name' => 'Direction', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '方向。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '入方向', - 'out' => '出方向', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '91B01BCD-DFB0-5CA8-9191-5B38C62****'], + 'ServiceNameList' => [ + 'description' => '应用名称列表。', + 'type' => 'array', + 'items' => ['description' => '应用名称列表。', 'type' => 'string', 'example' => '['."\n" + .' "SMB",'."\n" + .' "MySQL"'."\n" + .']'], + ], ], - 'example' => 'out', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取互联网服务名称列表', + 'summary' => '获取互联网服务名称列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetServiceNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"91B01BCD-DFB0-5CA8-9191-5B38C62****\\",\\n \\"ServiceNameList\\": [\\n \\"[\\\\n \\\\\\"SMB\\\\\\",\\\\n \\\\\\"MySQL\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetSlb' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Sort', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68282', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'out_pps' => 'out_pps', - 'in_bps' => 'in_bps', - 'out_bps' => 'out_bps', - 'in_pps' => 'in_pps', - ], - 'example' => 'in_bps', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '112.64.233.XXX'], ], [ - 'name' => 'TrafficTime', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '流量时间点, 不指定表示最新时间。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '1745222880', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Limit', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '最大top数限制数,默认50,取值1-50。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '5', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'SrcIP', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '8.153.18.XX', - ], + 'schema' => ['description' => '区域, 不带表示所有区域。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'NatIP', + 'name' => 'PublicIp', 'in' => 'query', - 'schema' => [ - 'description' => 'AT公网IP,不填表示所有资产IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.97.66.XXX', - ], + 'schema' => ['description' => '公网IP, 支持模糊查找, 不带表示所有公网IP。', 'type' => 'string', 'required' => false, 'example' => '47.108.60.XXX'], ], [ - 'name' => 'Order', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', - ], - 'example' => 'desc', - ], + 'schema' => ['description' => 'SLB实例Id, 支持模糊查找。', 'type' => 'string', 'required' => false, 'example' => 'lb-2ze8v2x5kd9qyvp2****'], ], [ - 'name' => 'StartTime', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1749434787', - ], + 'schema' => ['description' => 'SLB实例名称, 支持模糊查找。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ - 'name' => 'EndTime', + 'name' => 'Tag', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1733796528', - ], + 'schema' => ['description' => '标签, 不带搜索所有标签。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ - 'name' => 'TrafficType', + 'name' => 'IpProtocol', 'in' => 'query', 'schema' => [ - 'description' => '流量类型。', + 'description' => '协议类型。', 'type' => 'string', 'required' => false, - 'example' => 'EIP_TRAFFIC', + 'enumValueTitles' => ['tcp' => 'tcp', 'udp' => 'udp', 'http' => 'http', 'https' => 'https'], + 'example' => 'tcp', ], ], [ - 'name' => 'IPType', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '地址的网络类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Private' => '专有网络', - 'Public' => '公网', - ], - 'example' => 'Public', - ], + 'schema' => ['description' => '端口。', 'type' => 'string', 'required' => false, 'example' => '63389'], ], [ - 'name' => 'Interval', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '60', - ], + 'schema' => ['description' => '当前查询页数。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前查询页码。', 'type' => 'string', 'required' => false, 'example' => '10'], ], ], 'responses' => [ @@ -17625,208 +14990,104 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TrafficTime' => [ - 'description' => '流量时间点。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1734399660', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '7F2D5C04-731F-50B0-ADE1-01637B3C****', - ], - 'DataCount' => [ - 'description' => '结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '19', + 'RequestId' => ['description' => '返回结果的请求id。', 'type' => 'string', 'example' => '135BF83A-0416-5A11-96BB-FA7604D4****'], + 'PageInfo' => [ + 'description' => '数据分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '数据的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], ], 'DataList' => [ - 'description' => '返回数据列表。', + 'description' => '数据列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据列表。', + 'description' => '数据列表。', 'type' => 'object', 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'InBps' => [ - 'description' => '入方向流量的宽带速率,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'ResourceInstanceId' => [ - 'description' => '资源实例ID', - 'type' => 'string', - 'example' => 'lb-bp14ue2rgktunncq****', - ], - 'NewConn' => [ - 'description' => '新建连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OutPps' => [ - 'description' => '出方向包转发率。单位:pps', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'IP' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'example' => '183.60.164.XXX', - ], - 'OutBps' => [ - 'description' => '出方向流量。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'PrivateIP' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'example' => '10.21.186.XXX', - ], - 'SessionCount' => [ - 'description' => '会话数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'ResourceType' => [ - 'description' => '公网IP类型。', + 'AclType' => [ + 'description' => '访问控制类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - ], - 'example' => 'EcsPublicIP', - ], - 'InPps' => [ - 'description' => '入方向包转发率,单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalPps' => [ - 'description' => '总数据包个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '88', - ], - 'TotalBps' => [ - 'description' => '总带宽,单位为bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232', + 'enumValueTitles' => ['white' => '白名单', 'black' => '黑名单'], + 'example' => 'white', ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', + 'AclId' => ['description' => '访问控制Id。', 'type' => 'string', 'example' => 'acl-uf66n6l9mf3fgq8xs****'], + 'InstanceName' => ['description' => 'SLB实例名称。', 'type' => 'string', 'example' => 'buyerpro1'], + 'RegionNo' => ['description' => '区域。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'AclStatus' => [ + 'description' => '访问控制开关。', 'type' => 'string', - 'example' => 'vpc-wz9o0uzfjuj81fx7m****', + 'enumValueTitles' => ['off' => 'acl关闭', 'on' => 'acl打开'], + 'example' => 'on', ], - 'NatGatewayId' => [ - 'description' => 'NAT网关的ID。', + 'PublicIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '39.108.57.XXX'], + 'IpProtocol' => [ + 'description' => '协议类型。', 'type' => 'string', - 'example' => 'ngw-wz98eedr5l5hkb8****e7', + 'enumValueTitles' => ['tcp' => 'tcp', 'udp' => 'udp', 'http' => 'http', 'https' => 'https'], + 'example' => 'tcp', ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称。', + 'InstanceId' => ['description' => 'SLB实例Id。', 'type' => 'string', 'example' => 'lb-2ze8v2x5kd9qyvp2****'], + 'Port' => ['description' => '端口号。', 'type' => 'integer', 'format' => 'int32', 'example' => '1883'], + 'HealthStatus' => [ + 'description' => '健康检查状态。', 'type' => 'string', - 'example' => 'ngw-test', + 'enumValueTitles' => ['normal' => '健康', 'abnormal' => '不健康', 'unavailable' => '未完成健康检查', 'close ' => '未开启'], + 'example' => 'normal', ], - 'NatIP' => [ - 'description' => 'NAT公网IP。', - 'type' => 'string', - 'example' => '47.97.66.XXX', + 'Tags' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => ['description' => '标签列表。', 'type' => 'string', 'example' => '[]'], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorTrafficType', - 'errorMessage' => 'The traffic type is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorLimitFailed', - 'errorMessage' => 'The limit is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorSlbOpenApi', 'errorMessage' => 'An SLB OpenAPI error occurred.', 'description' => '内部错误:SLB OPEN API接口错误'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrafficTime\\": 1734399660,\\n \\"RequestId\\": \\"7F2D5C04-731F-50B0-ADE1-01637B3C****\\",\\n \\"DataCount\\": 19,\\n \\"DataList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"InBps\\": 187,\\n \\"ResourceInstanceId\\": \\"lb-bp14ue2rgktunncq****\\",\\n \\"NewConn\\": 27,\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutPps\\": 2,\\n \\"IP\\": \\"183.60.164.XXX\\",\\n \\"OutBps\\": 45,\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"SessionCount\\": 27,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"InPps\\": 2,\\n \\"TotalPps\\": 88,\\n \\"TotalBps\\": 232,\\n \\"VpcId\\": \\"vpc-wz9o0uzfjuj81fx7m****\\",\\n \\"NatGatewayId\\": \\"ngw-wz98eedr5l5hkb8****e7\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatIP\\": \\"47.97.66.XXX\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询互联网流量时间TOP', - ], - 'DescribeNatFirewallTimeTop' => [ - 'summary' => '查询NAT防火墙时间点流量TOP。', - 'methods' => [ - 'get', + 'title' => '获取互联网SLB', + 'summary' => '获取互联网SLB。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"135BF83A-0416-5A11-96BB-FA7604D4****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 0\\n },\\n \\"DataList\\": [\\n {\\n \\"AclType\\": \\"white\\",\\n \\"AclId\\": \\"acl-uf66n6l9mf3fgq8xs****\\",\\n \\"InstanceName\\": \\"buyerpro1\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"AclStatus\\": \\"on\\",\\n \\"PublicIp\\": \\"39.108.57.XXX\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"lb-2ze8v2x5kd9qyvp2****\\",\\n \\"Port\\": 1883,\\n \\"HealthStatus\\": \\"normal\\",\\n \\"Tags\\": [\\n \\"[]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetTimeTop' => [ + 'summary' => '查询互联网流量时间TOP。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -17838,56 +15099,53 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '216506', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68283', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '60.179.179.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'NAT公网IP。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '47.93.47.XXX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => 'NAT网关ID。', + 'description' => '方向。', 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf62zzi7000bca7zn****', + 'required' => true, + 'enumValueTitles' => ['in' => '入方向', 'out' => '出方向'], + 'example' => 'out', ], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.XXX', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], [ 'name' => 'Sort', @@ -17896,170 +15154,163 @@ 'description' => '排序方式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'total_max_bps' => 'total_max_bps', - 'out_max_bps' => 'out_max_bps', - 'in_max_bps' => 'in_max_bps', - ], - 'example' => 'total_max_bps', + 'enumValueTitles' => ['out_pps' => 'out_pps', 'in_bps' => 'in_bps', 'out_bps' => 'out_bps', 'in_pps' => 'in_pps'], + 'example' => 'in_bps', ], ], + [ + 'name' => 'TrafficTime', + 'in' => 'query', + 'schema' => ['description' => '查询的流量时间。使用秒级Unix时间戳表示。', 'type' => 'string', 'required' => false, 'example' => '1745222880'], + ], [ 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '最大top数限制数,默认200,取值1-500。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '最大top数限制数,默认50,取值1-50。', 'type' => 'string', 'required' => false, 'example' => '5'], ], [ - 'name' => 'TrafficTime', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '流量时间点。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749693960', - ], + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '8.153.18.XX'], ], [ - 'name' => 'Interval', + 'name' => 'NatIP', + 'in' => 'query', + 'schema' => ['description' => 'AT公网IP,不填表示所有资产IP。', 'type' => 'string', 'required' => false, 'example' => '47.97.66.XXX'], + ], + [ + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '升降序。', + 'type' => 'string', 'required' => false, - 'example' => '60', + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'DataCount' => [ - 'description' => '结果数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TrafficTime' => [ - 'description' => '流量时间点。使用秒级时间戳格式表示。', - 'type' => 'string', - 'example' => '1656923760', - ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1749434787'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1733796528'], + ], + [ + 'name' => 'TrafficType', + 'in' => 'query', + 'schema' => ['description' => '流量类型。', 'type' => 'string', 'required' => false, 'example' => 'EIP_TRAFFIC'], + ], + [ + 'name' => 'IPType', + 'in' => 'query', + 'schema' => [ + 'description' => '地址的网络类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['Private' => '专有网络', 'Public' => '公网'], + 'example' => 'Public', + ], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TrafficTime' => ['description' => '流量时间点。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1734399660'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '7F2D5C04-731F-50B0-ADE1-01637B3C****'], + 'DataCount' => ['description' => '结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '19'], 'DataList' => [ - 'description' => '数据列表', + 'description' => '返回数据列表。', 'type' => 'array', 'items' => [ - 'description' => '数据列表。', + 'description' => '返回数据列表。', 'type' => 'object', 'properties' => [ - 'Ip' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'example' => '10.66.231.XXX', - ], - 'InBps' => [ - 'description' => '入方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'OutBps' => [ - 'description' => '出方向带宽,单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', - ], - 'TotalBps' => [ - 'description' => '总带宽,单位为bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232', - ], - 'SessionCount' => [ - 'description' => '会话总数。', - 'type' => 'string', - 'example' => '27', - ], - 'NewConn' => [ - 'description' => '新建连接数。', - 'type' => 'string', - 'example' => '27', - ], - 'ResourceInstanceId' => [ - 'description' => '资产实例ID。', - 'type' => 'string', - 'example' => 'i-bp130nn8h6157dir****', - ], - 'ResourceInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'RegionNo' => [ - 'description' => '区域。', - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'NatGatewayId' => [ - 'description' => ' NAT网关的ID。 ', - 'type' => 'string', - 'example' => 'ngw-uf6pnry5vpawb****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'NatFirewallId' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'example' => 'vfw-tr-7a9c8901ed394****'."\n", - ], - 'NatFirewallName' => [ - 'description' => 'NAT防火墙名称。', + 'ResourceInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'test'], + 'InBps' => ['description' => '入方向流量的宽带速率,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '187'], + 'ResourceInstanceId' => ['description' => '资源实例ID', 'type' => 'string', 'example' => 'lb-bp14ue2rgktunncq****'], + 'NewConn' => ['description' => '新建连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'OutPps' => ['description' => '出方向包转发率。单位:pps', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'IP' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '183.60.164.XXX'], + 'OutBps' => ['description' => '出方向流量。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '45'], + 'PrivateIP' => ['description' => '私网IP。', 'type' => 'string', 'example' => '10.21.186.XXX'], + 'SessionCount' => ['description' => '会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'ResourceType' => [ + 'description' => '公网IP类型。', 'type' => 'string', - 'example' => 'vfw-test', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP'], + 'example' => 'EcsPublicIP', ], + 'InPps' => ['description' => '入方向包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'TotalPps' => ['description' => '总数据包个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '88'], + 'TotalBps' => ['description' => '总带宽,单位为bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '232'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-wz9o0uzfjuj81fx7m****'], + 'NatGatewayId' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-wz98eedr5l5hkb8****e7'], + 'NatGatewayName' => ['description' => 'NAT网关名称。', 'type' => 'string', 'example' => 'ngw-test'], + 'NatIP' => ['description' => 'NAT公网IP。', 'type' => 'string', 'example' => '47.97.66.XXX'], ], ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => '无效的流量类型'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorLimitFailed', 'errorMessage' => 'The limit is invalid.', 'description' => '无效的limit'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataCount\\": 2,\\n \\"TrafficTime\\": \\"1656923760\\",\\n \\"DataList\\": [\\n {\\n \\"Ip\\": \\"10.66.231.XXX\\",\\n \\"InBps\\": 187,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232,\\n \\"SessionCount\\": \\"27\\",\\n \\"NewConn\\": \\"27\\",\\n \\"ResourceInstanceId\\": \\"i-bp130nn8h6157dir****\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"RegionNo\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6pnry5vpawb****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatFirewallId\\": \\"vfw-tr-7a9c8901ed394****\\\\n\\",\\n \\"NatFirewallName\\": \\"vfw-test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询NAT防火墙时间点流量TOP', - ], - 'DescribeNetworkTrafficTopRatio' => [ - 'summary' => '查询网络流量TOP占比。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询互联网流量时间TOP', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrafficTime\\": 1734399660,\\n \\"RequestId\\": \\"7F2D5C04-731F-50B0-ADE1-01637B3C****\\",\\n \\"DataCount\\": 19,\\n \\"DataList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"InBps\\": 187,\\n \\"ResourceInstanceId\\": \\"lb-bp14ue2rgktunncq****\\",\\n \\"NewConn\\": 27,\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutPps\\": 2,\\n \\"IP\\": \\"183.60.164.XXX\\",\\n \\"OutBps\\": 45,\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"SessionCount\\": 27,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"InPps\\": 2,\\n \\"TotalPps\\": 88,\\n \\"TotalBps\\": 232,\\n \\"VpcId\\": \\"vpc-wz9o0uzfjuj81fx7m****\\",\\n \\"NatGatewayId\\": \\"ngw-wz98eedr5l5hkb8****e7\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatIP\\": \\"47.97.66.XXX\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetTrafficTop' => [ + 'summary' => '查询互联网流量TOP趋势图。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18071,22 +15322,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68316', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68285', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '60.12.220.XXX', - ], + 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.82.14.XXX'], ], [ 'name' => 'Lang', @@ -18095,10 +15339,7 @@ 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -18109,152 +15350,66 @@ 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - [ - 'name' => 'AppName', - 'in' => 'query', - 'schema' => [ - 'description' => '应用名。', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], - ], - [ - 'name' => 'AssetIP', - 'in' => 'query', - 'schema' => [ - 'description' => '资产IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], - [ - 'name' => 'AssetRegion', - 'in' => 'query', - 'schema' => [ - 'description' => '资产所属区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'DataType', - 'in' => 'query', - 'schema' => [ - 'description' => '数据类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in_src_location' => '来源地区', - 'in_src_ip' => '来源IP', - ], - 'example' => 'in_src_ip', - ], - ], [ 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '方向。', + 'description' => '流量方向。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in' => '入向', - 'out' => '出向', - ], + 'enumValueTitles' => ['in' => '外对内流量', 'out' => '内对外流量'], 'example' => 'in', ], ], [ - 'name' => 'DstIP', - 'in' => 'query', - 'schema' => [ - 'description' => '目标IP。', - 'type' => 'string', - 'required' => false, - 'example' => '39.144.124.XXX', - ], - ], - [ - 'name' => 'DstPort', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '目标端口。', - 'type' => 'string', - 'required' => false, - 'example' => '8080', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1757433863', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1734055824'], ], [ - 'name' => 'IpProperty', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => 'IP属性。', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], [ - 'name' => 'Isp', + 'name' => 'DataType', 'in' => 'query', 'schema' => [ - 'description' => '运营商。', + 'description' => '流量数据类型。', 'type' => 'string', - 'required' => false, - 'example' => '电信', + 'required' => true, + 'enumValueTitles' => ['in_src_location' => '来源地区', 'in_src_ip' => '来源ip'], + 'example' => 'in_src_ip', ], ], [ - 'name' => 'Location', + 'name' => 'RuleResult', 'in' => 'query', 'schema' => [ - 'description' => '地区。', + 'description' => '规则防御结果。', 'type' => 'string', 'required' => false, - 'example' => '杭州市', + 'enumValueTitles' => ['放行', '告警', '丢弃'], + 'example' => '1', ], ], [ - 'name' => 'RuleResult', + 'name' => 'RuleSource', 'in' => 'query', 'schema' => [ - 'description' => '规则防御结果。', + 'description' => '规则来源。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1 => '告警', - '丢弃', - ], + 'enumValueTitles' => [1 => '基础防御', '虚拟补丁', '基础ACL', '威胁情报'], 'example' => '1', ], ], @@ -18265,32 +15420,19 @@ 'description' => '排序方式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in_bytes' => 'in_bytes', - 'total_bytes' => 'total_bytes', - ], + 'enumValueTitles' => ['in_bytes' => 'in_bytes', 'session_count' => 'session_count', 'out_bytes' => 'out_bytes', 'total_bytes' => 'total_bytes', 'out_packets' => 'out_packets', 'in_packets' => 'in_packets'], 'example' => 'in_bytes', ], ], [ - 'name' => 'SrcIP', + 'name' => 'ShowCountryName', 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.169.XXX', - ], + 'schema' => ['description' => '展示国家名称。', 'type' => 'string', 'required' => false, 'example' => 'China'], ], [ - 'name' => 'StartTime', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1749176793', - ], + 'schema' => ['description' => '最大top数限制数,默认50,取值1-50。', 'type' => 'string', 'required' => false, 'example' => '50'], ], ], 'responses' => [ @@ -18299,93 +15441,79 @@ 'type' => 'object', 'properties' => [ 'DataType' => [ - 'description' => '数据类型。', + 'description' => '流量数据类型。', 'type' => 'string', - 'enumValueTitles' => [ - 'in_src_location' => '来源地区', - 'in_src_ip' => '来源IP', - ], + 'enumValueTitles' => ['in_src_location' => '来源地区', 'in_src_ip' => '来源ip'], 'example' => 'in_src_ip', ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C05D58A1-28A9-563A-BB59-5F7D1867****', - ], - 'DataCount' => [ - 'description' => '结果数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'DataCount' => ['description' => '流量数据数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], 'DataList' => [ - 'description' => '数据值列表。', + 'description' => '流量数据列表。', 'type' => 'array', 'items' => [ - 'description' => '数据值列表。', + 'description' => '流量数据列表。', 'type' => 'object', 'properties' => [ - 'DataValue' => [ - 'description' => '占比数值。', - 'type' => 'string', - 'example' => '12', - ], - 'DataName' => [ - 'description' => '数据名称。', - 'type' => 'string', - 'example' => 'test', + 'DataValue' => ['description' => '流入百分比。', 'type' => 'string', 'example' => '47.12'], + 'SessionCount' => ['description' => '会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'DataName' => ['description' => '国家名称。', 'type' => 'string', 'example' => 'US'], + 'IsSubscribed' => ['description' => '是否订阅。', 'type' => 'boolean', 'example' => 'false'], + 'LabelList' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => ['description' => '标签。', 'type' => 'string', 'example' => 'NA'], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorRuleSourceError', 'errorMessage' => 'The rule source is invalid.', 'description' => '来源错误'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorLimitCountFailed', 'errorMessage' => 'The limit count is invalid.', 'description' => '无效的limit'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"C05D58A1-28A9-563A-BB59-5F7D1867****\\",\\n \\"DataCount\\": 1,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"12\\",\\n \\"DataName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询网络流量TOP占比', - ], - 'DescribeOutgoingStatistic' => [ - 'summary' => '获取主动外联统计信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询互联网流量TOP趋势图', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"DataCount\\": 10,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"47.12\\",\\n \\"SessionCount\\": 27,\\n \\"TotalBytes\\": 0,\\n \\"DataName\\": \\"US\\",\\n \\"IsSubscribed\\": false,\\n \\"LabelList\\": [\\n \\"NA\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInternetTrafficTrend' => [ + 'summary' => '获取互联网流量趋势。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18397,186 +15525,116 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68331', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68287', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '117.32.136.XXX', - ], + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '101.80.171.196'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):表示中文'."\n" + .'- **en**:表示英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):表示中文'."\n" + .'- **en**:表示英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '互联网流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'required' => false, 'example' => 'in'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1746554400', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1670307484'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1734920543', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1674958929'], + ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], + ], + [ + 'name' => 'SrcPublicIP', + 'in' => 'query', + 'schema' => ['description' => '公网源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.112.210.136'], + ], + [ + 'name' => 'SrcPrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网源IP地址。', 'type' => 'string', 'required' => false, 'example' => '10.100.134.60'], + ], + [ + 'name' => 'TrafficType', + 'in' => 'query', + 'schema' => ['description' => '采集的流量类型。取值:'."\n" + .' '."\n" + .'- **max**(默认):流量峰值'."\n" + .' '."\n" + .'- **avg**:流量均值', 'type' => 'string', 'required' => false, 'example' => 'max'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'UnknownProtocolRadio' => [ - 'description' => '未识别访问量占比。', - 'type' => 'string', - 'example' => '20.13'."\n", - ], - 'SubscribeDstIPCount' => [ - 'description' => '关注目的IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalProtocolCount' => [ - 'description' => '外联协议数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'UncoveredAclDstIP' => [ - 'description' => '未覆盖策略的目的IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalDomainCount' => [ - 'description' => '总外联域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SubscribeDomainCount' => [ - 'description' => '关注域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalAssetCount' => [ - 'description' => '总外联资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'TotalDstIPCount' => [ - 'description' => '总外联目的IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '107', - ], - 'IgnoreDstIPCount' => [ - 'description' => '忽略目的IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E2BD70F4-48BF-5EFD-B103-F0763E27*****', - ], - 'IgnoreDomainCount' => [ - 'description' => '忽略域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'IgnoreAssetCount' => [ - 'description' => '忽略资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RiskDstIPCount' => [ - 'description' => '外联风险目的IP数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RiskAssetCount' => [ - 'description' => '风险资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'UncoveredAclDomain' => [ - 'description' => '未覆盖策略域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RiskDomainCount' => [ - 'description' => '外联风险域名数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SubscribeAssetCount' => [ - 'description' => '关注资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PrivateTotalAssetCount' => [ - 'description' => '私网外联资产。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'PrivateRiskAssetCount' => [ - 'description' => '私网外联风险资产。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'MaxTotalBps' => ['description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '89783147'], + 'MaxBandwidthTime' => ['description' => '峰值带宽发生时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1672736400'], + 'AvgInBps' => ['description' => '入方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '6114152'], + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'C7E837BE-0379-565E-B7B4-DE595C8D337C'], + 'MaxInBps' => ['description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10275643'], + 'MaxOutBps' => ['description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '395188'], + 'AvgSession' => ['description' => '平均请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '79013'], + 'MaxSession' => ['description' => '峰值请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '931641'], + 'AvgTotalBps' => ['description' => '出方向和入方向总的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2306'], + 'AvgOutBps' => ['description' => '出方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '70148993'], + 'TotalInBytes' => ['description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '41536824243873'], + 'TotalOutBytes' => ['description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2660894567178'], + 'TotalBytes' => ['description' => '出方向和入方向总的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '963227674958'], + 'TotalSession' => ['description' => '总请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1061449'], + 'TotalExceedBytes' => ['description' => '总超量流量', 'type' => 'integer', 'format' => 'int64', 'example' => '4243873'], + 'MaxDayExceedBytes' => ['description' => '最大日超量流量', 'type' => 'integer', 'format' => 'int64', 'example' => '873'], + 'DataList' => [ + 'description' => '流量统计信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => '流量统计信息列表。', + 'type' => 'object', + 'properties' => [ + 'SessionCount' => ['description' => '请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'Time' => ['description' => '流量发生的时间。使用秒级时间戳格式表示。'."\n" + ."\n" + .'若该时间点未加工完成,则其他字段值均为-1。', 'type' => 'integer', 'format' => 'int32', 'example' => '1659405600'], + 'InBps' => ['description' => '入方向的网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '187'], + 'InPps' => ['description' => '入方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'NewConn' => ['description' => '新建连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'OutBytes' => ['description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], + 'OutPps' => ['description' => '出方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'InBytes' => ['description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '235'], + 'OutBps' => ['description' => '出方向的网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '45'], + 'TotalBps' => ['description' => '出方向和入方向总的网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '232'], + ], + ], ], ], ], @@ -18584,48 +15642,53 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSrcDstIPError', 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'description' => '源公网IP和目的公网IP不能同时出现'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => '无效的流量类型'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UnknownProtocolRadio\\": \\"20.13\\\\n\\",\\n \\"SubscribeDstIPCount\\": 10,\\n \\"TotalProtocolCount\\": 10,\\n \\"UncoveredAclDstIP\\": 10,\\n \\"TotalDomainCount\\": 10,\\n \\"SubscribeDomainCount\\": 10,\\n \\"TotalAssetCount\\": 13,\\n \\"TotalDstIPCount\\": 107,\\n \\"IgnoreDstIPCount\\": 0,\\n \\"RequestId\\": \\"E2BD70F4-48BF-5EFD-B103-F0763E27*****\\",\\n \\"IgnoreDomainCount\\": 10,\\n \\"IgnoreAssetCount\\": 0,\\n \\"RiskDstIPCount\\": 1,\\n \\"RiskAssetCount\\": 0,\\n \\"UncoveredAclDomain\\": 0,\\n \\"RiskDomainCount\\": 1,\\n \\"SubscribeAssetCount\\": 0,\\n \\"PrivateTotalAssetCount\\": 0,\\n \\"PrivateRiskAssetCount\\": 0\\n}","type":"json"}]', - 'title' => '获取主动外联统计信息', - ], - 'DescribeOutgoingAssetList' => [ - 'summary' => '获取外联资产列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取互联网流量趋势', + 'changeSet' => [ + ['createdAt' => '2024-05-16T08:02:48.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-09-20T06:26:40.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-05-30T02:35:39.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetTrafficTrend'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 89783147,\\n \\"MaxBandwidthTime\\": 1672736400,\\n \\"AvgInBps\\": 6114152,\\n \\"RequestId\\": \\"C7E837BE-0379-565E-B7B4-DE595C8D337C\\",\\n \\"MaxInBps\\": 10275643,\\n \\"MaxOutBps\\": 395188,\\n \\"AvgSession\\": 79013,\\n \\"MaxSession\\": 931641,\\n \\"AvgTotalBps\\": 2306,\\n \\"AvgOutBps\\": 70148993,\\n \\"TotalInBytes\\": 41536824243873,\\n \\"TotalOutBytes\\": 2660894567178,\\n \\"TotalBytes\\": 963227674958,\\n \\"TotalSession\\": 1061449,\\n \\"TotalExceedBytes\\": 4243873,\\n \\"MaxDayExceedBytes\\": 873,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1659405600,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 1123,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 235,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEcsTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -18637,24 +15700,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68322', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '68288', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '120.230.45.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -18662,189 +15725,143 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1743647114', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1736561456'], ], [ 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1733796528'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1736438400', + 'type' => 'object', + 'properties' => [ + 'EndTime' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736820365'], + 'StartTime' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1742177725'], + 'InvadeEcsCount' => ['description' => '所有的失陷主机数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F90E816D-BEE7-5BD6-95ED-474F54****'], + 'Interval' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'DataList' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据列表。', + 'type' => 'object', + 'properties' => [ + 'EcsCount' => ['description' => 'ECS数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '27'], + 'Time' => ['description' => '时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询ECS漏洞趋势', + 'summary' => '查询ECS漏洞趋势。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEcsTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1736820365,\\n \\"StartTime\\": 1742177725,\\n \\"InvadeEcsCount\\": 2,\\n \\"RequestId\\": \\"F90E816D-BEE7-5BD6-95ED-474F54****\\",\\n \\"Interval\\": 60,\\n \\"DataList\\": [\\n {\\n \\"EcsCount\\": 27,\\n \\"Time\\": 1659405600\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68289', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'ResourceType', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '资产公网IP类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - ], - 'example' => 'NatEIP', - ], + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '218.76.30.XXX'], ], [ - 'name' => 'AssetsRegion', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '资产所属地域。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [], - 'example' => 'cn-beijing', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'GroupName', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '关注情况。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'subscribe' => 'subscribe', - 'ignore' => 'ignore', - ], - 'example' => 'subscribe', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'PublicIP', + 'name' => 'AssetsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.116.70.XXX', - ], + 'schema' => ['description' => '资产ID。', 'type' => 'string', 'required' => true, 'example' => 'i-bp135d2rmbwpt****'], ], [ - 'name' => 'PrivateIP', + 'name' => 'EventUuid', 'in' => 'query', - 'schema' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.200.33.XXX', - ], + 'schema' => ['description' => '失陷感知事件UUID。', 'type' => 'string', 'required' => true, 'example' => '92498578-7c42-4845-8c73-7e824782****'], ], [ - 'name' => 'SecurityRisk', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '安全风险。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'normal' => '正常资产', - 'risk' => '风险资产', - ], - 'example' => 'risk', - ], - ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'description' => '排序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '流入流量', - 'SessionCount' => '访问次数', - 'OutBytes' => '流出流量', - ], - 'example' => 'InBytes', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', - ], - 'example' => 'desc', - ], - ], - [ - 'name' => 'IPType', - 'in' => 'query', - 'schema' => [ - 'description' => '查询Nat私网外联。', - 'type' => 'string', - 'required' => false, - 'example' => 'NatPrivate', - ], - ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-bp123456g******', - ], - ], - [ - 'name' => 'NatGatewayName', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关名称', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-test', - ], + 'schema' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '182.92.103.XXX'], ], ], 'responses' => [ @@ -18852,333 +15869,276 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', + 'RiskLevel' => [ + 'description' => '风险级别。', 'type' => 'integer', 'format' => 'int32', + 'enumValueTitles' => [1 => '低危', '中危', '高危'], 'example' => '2', ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7A515672-FAAE-584F-B51C-B2586E****', + 'EventKey' => ['description' => '事件Key。', 'type' => 'string', 'example' => 'C&CActivity'], + 'EventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => 'event_test'], + 'EventDetail' => ['description' => '事件详情。', 'type' => 'string', 'example' => 'test'], + 'EventUuid' => ['description' => '失陷感知事件UUID。', 'type' => 'string', 'example' => 'aa6e786c-5034-457a-8e05-1c63fab****'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'FirstTime' => ['description' => '首次发生时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1735006706'], + 'Reference' => ['description' => '参考信息。', 'type' => 'string', 'example' => 'test'], + 'PrivateIP' => ['description' => '私网IP。', 'type' => 'string', 'example' => '10.21.186.XXX'], + 'LastTime' => ['description' => '最近发生时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1740104108'], + 'AssetsInstanceName' => ['description' => '资产名称。', 'type' => 'string', 'example' => 'ECS_test'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '8022D695-4A35-50BC-8697-EA9C233A****'], + 'EventDesc' => ['description' => '事件描述。', 'type' => 'string', 'example' => 'test'], + 'IsIgnore' => [ + 'description' => '是否已忽略。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => 'true', 'false' => 'false'], + 'example' => 'false', ], - 'AssetList' => [ - 'description' => '资产列表。', + 'PublicIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '106.15.185.XXX'], + 'ProcessStatus' => [ + 'description' => '处理状态。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['未处理', 10 => '已防御', 20 => '已处理'], + 'example' => '1', + ], + 'AssetsInstanceId' => ['description' => '资产实例ID。', 'type' => 'string', 'example' => 'i-8vb2nmm070m****'], + 'OperationList' => [ + 'description' => '修复操作列表。', 'type' => 'array', 'items' => [ - 'description' => '资产列表。', + 'description' => '修复操作列表。', 'type' => 'object', 'properties' => [ - 'SessionCount' => [ - 'description' => '访问次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'ResourceType' => [ - 'description' => '资产公网IP类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'EcsPublicIP', - ], - 'AssetInstanceId' => [ - 'description' => '资产实例Id。', - 'type' => 'string', - 'example' => 'i-8vbcmllue4d94nto****', - ], - 'GroupName' => [ - 'description' => '关注情况。', - 'type' => 'string', - 'enumValueTitles' => [ - 'subscribe' => '已关注', - 'ignore' => '已忽略', - ], - 'example' => 'subscribe', - ], - 'AssetsRegion' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'OutBytes' => [ - 'description' => '流出流量, 请求流量,单位bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'SecurityRisk' => [ - 'description' => '安全风险。', - 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '常资产', - 'risk' => '风险资产', - ], - 'example' => 'risk', - ], - 'InBytes' => [ - 'description' => '流入流量, 应答流量,单位bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '244438.0', - ], - 'PublicIP' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'AssetInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'PrivateIP' => [ - 'description' => '私网ip。', - 'type' => 'string', - 'example' => '10.21.242XXX', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名。', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'OutgoingDomainCnt' => [ - 'description' => '外联域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'OutgoingDstIPCnt' => [ - 'description' => '外联IP数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'TotalBytes' => [ - 'description' => '总流量。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12498767', - ], - 'PrivateIPList' => [ - 'description' => '私网IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => '私网IP列表。', - 'type' => 'string', - 'example' => '["47.256.35.XXX"]', - ], - ], - 'IpsHitCnt' => [ - 'description' => 'ips命中情况。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], + 'Operate' => ['description' => '操作。', 'type' => 'string', 'example' => 'RunMode'], + 'Args' => ['description' => '操作参数。', 'type' => 'string', 'example' => 'test'], + ], + ], + ], + 'UnhandleOperationList' => [ + 'description' => '未处理的操作列表。', + 'type' => 'array', + 'items' => [ + 'description' => '未处理的操作列表。', + 'type' => 'object', + 'properties' => [ + 'Operate' => ['description' => '操作。', 'type' => 'string', 'example' => 'RunMode'], + 'Args' => ['description' => '操作参数。', 'type' => 'string', 'example' => 'test'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecurityRisk', - 'errorMessage' => 'The security risk is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"7A515672-FAAE-584F-B51C-B2586E****\\",\\n \\"AssetList\\": [\\n {\\n \\"SessionCount\\": 2,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"AssetInstanceId\\": \\"i-8vbcmllue4d94nto****\\",\\n \\"GroupName\\": \\"subscribe\\",\\n \\"AssetsRegion\\": \\"cn-hangzhou\\",\\n \\"OutBytes\\": 100,\\n \\"SecurityRisk\\": \\"risk\\",\\n \\"InBytes\\": 244438,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"AssetInstanceName\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"OutgoingDomainCnt\\": 10,\\n \\"OutgoingDstIPCnt\\": 12,\\n \\"TotalBytes\\": 12498767,\\n \\"PrivateIPList\\": [\\n \\"[\\\\\\"47.256.35.XXX\\\\\\"]\\"\\n ],\\n \\"IpsHitCnt\\": 12\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取外联资产列表', - ], - 'DescribeConfiguredDomainNames' => [ - 'summary' => '查询主动外联域名列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取失陷感知事件详情', + 'summary' => '获取失陷感知事件详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RiskLevel\\": 2,\\n \\"EventKey\\": \\"C&CActivity\\",\\n \\"EventName\\": \\"event_test\\",\\n \\"EventDetail\\": \\"test\\",\\n \\"EventUuid\\": \\"aa6e786c-5034-457a-8e05-1c63fab****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirstTime\\": 1735006706,\\n \\"Reference\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"LastTime\\": 1740104108,\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"RequestId\\": \\"8022D695-4A35-50BC-8697-EA9C233A****\\",\\n \\"EventDesc\\": \\"test\\",\\n \\"IsIgnore\\": false,\\n \\"PublicIP\\": \\"106.15.185.XXX\\",\\n \\"ProcessStatus\\": 1,\\n \\"AssetsInstanceId\\": \\"i-8vb2nmm070m****\\",\\n \\"OperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ],\\n \\"UnhandleOperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventList' => [ + 'summary' => '查询云防火墙失陷感知事件的信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68237', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68290', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问者源IP地址。', + 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, - 'example' => '1.202.149.XXX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', + 'default' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['title' => '源IP', 'description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', + 'default' => 'zh', + 'title' => '语言', + 'enum' => ['zh', 'en'], ], ], [ - 'name' => 'DomainName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['title' => '开始时间', 'description' => '设置查询开始时间。使用秒级时间戳格式表示。不填表示以最近30天开始查询。', 'type' => 'string', 'required' => false, 'example' => '1656750960'], ], [ - 'name' => 'GroupName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '分组名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'ignore', - ], + 'schema' => ['title' => '结束时间', 'description' => '设置查询结束时间。使用秒级时间戳格式表示。不填表示以当前时间结束。', 'type' => 'string', 'required' => false, 'example' => '1656837360'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['title' => '当前页', 'description' => '设置分页查询返回第几页数据。'."\n" + ."\n" + .'默认值为1,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '当前页面页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['title' => '每页多少条', 'description' => '设置分页查询每页包含多少条结果。'."\n" + ."\n" + .'默认值为6,表示每页包含6条结果。最大值为10。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'CurrentPage', + 'name' => 'AssetsInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '当前页面页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '实例ID', 'description' => '实例ID。', 'type' => 'string', 'required' => false, 'example' => 'ins_1321_asedb_****'], ], [ - 'name' => 'Direction', + 'name' => 'AssetsInstanceName', + 'in' => 'query', + 'schema' => ['title' => '实例名称', 'description' => '实例名称。', 'type' => 'string', 'required' => false, 'example' => 'ECS_test'], + ], + [ + 'name' => 'IsIgnore', + 'in' => 'query', + 'schema' => ['title' => '是否忽略', 'description' => '是否已忽略该失陷感知。取值:'."\n" + ."\n" + .'- **true**:已忽略。'."\n" + ."\n" + .'- **false**:未忽略。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'AssetsIP', + 'in' => 'query', + 'schema' => ['title' => '资产IP', 'description' => '受影响的资产IP。', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX'], + ], + [ + 'name' => 'EventKey', + 'in' => 'query', + 'schema' => ['title' => '事件key', 'description' => '失陷感知事件的ID。', 'type' => 'string', 'required' => false, 'example' => '69d189e2-ec17-4676-a2fe-02969234****'], + ], + [ + 'name' => 'EventName', + 'in' => 'query', + 'schema' => ['title' => '事件名称', 'description' => '失陷感知事件的名称。', 'type' => 'string', 'required' => false, 'example' => 'event_test'], + ], + [ + 'name' => 'EventUuid', + 'in' => 'query', + 'schema' => ['title' => '事件UUID', 'description' => '失陷感知事件的UUID。', 'type' => 'string', 'required' => false, 'example' => 'fadd-dfdd-****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['title' => '成员账号UID', 'description' => '成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****'], + ], + [ + 'name' => 'ProcessStatusList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '流量方向。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '外对内流量', - 'out' => '内对外流量', + 'title' => '处理状态列表', + 'description' => '处理状态列表。', + 'type' => 'array', + 'items' => [ + 'title' => '处理状态', + 'description' => '失陷感知事件处理状态。取值:'."\n" + ."\n" + .'- **0**:未处理。'."\n" + .'- **20**:已解决。'."\n", + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '0', + 'default' => '0', + 'enum' => [], ], - 'example' => 'out', + 'required' => false, + 'example' => '1358090477156271', + 'maxItems' => 10, ], ], [ - 'name' => 'SourceCode', + 'name' => 'RiskLevel', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', + 'title' => '风险等级', + 'description' => '风险评估等级。', + 'type' => 'array', + 'items' => [ + 'title' => '风险等级值', + 'description' => '风险评估等级。取值:'."\n" + ."\n\n" + .'- **1**:低危。'."\n" + .'- **2**:中危。'."\n" + .'- **3**:高危。', + 'type' => 'integer', + 'format' => 'int32', + 'required' => false, + 'example' => '3', + 'enum' => [], + ], + 'required' => false, + 'maxItems' => 10, ], ], ], @@ -19187,101 +16147,141 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '应用模块。', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '09A2D6F1-EA1B-56D9-977D-74878405****', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '16', + 'LowLevelPercent' => ['title' => '低风险等级比例', 'description' => '低风险等级比例。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'MiddleLevelPercent' => ['title' => '中风险等级比例', 'description' => '中风险等级比例。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + 'HighLevelPercent' => ['title' => '高风险等级比例', 'description' => '高风险等级比例。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + 'PageInfo' => [ + 'title' => '分页信息', + 'description' => '分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['title' => '当前页', 'description' => '分页查询时,显示的当前页的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => '每页大小', 'description' => '分页查询时,显示的每页数据的最大条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['title' => '总数', 'description' => '失陷感知事件的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '40'], + ], ], - 'DomainNames' => [ - 'description' => '域名名称列表。', + 'EventList' => [ + 'title' => '事件列表', + 'description' => '失陷感知事件列表。', 'type' => 'array', 'items' => [ - 'description' => '域名名称列表。', 'type' => 'object', 'properties' => [ - 'IsMalicious' => [ - 'description' => '是否为恶意域名。', - 'type' => 'boolean', - 'example' => '0', - ], - 'OperationTime' => [ - 'description' => '操作时间。', + 'RiskLevel' => [ + 'title' => '风险等级', + 'description' => '风险评估等级。取值:'."\n" + ."\n\n" + .'- **1**:低危。'."\n" + .'- **2**:中危。'."\n" + .'- **3**:高危。', 'type' => 'integer', 'format' => 'int32', - 'example' => '1534408189', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'Comment' => [ - 'description' => '备注信息。', - 'type' => 'string', - 'example' => 'test', + 'example' => '1', + 'enum' => [], ], + 'EventName' => ['title' => '事件名称', 'description' => '失陷感知事件的名称。', 'type' => 'string', 'example' => 'event_test'], + 'EventKey' => ['title' => 'CVE编号', 'description' => '失陷感知事件的ID。', 'type' => 'string', 'example' => '69d189e2-ec17-4676-a2fe-02969234****'], + 'EventUuid' => ['title' => '事件UUID', 'description' => '失陷感知事件的UUID。', 'type' => 'string', 'example' => 'fadd-dfdd-****'], + 'MemberUid' => ['title' => '成员账号UID', 'description' => '成员账号UID。', 'type' => 'string', 'example' => '135809047715****'], + 'AssetsType' => ['title' => '资产类型', 'description' => '受影响的资产类型。取值:'."\n" + ."\n" + .'- **BastionHostIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP。'."\n" + .'- **SlbPublicIP**:SLB公网IP。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。', 'type' => 'string', 'example' => 'EcsPublicIp'], + 'FirstTime' => ['title' => '首次出现时间', 'description' => '失陷感知事件首次出现的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1656750960'], + 'EventSrc' => ['title' => '事件来源', 'description' => '失陷感知事件的来源。取值:'."\n" + ."\n" + .'- **IPS**:入侵防御事件。'."\n" + ."\n" + .'- **offline**:离线事件。', 'type' => 'string', 'example' => 'IPS'], + 'PrivateIP' => ['title' => '私网IP', 'description' => '受影响资产的私网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'AssetsInstanceName' => ['title' => '资产名称', 'description' => '受影的响资产名称。', 'type' => 'string', 'example' => 'ECS_test'], + 'LastTime' => ['title' => '最近一次时间', 'description' => '失陷感知事件最近一次出现的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1656837360'], + 'PublicIpType' => ['title' => '公开类型', 'description' => '受影响的资产类型。取值:'."\n" + ."\n" + .'- **BastionHostIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP。'."\n" + .'- **SlbPublicIP**:SLB公网IP。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。', 'type' => 'string', 'example' => 'EcsPublicIp'], + 'IsIgnore' => ['title' => '是否忽略', 'description' => '是否忽略失陷感知事件。取值:'."\n" + ."\n" + .'- **true**:已忽略。'."\n" + ."\n" + .'- **false**:未忽略。'."\n", 'type' => 'boolean', 'example' => 'true', 'default' => 'false'], + 'PublicIP' => ['title' => '公网IP', 'description' => '受影响资产的公网IP。', 'type' => 'string', 'example' => '198.51.XX.XX'], + 'ProcessStatus' => ['title' => '处理状态', 'description' => '失陷感知事件的处理状态。取值:'."\n" + ."\n" + .'- **0**:未处理。'."\n" + .'- **20**:已解决。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'AssetsInstanceId' => ['title' => '资产实例ID', 'description' => '受影响的资产实例ID。', 'type' => 'string', 'example' => 'i-ECS****'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"09A2D6F1-EA1B-56D9-977D-74878405****\\",\\n \\"TotalCount\\": 16,\\n \\"DomainNames\\": [\\n {\\n \\"IsMalicious\\": true,\\n \\"OperationTime\\": 1534408189,\\n \\"DomainName\\": \\"example.com\\",\\n \\"Comment\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询主动外联域名列表', - ], - 'DescribeConfiguredDestinationIP' => [ - 'summary' => '查询主动外联IP列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询云防火墙失陷感知事件的信息', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-14T03:05:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T03:30:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvadeEventList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"LowLevelPercent\\": 20,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"MiddleLevelPercent\\": 40,\\n \\"HighLevelPercent\\": 40,\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"EventList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"EventName\\": \\"event_test\\",\\n \\"EventKey\\": \\"69d189e2-ec17-4676-a2fe-02969234****\\",\\n \\"EventUuid\\": \\"fadd-dfdd-****\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"AssetsType\\": \\"EcsPublicIp\\",\\n \\"FirstTime\\": 1656750960,\\n \\"EventSrc\\": \\"IPS\\",\\n \\"PrivateIP\\": \\"192.168.XX.XX\\",\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"LastTime\\": 1656837360,\\n \\"PublicIpType\\": \\"EcsPublicIp\\",\\n \\"IsIgnore\\": true,\\n \\"PublicIP\\": \\"198.51.XX.XX\\",\\n \\"ProcessStatus\\": 20,\\n \\"AssetsInstanceId\\": \\"i-ECS****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 40\\n 40\\n \\n 1\\n 10\\n 40\\n \\n \\n 1\\n event_test\\n 69d189e2-ec17-4676-a2fe-02969234****\\n fadd-dfdd-****\\n 135809047715****\\n EcsPublicIp\\n 1656750960\\n IPS\\n 192.168.XX.XX\\n ECS_test\\n 1656837360\\n EcsPublicIp\\n true\\n 198.51.XX.XX\\n 20\\n i-ECS****\\n \\n","errorExample":""}]', + ], + 'DescribeInvadeEventNameList' => [ + 'summary' => '获取漏洞名称列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19293,34 +16293,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68235', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68291', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '123.113.99.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '36.112.73.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -19328,103 +16318,140 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'DestinationIP', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1'."\n", - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1757620800'], ], [ - 'name' => 'DestinationRegion', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1738780437'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '目的区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6ABAA264-E7B5-5D66-8FC3-9253100****'], + 'NameList' => [ + 'description' => '漏洞名称列表。', + 'type' => 'array', + 'items' => ['description' => '漏洞名称列表。', 'type' => 'string', 'example' => '[]'], + ], + 'EventNameList' => [ + 'description' => '异常事件名称列表。', + 'type' => 'array', + 'items' => [ + 'description' => '异常事件名称列表。', + 'type' => 'object', + 'properties' => [ + 'EventKey' => ['description' => '漏洞事件唯一标识。', 'type' => 'string', 'example' => 'CActivity'], + 'EventName' => ['description' => '漏洞事件名称。', 'type' => 'string', 'example' => 'Suspicious central control communication'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取漏洞名称列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DestinationISP', - 'in' => 'query', - 'schema' => [ - 'description' => '目的运营商。', - 'type' => 'string', - 'required' => false, - 'example' => '电信', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6ABAA264-E7B5-5D66-8FC3-9253100****\\",\\n \\"NameList\\": [\\n \\"[]\\"\\n ],\\n \\"EventNameList\\": [\\n {\\n \\"EventKey\\": \\"CActivity\\",\\n \\"EventName\\": \\"Suspicious central control communication\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeInvadeEventStatistic' => [ + 'summary' => '获取漏洞事件统计。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'GroupName', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68293', + 'abilityTreeNodes' => ['FEATUREcfwIT6TRR'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '分组名称。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'subscribe' => 'subscribe', - 'ignore' => 'ignore', - ], - 'example' => 'ignore', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '52.130.200.XXX'], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '当前查询页码。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '20', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '当前查询页数。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Direction', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '流量方向。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '外对内流量访问控制', - 'out' => '内对外流量访问控制', - ], - 'example' => 'out', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1746151757'], ], [ - 'name' => 'SourceCode', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1774713600'], ], ], 'responses' => [ @@ -19432,117 +16459,52 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F0AE91F8-E6C5-50D4-983F-FC53672****', - ], - 'PageSize' => [ - 'description' => '当前页面的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', - ], - 'Destinations' => [ - 'description' => '返回的数据目的列表数据。', - 'type' => 'array', - 'items' => [ - 'description' => '返回的数据目的列表数据。', - 'type' => 'object', - 'properties' => [ - 'DestinationIP' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'DestinationRegion' => [ - 'description' => '目标区域。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'OperationTime' => [ - 'description' => '操作时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408189', - ], - 'DestinationISP' => [ - 'description' => '目的运营商。', - 'type' => 'string', - 'example' => '电信', - ], - 'Comment' => [ - 'description' => '备注信息。', - 'type' => 'string', - 'example' => '测试', - ], - ], - ], - ], + 'LowOpenEventCnt' => ['description' => '低危开放漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'TotalOpenEventCnt' => ['description' => '所有开放漏洞总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '1530A01A-6901-5B72-AB88-28B6E96B****'], + 'MiddleOpenEventCnt' => ['description' => '中危开放漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'HighOpenEventCnt' => ['description' => '高危开放漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"RequestId\\": \\"F0AE91F8-E6C5-50D4-983F-FC53672****\\",\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 32,\\n \\"Destinations\\": [\\n {\\n \\"DestinationIP\\": \\"1.1.1.1\\",\\n \\"DestinationRegion\\": \\"cn-shenzhen\\",\\n \\"OperationTime\\": 1534408189,\\n \\"DestinationISP\\": \\"电信\\",\\n \\"Comment\\": \\"测试\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询主动外联IP列表', - ], - 'DescribeOutgoingDestinationCategory' => [ - 'summary' => '查询主动外联目的分类。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取漏洞事件统计', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LowOpenEventCnt\\": 1,\\n \\"TotalOpenEventCnt\\": 2,\\n \\"RequestId\\": \\"1530A01A-6901-5B72-AB88-28B6E96B****\\",\\n \\"MiddleOpenEventCnt\\": 0,\\n \\"HighOpenEventCnt\\": 1\\n}","type":"json"}]', + ], + 'DescribeIpsPrivateAssoc' => [ + 'summary' => '查询IPS私网溯源列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -19554,107 +16516,48 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68325', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '240655', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.45.XXX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'ResourceId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '资源ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-c5vhmjdfp5t****'], ], [ - 'name' => 'StartTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749657600', - ], + 'schema' => ['description' => '页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1750818370', - ], + 'schema' => ['description' => '查询每页数目。', 'type' => 'string', 'required' => false, 'example' => '20'], ], [ - 'name' => 'CategoryId', + 'name' => 'PublicIp', 'in' => 'query', - 'schema' => [ - 'description' => '分类ID。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '全部', - 'RiskDomain' => '风险域名', - 'AliYun' => '阿里云产品', - 'NotAliYun' => '非阿里云产品', - ], - 'example' => 'All', - ], + 'schema' => ['description' => '实例的公网IP。', 'type' => 'string', 'required' => false, 'example' => '203.0.113.1'], ], [ - 'name' => 'TypeId', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '固定类别ID。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '全部', - 'AliYun' => '阿里云产品', - 'NotAliYun' => '非阿里云产品', - ], - 'example' => 'All', - ], + 'schema' => ['description' => '状态。', 'type' => 'string', 'required' => false, 'example' => 'close'], ], [ - 'name' => 'DstType', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '目标类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'DstIP' => '目的IP', - 'Domain' => '域名', - ], - 'example' => 'domain', - ], + 'schema' => ['description' => '资源所属aliUid。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ @@ -19662,121 +16565,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C1ED80BC-FFC8-57DB-8151-705DC31****', - ], - 'TypeList' => [ - 'description' => '主动外联分类列表。', + 'IpsPrivateAssoc' => [ + 'description' => 'IPS私网溯源列表。', 'type' => 'array', 'items' => [ - 'description' => '主动外联分类。', + 'description' => 'IPS私网溯源。', 'type' => 'object', 'properties' => [ - 'TypeName' => [ - 'description' => '固定类别名称。', - 'type' => 'string', - 'example' => '阿里云云产品', - ], - 'TypeId' => [ - 'description' => '固定类别ID。', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '全部', - 'AliYun' => '阿里云产品', - 'NotAliYun' => '非阿里云产品', - ], - 'example' => 'All', - ], - 'TypeDescribe' => [ - 'description' => '固定类别描述。', - 'type' => 'string', - 'example' => '阿里云产品', + 'AssocInfoStatus' => ['description' => '私网溯源状态。', 'type' => 'string', 'example' => 'close'], + 'ErrorMsg' => ['description' => '报错信息。', 'type' => 'string', 'example' => 'aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole'], + 'ProtectedIpList' => [ + 'description' => '已保护的IP列表。', + 'type' => 'array', + 'items' => ['description' => '已保护的IP。', 'type' => 'string', 'example' => '123.56.18.XX'], ], - 'CategoryList' => [ - 'description' => '主动外联分类列表。', + 'ResourceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'cba48ec510bb640559c6f5161cde58014'], + 'ResourceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'job-0000000061279FB000001BBB31F9D673'], + 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'closed'], + 'UnprotectedIpList' => [ + 'description' => '未保护的IP列表。', 'type' => 'array', - 'items' => [ - 'description' => '主动外联分类。', - 'type' => 'object', - 'properties' => [ - 'CategoryId' => [ - 'description' => '主动外联分类ID。', - 'type' => 'string', - 'example' => 'AliYun', - ], - 'CategoryName' => [ - 'description' => '主动外联分类名称。', - 'type' => 'string', - 'example' => '阿里云产品', - ], - 'CategoryDescribe' => [ - 'description' => '主动外联分类描述。', - 'type' => 'string', - 'example' => '阿里云产品', - ], - 'ClassId' => [ - 'description' => '主动外联分类分级ID。', - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], + 'items' => ['description' => '未保护的IP。', 'type' => 'string', 'example' => '60.205.197.X'], ], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-wz92dxepli2pgnut796tf'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-uf62vdtifj7kffpxrydqd'], + 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], + 'MemberUid' => ['description' => '资源所属aliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '1507956024994407'], ], ], ], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'TotalOpenCount' => ['description' => '开启IPS私网溯源的总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDstType', - 'errorMessage' => 'The dst type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询IPS私网溯源列表', + 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"C1ED80BC-FFC8-57DB-8151-705DC31****\\",\\n \\"TypeList\\": [\\n {\\n \\"TypeName\\": \\"阿里云云产品\\",\\n \\"TypeId\\": \\"All\\",\\n \\"TypeDescribe\\": \\"阿里云产品\\",\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"CategoryDescribe\\": \\"阿里云产品\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询主动外联目的分类', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsPrivateAssoc\\": [\\n {\\n \\"AssocInfoStatus\\": \\"close\\",\\n \\"ErrorMsg\\": \\"aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole\\",\\n \\"ProtectedIpList\\": [\\n \\"123.56.18.XX\\"\\n ],\\n \\"ResourceId\\": \\"cba48ec510bb640559c6f5161cde58014\\",\\n \\"ResourceName\\": \\"job-0000000061279FB000001BBB31F9D673\\",\\n \\"Status\\": \\"closed\\",\\n \\"UnprotectedIpList\\": [\\n \\"60.205.197.X\\"\\n ],\\n \\"VpcId\\": \\"vpc-wz92dxepli2pgnut796tf\\",\\n \\"VpcName\\": \\"vpc-uf62vdtifj7kffpxrydqd\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"MemberUid\\": 1507956024994407\\n }\\n ],\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"TotalCount\\": 6,\\n \\"TotalOpenCount\\": 0\\n}","type":"json"}]', ], - 'DescribeOutgoingTag' => [ - 'summary' => '获取外联标签。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeIspInfo' => [ + 'summary' => '查询ISP信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19788,34 +16642,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68332', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68302', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '60.179.226.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '39.91.37.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -19823,163 +16667,320 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'SourceCode', 'in' => 'query', + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1743646544', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'DataList' => [ + 'description' => '运营商列表。', + 'type' => 'array', + 'items' => [ + 'description' => '运营商列表。', + 'type' => 'object', + 'properties' => [ + 'IspId' => ['description' => '运营商ID', 'type' => 'integer', 'format' => 'int32', 'example' => 'isp-dhyw2lxfpc****'], + 'IspName' => ['description' => '运营商名称。', 'type' => 'string', 'example' => 'telecom'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询ISP信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749003483', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIspInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"IspId\\": 0,\\n \\"IspName\\": \\"telecom\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeLocationInfo' => [ + 'summary' => '查询地理位置信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DstType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68303', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '180.169.141.XXX'], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '目标类型。取值:'."\n" - .'- **Domain** :域名。'."\n" - .'- **DstIP** :IP。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'Domain ', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'TagId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '标签ID。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '103208', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], + [ + 'name' => 'SourceCode', + 'in' => 'query', + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], + ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'CD3BE433-FAB0-55D8-918A-69B306****'], + 'CnCount' => ['description' => '国内地区数。', 'type' => 'integer', 'format' => 'int32', 'example' => '340'], + 'OverseasCount' => ['description' => '海外地区数。', 'type' => 'integer', 'format' => 'int32', 'example' => '238'], + 'OverseasList' => [ + 'description' => '海外地区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '海外地区列表。', + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => '地区Id。', 'type' => 'string', 'example' => 'US'], + 'LocName' => ['description' => '地区名。', 'type' => 'string', 'example' => 'United States'], + ], + ], ], - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'B532203E-813B-5BEB-B75B-315E1D08****', + 'CnList' => [ + 'description' => '国内地区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '国内地区列表。', + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => '地区Id。', 'type' => 'string', 'example' => '3301'], + 'LocName' => ['description' => '地区名。', 'type' => 'string', 'example' => 'Hangzhou City'], + ], + ], ], - 'TagList' => [ - 'description' => '标签列表。', + 'CnProvinceList' => [ + 'description' => '国内省市信息。', 'type' => 'array', 'items' => [ - 'description' => '标签列表对象。', + 'description' => '国内省市信息。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险评估等级。取值:'."\n" - .'- **0**:无风险。'."\n" - .'- **1**:低风险。'."\n" - .'- **2**:中风险。'."\n" - .'- **3**:高风险。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'TagName' => [ - 'description' => '标签名称。', - 'type' => 'string', - 'example' => 'test tag', - ], - 'TagId' => [ - 'description' => '标签ID。', - 'type' => 'string', - 'example' => 'tag-6833388d18cc****', - ], - 'TagDescribe' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => 'test describe', - ], - 'ClassId' => [ - 'description' => '分类等级。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑。'."\n" - ."\n" - .'- **Malicious**:恶意。'."\n" - ."\n" - .'- **Trusted**:信任。', - 'type' => 'string', - 'example' => 'Trusted', + 'ProvinceName' => ['description' => '省份名称。', 'type' => 'string', 'example' => 'Zhejiang'], + 'Cities' => [ + 'description' => '城市编码列表。', + 'type' => 'array', + 'items' => [ + 'description' => '城市编码列表。', + 'type' => 'object', + 'properties' => [ + 'LocId' => ['description' => '地区Id。', 'type' => 'string', 'example' => '123'], + 'LocName' => ['description' => '地区名。', 'type' => 'string', 'example' => 'Hangzhou'], + ], + ], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询地理位置信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLocationInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD3BE433-FAB0-55D8-918A-69B306****\\",\\n \\"CnCount\\": 340,\\n \\"OverseasCount\\": 238,\\n \\"OverseasList\\": [\\n {\\n \\"LocId\\": \\"US\\",\\n \\"LocName\\": \\"United States\\"\\n }\\n ],\\n \\"CnList\\": [\\n {\\n \\"LocId\\": \\"3301\\",\\n \\"LocName\\": \\"Hangzhou City\\"\\n }\\n ],\\n \\"CnProvinceList\\": [\\n {\\n \\"ProvinceName\\": \\"Zhejiang\\",\\n \\"Cities\\": [\\n {\\n \\"LocId\\": \\"123\\",\\n \\"LocName\\": \\"Hangzhou\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeLogStoreInfo' => [ + 'summary' => '获取日志服务信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68305', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'Ttl' => ['title' => '日志存储时长。单位:天。', 'description' => '日志存储时长。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'RequestId' => ['title' => '本次请求的id。', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => 'C6C3B72B********E95FB0A161'], + 'Quota' => ['title' => '存储容量阈值,单位字节。', 'description' => '可用的日志存储容量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000'], + 'ProjectName' => ['title' => '日志服务project的名称。', 'description' => '日志服务的Project名称。', 'type' => 'string', 'example' => 'project-xxx-cn-hangzhou'], + 'LogStoreName' => ['title' => '日志服务的logStore名称。', 'description' => '日志服务SLS日志库LogStore的名称。', 'type' => 'string', 'example' => 'xxx-logstore'], + 'Used' => ['title' => '已使用的日志分析容量。', 'description' => '已经使用的存储容量。单位:Byte。'."\n" + ."\n" + .'> 日志服务的统计结果约有两个小时的延迟。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RegionId' => ['title' => '日志投递的地域ID。', 'description' => '日志投递的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'InfoList' => [ + 'title' => '信息列表。', + 'description' => '信息列表。', + 'type' => 'array', + 'items' => [ + 'title' => '信息列表。', + 'description' => '信息列表。', + 'type' => 'object', + 'properties' => [ + 'Ttl' => ['title' => '日志存储时长。单位:天。', 'description' => '日志存储时长。单位:天。', 'type' => 'integer', 'format' => 'int32', 'example' => '180'], + 'Quota' => ['title' => '存储容量阈值,单位字节。', 'description' => '存储容量阈值,单位字节。', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000'], + 'ProjectName' => ['title' => '日志服务的Project名称。', 'description' => '日志服务的Project名称。', 'type' => 'string', 'example' => 'cloudfirewall-project-14151892848****-cn-hangzhou'], + 'LogStoreName' => ['title' => '日志服务的logStore名称。', 'description' => '日志服务的logStore名称。', 'type' => 'string', 'example' => 'xxx-logstore'], + 'Used' => ['title' => '已存储的日志量,单位:Byte(字节)。', 'description' => '已存储的日志量,单位:Byte(字节)。', 'type' => 'integer', 'format' => 'int64', 'example' => '21852955752'], + 'MaxSplitShard' => ['title' => '弹性扩展shard数目可以支持的最大值。', 'description' => '弹性扩展shard数目可以支持的最大值。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'Shard' => ['title' => '当前已经使用的shard数目。', 'description' => '当前已经使用的shard数目。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RegionId' => ['title' => '地域ID。', 'description' => '地域ID。', 'type' => 'string', 'example' => 'cn-qingdao'], + 'Site' => ['title' => '该logStore所属的站点。cn:中国内地、intl:非中国内地。', 'description' => '该logStore所属的站点。cn:中国内地、intl:非中国内地。', 'type' => 'string', 'example' => 'cn'], + ], + ], + ], + 'LogVersion' => ['title' => '日志版本。1:代表有1个logStore,2:代表有两个logStore。', 'description' => '日志版本。1:代表有1个logStore,2:代表有两个logStore。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalQuota' => ['title' => '用户购买的日志存储的总容量。', 'description' => '用户购买的日志存储的总容量。', 'type' => 'integer', 'format' => 'int64', 'example' => '50000000'], + 'LogModifyQuota' => ['title' => '用户可以进行日志模式切换的次数。', 'description' => '用户可以进行日志模式切换的次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TaskId' => ['title' => '任务ID。', 'description' => '任务ID。', 'type' => 'string', 'example' => '132'], + ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 403 => [ + ['errorCode' => 'LogStoreNotExist', 'errorMessage' => 'The specified logstore does not exist. It may have been deleted manually. Please go to the SLS console to view detailed information.', 'description' => '指定的LogStore不存在。它可能已被手动删除。请前往SLS控制台查看详细信息。'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B532203E-813B-5BEB-B75B-315E1D08****\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test tag\\",\\n \\"TagId\\": \\"tag-6833388d18cc****\\",\\n \\"TagDescribe\\": \\"test describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取外联标签', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeOutgoingDomain' => [ - 'summary' => '查询主动外联的域名信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取日志服务信息', + 'changeSet' => [ + ['createdAt' => '2025-05-14T06:48:04.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreInfo'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLogStoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 20,\\n \\"RequestId\\": \\"C6C3B72B********E95FB0A161\\",\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"project-xxx-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 0,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InfoList\\": [\\n {\\n \\"Ttl\\": 180,\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"cloudfirewall-project-14151892848****-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 21852955752,\\n \\"MaxSplitShard\\": 4,\\n \\"Shard\\": 2,\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"Site\\": \\"cn\\"\\n }\\n ],\\n \\"LogVersion\\": 2,\\n \\"TotalQuota\\": 50000000,\\n \\"LogModifyQuota\\": 2,\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', + ], + 'DescribeMemberInfo' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -19991,226 +16992,380 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '92911', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '请求消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '150795602499****'], ], - [ - 'name' => 'StartTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', + 'title' => 'Schema of Response', + 'description' => '返回结果的请求ID。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F2665618-3C41-51A4-8DAF-586FB68****'], + 'MemberUid' => ['description' => '成员账号UID。', 'type' => 'string', 'example' => '128720273643****'], + 'AdminUid' => ['description' => '主账号UID。', 'type' => 'string', 'example' => '164705101205****'], + 'AdminName' => ['description' => '主账号名称。', 'type' => 'string', 'example' => 'tianzhuang'], + 'IsMember' => [ + 'description' => '是否是成员账号。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询成员信息', + 'summary' => '查询成员信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeMemberInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2665618-3C41-51A4-8DAF-586FB68****\\",\\n \\"MemberUid\\": \\"128720273643****\\",\\n \\"AdminUid\\": \\"164705101205****\\",\\n \\"AdminName\\": \\"tianzhuang\\",\\n \\"IsMember\\": true\\n}","type":"json"}]', + ], + 'DescribeNatAclPageStatus' => [ + 'summary' => '查询NAT防火墙分页状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '设置分页查询每页包含多少条结果。'."\n" - ."\n" - .'默认值为6,表示每页包含6条结果。最大值为100。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '180434', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'en'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '当前页', - 'description' => '设置分页查询返回第几页数据。'."\n" - ."\n" - .'默认值为1,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'NatAclPageEnable' => ['description' => '是否支持NAT ACL独立页面支持。', 'type' => 'boolean', 'example' => 'True'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8'], + 'Detail' => ['description' => '异常详细信息。', 'type' => 'string', 'example' => 'proxy_not_exist'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙分页状态', + 'changeSet' => [ + ['createdAt' => '2024-08-13T08:43:42.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatAclPageStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'CategoryId', - 'in' => 'query', - 'schema' => [ - 'title' => '分类, 枚举值.'."\n" - .'默认值: 空'."\n" - .'可选值: '."\n" - .'All (全部分类)'."\n" - .'RiskDomain (风险域名分类)'."\n" - .'RiskIP (风险IP分类)'."\n" - .'AliYun (云产品分类)'."\n" - .'NotAliYun (非云产品分类)', - 'description' => '产品分类。默认值:空。取值:'."\n" - ."\n" - .'- **All** :全部分类'."\n" - .'- **RiskDomain**:风险域名分类'."\n" - .'- **RiskIP** :风险IP分类'."\n" - .'- **AliYun** :云产品分类'."\n" - .'- **NotAliYun** :非云产品分类', - 'type' => 'string', - 'required' => false, - 'example' => 'All', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatAclPageStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NatAclPageEnable\\": true,\\n \\"RequestId\\": \\"B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8\\",\\n \\"Detail\\": \\"proxy_not_exist\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallAclGroupList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Domain', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '201928', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ', 'FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '域名', - 'description' => '主动外联的域名。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'www.aliyundoc.com', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], - [ - 'name' => 'PublicIP', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '公网IP', - 'description' => '外联ECS的公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****'], + 'NatFirewalls' => [ + 'description' => 'NAT防火墙列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'NAT防火墙列表。', + 'type' => 'object', + 'properties' => [ + 'NatGatewayId' => ['description' => 'NAT网关ID。', 'type' => 'string', 'example' => 'ngw-2zed6z6qkd7ogc****'], + 'NatGatewayName' => ['description' => 'NAT网关名称', 'type' => 'string', 'example' => 'ngw-test'], + 'IsDefault' => [ + 'description' => '是否默认NAT防火墙。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', + ], + 'AclRuleCount' => ['description' => 'NAT边界防火墙访问控制策略组的策略数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '32'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙分组列表', + 'summary' => '查询NAT防火墙分组列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '按照指定的字段排序。取值:'."\n" - ."\n" - .'- **SessionCount**(默认值):请求次数'."\n" - .'- **TotalBytes**:总流量数'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"NatFirewalls\\": [\\n {\\n \\"NatGatewayId\\": \\"ngw-2zed6z6qkd7ogc****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IsDefault\\": true,\\n \\"AclRuleCount\\": 32,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Order', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171421', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **asc**:升序'."\n" - .'- **desc**(默认):降序'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'TagIdNew', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '情报标签ID。取值:'."\n" - ."\n" - .'- **AliYun**:阿里云产品'."\n" - .'- **RiskDomain**:风险域名'."\n" - .'- **RiskIP**:风险IP'."\n" - .'- **TrustedDomain**:信誉网站'."\n" - .'- **AliPay**:支付宝'."\n" - .'- **DingDing**:钉钉'."\n" - .'- **WeChat**:微信'."\n" - .'- **QQ**:腾讯QQ'."\n" - .'- **SecurityService**:安全服务'."\n" - .'- **Microsoft**:微软'."\n" - .'- **Amazon**:亚马逊'."\n" - .'- **Pan**:网盘'."\n" - .'- **Map**:地图'."\n" - .'- **Code**:代码托管'."\n" - .'- **SystemService**:系统服务'."\n" - .'- **Taobao**:淘宝'."\n" - .'- **Google**:谷歌'."\n" - .'- **ThirdPartyService**:第三方平台服务'."\n" - .'- **FirstFlow**:首次'."\n" - .'- **Downloader**:恶意下载'."\n" - .'- **Alexa Top1M**:热门网站'."\n" - .'- **Miner**:矿池'."\n" - .'- **Intelligence**:威胁情报'."\n" - .'- **DDoS**:DDoS木马'."\n" - .'- **Ransomware**:勒索软件'."\n" - .'- **Spyware**:间谍软件'."\n" - .'- **Rogue**:流氓软件'."\n" - .'- **Botnet**:僵尸网络'."\n" - .'- **Suspicious**:可疑网站'."\n" - .'- **C&C**:远控'."\n" - .'- **Gang**:团伙'."\n" - .'- **CVE**:漏洞CVE'."\n" - .'- **Backdoor**:木马后门'."\n" - .'- **Phishing**:钓鱼网站'."\n" - .'- **APT**:APT攻击'."\n" - .'- **Supply Chain Attack**:供应链攻击'."\n" - .'- **Malicious software**:恶意软件', - 'type' => 'string', - 'required' => false, - 'example' => 'AliYun', - ], + 'schema' => ['description' => '要查询的NAT网关的ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx'], ], [ - 'name' => 'DataType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '统计流量的来源。默认取值为互联网防火墙。取值:'."\n" - ."\n" - .'- **internet**:互联网防火墙'."\n" - .'- **nat**:NAT防火墙', - 'type' => 'string', - 'required' => false, - 'example' => 'nat', - ], + 'schema' => ['description' => '分页查询时,设置当前页的页码。', 'type' => 'string', 'required' => false, 'example' => '1', 'default' => '1'], ], [ - 'name' => 'IsAITraffic', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', 'type' => 'string', 'required' => false, 'example' => '10', 'default' => '10'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的访问源地址。支持使用模糊查询的方式进行查询。SourceType(源类型)不同,访问源地址的取值也不同。'."\n" + ."\n" + .'- 当SourceType为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + ."\n" + .'- 当SourceType为`group`时,访问源为源地址簿名称。例如:db_group为空(表示查询所有访问控制源)。'."\n" + ."\n" + .'- 当SourceType为`location`时,访问源为源区域。例如:北京或beijing(支持使用中文或英文进行查询)。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的访问源。'."\n", 'type' => 'string', 'required' => false, 'example' => '1.1.1.1/32'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" + ."\n" + .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" + ."\n" + .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" + ."\n" + .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" + ."\n" + .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见[AddControlPolicy](~~474128~~))。例如:["BJ11", "ZB"]。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的目的地址。', 'type' => 'string', 'required' => false, 'example' => 'x.x.x.x/32'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。支持模糊查询。'."\n" + ."\n" + .'> 不设置该参数表示查询所有策略的描述信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'test-description'], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(表示所有协议类型)'."\n" + .'> 不设置该参数表示查询所有协议类型。', 'type' => 'string', 'required' => false, 'example' => 'ANY'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => false, 'example' => 'accept'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => '323f0697-2a21-4e43-b142-*****'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略控制的流量方向。取值:'."\n" + .'- **out**:内对外方向的流量访问控制。', 'type' => 'string', 'required' => true, 'example' => 'out'], + ], + [ + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '是否仅统计访问AI服务的流量。默认取值为否。取值:'."\n" - ."\n" - .'- **true**:是'."\n" - .'- **false**:否', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'example' => 'true', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], ], ], @@ -20219,337 +17374,215 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '外联域名的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DomainList' => [ - 'description' => '外联域名列表。', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'string', 'example' => '28'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'F283567D-8A52-5BAE-9472-*****'], + 'Policys' => [ + 'description' => 'NAT防火墙访问控制策略的信息。', 'type' => 'array', 'items' => [ - 'description' => '外联域名列表。', + 'description' => 'NAT防火墙访问控制策略的信息。', 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'title' => 'ACL覆盖', - 'description' => '访问控制策略是否覆盖。取值:'."\n" - ."\n" - .'- **Uncovered**:未覆盖'."\n" - .'- **FullCoverage**:已覆盖', - 'type' => 'string', - 'example' => 'Uncovered', - ], - 'Domain' => [ - 'title' => '域名', - 'description' => '主动外联的域名。', - 'type' => 'string', - 'example' => 'www.aliyundoc.com', - ], - 'AclRecommendDetail' => [ - 'title' => 'ACL推荐内容', - 'description' => 'ACL推荐内容。', - 'type' => 'string', - 'example' => '建议放行', - ], - 'HasAclRecommend' => [ - 'title' => '是否有ACL推荐规则', - 'description' => '是否有推荐ACL。取值:'."\n" - ."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'InBytes' => [ - 'title' => '入流量', - 'description' => '入方向的流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3214', - ], - 'CategoryName' => [ - 'title' => '分类名称', - 'description' => '产品的分类名称。取值:'."\n" - ."\n" - .'- **阿里云产品**'."\n" - .'- **非阿里云产品**', - 'type' => 'string', - 'example' => '阿里云产品', - ], - 'RuleName' => [ - 'title' => '规则名称', - 'description' => 'ACL规则名称。', - 'type' => 'string', - 'example' => '默认规则', - ], - 'RuleId' => [ - 'title' => 'ACL规则ID', - 'description' => 'ACL规则ID。', - 'type' => 'string', - 'example' => 'add-dfadf-f****', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => '规则的组名称。', - 'type' => 'string', - 'example' => '外量地址组', - ], - 'SecuritySuggest' => [ - 'title' => '安全建议', - 'description' => '主动外联域名的安全策略。取值:'."\n" - ."\n" - .'- **pass**:放行'."\n" - .'- **alert**:观察'."\n" - .'- **drop**:拒绝', - 'type' => 'string', - 'example' => 'pass', - ], - 'OutBytes' => [ - 'title' => '出流量', - 'description' => '出方向的流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4582', - ], - 'AclStatus' => [ - 'title' => 'ACL状态', - 'description' => '访问控制策略的健康状态。取值:'."\n" - ."\n" - .'- **Normal**:健康'."\n" - .'- **Abnormal**:不健康', - 'type' => 'string', - 'example' => 'Normal', - ], - 'IsMarkNormal' => [ - 'title' => '是否正常', - 'description' => '外联域名是否标记为正常。取值:'."\n" - ."\n" - .'- **true**:正常'."\n" - .'- **false**:不正常', - 'type' => 'boolean', - 'example' => 'true', - ], - 'CategoryId' => [ - 'title' => '分类ID', - 'description' => '产品分类ID。取值:'."\n" - ."\n" - .'- **Aliyun**:阿里云产品'."\n" - .'- **NotAliyun**:非阿里云产品', - 'type' => 'string', - 'example' => 'Aliyun', - ], - 'AddressGroupUUID' => [ - 'title' => '地址簿UUID', - 'description' => '地址簿UUID。', - 'type' => 'string', - 'example' => 'fdad-fdafa-dafa-dfa****', - ], - 'AddressGroupName' => [ - 'title' => '地址簿名称', - 'description' => '地址簿的名称。', - 'type' => 'string', - 'example' => '外联地址簿', - ], - 'CategoryClassId' => [ - 'description' => '情报标签的分类。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑'."\n" - .'- **Malicious**:恶意'."\n" - .'- **Trusted**:信任', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'Business' => [ - 'description' => '网站业务。', - 'type' => 'string', - 'example' => '阿里云', - ], - 'HasAcl' => [ - 'description' => '是否已有`ACL`覆盖此域名管控。取值:'."\n" - ."\n" - .'- **true**:有'."\n" - .'- **false** :没有', - 'type' => 'string', - 'example' => 'true', - ], - 'Organization' => [ - 'description' => '组织名称。', - 'type' => 'string', - 'example' => '阿里云计算有限公司', - ], - 'SecurityReason' => [ - 'description' => '安全原因。', - 'type' => 'string', - 'example' => '智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'string', - 'example' => '800', + 'Destination' => ['description' => '访问控制策略中的目的地址。DestinationType(目的类型)不同,目的地址的取值也不同。取值:'."\n" + ."\n" + .'- 当**DestinationType**为**net**时,目的地址为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + ."\n" + .'- 当**DestinationType**为**domain**时,目的地址为域名。例如:aliyuncs.com。'."\n" + ."\n" + .'- 当**DestinationType**为**group**时,目的地址为地址簿的名称。例如:db_group。'."\n" + ."\n" + .'- 当**DestinationType**为**location**时,目的地址为区域名称(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n" + ."\n" + .' ', 'type' => 'string', 'example' => 'x.x.x.x/32'], + 'Order' => ['description' => '访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DestPortGroup' => ['description' => '访问控制策略中流量访问的目的端口地址簿名称。', 'type' => 'string', 'example' => 'my_port_group'], + 'SourceType' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n" + .'- **location**:源区域', 'type' => 'string', 'example' => 'net'], + 'DnsResultTime' => ['description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DnsResult' => ['description' => 'DNS解析结果。', 'type' => 'string', 'example' => '111.0.XX.XX,112.0.XX.XX'], + 'ApplicationNameList' => [ + 'description' => '应用名称,支持多选。', + 'type' => 'array', + 'items' => ['description' => '应用名称,支持多选。', 'type' => 'string', 'example' => '[\'HTTP\', \'HTTPS\']'], ], - 'TagList' => [ - 'description' => '标签列表。', + 'AclUuid' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '01281255-d220-4db1-8f4f-c4df221a****'], + 'DestPortType' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'Source' => ['description' => '访问控制策略中的访问源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" + .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" + .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'DestinationType' => ['description' => '访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'example' => 'net'], + 'HitTimes' => ['description' => '访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DestPort' => ['description' => '访问控制策略中访问流量的目的端口。', 'type' => 'string', 'example' => '80'], + 'Description' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test-description'], + 'AclAction' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'accept'], + 'Proto' => ['description' => '访问控制策略中流量访问的安全协议类型。取值:'."\n" + ."\n" + .'- **ANY**'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**', 'type' => 'string', 'example' => 'TCP'], + 'DestinationGroupCidrs' => [ + 'description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", 'type' => 'array', - 'items' => [ - 'description' => '标签列表对象。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => '风险评估等级,取值:'."\n" - ."\n" - .'- **1**:低危'."\n" - .'- **2**:中危'."\n" - .'- **3**:高危', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TagName' => [ - 'title' => '标签名称', - 'description' => '标签名称。', - 'type' => 'string', - 'example' => '加白标签', - ], - 'TagId' => [ - 'title' => '标签ID', - 'description' => '情报标签ID。', - 'type' => 'string', - 'example' => 'AliYun', - ], - 'TagDescribe' => [ - 'title' => '标签描述', - 'description' => '标签描述。', - 'type' => 'string', - 'example' => '加白标签', - ], - 'ClassId' => [ - 'description' => '情报标签的分类。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑'."\n" - .'- **Malicious**:恶意'."\n" - .'- **Trusted**:信任', - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], + 'items' => ['description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", 'type' => 'string', 'example' => '['."\n" + .' "112.0.XX.XX/24",'."\n" + .' "112.0.XX.XX/32"'."\n" + .']'], ], - 'ApplicationNameList' => [ - 'description' => '应用名称。', + 'DestPortGroupPorts' => [ + 'description' => '目的端口地址簿中包含的端口列表。', 'type' => 'array', - 'items' => [ - 'description' => '应用名称列表。', - 'type' => 'string', - 'example' => 'HTTP', - ], + 'items' => ['description' => '目的端口地址簿中包含的端口列表。', 'type' => 'string', 'example' => '[80,443]'], ], - 'AssetCount' => [ - 'description' => '主动外联的资产总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', + 'SourceGroupCidrs' => [ + 'description' => '访问控制策略中的源地址簿中的网段列表。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略中的源地址簿中的网段列表。', 'type' => 'string', 'example' => '[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']'], ], - 'PrivateAssetCount' => [ - 'description' => '主动外联的私网资产总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', + 'Release' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + ."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。唯一取值: **ip**。表示IP地址簿,包含一个或多个IP地址段。', 'type' => 'string', 'example' => 'ip'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。', 'type' => 'string', 'example' => 'ip'], + 'NatGatewayId' => ['description' => '要查询的NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-xxxxxx'], + 'DomainResolveType' => ['description' => '访问控制策略的域名解析方式。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **0**:基于FQDN'."\n" + .'- **1**:基于DNS动态解析'."\n" + .'- **2**:基于FQDN与DNS动态解析', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'SpreadCnt' => ['description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" + .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 应用数 \\* 端口段个数。', 'type' => 'string', 'example' => '10,000'], + 'CreateTime' => ['description' => '策略创建时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'ModifyTime' => ['description' => '策略最后修改时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'RepeatType' => [ + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', + 'type' => 'string', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], + 'RepeatDays' => [ + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'RepeatStartTime' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '08:00'], + 'RepeatEndTime' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。'."\n" + .'> 时间格式为HH:mm(24小时制),例如08:00、23:30。', 'type' => 'string', 'example' => '23:30'], + 'StartTime' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200'], + 'EndTime' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DomainList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 3214,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"add-dfadf-f****\\",\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"外量地址组\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 4582,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"AddressGroupUUID\\": \\"fdad-fdafa-dafa-dfa****\\",\\n \\"AddressGroupName\\": \\"外联地址簿\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"Business\\": \\"阿里云\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"Organization\\": \\"阿里云计算有限公司\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TagName\\": \\"加白标签\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"加白标签\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 132\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n www.aliyundoc.com\\n 建议放行\\n true\\n 3214\\n 阿里云产品\\n 默认规则\\n add-dfadf-f****\\n 12\\n 外量地址组\\n pass\\n 4582\\n Normal\\n true\\n Aliyun\\n fdad-fdafa-dafa-dfa****\\n 外联地址簿\\n Trusted\\n 阿里云\\n true\\n 阿里云计算有限公司\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n \\n 3\\n 加白标签\\n AliYun\\n 加白标签\\n Trusted\\n \\n \\n","errorExample":""}]', - 'title' => '查询主动外联的域名信息', - ], - 'DescribeOutgoingDomainDetail' => [ - 'summary' => '获取外联域名详情。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取所有NAT防火墙访问控制策略的信息', + 'summary' => '获取所有NAT防火墙访问控制策略的信息。', + 'description' => '本接口一般用于分页查询NAT防火墙访问控制策略的信息。', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-03-13T11:58:28.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-08-29T10:57:57.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallControlPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"28\\",\\n \\"RequestId\\": \\"F283567D-8A52-5BAE-9472-*****\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"111.0.XX.XX,112.0.XX.XX\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test-description\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\n \\\\\\"112.0.XX.XX/24\\\\\\",\\\\n \\\\\\"112.0.XX.XX/32\\\\\\"\\\\n]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']\\"\\n ],\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"NatGatewayId\\": \\"ngw-xxxxxx\\",\\n \\"DomainResolveType\\": 0,\\n \\"SpreadCnt\\": \\"10,000\\",\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallDropTrafficTrend' => [ + 'summary' => '概览页-nat防火墙拦截趋势', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -20561,490 +17594,542 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68329', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '203563', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '121.15.137.XXX', - ], + 'schema' => ['description' => '访问源IP地址。', 'type' => 'string', 'required' => false, 'example' => '122.190.56.XXX'], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1740968766'], + ], + [ + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1758334822'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh(默认)' => '中文', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'DropSessionMax' => ['description' => '对应周期丢弃的最大值 (峰值)', 'type' => 'integer', 'format' => 'int64', 'example' => '62436'], + 'DropSessionMaxTime' => ['description' => '丢弃最大值所在的周期。使用秒级Unix时间戳表示,即从1970年1月1日(UTC)起经过的秒数。', 'type' => 'string', 'example' => '1525662720'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'DataList' => [ + 'description' => '概览页数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '概览页数据列表。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '数据时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + 'TotalSession' => ['description' => '总请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '153188'], + 'DropSession' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], + ], ], - 'example' => 'zh', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '概览页-nat防火墙拦截趋势。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh(默认)' => '中文', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'zh', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 62436,\\n \\"DropSessionMaxTime\\": \\"1525662720\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"TotalSession\\": 153188,\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallList' => [ + 'summary' => '本接口用于获取NAT边界防火墙的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '115925', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1753617600', - ], + 'schema' => ['description' => '返回消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1733450528', - ], + 'schema' => ['description' => '返回消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageSize', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1', 'default' => '1'], ], [ - 'name' => 'CurrentPage', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '分页查询时,设置每页包含NAT边界防火墙的数量。'."\n" + ."\n" + .'默认值为**10**,表示每页包含**10**条结果。最大值为**50**。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10', 'default' => '10'], ], [ - 'name' => 'TagId', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '标签ID。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'FirstFlow' => '首次', - 'Period' => '周期', - ], - 'example' => 'FirstFlow', - ], + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => false, 'example' => 'proxy-nat97a******'."\n"], ], [ - 'name' => 'AclCoverage', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => '策略覆盖情况。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'All' => '全部', - 'FullCoverage' => '已覆盖', - 'Uncovered' => '未覆盖', - 'PartialCoverage' => '部分覆盖', - ], - 'example' => 'FullCoverage', - ], + 'schema' => ['description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为[4,50]个字符,且不能以下划线开头。', 'type' => 'string', 'required' => false, 'example' => 'nat-firewall'], ], [ - 'name' => 'Domain', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com'."\n", - ], + 'schema' => ['description' => 'VPC所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'PublicIP', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.96.181.XXX', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], ], [ - 'name' => 'PrivateIP', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.210.0.XXX', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp123456g******'], ], [ - 'name' => 'Sort', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '排序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '流入流量', - 'SessionCount' => '会话数', - 'OutBytes' => '流出流量', - ], - 'example' => 'OutBytes', - ], + 'schema' => ['description' => '云防火墙状态。取值:'."\n" + ."\n" + .'- configuring:创建中'."\n" + .'- deleting:删除中'."\n" + .'- normal:正常'."\n" + .'- abnormal:异常'."\n" + .'- opening:开启中'."\n" + .'- closing:关闭中'."\n" + .'- closed:已关闭', 'type' => 'string', 'required' => false, 'example' => 'normal'], ], [ - 'name' => 'Order', + 'name' => 'MemberUid', 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '147783******'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => 'NAT边界防火墙的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n"], + 'NatFirewallList' => [ + 'description' => '云防火墙列表', + 'type' => 'array', + 'items' => [ + 'description' => '云防火墙列表', + 'type' => 'object', + 'properties' => [ + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '19106481******'], + 'AliUid' => ['description' => '阿里云账号的UID。'."\n" + ."\n" + .'> 云防火墙成员账号的主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '19106481******'."\n"], + 'ProxyId' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'example' => 'proxy-nat30******'], + 'ProxyName' => ['description' => 'NAT防火墙名称。', 'type' => 'string', 'example' => 'nat-firewall-test'."\n"], + 'ProxyStatus' => ['description' => '云防火墙状态。取值:'."\n" + ."\n" + .'- configuring:创建中'."\n" + .'- deleting:删除中'."\n" + .'- normal:正常 '."\n" + .'- abnormal:异常'."\n" + .'- opening:开启中'."\n" + .'- closing:关闭中'."\n" + .'- closed:已关闭', 'type' => 'string', 'example' => 'normal'], + 'RegionId' => ['description' => '云防火墙所在的地域ID。'."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'example' => 'cn-qingdao'], + 'NatGatewayId' => ['description' => '要查询的NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-uf6tnblxip4qcxg******'], + 'NatGatewayName' => ['description' => 'NAT网关的名称', 'type' => 'string', 'example' => 'nat-gateway-test'."\n"], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2ze26ya******'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-test-instance'], + 'ErrorDetail' => ['description' => '错误原因。', 'type' => 'string', 'example' => 'Firewall creation failed'], + 'StrictMode' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式 '."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NatRouteEntryList' => [ + 'description' => 'NAT网关默认路由条目列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'NAT网关默认路由条目。', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'NAT网关默认路由所在路由表。', 'type' => 'string', 'example' => 'vtb-bp18o0gb******'], + 'NextHopId' => ['description' => '原NAT网关下一跳转地址。', 'type' => 'string', 'example' => 'ngw-2ze0s284r9atg5******'], + 'NextHopType' => ['description' => '下一跳的网络类型。取值:NatGateway。', 'type' => 'string', 'example' => 'NatGateway'], + 'DestinationCidr' => ['description' => '默认路由目的网段。', 'type' => 'string', 'example' => '0.0.0.0/0'], + ], + ], + ], + 'ProxyVSwitchId' => ['description' => '防火墙使用的交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1amn3t1ktjjy8******'], + 'ProxyRouteTableId' => ['description' => '防火墙使用的路由表ID。', 'type' => 'string', 'example' => 'vtb-bp1pmyga7p4j10a******'], + 'ProxyNetworkInterfaceId' => ['description' => '防火墙使用的弹性网卡ID。', 'type' => 'string', 'example' => 'eni-bp127llmo4v5qju******'], + ], + ], + ], ], - 'example' => 'desc', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorNatGatewayNotAvailable', 'errorMessage' => 'Nat gateway not available.', 'description' => 'NAT网关状态不可用, 不能操作。'], + ['errorCode' => 'ErrorDnatNotSupport', 'errorMessage' => 'NAT firewall does not support DAT entries.', 'description' => 'NAT防火墙不支持DNAT。'], + ['errorCode' => 'ErrorProxySnatIpEmpty', 'errorMessage' => 'SNAT entry is empty.', 'description' => 'SNAT条目为空。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙', + 'changeSet' => [ + ['createdAt' => '2024-05-27T09:27:49.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallList'], + ], + ], + 'ramActions' => [ [ - 'name' => 'IPType', - 'in' => 'query', - 'schema' => [ - 'description' => '查询Nat私网外联。', - 'type' => 'string', - 'required' => false, - 'example' => 'NatPrivate', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\",\\n \\"NatFirewallList\\": [\\n {\\n \\"MemberUid\\": 0,\\n \\"AliUid\\": 0,\\n \\"ProxyId\\": \\"proxy-nat30******\\",\\n \\"ProxyName\\": \\"nat-firewall-test\\\\n\\",\\n \\"ProxyStatus\\": \\"normal\\",\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6tnblxip4qcxg******\\",\\n \\"NatGatewayName\\": \\"nat-gateway-test\\\\n\\",\\n \\"VpcId\\": \\"vpc-2ze26ya******\\",\\n \\"VpcName\\": \\"vpc-test-instance\\",\\n \\"ErrorDetail\\": \\"Firewall creation failed\\",\\n \\"StrictMode\\": 0,\\n \\"NatRouteEntryList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-bp18o0gb******\\",\\n \\"NextHopId\\": \\"ngw-2ze0s284r9atg5******\\",\\n \\"NextHopType\\": \\"NatGateway\\",\\n \\"DestinationCidr\\": \\"0.0.0.0/0\\"\\n }\\n ],\\n \\"ProxyVSwitchId\\": \\"vsw-bp1amn3t1ktjjy8******\\",\\n \\"ProxyRouteTableId\\": \\"vtb-bp1pmyga7p4j10a******\\",\\n \\"ProxyNetworkInterfaceId\\": \\"eni-bp127llmo4v5qju******\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallPolicyPriorUsed' => [ + 'summary' => '查询NAT防火墙访问控制策略优先级生效范围。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171493', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], [ 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => ' NAT网关的ID。 ', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-uf62zzi7000bca7zn****', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx'], ], [ - 'name' => 'DomainList', + 'name' => 'Direction', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => '访问控制策略的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **out**:内对外流量。', 'type' => 'string', 'required' => true, 'example' => 'out'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['description' => '支持的IP地址版本。取值:'."\n" + ."\n" + .'- **4**(默认):代表IPv4地址', 'type' => 'string', 'required' => false, 'example' => '4'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名列表。', - 'type' => 'string', - 'required' => false, - 'example' => '[\'example.com\']'."\n", + 'type' => 'object', + 'properties' => [ + 'End' => ['description' => '访问控制策略生效的优先级最低值。', 'type' => 'integer', 'format' => 'int32', 'example' => '28'], + 'Start' => ['description' => '访问控制策略生效的优先级最高值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'BCDF3907-1011-5504-B015-CC7603C0E6B6'], ], - 'required' => false, - 'maxItems' => 100, + 'description' => '', ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙访问控制策略优先级使用范围', + 'description' => '本接口一般用于查询NAT防火墙内对外流量访问控制策略优先级生效范围。', + 'changeSet' => [ + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-03-13T11:58:30.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 28,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"BCDF3907-1011-5504-B015-CC7603C0E6B6\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallPrecheckDetail' => [ + 'summary' => '查询NAT防火墙预检查结果。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '204316', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp1okz6k7dge****'], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '98AF5888-9606-59CF-888F-032A9ED0****', - ], - 'ApplicationNameList' => [ - 'description' => '应用名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用名。', - 'type' => 'string', - 'example' => '[\'HTTP\', \'HTTPS\']', - ], - ], - 'AssetList' => [ - 'description' => '资产列表。', - 'type' => 'array', - 'items' => [ - 'description' => '资产列表。', - 'type' => 'object', - 'properties' => [ - 'AclCoverage' => [ - 'description' => '策略覆盖情况。', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '全部', - 'FullCoverage' => '已覆盖', - 'Uncovered' => '未覆盖', - 'PartialCoverage' => '部分覆盖', - ], - 'example' => 'FullCoverage', - ], - 'ResourceInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'ResourceInstanceId' => [ - 'description' => '资产实例Id。', - 'type' => 'string', - 'example' => 'i-uf63wjhyoohc1g4z****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'InBytes' => [ - 'description' => '流入流量, 应答流量,单位bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '244438.0', - ], - 'FirstTime' => [ - 'description' => '首次时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1738548990', - ], - 'PrivateIP' => [ - 'description' => '私网ip。', - 'type' => 'string', - 'example' => '10.21.242XXX', - ], - 'RuleId' => [ - 'description' => 'ACL规则ID。', - 'type' => 'string', - 'example' => '08a58465-ff4d-4c47-8782-eb008301****', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'SessionCount' => [ - 'description' => '访问次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LastTime' => [ - 'description' => '最近时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1739326614', - ], - 'ResourceType' => [ - 'description' => '资产公网IP类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'NatEIP', - ], - 'OutBytes' => [ - 'description' => '流出流量, 请求流量,单位bytes。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'PublicIP' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'TagList' => [ - 'description' => '标签名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签名称列表。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险等级。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无风险,', - '低风险', - '中风险', - '高风险', - ], - 'example' => '0', - ], - 'TagName' => [ - 'description' => '标签名。', - 'type' => 'string', - 'example' => 'test', - ], - 'TagId' => [ - 'description' => '标签ID', - 'type' => 'string', - 'enumValueTitles' => [ - 'FirstFlow' => '首次', - 'Period' => '周期', + 'IsFound' => ['description' => '是否存在任务。', 'type' => 'boolean', 'example' => 'false'], + 'PrecheckDetail' => [ + 'description' => '预检查的详细信息。', + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['description' => '网络实例ID。', 'type' => 'string', 'example' => 'vpc-m5emh0w6v2e15****'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'FirewallId' => ['description' => '防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****'], + 'PrecheckTimestamp' => ['description' => '预检查时间戳。', 'type' => 'string', 'example' => '1715136000'], + 'PrecheckStatus' => ['description' => '预检查状态。取值:'."\n" + ."\n" + .'- **running**:预检查正在进行中'."\n" + ."\n" + .'- **passed**:预检查已通过'."\n" + ."\n" + .'- **failed**:预检查未通过', 'type' => 'string', 'example' => 'failed'], + 'PrecheckEntityGroups' => [ + 'description' => '预检查环节的分组列表。', + 'type' => 'array', + 'items' => [ + 'description' => '预检查环节的分组列表。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '预检查实例名。', 'type' => 'string', 'example' => 'test'], + 'PrecheckEntities' => [ + 'description' => '各预检查项的执行情况。', + 'type' => 'array', + 'items' => [ + 'description' => '各预检查项的执行情况。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '预检查项目名称。', 'type' => 'string', 'example' => 'Precheck test'], + 'Status' => ['description' => '各预检查项的状态。取值:'."\n" + ."\n" + .'- **running**:预检查正在进行中'."\n" + ."\n" + .'- **passed**:预检查已通过'."\n" + ."\n" + .'- **failed**:预检查未通过', 'type' => 'string', 'example' => 'passed'], + 'Info' => ['description' => '检查不通过的信息。', 'type' => 'string', 'example' => 'VPC Firewall Quota Full'], + 'Suggestion' => ['description' => '处理建议。', 'type' => 'string', 'example' => 'The VPC firewall quota is full. We recommend that you increase the firewall quota'], ], - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'ClassId' => [ - 'description' => '风险分类ID。', - 'type' => 'string', - 'example' => '3', ], ], + 'PrecheckEntityGroupStatus' => ['description' => '预检查的状态。取值:'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **passed**'."\n" + ."\n" + .'- **failed**', 'type' => 'string', 'example' => 'running'], + 'FailedCount' => ['description' => '预检查未通过数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], ], ], - 'TotalBytes' => [ - 'description' => '总流量。'."\n", - 'type' => 'string', - 'example' => '321120825843', - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-9dp16jgwgyvn****', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'IpsHitCnt' => [ - 'description' => 'ips命中数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', - ], - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'example.com', - ], ], ], ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ['errorCode' => 'ErrorPreCheckDoing', 'errorMessage' => 'Pre-check in progress, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"98AF5888-9606-59CF-888F-032A9ED0****\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"InBytes\\": 244438,\\n \\"FirstTime\\": 1738548990,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 10,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"NatEIP\\",\\n \\"OutBytes\\": 100,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"3\\"\\n }\\n ],\\n \\"TotalBytes\\": \\"321120825843\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IpsHitCnt\\": 32,\\n \\"Domain\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取主动外联域名详情', - ], - 'DescribeOutgoingDestination' => [ - 'summary' => '查询外联目的。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询NAT防火墙预检查结果', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC Firewall Quota Full\\",\\n \\"Suggestion\\": \\"The VPC firewall quota is full. We recommend that you increase the firewall quota\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 9\\n }\\n ]\\n },\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', + ], + 'DescribeNatFirewallQuota' => [ + 'summary' => '获取NAT防火墙配额。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21056,374 +18141,285 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68324', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '115963', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '106.3.198.XXX', - ], + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '113.132.26.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], - [ - 'name' => 'Lang', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'F98BAA59-5863-5B61-8FD4-C5E96813****'], + 'UsedCount' => ['description' => '已使用数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'ExceptionCount' => ['description' => '异常节点数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'UnprotectedCount' => ['description' => '未保护数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => '该请求使用与上一个请求相同但不相同的客户端令牌。不要在不同的请求中重复使用客户端令牌,除非请求相同。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取NAT防火墙配额', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749657600', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F98BAA59-5863-5B61-8FD4-C5E96813****\\",\\n \\"UsedCount\\": 10,\\n \\"TotalCount\\": 6,\\n \\"ExceptionCount\\": 1,\\n \\"UnprotectedCount\\": 20\\n}","type":"json"}]', + ], + 'DescribeNatFirewallTimeTop' => [ + 'summary' => '查询NAT防火墙时间点流量TOP。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749089441', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '216506', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '当前页数。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'SrcPublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'NAT公网IP。', 'type' => 'string', 'required' => false, 'example' => '47.93.47.XXX'], ], [ - 'name' => 'CategoryId', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '分类ID。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'RiskDomain' => '风险域名', - 'AliYun' => '阿里云产品', - 'NotAliYun' => '非阿里云产品', - ], - 'example' => 'AliYun', - ], + 'schema' => ['description' => 'NAT网关ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf62zzi7000bca7zn****'], ], [ - 'name' => 'TagId', + 'name' => 'SrcPrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => '标签ID', - 'type' => 'string', - 'required' => false, - 'example' => 'FirstFlow', - ], + 'schema' => ['description' => 'NAT私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.100.134.XXX'], ], [ - 'name' => 'SecuritySuggest', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '主动外联域名的安全策略。', + 'description' => '排序方式。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'drop' => '观察', - 'pass' => '放行', - 'alert' => '拒绝', - ], - 'example' => 'pass', + 'enumValueTitles' => ['total_max_bps' => 'total_max_bps', 'out_max_bps' => 'out_max_bps', 'in_max_bps' => 'in_max_bps'], + 'example' => 'total_max_bps', ], ], [ - 'name' => 'AclCoverage', + 'name' => 'Limit', 'in' => 'query', - 'schema' => [ - 'description' => '策略覆盖情况。', - 'type' => 'string', - 'required' => false, - 'example' => 'FullCoverage', - ], + 'schema' => ['description' => '最大top数限制数,默认200,取值1-500。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '20'], ], [ - 'name' => 'DstIP', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => '目标IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.111XXX', - ], + 'schema' => ['description' => '流量时间点。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749693960'], ], [ - 'name' => 'PublicIP', + 'name' => 'Interval', 'in' => 'query', + 'schema' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.96.74.XXX', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'DataCount' => ['description' => '结果数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'TrafficTime' => ['description' => '流量时间点。使用秒级时间戳格式表示。', 'type' => 'string', 'example' => '1656923760'], + 'DataList' => [ + 'description' => '数据列表', + 'type' => 'array', + 'items' => [ + 'description' => '数据列表。', + 'type' => 'object', + 'properties' => [ + 'Ip' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '10.66.231.XXX'], + 'InBps' => ['description' => '入方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '187'], + 'OutBps' => ['description' => '出方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '45'], + 'TotalBps' => ['description' => '总带宽,单位为bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '232'], + 'SessionCount' => ['description' => '会话总数。', 'type' => 'string', 'example' => '27'], + 'NewConn' => ['description' => '新建连接数。', 'type' => 'string', 'example' => '27'], + 'ResourceInstanceId' => ['description' => '资产实例ID。', 'type' => 'string', 'example' => 'i-bp130nn8h6157dir****'], + 'ResourceInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'test'], + 'RegionNo' => ['description' => '区域。', 'type' => 'string', 'example' => 'cn-qingdao'], + 'NatGatewayId' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'example' => 'ngw-uf6pnry5vpawb****'], + 'NatGatewayName' => ['description' => 'NAT网关名称', 'type' => 'string', 'example' => 'ngw-test'], + 'NatFirewallId' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****'."\n"], + 'NatFirewallName' => ['description' => 'NAT防火墙名称。', 'type' => 'string', 'example' => 'vfw-test'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙时间点流量TOP', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PrivateIP', - 'in' => 'query', - 'schema' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.111.53XXX', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataCount\\": 2,\\n \\"TrafficTime\\": \\"1656923760\\",\\n \\"DataList\\": [\\n {\\n \\"Ip\\": \\"10.66.231.XXX\\",\\n \\"InBps\\": 187,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232,\\n \\"SessionCount\\": \\"27\\",\\n \\"NewConn\\": \\"27\\",\\n \\"ResourceInstanceId\\": \\"i-bp130nn8h6157dir****\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"RegionNo\\": \\"cn-qingdao\\",\\n \\"NatGatewayId\\": \\"ngw-uf6pnry5vpawb****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatFirewallId\\": \\"vfw-tr-7a9c8901ed394****\\\\n\\",\\n \\"NatFirewallName\\": \\"vfw-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNatFirewallTrafficTrend' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '203560', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'ApplicationName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1739326980'], ], [ - 'name' => 'Port', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '3306', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1739330580'], ], [ - 'name' => 'Sort', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '按照指定的字段排序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => 'InBytes', - 'TotalBytes' => 'TotalBytes', - 'SessionCount' => 'SessionCount', - 'OutBytes' => 'OutBytes', - ], - 'example' => 'InBytes', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-xxxxxx'], ], [ - 'name' => 'Order', + 'name' => 'SrcPublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '公网源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.112.210.136'], ], [ - 'name' => 'IsAITraffic', + 'name' => 'SrcPrivateIP', 'in' => 'query', - 'schema' => [ - 'description' => '是否仅统计访问AI服务的流量。默认取值为否。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'true' => '是', - 'false' => '否', - ], - 'example' => 'true', - ], + 'schema' => ['description' => '私网源IP地址。', 'type' => 'string', 'required' => false, 'example' => '10.100.134.60'], + ], + [ + 'name' => 'Interval', + 'in' => 'query', + 'schema' => ['description' => '指定查询数据的时间粒度,单位:秒。取值如下:'."\n" + .'- **60**:1分钟。'."\n" + .'- **1800**:半小时。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '60'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '42', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'A2845BA9-1642-5B27-9F04-8014DD94****', - ], - 'DstList' => [ - 'description' => '目的地址信息。', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '87F23A3A-6F57-59C3-8237-A090D0613D71'], + 'MaxTotalBps' => ['description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '66953194'], + 'MaxOutBps' => ['description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '122596487'], + 'MaxInBps' => ['description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '18038632'], + 'DataList' => [ + 'description' => '流量统计信息列表。', 'type' => 'array', 'items' => [ - 'description' => '目的地址信息。', + 'description' => '流量统计信息列表。', 'type' => 'object', 'properties' => [ - 'DstIP' => [ - 'description' => '目的ip。', - 'type' => 'string', - 'example' => '101.6.15.XXX', - ], - 'AclRecommendDetail' => [ - 'description' => 'ACL推荐内容。', - 'type' => 'string', - 'example' => 'test', - ], - 'HasAclRecommend' => [ - 'description' => '是否有推荐ACL。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'false' => '否', - 'true' => '是', - ], - 'example' => 'false', - ], - 'InBytes' => [ - 'description' => '入方向的流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'DstType' => [ - 'description' => '目标类型。', - 'type' => 'string', - 'example' => 'domain', - ], - 'CategoryName' => [ - 'description' => '产品的分类名称。', - 'type' => 'string', - 'example' => 'categor_test', - ], - 'DstDomain' => [ - 'description' => '目的域名。', - 'type' => 'string', - 'example' => 'example.com', - ], - 'SessionCount' => [ - 'description' => '会话数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'GroupName' => [ - 'description' => '分组名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'OutBytes' => [ - 'description' => '出流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'AclStatus' => [ - 'description' => '策略状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Normal' => '健康', - 'Abnormal' => '异常', - ], - 'example' => 'Normal', - ], - 'CategoryId' => [ - 'description' => '分类ID。', - 'type' => 'string', - 'enumValueTitles' => [ - 'RiskDomain' => '风险域名', - 'AliYun' => '阿里云产品', - 'NotAliYun' => '非阿里云产品', - ], - 'example' => 'AliYun', - ], - 'IsMarkNormal' => [ - 'description' => '是否被用户手动标记为正常。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '是', - 'false' => '否', - ], - 'example' => 'false', - ], - 'TagList' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签列表。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险评估等级。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无风险', - '低风险', - '中风险', - '高风险', - ], - 'example' => '1', - ], - 'TagName' => [ - 'description' => '标签名。', - 'type' => 'string', - 'example' => 'verify', - ], - 'TagId' => [ - 'description' => '标签ID。', - 'type' => 'string', - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'Business' => [ - 'description' => '域名业务。', - 'type' => 'string', - 'example' => 'example.com', - ], + 'TrafficTime' => ['description' => '查询时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1734418980'], + 'MaxTotalBps' => ['description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '66953194'], + 'MaxInBps' => ['description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '18038632'], + 'MaxOutBps' => ['description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '122596487'], ], ], ], @@ -21433,60 +18429,45 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 42,\\n \\"RequestId\\": \\"A2845BA9-1642-5B27-9F04-8014DD94****\\",\\n \\"DstList\\": [\\n {\\n \\"DstIP\\": \\"101.6.15.XXX\\",\\n \\"AclRecommendDetail\\": \\"test\\",\\n \\"HasAclRecommend\\": false,\\n \\"InBytes\\": 0,\\n \\"DstType\\": \\"domain\\",\\n \\"CategoryName\\": \\"categor_test\\",\\n \\"DstDomain\\": \\"example.com\\",\\n \\"SessionCount\\": 10,\\n \\"GroupName\\": \\"test\\",\\n \\"OutBytes\\": 0,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"IsMarkNormal\\": false,\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"verify\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\"\\n }\\n ],\\n \\"Business\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询外联目的', - ], - 'DescribeOutgoingDestinationIP' => [ - 'summary' => '查询主动外联的目的IP信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取NAT防火墙流量趋势', + 'summary' => '概览页-NAT流量趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallTrafficTrend'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"87F23A3A-6F57-59C3-8237-A090D0613D71\\",\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxOutBps\\": 122596487,\\n \\"MaxInBps\\": 18038632,\\n \\"DataList\\": [\\n {\\n \\"TrafficTime\\": 1734418980,\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxInBps\\": 18038632,\\n \\"MaxOutBps\\": 122596487\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkInstanceList' => [ + 'summary' => '获取网络实例列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -21498,10 +18479,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68326', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68310', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -21509,242 +18488,177 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '语言', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656837360', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656923760', ], ], [ - 'name' => 'PageSize', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '每页大小', - 'description' => '设置分页查询每页包含多少条结果。'."\n" - ."\n" - .'默认值为6,表示每页包含6条结果。最大值为10。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'ConnectType', 'in' => 'query', 'schema' => [ - 'title' => '当前页', - 'description' => '设置分页查询返回第几页数据。'."\n" - ."\n" - .'默认值为1,表示返回第1页数据。', + 'description' => '互通类型。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['expressconnect' => '高速通道', 'cen' => '云企业网'], + 'example' => 'expressconnect', ], ], [ - 'name' => 'CategoryId', + 'name' => 'CenId', 'in' => 'query', + 'schema' => ['description' => '云企业Id。', 'type' => 'string', 'required' => false, 'example' => 'cen-x5jayxou71ad73****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '分类, 枚举值.'."\n" - .'默认值: 空'."\n" - .'可选值: '."\n" - .'All (全部分类)'."\n" - .'RiskDomain (风险域名分类)'."\n" - .'RiskIP (风险IP分类)'."\n" - .'AliYun (云产品分类)'."\n" - .'NotAliYun (非云产品分类)', - 'description' => '产品分类ID。默认值为空,取值:'."\n" - ."\n" - .'- **All** :全部分类'."\n" - .'- **RiskDomain** :风险域名分类'."\n" - .'- **RiskIP** :风险IP分类'."\n" - .'- **AliYun** :云产品分类'."\n" - .'- **NotAliYun** :非云产品分类', - 'type' => 'string', - 'required' => false, - 'example' => 'All', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '21'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'D2373503-3921-59F2-93A6-3DA7FB7****'], + 'NetworkInstanceList' => [ + 'description' => '网络实例信息。', + 'type' => 'array', + 'items' => [ + 'description' => '网络实例信息。', + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['description' => '网络实例ID。', 'type' => 'string', 'example' => 'vpc-m5ewlqkuf7or****'], + 'NetworkInstanceName' => ['description' => '网络实例名。', 'type' => 'string', 'example' => 'vpc-test'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'NetworkInstanceType' => [ + 'description' => '网络实例的类型。', + 'type' => 'string', + 'enumValueTitles' => ['vbr' => 'vbr', 'vpc' => 'vpc'], + 'example' => 'vpc', + ], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorConnectType', 'errorMessage' => 'Connect type invalid.', 'description' => '互通类型选择错误,请重新选择。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取网络实例列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DstIP', - 'in' => 'query', - 'schema' => [ - 'title' => '目的IP', - 'description' => '主动外联域名的目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.XX.XX', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 21,\\n \\"RequestId\\": \\"D2373503-3921-59F2-93A6-3DA7FB7****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-m5ewlqkuf7or****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"vpc\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkInstanceRelationList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PublicIP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '外联ECS的公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68311', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PrivateIP', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '私网IP', - 'description' => '外联ECS的私网IP。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '192.168.XX.XX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Port', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'title' => '端口号', - 'description' => '端口号。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => '80', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Sort', + 'name' => 'ConnectType', 'in' => 'query', 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '按照指定的字段排序。取值:'."\n" - ."\n" - .'- **SessionCount**(默认值):请求次数。'."\n" - .'- **TotalBytes**:总流量数。', + 'description' => '互通类型。', 'type' => 'string', 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], + 'enumValueTitles' => ['expressconnect' => '高速通道', 'cen' => '云企业网 '], + 'example' => 'cen', ], ], [ - 'name' => 'Order', + 'name' => 'FirewallConfigureStatus', 'in' => 'query', 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **asc**:升序。'."\n" - .'- **desc**(默认):降序。'."\n", + 'description' => '云防火墙配置状态。', 'type' => 'string', 'required' => false, - 'example' => 'desc', - 'enum' => [], + 'enumValueTitles' => ['configured' => '已配置', 'notconfigured' => '未配置'], + 'example' => 'notconfigured', ], ], [ - 'name' => 'TagIdNew', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '情报标签ID。取值:'."\n" - .'- **AliYun**:阿里云产品'."\n" - .'- **RiskDomain**:风险域名'."\n" - .'- **RiskIP**:风险IP'."\n" - .'- **TrustedDomain**:信誉网站'."\n" - .'- **AliPay**:支付宝'."\n" - .'- **DingDing**:钉钉'."\n" - .'- **WeChat**:微信'."\n" - .'- **QQ**:腾讯QQ'."\n" - .'- **SecurityService**:安全服务'."\n" - .'- **Microsoft**:微软'."\n" - .'- **Amazon**:亚马逊'."\n" - .'- **Pan**:网盘'."\n" - .'- **Map**:地图'."\n" - .'- **Code**:代码托管'."\n" - .'- **SystemService**:系统服务'."\n" - .'- **Taobao**:淘宝'."\n" - .'- **Google**:谷歌'."\n" - .'- **ThirdPartyService**:第三方平台服务'."\n" - .'- **FirstFlow**:首次'."\n" - .'- **Downloader**:恶意下载'."\n" - .'- **Alexa Top1M**:热门网站'."\n" - .'- **Miner**:矿池'."\n" - .'- **Intelligence**:威胁情报'."\n" - .'- **DDoS**:DDoS木马'."\n" - .'- **Ransomware**:勒索软件'."\n" - .'- **Spyware**:间谍软件'."\n" - .'- **Rogue**:流氓软件'."\n" - .'- **Botnet**:僵尸网络'."\n" - .'- **Suspicious**:可疑网站'."\n" - .'- **C&C**:远控'."\n" - .'- **Gang**:团伙'."\n" - .'- **CVE**:漏洞CVE'."\n" - .'- **Backdoor**:木马后门'."\n" - .'- **Phishing**:钓鱼网站'."\n" - .'- **APT**:APT攻击'."\n" - .'- **Supply Chain Attack**:供应链攻击'."\n" - .'- **Malicious software**:恶意软件', - 'type' => 'string', - 'required' => false, - 'example' => 'AliYun', - ], + 'schema' => ['description' => '本端网络实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2vcwkr****'], ], [ - 'name' => 'ApplicationName', + 'name' => 'PeerNetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'FTP', - ], + 'schema' => ['description' => '对端网络实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-dsf232d****'], ], ], 'responses' => [ @@ -21752,391 +18666,136 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '外联IP的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DstIPList' => [ - 'title' => '外联IP列表', - 'description' => '主动外联的IP列表。', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '284FF89D-4F70-546F-8EF6-77E0A530****'], + 'NetworkInstanceList' => [ + 'description' => '网络实例信息。', 'type' => 'array', 'items' => [ - 'description' => '主动外联的IP列表。', + 'description' => '网络实例信息。', 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'title' => 'ACL覆盖', - 'description' => '是否覆盖访问控制策略。取值:'."\n" - ."\n" - .'- **Uncovered**:未覆盖。'."\n" - ."\n" - .'- **FullCoverage**:已覆盖。', - 'type' => 'string', - 'example' => 'Uncovered', - ], - 'DstIP' => [ - 'title' => '目的IP', - 'description' => '主动外联域名的目的IP。', - 'type' => 'string', - 'example' => '10.0.XX.XX', - ], - 'AclRecommendDetail' => [ - 'title' => 'ACL推荐内容', - 'description' => 'ACL的建议信息。', - 'type' => 'string', - 'example' => '建议放行', - ], - 'HasAclRecommend' => [ - 'title' => '是否有推荐ACL', - 'description' => '是否有推荐ACL。取值:'."\n" - ."\n" - .'- **true**:是。'."\n" - ."\n" - .'- **false**:否。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'InBytes' => [ - 'title' => '入方向流量', - 'description' => '入方向的流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '472', - ], - 'CategoryName' => [ - 'title' => '分类名称', - 'description' => '产品的分类名称。取值:'."\n" - ."\n" - .'- **阿里云产品**'."\n" - ."\n" - .'- **非阿里云产品**', - 'type' => 'string', - 'example' => '阿里云产品', - ], - 'RuleName' => [ - 'title' => '规则名称', - 'description' => 'ACL规则名称。', - 'type' => 'string', - 'example' => '默认规则', - ], - 'RuleId' => [ - 'title' => '规则UUID', - 'description' => 'ACL规则UUID。', - 'type' => 'string', - 'example' => 'fadsfd-dfadf-df****', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => '规则的组名称。', - 'type' => 'string', - 'example' => '规则_test', - ], - 'SecuritySuggest' => [ - 'title' => '安全建议', - 'description' => '主动外联域名的安全策略。取值:'."\n" - ."\n" - .'- **pass**:放行。'."\n" - ."\n" - .'- **alert**:拒绝。'."\n" - ."\n" - .'- **drop**:观察。', - 'type' => 'string', - 'example' => 'pass', - ], - 'OutBytes' => [ - 'title' => '出流量', - 'description' => '出方向的流量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '965', - ], - 'AclStatus' => [ - 'title' => 'ACL状态', - 'description' => '访问控制策略的健康状态。取值:'."\n" - ."\n" - .'- **Normal**:健康。'."\n" - .'- **Abnormal**:不健康。', + 'ConnectType' => [ + 'description' => '连接类型。', 'type' => 'string', - 'example' => 'Normal', - ], - 'IsMarkNormal' => [ - 'title' => '是否正常', - 'description' => '是否加入白名单。取值:'."\n" - .'- **true**:已加入。'."\n" - ."\n" - .'- **false**:未加入。', - 'type' => 'boolean', - 'example' => 'true', + 'enumValueTitles' => ['expressconnect' => '高速通道', 'cen' => '云企业网'], + 'example' => 'cen', ], - 'CategoryId' => [ - 'title' => '分类ID', - 'description' => '产品分类ID。取值:'."\n" - ."\n" - .'- **Aliyun**:阿里云产品。'."\n" - ."\n" - .'- **NotAliyun**:非阿里云产品。', + 'NetworkInstanceName' => ['description' => '网络实例名。', 'type' => 'string', 'example' => 'vpc-test'], + 'NetworkInstanceId' => ['description' => '网络实例Id。', 'type' => 'string', 'example' => 'vpc-2vcwfqbrh4kr****'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'NetworkInstanceType' => [ + 'description' => '网络实例类型。', 'type' => 'string', - 'example' => 'Aliyun', - ], - 'TagList' => [ - 'title' => '标签列表', - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签列表。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => '风险评估等级。取值:'."\n" - ."\n" - .'- **1**:低危。'."\n" - .'- **2**:中危。'."\n" - .'- **3**:高危。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'enum' => [], - ], - 'TagName' => [ - 'title' => '标签名', - 'description' => '情报标签名称。', - 'type' => 'string', - 'example' => '放行标签', - ], - 'TagId' => [ - 'title' => '标签ID', - 'description' => '情报标签ID。', - 'type' => 'string', - 'example' => 'AliYun', - ], - 'TagDescribe' => [ - 'title' => '标签描述', - 'description' => '情报标签的描述。', - 'type' => 'string', - 'example' => '放行标签', - ], - 'ClassId' => [ - 'description' => '情报标签的分类。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑。'."\n" - .'- **Malicious**:恶意。'."\n" - .'- **Trusted**:信任。', - 'type' => 'string', - 'example' => 'Trusted', - ], - ], - ], + 'enumValueTitles' => ['vbr' => 'vbr', 'vpc' => 'vpc'], + 'example' => 'VPC', ], - 'ApplicationPortList' => [ - 'description' => '应用端口列表。'."\n" - ."\n" - .'> 列表仅展示前99个应用端口。当外联应用端口超过99个时,仅展示前99条数据。', + 'PeerNetworkInstanceList' => [ + 'description' => '对端网络实例列表。', 'type' => 'array', 'items' => [ - 'title' => '端口列表', - 'description' => '端口列表。', + 'description' => '对端网络实例。', 'type' => 'object', 'properties' => [ - 'Port' => [ - 'title' => '端口', - 'description' => '应用的端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'ApplicationName' => [ - 'title' => '应用名', - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", + 'NetworkInstanceId' => ['description' => '网络实例ID。', 'type' => 'string', 'example' => 'vpc-dsf232d****'], + 'NetworkInstanceName' => ['description' => '网络实例名称。', 'type' => 'string', 'example' => 'vpc-test'], + 'RegionNo' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'NetworkInstanceType' => [ + 'description' => '网络实例类型。', 'type' => 'string', - 'example' => 'HTTP', + 'enumValueTitles' => ['vbr' => 'vbr', 'vpc' => 'vpc'], + 'example' => 'vpc', ], - 'UnknownReason' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因列表。', + 'AssociatedCen' => [ + 'description' => '关联的云企业网。', 'type' => 'array', 'items' => [ - 'description' => '协议分析失败原因。', - 'type' => 'string', - 'example' => 'tcp_not_establish', + 'description' => '关联的云企业网。', + 'type' => 'object', + 'properties' => [ + 'CenId' => ['description' => '云企业网实例ID', 'type' => 'string', 'example' => 'cen-sdij1***'], + 'CenName' => ['description' => '云企业网实例名称。', 'type' => 'string', 'example' => 'test'], + 'TransitRouterType' => ['description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" + ."\n" + .'- **Basic**:基础版转发路由器。'."\n" + ."\n" + .'- **Enterprise**:企业版转发路由器。', 'type' => 'string', 'example' => 'Enterprise'], + 'AttachmentId' => ['description' => '网络实例的连接ID。', 'type' => 'string', 'example' => 'tr-attach-b9dyqn***'], + 'AttachmentName' => ['description' => '网络实例的连接名称', 'type' => 'string', 'example' => 'att-test2'], + ], ], ], ], ], ], - 'CategoryClassId' => [ - 'description' => '情报标签的分类。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑。'."\n" - .'- **Malicious**:恶意。'."\n" - .'- **Trusted**:信任。', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'SecurityReason' => [ - 'description' => '安全原因。', - 'type' => 'string', - 'example' => '智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'string', - 'example' => '800', - ], - 'HasAcl' => [ - 'description' => '是否有访问控制规则。取值:'."\n" - ."\n" - .'- **true**:有。'."\n" - .'- **false** :没有。', - 'type' => 'string', - 'example' => 'true', - ], - 'AddressGroupList' => [ - 'description' => '地址簿信息。', + 'AssociatedCen' => [ + 'description' => '关联的云企业网。', 'type' => 'array', 'items' => [ + 'description' => '关联的云企业网。', 'type' => 'object', 'properties' => [ - 'AddressGroupUUID' => [ - 'description' => '地址簿唯一标识。', - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'AddressGroupName' => [ - 'description' => '地址簿名称。', - 'type' => 'string', - 'example' => 'IP地址簿', - ], + 'CenId' => ['description' => '云企业网实例ID。', 'type' => 'string', 'example' => 'cen-sdij1***'], + 'CenName' => ['description' => '云企业网实例名称。', 'type' => 'string', 'example' => 'test'], + 'TransitRouterType' => ['description' => '转发实例路由器类型。可选值:'."\n" + ."\n" + .'- **Basic**:基础版转发路由器。'."\n" + ."\n" + .'- **Enterprise**:企业版转发路由器。', 'type' => 'string', 'example' => 'Enterprise'], + 'AttachmentId' => ['description' => '网络实例的连接ID。', 'type' => 'string', 'example' => 'tr-attach-b92yqn***'], + 'AttachmentName' => ['description' => '网络实例的连接名称', 'type' => 'string', 'example' => 'att-test1'], ], ], ], - 'AssetCount' => [ - 'description' => '主动外联的资产总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'PrivateAssetCount' => [ - 'description' => '主动外联的私网资产总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'LocationName' => [ - 'description' => '区域名。', - 'type' => 'string', - 'example' => '山东省青岛市', - ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorConfigureStatus', 'errorMessage' => 'firewall configure status invalid.', 'description' => '防火墙状态参数错误,请重新选择。'], + ['errorCode' => 'ErrorConnectType', 'errorMessage' => 'Connect type invalid.', 'description' => '互通类型选择错误,请重新选择。'], + ['errorCode' => 'ErrorNetworkInstanceIdBothEmpty', 'errorMessage' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', 'description' => '参数 NetworkInstanceId 和 PeerNetworkInstanceId 必须同时为空或不为空'], + ['errorCode' => 'ErrorNetworkInstanceIdSame', 'errorMessage' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', 'description' => '参数NetworkInstanceId和PeerNetworkInstanceId不能相同'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 50,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DstIPList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"DstIP\\": \\"10.0.XX.XX\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 472,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"fadsfd-dfadf-df****\\",\\n \\"SessionCount\\": 4,\\n \\"GroupName\\": \\"规则_test\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 965,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"放行标签\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"放行标签\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationPortList\\": [\\n {\\n \\"Port\\": 80,\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"UnknownReason\\": [\\n \\"tcp_not_establish\\"\\n ]\\n }\\n ],\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"AddressGroupList\\": [\\n {\\n \\"AddressGroupUUID\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AddressGroupName\\": \\"IP地址簿\\"\\n }\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20,\\n \\"LocationName\\": \\"山东省青岛市\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 50\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n 10.0.XX.XX\\n 建议放行\\n true\\n 472\\n 阿里云产品\\n 默认规则\\n fadsfd-dfadf-df****\\n 4\\n 规则_test\\n pass\\n 965\\n Normal\\n true\\n Aliyun\\n \\n 1\\n 放行标签\\n AliYun\\n 放行标签\\n Trusted\\n \\n \\n 80\\n HTTP\\n \\n Trusted\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n true\\n \\n f04ac7ce-628b-4cb7-be61-310222b7****\\n IP地址簿\\n \\n \\n","errorExample":""}]', - 'title' => '查询主动外联的目的IP信息', - ], - 'DescribeOutgoingDestinationIPDetail' => [ - 'summary' => '获取外联目的IP详情。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取网络实例关系列表', + 'summary' => '获取网络实例关系列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"284FF89D-4F70-546F-8EF6-77E0A530****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"NetworkInstanceId\\": \\"vpc-2vcwfqbrh4kr****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"PeerNetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-dsf232d****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"NetworkInstanceType\\": \\"vpc\\",\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b9dyqn***\\",\\n \\"AttachmentName\\": \\"att-test2\\"\\n }\\n ]\\n }\\n ],\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b92yqn***\\",\\n \\"AttachmentName\\": \\"att-test1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeNetworkTrafficTopRatio' => [ + 'summary' => '查询网络流量TOP占比。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22148,30 +18807,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68327', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - ], + 'abilityTreeCode' => '68316', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '1.202.193.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '60.12.220.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -22179,426 +18832,186 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1749434787', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], [ - 'name' => 'EndTime', + 'name' => 'AppName', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1733710383', - ], + 'schema' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'HTTP'], ], [ - 'name' => 'PageSize', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '资产IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'CurrentPage', + 'name' => 'AssetRegion', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '资产所属区域。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], [ - 'name' => 'TagId', + 'name' => 'DataType', 'in' => 'query', 'schema' => [ - 'description' => '标签ID。', + 'description' => '数据类型。', 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'FirstFlow' => '首次', - 'Period' => '周期', - ], - 'example' => 'FirstFlow', + 'required' => true, + 'enumValueTitles' => ['in_src_location' => '来源地区', 'in_src_ip' => '来源IP'], + 'example' => 'in_src_ip', ], ], [ - 'name' => 'AclCoverage', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '策略覆盖情况。', + 'description' => '方向。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'All' => '全部', - 'FullCoverage' => '已覆盖', - 'Uncovered' => '未覆盖', - 'PartialCoverage' => '部分覆盖', - ], - 'example' => 'FullCoverage', + 'enumValueTitles' => ['in' => '入向', 'out' => '出向'], + 'example' => 'in', ], ], [ 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => true, - 'example' => '34.136.111.XXX', - ], + 'schema' => ['description' => '目标IP。', 'type' => 'string', 'required' => false, 'example' => '39.144.124.XXX'], ], [ - 'name' => 'PublicIP', + 'name' => 'DstPort', 'in' => 'query', - 'schema' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '目标端口。', 'type' => 'string', 'required' => false, 'example' => '8080'], ], [ - 'name' => 'PrivateIP', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.210.0.XXX', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1757433863'], ], [ - 'name' => 'Sort', + 'name' => 'IpProperty', 'in' => 'query', - 'schema' => [ - 'description' => '根据指定字段排序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => '流入流量', - 'SessionCount' => '会话次数', - 'OutBytes' => '流出流量', - ], - 'example' => 'InBytes', - ], + 'schema' => ['description' => 'IP属性。', 'type' => 'string', 'required' => false, 'example' => 'proxy'], ], [ - 'name' => 'Order', + 'name' => 'Isp', 'in' => 'query', - 'schema' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', - ], - 'example' => 'desc', - ], + 'schema' => ['description' => '运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], ], [ - 'name' => 'IPType', + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => '地区。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou City'], + ], + [ + 'name' => 'RuleResult', 'in' => 'query', 'schema' => [ - 'description' => '查询Nat私网外联。', + 'description' => '规则防御结果。', 'type' => 'string', 'required' => false, - 'example' => 'NatPrivate', + 'enumValueTitles' => [1 => '告警', '丢弃'], + 'example' => '1', ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => ' NAT网关的ID。 ', + 'description' => '排序方式。', 'type' => 'string', 'required' => false, - 'example' => 'ngw-2zed6z6qkd7ogc****', + 'enumValueTitles' => ['in_bytes' => 'in_bytes', 'total_bytes' => 'total_bytes'], + 'example' => 'in_bytes', ], ], + [ + 'name' => 'SrcIP', + 'in' => 'query', + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '172.16.169.XXX'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1749176793'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LocationName' => [ - 'description' => '区域名。', - 'type' => 'string', - 'example' => '杭州', - ], - 'IspName' => [ - 'description' => '目的IP所属运营商。', - 'type' => 'string', - 'example' => '电信', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', + 'DataType' => [ + 'description' => '数据类型。', 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '25', + 'enumValueTitles' => ['in_src_location' => '来源地区', 'in_src_ip' => '来源IP'], + 'example' => 'in_src_ip', ], - 'AssetList' => [ - 'description' => '资产列表。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C05D58A1-28A9-563A-BB59-5F7D1867****'], + 'DataCount' => ['description' => '结果数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DataList' => [ + 'description' => '数据值列表。', 'type' => 'array', 'items' => [ - 'description' => '资产列表。', + 'description' => '数据值列表。', 'type' => 'object', 'properties' => [ - 'AclCoverage' => [ - 'description' => '策略覆盖情况。', - 'type' => 'string', - 'enumValueTitles' => [ - 'All' => '全部', - 'FullCoverage' => '已覆盖', - 'Uncovered' => '未覆盖', - 'PartialCoverage' => '部分覆盖', - ], - 'example' => 'FullCoverage', - ], - 'ResourceInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'ResourceInstanceId' => [ - 'description' => '云产品实例ID。', - 'type' => 'string', - 'example' => 'i-uf63wjhyoohc1g4z****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'InBytes' => [ - 'description' => '入流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'LocationName' => [ - 'description' => '目的IP所属地区名。', - 'type' => 'string', - 'example' => '杭州', - ], - 'FirstTime' => [ - 'description' => '首次时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1744682438', - ], - 'PrivateIP' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'example' => '10.21.242XXX', - ], - 'RuleId' => [ - 'description' => '规则ID。', - 'type' => 'string', - 'example' => '08a58465-ff4d-4c47-8782-eb008301****', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'SessionCount' => [ - 'description' => '会话次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'LastTime' => [ - 'description' => '最近时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1739326614', - ], - 'ResourceType' => [ - 'description' => '资产公网IP类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'EcsEIP' => 'EcsEIP', - 'EcsPublicIP' => 'EcsPublicIP', - 'NatPublicIP' => 'NatPublicIP', - 'NatEIP' => 'NatEIP', - 'EIP' => 'EIP', - ], - 'example' => 'EcsPublicIP', - ], - 'OutBytes' => [ - 'description' => '出流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'IspName' => [ - 'description' => '目的IP所属运营商。', - 'type' => 'string', - 'example' => '电信', - ], - 'PublicIP' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '47.96.181.XXX', - ], - 'TotalBytes' => [ - 'description' => '总流量。', - 'type' => 'string', - 'example' => '458681', - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-9dp16jgwgyvn****', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'example' => 'ngw-bp1utx6wj4x9qu9tl****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称。', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'TagList' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签列表。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险等级。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无风险', - '低风险', - '中风险', - '高风险', - ], - 'example' => '0', - ], - 'TagName' => [ - 'description' => '标签名。', - 'type' => 'string', - 'example' => 'test', - ], - 'TagId' => [ - 'description' => '标签ID。', - 'type' => 'string', - 'example' => 'FirstFlow', - ], - 'TagDescribe' => [ - 'description' => '标签描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'ClassId' => [ - 'description' => '分类ID。', - 'type' => 'string', - 'example' => '1', - ], - ], - ], - ], + 'DataValue' => ['description' => '占比数值。', 'type' => 'string', 'example' => '12'], + 'DataName' => ['description' => '数据名称。', 'type' => 'string', 'example' => 'test'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LocationName\\": \\"杭州\\",\\n \\"IspName\\": \\"电信\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"TotalCount\\": 25,\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"InBytes\\": 0,\\n \\"LocationName\\": \\"杭州\\",\\n \\"FirstTime\\": 1744682438,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 2,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"OutBytes\\": 0,\\n \\"IspName\\": \\"电信\\",\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TotalBytes\\": \\"458681\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取外联目的IP详情', - ], - 'DescribeInternetTrafficTop' => [ - 'summary' => '查询互联网流量TOP趋势图。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询网络流量TOP占比', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkTrafficTopRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"C05D58A1-28A9-563A-BB59-5F7D1867****\\",\\n \\"DataCount\\": 1,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"12\\",\\n \\"DataName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOpenIpAccessSrcStat' => [ + 'summary' => '获取开放IP的访问源统计。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22610,22 +19023,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68285', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68321', + 'abilityTreeNodes' => ['FEATUREcfwVWCDEU'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '117.82.14.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.100.XX.XX'], ], [ 'name' => 'Lang', @@ -22634,13 +19040,105 @@ 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], + 'StatList' => [ + 'description' => '统计列表。', + 'type' => 'array', + 'items' => [ + 'description' => '统计列表。', + 'type' => 'object', + 'properties' => [ + 'AbnormalSrcIp' => ['description' => '异常的ip地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'NormalSrcIp' => ['description' => '正常的ip地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '21'], + 'Port' => ['description' => '端口号。', 'type' => 'string', 'example' => '6163'], + 'App' => ['description' => '应用类型。', 'type' => 'string', 'example' => 'HTTP'], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取开放IP的访问源统计', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOpenIpAccessSrcStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"StatList\\": [\\n {\\n \\"AbnormalSrcIp\\": 12,\\n \\"NormalSrcIp\\": 21,\\n \\"Port\\": \\"6163\\",\\n \\"App\\": \\"HTTP\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingAssetList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68322', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', @@ -22648,272 +19146,237 @@ 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'Direction', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '流量方向。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in' => '外对内流量', - 'out' => '内对外流量', - ], - 'example' => 'in', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1743647114'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1734055824', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1736438400'], ], [ - 'name' => 'SourceCode', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'DataType', + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '流量数据类型。', + 'description' => '资产公网IP类型。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in_src_location' => '来源地区', - 'in_src_ip' => '来源ip', - ], - 'example' => 'in_src_ip', + 'required' => false, + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP'], + 'example' => 'NatEIP', ], ], [ - 'name' => 'RuleResult', + 'name' => 'AssetsRegion', 'in' => 'query', 'schema' => [ - 'description' => '规则防御结果。', + 'description' => '资产所属地域。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '放行', - '告警', - '丢弃', - ], - 'example' => '1', + 'enumValueTitles' => [], + 'example' => 'cn-beijing', ], ], [ - 'name' => 'RuleSource', + 'name' => 'GroupName', 'in' => 'query', 'schema' => [ - 'description' => '规则来源。', + 'description' => '关注情况。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 1 => '基础防御', - '虚拟补丁', - '基础ACL', - '威胁情报', - ], - 'example' => '1', + 'enumValueTitles' => ['subscribe' => 'subscribe', 'ignore' => 'ignore'], + 'example' => 'subscribe', ], ], [ - 'name' => 'Sort', + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '47.116.70.XXX'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.200.33.XXX'], + ], + [ + 'name' => 'SecurityRisk', 'in' => 'query', 'schema' => [ - 'description' => '排序方式。', + 'description' => '安全风险。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'in_bytes' => 'in_bytes', - 'session_count' => 'session_count', - 'out_bytes' => 'out_bytes', - 'total_bytes' => 'total_bytes', - 'out_packets' => 'out_packets', - 'in_packets' => 'in_packets', - ], - 'example' => 'in_bytes', + 'enumValueTitles' => ['normal' => '正常资产', 'risk' => '风险资产'], + 'example' => 'risk', ], ], [ - 'name' => 'ShowCountryName', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '展示国家名称。', + 'description' => '排序。', 'type' => 'string', 'required' => false, - 'example' => 'China', + 'enumValueTitles' => ['InBytes' => '流入流量', 'SessionCount' => '访问次数', 'OutBytes' => '流出流量'], + 'example' => 'InBytes', ], ], [ - 'name' => 'Limit', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '最大top数限制数,默认50,取值1-50。', + 'description' => '升降序。', 'type' => 'string', 'required' => false, - 'example' => '50', + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], + [ + 'name' => 'IPType', + 'in' => 'query', + 'schema' => ['description' => '查询Nat私网外联。', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-bp123456g******'], + ], + [ + 'name' => 'NatGatewayName', + 'in' => 'query', + 'schema' => ['description' => 'NAT网关名称', 'type' => 'string', 'required' => false, 'example' => 'ngw-test'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DataType' => [ - 'description' => '流量数据类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'in_src_location' => '来源地区', - 'in_src_ip' => '来源ip', - ], - 'example' => 'in_src_ip', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'DataCount' => [ - 'description' => '流量数据数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DataList' => [ - 'description' => '流量数据列表。', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7A515672-FAAE-584F-B51C-B2586E****'], + 'AssetList' => [ + 'description' => '资产列表。', 'type' => 'array', 'items' => [ - 'description' => '流量数据列表。', + 'description' => '资产列表。', 'type' => 'object', 'properties' => [ - 'DataValue' => [ - 'description' => '流入百分比。', + 'SessionCount' => ['description' => '访问次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'ResourceType' => [ + 'description' => '资产公网IP类型。', 'type' => 'string', - 'example' => '47.12', - ], - 'SessionCount' => [ - 'description' => '会话数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP', 'EIP' => 'EIP'], + 'example' => 'EcsPublicIP', ], - 'DataName' => [ - 'description' => '国家名称。', + 'AssetInstanceId' => ['description' => '资产实例Id。', 'type' => 'string', 'example' => 'i-8vbcmllue4d94nto****'], + 'GroupName' => [ + 'description' => '关注情况。', 'type' => 'string', - 'example' => 'US', + 'enumValueTitles' => ['subscribe' => '已关注', 'ignore' => '已忽略'], + 'example' => 'subscribe', ], - 'IsSubscribed' => [ - 'description' => '是否订阅。', - 'type' => 'boolean', - 'example' => 'false', + 'AssetsRegion' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'OutBytes' => ['description' => '流出流量, 请求流量,单位bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'SecurityRisk' => [ + 'description' => '安全风险。', + 'type' => 'string', + 'enumValueTitles' => ['normal' => '常资产', 'risk' => '风险资产'], + 'example' => 'risk', ], - 'LabelList' => [ - 'description' => '标签列表。', + 'InBytes' => ['description' => '流入流量, 应答流量,单位bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '244438.0'], + 'PublicIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '47.96.181.XXX'], + 'AssetInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'test'], + 'PrivateIP' => ['description' => '私网ip。', 'type' => 'string', 'example' => '10.21.242XXX'], + 'NatGatewayId' => ['description' => 'NAT网关ID。', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****'], + 'NatGatewayName' => ['description' => 'NAT网关名。', 'type' => 'string', 'example' => 'ngw-test'], + 'OutgoingDomainCnt' => ['description' => '外联域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'OutgoingDstIPCnt' => ['description' => '外联IP数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'TotalBytes' => ['description' => '总流量。'."\n", 'type' => 'integer', 'format' => 'int64', 'example' => '12498767'], + 'PrivateIPList' => [ + 'description' => '私网IP列表。', 'type' => 'array', - 'items' => [ - 'description' => '标签。', - 'type' => 'string', - 'example' => 'NA', - ], + 'items' => ['description' => '私网IP列表。', 'type' => 'string', 'example' => '["47.256.35.XXX"]'], ], + 'IpsHitCnt' => ['description' => 'ips命中情况。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleSourceError', - 'errorMessage' => 'The rule source is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorLimitCountFailed', - 'errorMessage' => 'The limit count is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSecurityRisk', 'errorMessage' => 'The security risk is invalid.', 'description' => '无效的安全风险'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DataType\\": \\"in_src_ip\\",\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"DataCount\\": 10,\\n \\"DataList\\": [\\n {\\n \\"DataValue\\": \\"47.12\\",\\n \\"SessionCount\\": 27,\\n \\"TotalBytes\\": 0,\\n \\"DataName\\": \\"US\\",\\n \\"IsSubscribed\\": false,\\n \\"LabelList\\": [\\n \\"NA\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询互联网流量TOP趋势图', - ], - 'DescribeInternetTrafficTrend' => [ - 'summary' => '获取互联网流量趋势。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取外联资产列表', + 'summary' => '获取外联资产列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"RequestId\\": \\"7A515672-FAAE-584F-B51C-B2586E****\\",\\n \\"AssetList\\": [\\n {\\n \\"SessionCount\\": 2,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"AssetInstanceId\\": \\"i-8vbcmllue4d94nto****\\",\\n \\"GroupName\\": \\"subscribe\\",\\n \\"AssetsRegion\\": \\"cn-hangzhou\\",\\n \\"OutBytes\\": 100,\\n \\"SecurityRisk\\": \\"risk\\",\\n \\"InBytes\\": 244438,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"AssetInstanceName\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"OutgoingDomainCnt\\": 10,\\n \\"OutgoingDstIPCnt\\": 12,\\n \\"TotalBytes\\": 12498767,\\n \\"PrivateIPList\\": [\\n \\"[\\\\\\"47.256.35.XXX\\\\\\"]\\"\\n ],\\n \\"IpsHitCnt\\": 12\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestination' => [ + 'summary' => '查询外联目的。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -22925,370 +19388,247 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68287', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68324', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '101.80.171.196', - ], + 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '106.3.198.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):表示中文'."\n" - .'- **en**:表示英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):表示中文'."\n" - .'- **en**:表示英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Direction', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '互联网流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749657600'], ], [ - 'name' => 'StartTime', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1670307484', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749089441'], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1674958929', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'SourceCode', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ - 'description' => '公网源IP地址。', + 'description' => '分类ID。', 'type' => 'string', 'required' => false, - 'example' => '47.112.210.136', + 'enumValueTitles' => ['RiskDomain' => '风险域名', 'AliYun' => '阿里云产品', 'NotAliYun' => '非阿里云产品'], + 'example' => 'AliYun', ], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'TagId', + 'in' => 'query', + 'schema' => ['description' => '标签ID', 'type' => 'string', 'required' => false, 'example' => 'FirstFlow'], + ], + [ + 'name' => 'SecuritySuggest', 'in' => 'query', 'schema' => [ - 'description' => '私网源IP地址。', + 'description' => '主动外联域名的安全策略。', 'type' => 'string', 'required' => false, - 'example' => '10.100.134.60', + 'enumValueTitles' => ['drop' => '观察', 'pass' => '放行', 'alert' => '拒绝'], + 'example' => 'pass', ], ], [ - 'name' => 'TrafficType', + 'name' => 'AclCoverage', + 'in' => 'query', + 'schema' => ['description' => '策略覆盖情况。', 'type' => 'string', 'required' => false, 'example' => 'FullCoverage'], + ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['description' => '目标IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.111XXX'], + ], + [ + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '47.96.74.XXX'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.111.53XXX'], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => '应用名称。', 'type' => 'string', 'required' => false, 'example' => 'HTTP'], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '3306'], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'schema' => [ + 'description' => '按照指定的字段排序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['InBytes' => 'InBytes', 'TotalBytes' => 'TotalBytes', 'SessionCount' => 'SessionCount', 'OutBytes' => 'OutBytes'], + 'example' => 'InBytes', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'desc'], + ], + [ + 'name' => 'IsAITraffic', 'in' => 'query', 'schema' => [ - 'description' => '采集的流量类型。取值:'."\n" - .' '."\n" - .'- **max**(默认):流量峰值'."\n" - .' '."\n" - .'- **avg**:流量均值', + 'description' => '是否仅统计访问AI服务的流量。默认取值为否。', 'type' => 'string', 'required' => false, - 'example' => 'max', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'MaxTotalBps' => [ - 'description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '89783147', - ], - 'MaxBandwidthTime' => [ - 'description' => '峰值带宽发生时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1672736400', - ], - 'AvgInBps' => [ - 'description' => '入方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6114152', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'C7E837BE-0379-565E-B7B4-DE595C8D337C', - ], - 'MaxInBps' => [ - 'description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10275643', - ], - 'MaxOutBps' => [ - 'description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '395188', - ], - 'AvgSession' => [ - 'description' => '平均请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '79013', - ], - 'MaxSession' => [ - 'description' => '峰值请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '931641', - ], - 'AvgTotalBps' => [ - 'description' => '出方向和入方向总的平均网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2306', - ], - 'AvgOutBps' => [ - 'description' => '出方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '70148993', - ], - 'TotalInBytes' => [ - 'description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '41536824243873', - ], - 'TotalOutBytes' => [ - 'description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2660894567178', - ], - 'TotalBytes' => [ - 'description' => '出方向和入方向总的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '963227674958', - ], - 'TotalSession' => [ - 'description' => '总请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1061449', - ], - 'TotalExceedBytes' => [ - 'description' => '总超量流量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4243873', - ], - 'MaxDayExceedBytes' => [ - 'description' => '最大日超量流量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '873', - ], - 'DataList' => [ - 'description' => '流量统计信息列表。', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '42'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A2845BA9-1642-5B27-9F04-8014DD94****'], + 'DstList' => [ + 'description' => '目的地址信息。', 'type' => 'array', 'items' => [ - 'description' => '流量统计信息列表。', + 'description' => '目的地址信息。', 'type' => 'object', 'properties' => [ - 'SessionCount' => [ - 'description' => '请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'Time' => [ - 'description' => '流量发生的时间。使用秒级时间戳格式表示。'."\n" - ."\n" - .'若该时间点未加工完成,则其他字段值均为-1。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1659405600', - ], - 'InBps' => [ - 'description' => '入方向的网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '187', - ], - 'InPps' => [ - 'description' => '入方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NewConn' => [ - 'description' => '新建连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'OutBytes' => [ - 'description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', + 'DstIP' => ['description' => '目的ip。', 'type' => 'string', 'example' => '101.6.15.XXX'], + 'AclRecommendDetail' => ['description' => 'ACL推荐内容。', 'type' => 'string', 'example' => 'test'], + 'HasAclRecommend' => [ + 'description' => '是否有推荐ACL。', + 'type' => 'boolean', + 'enumValueTitles' => ['false' => '否', 'true' => '是'], + 'example' => 'false', ], - 'OutPps' => [ - 'description' => '出方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', + 'InBytes' => ['description' => '入方向的流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'DstType' => ['description' => '目标类型。', 'type' => 'string', 'example' => 'domain'], + 'CategoryName' => ['description' => '产品的分类名称。', 'type' => 'string', 'example' => 'categor_test'], + 'DstDomain' => ['description' => '目的域名。', 'type' => 'string', 'example' => 'example.com'], + 'SessionCount' => ['description' => '会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'GroupName' => ['description' => '分组名称。', 'type' => 'string', 'example' => 'test'], + 'OutBytes' => ['description' => '出流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'AclStatus' => [ + 'description' => '策略状态。', + 'type' => 'string', + 'enumValueTitles' => ['Normal' => '健康', 'Abnormal' => '异常'], + 'example' => 'Normal', ], - 'InBytes' => [ - 'description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235', + 'CategoryId' => [ + 'description' => '分类ID。', + 'type' => 'string', + 'enumValueTitles' => ['RiskDomain' => '风险域名', 'AliYun' => '阿里云产品', 'NotAliYun' => '非阿里云产品'], + 'example' => 'AliYun', ], - 'OutBps' => [ - 'description' => '出方向的网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '45', + 'IsMarkNormal' => [ + 'description' => '是否被用户手动标记为正常。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'false', ], - 'TotalBps' => [ - 'description' => '出方向和入方向总的网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '232', + 'TagList' => [ + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '标签列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险评估等级。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无风险', '低风险', '中风险', '高风险'], + 'example' => '1', + ], + 'TagName' => ['description' => '标签名。', 'type' => 'string', 'example' => 'verify'], + 'TagId' => ['description' => '标签ID。', 'type' => 'string', 'example' => 'FirstFlow'], + 'TagDescribe' => ['description' => '标签描述。', 'type' => 'string', 'example' => 'test'], + ], + ], ], + 'Business' => ['description' => '域名业务。', 'type' => 'string', 'example' => 'example.com'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSrcDstIPError', - 'errorMessage' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', - ], - [ - 'errorCode' => 'ErrorTrafficType', - 'errorMessage' => 'The traffic type is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 89783147,\\n \\"MaxBandwidthTime\\": 1672736400,\\n \\"AvgInBps\\": 6114152,\\n \\"RequestId\\": \\"C7E837BE-0379-565E-B7B4-DE595C8D337C\\",\\n \\"MaxInBps\\": 10275643,\\n \\"MaxOutBps\\": 395188,\\n \\"AvgSession\\": 79013,\\n \\"MaxSession\\": 931641,\\n \\"AvgTotalBps\\": 2306,\\n \\"AvgOutBps\\": 70148993,\\n \\"TotalInBytes\\": 41536824243873,\\n \\"TotalOutBytes\\": 2660894567178,\\n \\"TotalBytes\\": 963227674958,\\n \\"TotalSession\\": 1061449,\\n \\"TotalExceedBytes\\": 4243873,\\n \\"MaxDayExceedBytes\\": 873,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1659405600,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 1123,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 235,\\n \\"OutBps\\": 45,\\n \\"TotalBps\\": 232\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网流量趋势', - ], - 'DescribeNatFirewallTrafficTrend' => [ - 'summary' => '概览页-NAT流量趋势。', - 'methods' => [ - 'get', + 'title' => '查询外联目的', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestination', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 42,\\n \\"RequestId\\": \\"A2845BA9-1642-5B27-9F04-8014DD94****\\",\\n \\"DstList\\": [\\n {\\n \\"DstIP\\": \\"101.6.15.XXX\\",\\n \\"AclRecommendDetail\\": \\"test\\",\\n \\"HasAclRecommend\\": false,\\n \\"InBytes\\": 0,\\n \\"DstType\\": \\"domain\\",\\n \\"CategoryName\\": \\"categor_test\\",\\n \\"DstDomain\\": \\"example.com\\",\\n \\"SessionCount\\": 10,\\n \\"GroupName\\": \\"test\\",\\n \\"OutBytes\\": 0,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"CategoryId\\": \\"AliYun\\",\\n \\"IsMarkNormal\\": false,\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"verify\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\"\\n }\\n ],\\n \\"Business\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestinationCategory' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23300,192 +19640,152 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '203560', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '68325', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'StartTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739326980', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.45.XXX'], ], [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1739330580', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'SrcPublicIP', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749657600'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1750818370'], + ], + [ + 'name' => 'CategoryId', 'in' => 'query', 'schema' => [ - 'description' => '公网源IP地址。', + 'description' => '分类ID。', 'type' => 'string', 'required' => false, - 'example' => '47.112.210.136', + 'enumValueTitles' => ['All' => '全部', 'RiskDomain' => '风险域名', 'AliYun' => '阿里云产品', 'NotAliYun' => '非阿里云产品'], + 'example' => 'All', ], ], [ - 'name' => 'SrcPrivateIP', + 'name' => 'TypeId', 'in' => 'query', 'schema' => [ - 'description' => '私网源IP地址。', + 'description' => '固定类别ID。', 'type' => 'string', 'required' => false, - 'example' => '10.100.134.60', + 'enumValueTitles' => ['All' => '全部', 'AliYun' => '阿里云产品', 'NotAliYun' => '非阿里云产品'], + 'example' => 'All', ], ], [ - 'name' => 'Interval', + 'name' => 'DstType', 'in' => 'query', 'schema' => [ - 'description' => '指定查询数据的时间粒度,单位:秒。取值如下:'."\n" - .'- **60**:1分钟。'."\n" - .'- **1800**:半小时。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '目标类型。', + 'type' => 'string', 'required' => false, - 'example' => '60', + 'enumValueTitles' => ['DstIP' => '目的IP', 'Domain' => '域名'], + 'example' => 'domain', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '87F23A3A-6F57-59C3-8237-A090D0613D71', - ], - 'MaxTotalBps' => [ - 'description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66953194', - ], - 'MaxOutBps' => [ - 'description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122596487', - ], - 'MaxInBps' => [ - 'description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18038632', - ], - 'DataList' => [ - 'description' => '流量统计信息列表。', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C1ED80BC-FFC8-57DB-8151-705DC31****'], + 'TypeList' => [ + 'description' => '主动外联分类列表。', 'type' => 'array', 'items' => [ - 'description' => '流量统计信息列表。', + 'description' => '主动外联分类。', 'type' => 'object', 'properties' => [ - 'TrafficTime' => [ - 'description' => '查询时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1734418980', - ], - 'MaxTotalBps' => [ - 'description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '66953194', - ], - 'MaxInBps' => [ - 'description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '18038632', + 'TypeName' => ['description' => '固定类别名称。', 'type' => 'string', 'example' => 'AliYun'], + 'TypeId' => [ + 'description' => '固定类别ID。', + 'type' => 'string', + 'enumValueTitles' => ['All' => '全部', 'AliYun' => '阿里云产品', 'NotAliYun' => '非阿里云产品'], + 'example' => 'All', ], - 'MaxOutBps' => [ - 'description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '122596487', + 'TypeDescribe' => ['description' => '固定类别描述。', 'type' => 'string', 'example' => 'AliYun'], + 'CategoryList' => [ + 'description' => '主动外联分类列表。', + 'type' => 'array', + 'items' => [ + 'description' => '主动外联分类。', + 'type' => 'object', + 'properties' => [ + 'CategoryId' => ['description' => '主动外联分类ID。', 'type' => 'string', 'example' => '123'], + 'CategoryName' => ['description' => '主动外联分类名称。', 'type' => 'string', 'example' => 'AliYun'], + 'CategoryDescribe' => ['description' => '主动外联分类描述。', 'type' => 'string', 'example' => 'AliYun'], + 'ClassId' => ['description' => '主动外联分类分级ID。', 'type' => 'string', 'example' => 'Trusted'], + ], + ], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDstType', 'errorMessage' => 'The dst type is invalid.', 'description' => '无效的目的类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => '无效的objectOperation '], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"87F23A3A-6F57-59C3-8237-A090D0613D71\\",\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxOutBps\\": 122596487,\\n \\"MaxInBps\\": 18038632,\\n \\"DataList\\": [\\n {\\n \\"TrafficTime\\": 1734418980,\\n \\"MaxTotalBps\\": 66953194,\\n \\"MaxInBps\\": 18038632,\\n \\"MaxOutBps\\": 122596487\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取NAT防火墙流量趋势', - ], - 'DescribeInternetServiceNameList' => [ - 'summary' => '获取互联网服务名称列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询主动外联目的分类', + 'summary' => '查询主动外联目的分类。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"C1ED80BC-FFC8-57DB-8151-705DC31****\\",\\n \\"TypeList\\": [\\n {\\n \\"TypeName\\": \\"AliYun\\",\\n \\"TypeId\\": \\"All\\",\\n \\"TypeDescribe\\": \\"AliYun\\",\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"123\\",\\n \\"CategoryName\\": \\"AliYun\\",\\n \\"CategoryDescribe\\": \\"AliYun\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDestinationIP' => [ + 'summary' => '查询主动外联的目的IP信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23497,101 +19797,400 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68281', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68326', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问者源IP地址。', + 'title' => '语言', + 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, - 'example' => '140.240.17.XXX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', + 'default' => 'zh', + 'enum' => ['zh', 'en'], ], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['title' => '开始时间,Unix timestamp, 精确到秒', 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656837360'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['title' => '结束时间', 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656923760'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页大小', 'description' => '设置分页查询每页包含多少条结果。'."\n" + ."\n" + .'默认值为6,表示每页包含6条结果。最大值为10。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['title' => '当前页', 'description' => '设置分页查询返回第几页数据。'."\n" + ."\n" + .'默认值为1,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'CategoryId', + 'in' => 'query', + 'schema' => ['title' => '分类, 枚举值.'."\n" + .'默认值: 空'."\n" + .'可选值: '."\n" + .'All (全部分类)'."\n" + .'RiskDomain (风险域名分类)'."\n" + .'RiskIP (风险IP分类)'."\n" + .'AliYun (云产品分类)'."\n" + .'NotAliYun (非云产品分类)', 'description' => '产品分类ID。默认值为空,取值:'."\n" + ."\n" + .'- **All** :全部分类'."\n" + .'- **RiskDomain** :风险域名分类'."\n" + .'- **RiskIP** :风险IP分类'."\n" + .'- **AliYun** :云产品分类'."\n" + .'- **NotAliYun** :非云产品分类', 'type' => 'string', 'required' => false, 'example' => 'All'], + ], + [ + 'name' => 'DstIP', + 'in' => 'query', + 'schema' => ['title' => '目的IP', 'description' => '主动外联域名的目的IP。', 'type' => 'string', 'required' => false, 'example' => '10.0.XX.XX'], + ], + [ + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['title' => '公网IP', 'description' => '外联ECS的公网IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['title' => '私网IP', 'description' => '外联ECS的私网IP。', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'], + ], + [ + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['title' => '端口号', 'description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'title' => '顺序, 枚举值, 可选:asc, desc', + 'description' => '按照指定的字段排序。取值:'."\n" + ."\n" + .'- **SessionCount**(默认值):请求次数。'."\n" + .'- **TotalBytes**:总流量数。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'example' => 'SessionCount', + 'enum' => [], ], ], [ - 'name' => 'Lang', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'title' => '排序字段, 枚举值.'."\n" + .'默认值: SessionCount'."\n" + .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', + 'description' => '排序方式。取值:'."\n" + ."\n" + .'- **asc**:升序。'."\n" + .'- **desc**(默认):降序。'."\n", 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + 'example' => 'desc', + 'enum' => [], ], ], + [ + 'name' => 'TagIdNew', + 'in' => 'query', + 'schema' => ['description' => '情报标签ID。取值:'."\n" + .'- **AliYun**:阿里云产品'."\n" + .'- **RiskDomain**:风险域名'."\n" + .'- **RiskIP**:风险IP'."\n" + .'- **TrustedDomain**:信誉网站'."\n" + .'- **AliPay**:支付宝'."\n" + .'- **DingDing**:钉钉'."\n" + .'- **WeChat**:微信'."\n" + .'- **QQ**:腾讯QQ'."\n" + .'- **SecurityService**:安全服务'."\n" + .'- **Microsoft**:微软'."\n" + .'- **Amazon**:亚马逊'."\n" + .'- **Pan**:网盘'."\n" + .'- **Map**:地图'."\n" + .'- **Code**:代码托管'."\n" + .'- **SystemService**:系统服务'."\n" + .'- **Taobao**:淘宝'."\n" + .'- **Google**:谷歌'."\n" + .'- **ThirdPartyService**:第三方平台服务'."\n" + .'- **FirstFlow**:首次'."\n" + .'- **Downloader**:恶意下载'."\n" + .'- **Alexa Top1M**:热门网站'."\n" + .'- **Miner**:矿池'."\n" + .'- **Intelligence**:威胁情报'."\n" + .'- **DDoS**:DDoS木马'."\n" + .'- **Ransomware**:勒索软件'."\n" + .'- **Spyware**:间谍软件'."\n" + .'- **Rogue**:流氓软件'."\n" + .'- **Botnet**:僵尸网络'."\n" + .'- **Suspicious**:可疑网站'."\n" + .'- **C&C**:远控'."\n" + .'- **Gang**:团伙'."\n" + .'- **CVE**:漏洞CVE'."\n" + .'- **Backdoor**:木马后门'."\n" + .'- **Phishing**:钓鱼网站'."\n" + .'- **APT**:APT攻击'."\n" + .'- **Supply Chain Attack**:供应链攻击'."\n" + .'- **Malicious software**:恶意软件', 'type' => 'string', 'required' => false, 'example' => 'AliYun'], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", 'type' => 'string', 'required' => false, 'example' => 'FTP'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '91B01BCD-DFB0-5CA8-9191-5B38C62****', - ], - 'ServiceNameList' => [ - 'description' => '应用名称列表。', + 'TotalCount' => ['title' => '总数', 'description' => '外联IP的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '50'], + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'DstIPList' => [ + 'title' => '外联IP列表', + 'description' => '主动外联的IP列表。', 'type' => 'array', 'items' => [ - 'description' => '应用名称列表。', - 'type' => 'string', - 'example' => '['."\n" - .' "SMB",'."\n" - .' "MySQL"'."\n" - .']', + 'description' => '主动外联的IP列表。', + 'type' => 'object', + 'properties' => [ + 'AclCoverage' => ['title' => 'ACL覆盖', 'description' => '是否覆盖访问控制策略。取值:'."\n" + ."\n" + .'- **Uncovered**:未覆盖。'."\n" + ."\n" + .'- **FullCoverage**:已覆盖。', 'type' => 'string', 'example' => 'Uncovered'], + 'DstIP' => ['title' => '目的IP', 'description' => '主动外联域名的目的IP。', 'type' => 'string', 'example' => '10.0.XX.XX'], + 'AclRecommendDetail' => ['title' => 'ACL推荐内容', 'description' => 'ACL的建议信息。', 'type' => 'string', 'example' => '建议放行'], + 'HasAclRecommend' => ['title' => '是否有推荐ACL', 'description' => '是否有推荐ACL。取值:'."\n" + ."\n" + .'- **true**:是。'."\n" + ."\n" + .'- **false**:否。', 'type' => 'boolean', 'example' => 'true'], + 'InBytes' => ['title' => '入方向流量', 'description' => '入方向的流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '472'], + 'CategoryName' => ['title' => '分类名称', 'description' => '产品的分类名称。取值:'."\n" + ."\n" + .'- **阿里云产品**'."\n" + ."\n" + .'- **非阿里云产品**', 'type' => 'string', 'example' => '阿里云产品'], + 'RuleName' => ['title' => '规则名称', 'description' => 'ACL规则名称。', 'type' => 'string', 'example' => '默认规则'], + 'RuleId' => ['title' => '规则UUID', 'description' => 'ACL规则UUID。', 'type' => 'string', 'example' => 'fadsfd-dfadf-df****'], + 'SessionCount' => ['title' => '会话数', 'description' => '请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '4'], + 'GroupName' => ['title' => '规则中的组名称', 'description' => '规则的组名称。', 'type' => 'string', 'example' => 'rules_test'], + 'SecuritySuggest' => ['title' => '安全建议', 'description' => '主动外联域名的安全策略。取值:'."\n" + ."\n" + .'- **pass**:放行。'."\n" + ."\n" + .'- **alert**:拒绝。'."\n" + ."\n" + .'- **drop**:观察。', 'type' => 'string', 'example' => 'pass'], + 'OutBytes' => ['title' => '出流量', 'description' => '出方向的流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '965'], + 'AclStatus' => ['title' => 'ACL状态', 'description' => '访问控制策略的健康状态。取值:'."\n" + ."\n" + .'- **Normal**:健康。'."\n" + .'- **Abnormal**:不健康。', 'type' => 'string', 'example' => 'Normal'], + 'IsMarkNormal' => ['title' => '是否正常', 'description' => '是否加入白名单。取值:'."\n" + .'- **true**:已加入。'."\n" + ."\n" + .'- **false**:未加入。', 'type' => 'boolean', 'example' => 'true'], + 'CategoryId' => ['title' => '分类ID', 'description' => '产品分类ID。取值:'."\n" + ."\n" + .'- **Aliyun**:阿里云产品。'."\n" + ."\n" + .'- **NotAliyun**:非阿里云产品。', 'type' => 'string', 'example' => 'Aliyun'], + 'TagList' => [ + 'title' => '标签列表', + 'description' => '标签列表。', + 'type' => 'array', + 'items' => [ + 'description' => '标签列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'title' => '风险等级', + 'description' => '风险评估等级。取值:'."\n" + ."\n" + .'- **1**:低危。'."\n" + .'- **2**:中危。'."\n" + .'- **3**:高危。', + 'type' => 'integer', + 'format' => 'int32', + 'example' => '1', + 'enum' => [], + ], + 'TagName' => ['title' => '标签名', 'description' => '情报标签名称。', 'type' => 'string', 'example' => 'ReleaseLabel'], + 'TagId' => ['title' => '标签ID', 'description' => '情报标签ID。', 'type' => 'string', 'example' => 'ReleaseLabel'], + 'TagDescribe' => ['title' => '标签描述', 'description' => '情报标签的描述。', 'type' => 'string', 'example' => 'ReleaseLabel'], + 'ClassId' => ['description' => '情报标签的分类。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑。'."\n" + .'- **Malicious**:恶意。'."\n" + .'- **Trusted**:信任。', 'type' => 'string', 'example' => 'Trusted'], + ], + ], + ], + 'ApplicationPortList' => [ + 'description' => '应用端口列表。'."\n" + ."\n" + .'> 列表仅展示前99个应用端口。当外联应用端口超过99个时,仅展示前99条数据。', + 'type' => 'array', + 'items' => [ + 'title' => '端口列表', + 'description' => '端口列表。', + 'type' => 'object', + 'properties' => [ + 'Port' => ['title' => '端口', 'description' => '应用的端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'ApplicationName' => ['title' => '应用名', 'description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", 'type' => 'string', 'example' => 'HTTP'], + 'UnknownReason' => [ + 'description' => '识别协议为Unknown情况下,未分析到协议的原因列表。', + 'type' => 'array', + 'items' => ['description' => '协议分析失败原因。', 'type' => 'string', 'example' => 'tcp_not_establish'], + ], + ], + ], + ], + 'CategoryClassId' => ['description' => '情报标签的分类。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑。'."\n" + .'- **Malicious**:恶意。'."\n" + .'- **Trusted**:信任。', 'type' => 'string', 'example' => 'Trusted'], + 'SecurityReason' => ['description' => '安全原因。', 'type' => 'string', 'example' => '智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'string', 'example' => '800'], + 'HasAcl' => ['description' => '是否有访问控制规则。取值:'."\n" + ."\n" + .'- **true**:有。'."\n" + .'- **false** :没有。', 'type' => 'string', 'example' => 'true'], + 'AddressGroupList' => [ + 'description' => '地址簿信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'AddressGroupUUID' => ['description' => '地址簿唯一标识。', 'type' => 'string', 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****'], + 'AddressGroupName' => ['description' => '地址簿名称。', 'type' => 'string', 'example' => 'IP地址簿'], + ], + 'description' => '', + ], + ], + 'AssetCount' => ['description' => '主动外联的资产总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'PrivateAssetCount' => ['description' => '主动外联的私网资产总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'LocationName' => ['description' => '区域名。', 'type' => 'string', 'example' => '山东省青岛市'], + ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => '无效的端口'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询主动外联的目的IP信息', + 'changeSet' => [ + ['createdAt' => '2025-04-27T09:40:06.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-24T08:28:28.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-06T08:23:29.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-12-08T07:18:12.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-28T08:07:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-07-07T03:30:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更、错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"91B01BCD-DFB0-5CA8-9191-5B38C62****\\",\\n \\"ServiceNameList\\": [\\n \\"[\\\\n \\\\\\"SMB\\\\\\",\\\\n \\\\\\"MySQL\\\\\\"\\\\n]\\"\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网服务名称列表', - ], - 'DescribeInternetOpenIp' => [ - 'summary' => '查询云防火墙访问控制策略组的详细信息。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDestinationIP'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 50,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DstIPList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"DstIP\\": \\"10.0.XX.XX\\",\\n \\"AclRecommendDetail\\": \\"建议放行\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 472,\\n \\"CategoryName\\": \\"阿里云产品\\",\\n \\"RuleName\\": \\"默认规则\\",\\n \\"RuleId\\": \\"fadsfd-dfadf-df****\\",\\n \\"SessionCount\\": 4,\\n \\"GroupName\\": \\"rules_test\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 965,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"TagName\\": \\"ReleaseLabel\\",\\n \\"TagId\\": \\"ReleaseLabel\\",\\n \\"TagDescribe\\": \\"ReleaseLabel\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationPortList\\": [\\n {\\n \\"Port\\": 80,\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"UnknownReason\\": [\\n \\"tcp_not_establish\\"\\n ]\\n }\\n ],\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"SecurityReason\\": \\"智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"AddressGroupList\\": [\\n {\\n \\"AddressGroupUUID\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AddressGroupName\\": \\"IP地址簿\\"\\n }\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20,\\n \\"LocationName\\": \\"山东省青岛市\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 50\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n 10.0.XX.XX\\n 建议放行\\n true\\n 472\\n 阿里云产品\\n 默认规则\\n fadsfd-dfadf-df****\\n 4\\n 规则_test\\n pass\\n 965\\n Normal\\n true\\n Aliyun\\n \\n 1\\n 放行标签\\n AliYun\\n 放行标签\\n Trusted\\n \\n \\n 80\\n HTTP\\n \\n Trusted\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n true\\n \\n f04ac7ce-628b-4cb7-be61-310222b7****\\n IP地址簿\\n \\n \\n","errorExample":""}]', + ], + 'DescribeOutgoingDestinationIPDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23603,149 +20202,114 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68277', - 'abilityTreeNodes' => [ - 'FEATUREcfwVWCDEU', - ], + 'abilityTreeCode' => '68327', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '1.202.193.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ServiceName', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '查询的应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'SSH', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RiskLevel', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '风险等级,不填为全部风险等级。取值:'."\n" - .'- **3**:高风险'."\n" - .'- **2**:中风险'."\n" - .'- **1**:低风险'."\n" - .'- **0**:无风险', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749434787'], ], [ - 'name' => 'Port', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1733710383'], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-uf6faknmuby7ezht****', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'AssetsInstanceName', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'launch-advisor-2023****', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'PublicIp', + 'name' => 'TagId', 'in' => 'query', 'schema' => [ - 'description' => '实例的公网IP。', + 'description' => '标签ID。', 'type' => 'string', 'required' => false, - 'example' => '203.0.113.1', + 'enumValueTitles' => ['FirstFlow' => '首次', 'Period' => '周期'], + 'example' => 'FirstFlow', ], ], [ - 'name' => 'RegionNo', + 'name' => 'AclCoverage', 'in' => 'query', 'schema' => [ - 'description' => '实例所在的地域ID。', + 'description' => '策略覆盖情况。', 'type' => 'string', 'required' => false, - 'example' => 'cn-shanghai', + 'enumValueTitles' => ['All' => '全部', 'FullCoverage' => '已覆盖', 'Uncovered' => '未覆盖', 'PartialCoverage' => '部分覆盖'], + 'example' => 'FullCoverage', ], ], [ - 'name' => 'AssetsType', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '实例的资产类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'EcsEIP', - ], + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => true, 'example' => '34.136.111.XXX'], ], [ - 'name' => 'StartTime', + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.210.0.XXX'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '公网IP暴露的开始时间。使用秒级时间戳格式表示。', + 'description' => '根据指定字段排序。', 'type' => 'string', 'required' => false, - 'example' => '1681957629', + 'enumValueTitles' => ['InBytes' => '流入流量', 'SessionCount' => '会话次数', 'OutBytes' => '流出流量'], + 'example' => 'InBytes', ], ], [ - 'name' => 'EndTime', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '公网IP暴露的结束时间。使用秒级时间戳格式表示。', + 'description' => '升降序。', 'type' => 'string', 'required' => false, - 'example' => '1663640336', + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'IPType', 'in' => 'query', - 'schema' => [ - 'description' => '设置分页查询时的页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '查询Nat私网外联。', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate'], ], [ - 'name' => 'PageSize', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '设置分页查询每页包含多少条结果。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => false, 'example' => 'ngw-2zed6z6qkd7ogc****'], ], ], 'responses' => [ @@ -23753,206 +20317,120 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54', - ], - 'PageInfo' => [ - 'description' => '分页查询时的页面信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '分页查询时,显示的当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '查询到的数据总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - ], - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'LocationName' => ['description' => '区域名。', 'type' => 'string', 'example' => 'Hangzhou'], + 'IspName' => ['description' => '目的IP所属运营商。', 'type' => 'string', 'example' => 'telecom'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '25'], + 'AssetList' => [ + 'description' => '资产列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据列表。', + 'description' => '资产列表。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险等级。取值:'."\n" - .'- **3**:高风险'."\n" - .'- **2**:中风险'."\n" - .'- **1**:低风险'."\n" - .'- **0**:无风险', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'TrafficPercent1Day' => [ - 'description' => '具体流量信息参见TotalBytes字段。', - 'type' => 'string', - 'example' => '0', - ], - 'AclRecommendDetail' => [ - 'description' => '没有智能推荐策略的原因。取值:'."\n" - .'- 当前无智能策略推荐'."\n" - .'- 当前只对部分用户开放该功能'."\n" - .'- 策略配置已经修改,当前无智能策略推荐'."\n" - .'- 智能策略已经配置,当前无新智能策略推荐', - 'type' => 'string', - 'example' => '当前无智能策略推荐', - ], - 'AssetsName' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'example' => 'launch-advisor-2023****', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'AssetsType' => [ - 'description' => '实例的资产类型。', - 'type' => 'string', - 'example' => 'EcsEIP', - ], - 'HasAclRecommend' => [ - 'description' => '是否有推荐ACL。取值:'."\n" - ."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'boolean', - 'example' => 'true', - ], - 'DetailNum' => [ - 'description' => '端口总明细数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TrafficPercent7Day' => [ - 'description' => '具体流量信息参见TotalBytes字段。', - 'type' => 'string', - 'example' => '0', - ], - 'TrafficPercent30Day' => [ - 'description' => '具体流量信息参见TotalBytes字段。', - 'type' => 'string', - 'example' => ' 0', - ], - 'PublicIp' => [ - 'description' => '实例的公网IP。', - 'type' => 'string', - 'example' => '203.0.113.1', - ], - 'RiskReason' => [ - 'description' => '风险原因。', + 'AclCoverage' => [ + 'description' => '策略覆盖情况。', 'type' => 'string', - 'example' => '历史流量均为黑流量', + 'enumValueTitles' => ['All' => '全部', 'FullCoverage' => '已覆盖', 'Uncovered' => '未覆盖', 'PartialCoverage' => '部分覆盖'], + 'example' => 'FullCoverage', ], - 'AssetsInstanceId' => [ - 'description' => '实例ID。', + 'ResourceInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'test'], + 'ResourceInstanceId' => ['description' => '云产品实例ID。', 'type' => 'string', 'example' => 'i-uf63wjhyoohc1g4z****'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'InBytes' => ['description' => '入流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'LocationName' => ['description' => '目的IP所属地区名。', 'type' => 'string', 'example' => 'Hangzhou'], + 'FirstTime' => ['description' => '首次访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1744682438'], + 'PrivateIP' => ['description' => '私网IP。', 'type' => 'string', 'example' => '10.21.242XXX'], + 'RuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => '08a58465-ff4d-4c47-8782-eb008301****'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'test'], + 'SessionCount' => ['description' => '会话次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'LastTime' => ['description' => '最近访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1739326614'], + 'ResourceType' => [ + 'description' => '资产公网IP类型。', 'type' => 'string', - 'example' => 'i-bp1ix9w22kv6aew9****', - ], - 'PortList' => [ - 'description' => '端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '端口列表。', - 'type' => 'string', - 'example' => '["3000","5601","8886,"8887","8889"]', - ], - ], - 'ServiceNameList' => [ - 'description' => '应用列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用列表。', - 'type' => 'string', - 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']', - ], - ], - 'TotalReplyBytes' => [ - 'description' => '7日总回应流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100000', - ], - 'SrcIpCnt' => [ - 'description' => '源IP数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '22', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '14151892****7022', - ], - 'InBytes' => [ - 'description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '235', - ], - 'OutBytes' => [ - 'description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253023143', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP', 'EIP' => 'EIP'], + 'example' => 'EcsPublicIP', ], - 'UnknownReason' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'OutBytes' => ['description' => '出流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'IspName' => ['description' => '目的IP所属运营商。', 'type' => 'string', 'example' => 'telecom'], + 'PublicIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '47.96.181.XXX'], + 'TotalBytes' => ['description' => '总流量。', 'type' => 'string', 'example' => '458681'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-9dp16jgwgyvn****'], + 'NatGatewayId' => ['description' => 'NAT网关ID。', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****'], + 'NatGatewayName' => ['description' => 'NAT网关名称。', 'type' => 'string', 'example' => 'ngw-test'], + 'TagList' => [ + 'description' => '标签列表。', 'type' => 'array', 'items' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', - 'type' => 'string', - 'example' => 'no_payload', + 'description' => '标签列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险等级。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无风险', '低风险', '中风险', '高风险'], + 'example' => '0', + ], + 'TagName' => ['description' => '标签名。', 'type' => 'string', 'example' => 'test'], + 'TagId' => ['description' => '标签ID。', 'type' => 'string', 'example' => 'FirstFlow'], + 'TagDescribe' => ['description' => '标签描述。', 'type' => 'string', 'example' => 'test'], + 'ClassId' => ['description' => '分类ID。', 'type' => 'string', 'example' => '1'], + ], ], ], ], ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => '无效的端口'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"AclRecommendDetail\\": \\"当前无智能策略推荐\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"HasAclRecommend\\": true,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"0\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"PublicIp\\": \\"203.0.113.1\\",\\n \\"RiskReason\\": \\"历史流量均为黑流量\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"PortList\\": [\\n \\"[\\\\\\"3000\\\\\\",\\\\\\"5601\\\\\\",\\\\\\"8886,\\\\\\"8887\\\\\\",\\\\\\"8889\\\\\\"]\\"\\n ],\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"TotalReplyBytes\\": 100000,\\n \\"SrcIpCnt\\": 22,\\n \\"MemberUid\\": 0,\\n \\"InBytes\\": 235,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 253023143,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取防护资产暴露到互联网的IP', - ], - 'DescribeInternetOpenPort' => [ - 'summary' => '获取互联网开放端口。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取外联目的IP详情', + 'summary' => '获取外联目的IP详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIPDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LocationName\\": \\"Hangzhou\\",\\n \\"IspName\\": \\"telecom\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"TotalCount\\": 25,\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"InBytes\\": 0,\\n \\"LocationName\\": \\"Hangzhou\\",\\n \\"FirstTime\\": 1744682438,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 2,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"OutBytes\\": 0,\\n \\"IspName\\": \\"telecom\\",\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TotalBytes\\": \\"458681\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingDomain' => [ + 'summary' => '查询主动外联的域名信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -23964,153 +20442,162 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68278', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '114.242.33.XXX', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '请求消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => 'en', - 'zh' => 'zh', - ], - 'example' => 'zh', - ], + 'schema' => ['title' => '开始时间,Unix timestamp, 精确到秒', 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => 'en', - 'zh' => 'zh', - ], - 'example' => 'zh', - ], + 'schema' => ['title' => '结束时间,Unix timestamp, 精确到秒', 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ - 'name' => 'ServiceName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称, 精确匹配, 不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '设置分页查询每页包含多少条结果。'."\n" + ."\n" + .'默认值为6,表示每页包含6条结果。最大值为100。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称, 模糊匹配, 不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['title' => '当前页', 'description' => '设置分页查询返回第几页数据。'."\n" + ."\n" + .'默认值为1,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'RiskLevel', + 'name' => 'CategoryId', 'in' => 'query', - 'schema' => [ - 'description' => '风险级别。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '低危', - '中危', - '高危', - -1 => '评估中', - ], - 'example' => '3', - ], + 'schema' => ['title' => '分类, 枚举值.'."\n" + .'默认值: 空'."\n" + .'可选值: '."\n" + .'All (全部分类)'."\n" + .'RiskDomain (风险域名分类)'."\n" + .'RiskIP (风险IP分类)'."\n" + .'AliYun (云产品分类)'."\n" + .'NotAliYun (非云产品分类)', 'description' => '产品分类。默认值:空。取值:'."\n" + ."\n" + .'- **All** :全部分类'."\n" + .'- **RiskDomain**:风险域名分类'."\n" + .'- **RiskIP** :风险IP分类'."\n" + .'- **AliYun** :云产品分类'."\n" + .'- **NotAliYun** :非云产品分类', 'type' => 'string', 'required' => false, 'example' => 'All'], ], [ - 'name' => 'SuggestLevel', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '建议策略级别。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '未知', - 10 => ' 放行', - 30 => ' 拒绝', - -1 => '评估中', - ' 20' => '检查', - ], - 'example' => '10', - ], + 'schema' => ['title' => '域名', 'description' => '主动外联的域名。', 'type' => 'string', 'required' => false, 'example' => 'www.aliyundoc.com'], ], [ - 'name' => 'Port', + 'name' => 'PublicIP', 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['title' => '公网IP', 'description' => '外联ECS的公网IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'StartTime', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', + 'title' => '顺序, 枚举值, 可选:asc, desc', + 'description' => '按照指定的字段排序。取值:'."\n" + ."\n" + .'- **SessionCount**(默认值):请求次数'."\n" + .'- **TotalBytes**:总流量数'."\n", 'type' => 'string', 'required' => false, - 'example' => '1735264800', + 'example' => 'SessionCount', + 'enum' => [], ], ], [ - 'name' => 'EndTime', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', + 'title' => '排序字段, 枚举值.'."\n" + .'默认值: SessionCount'."\n" + .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', + 'description' => '排序方式。取值:'."\n" + ."\n" + .'- **asc**:升序'."\n" + .'- **desc**(默认):降序'."\n", 'type' => 'string', 'required' => false, - 'example' => '1748358644', + 'example' => 'desc', + 'enum' => [], ], ], [ - 'name' => 'CurrentPage', + 'name' => 'TagIdNew', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '情报标签ID。取值:'."\n" + ."\n" + .'- **AliYun**:阿里云产品'."\n" + .'- **RiskDomain**:风险域名'."\n" + .'- **RiskIP**:风险IP'."\n" + .'- **TrustedDomain**:信誉网站'."\n" + .'- **AliPay**:支付宝'."\n" + .'- **DingDing**:钉钉'."\n" + .'- **WeChat**:微信'."\n" + .'- **QQ**:腾讯QQ'."\n" + .'- **SecurityService**:安全服务'."\n" + .'- **Microsoft**:微软'."\n" + .'- **Amazon**:亚马逊'."\n" + .'- **Pan**:网盘'."\n" + .'- **Map**:地图'."\n" + .'- **Code**:代码托管'."\n" + .'- **SystemService**:系统服务'."\n" + .'- **Taobao**:淘宝'."\n" + .'- **Google**:谷歌'."\n" + .'- **ThirdPartyService**:第三方平台服务'."\n" + .'- **FirstFlow**:首次'."\n" + .'- **Downloader**:恶意下载'."\n" + .'- **Alexa Top1M**:热门网站'."\n" + .'- **Miner**:矿池'."\n" + .'- **Intelligence**:威胁情报'."\n" + .'- **DDoS**:DDoS木马'."\n" + .'- **Ransomware**:勒索软件'."\n" + .'- **Spyware**:间谍软件'."\n" + .'- **Rogue**:流氓软件'."\n" + .'- **Botnet**:僵尸网络'."\n" + .'- **Suspicious**:可疑网站'."\n" + .'- **C&C**:远控'."\n" + .'- **Gang**:团伙'."\n" + .'- **CVE**:漏洞CVE'."\n" + .'- **Backdoor**:木马后门'."\n" + .'- **Phishing**:钓鱼网站'."\n" + .'- **APT**:APT攻击'."\n" + .'- **Supply Chain Attack**:供应链攻击'."\n" + .'- **Malicious software**:恶意软件', 'type' => 'string', 'required' => false, 'example' => 'AliYun'], ], [ - 'name' => 'PageSize', + 'name' => 'DataType', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '统计流量的来源。默认取值为互联网防火墙。取值:'."\n" + ."\n" + .'- **internet**:互联网防火墙'."\n" + .'- **nat**:NAT防火墙', 'type' => 'string', 'required' => false, 'example' => 'nat'], + ], + [ + 'name' => 'IsAITraffic', + 'in' => 'query', + 'schema' => ['description' => '是否仅统计访问AI服务的流量。默认取值为否。取值:'."\n" + ."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'string', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -24118,201 +20605,159 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'F3637663-991B-547F-9163-1A5AC367****', - ], - 'PageInfo' => [ - 'description' => '页面信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '数据的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '39', - ], - ], - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'TotalCount' => ['title' => '总数', 'description' => '外联域名的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'DomainList' => [ + 'description' => '外联域名列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据列表。', + 'description' => '外联域名列表。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '低危', - '中危', - '高危', - -1 => '评估中', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '安全隐患描述信息。', - 'type' => 'string', - 'example' => 'desc', - ], - 'TrafficPercent1Day' => [ - 'description' => '流量占比。取值范围:**1**~**100**。', - 'type' => 'string', - 'example' => '10', - ], - 'Protocol' => [ - 'description' => '协议。', - 'type' => 'string', - 'example' => 'tcp', - ], - 'PublicIpNum' => [ - 'description' => '开放公网IP数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'SuggestLevel' => [ - 'description' => '建议策略级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '未知', - 10 => '放行', - 20 => '检查', - 30 => '拒绝', - ' -1' => '评估中', - ], - 'example' => '20', - ], - 'DetailNum' => [ - 'description' => '明细数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'Port' => [ - 'description' => '开放端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'TrafficPercent7Day' => [ - 'description' => '7日流量占比。', - 'type' => 'string', - 'example' => '30', - ], - 'TrafficPercent30Day' => [ - 'description' => '30日流量占比。', - 'type' => 'string', - 'example' => '48', - ], - 'ProbRisk' => [ - 'description' => '安全隐患。', - 'type' => 'string', - 'example' => 'test', - ], - 'RiskReason' => [ - 'description' => '风险描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'ServiceNameList' => [ - 'description' => '应用列表。', + 'AclCoverage' => ['title' => 'ACL覆盖', 'description' => '访问控制策略是否覆盖。取值:'."\n" + ."\n" + .'- **Uncovered**:未覆盖'."\n" + .'- **FullCoverage**:已覆盖', 'type' => 'string', 'example' => 'Uncovered'], + 'Domain' => ['title' => '域名', 'description' => '主动外联的域名。', 'type' => 'string', 'example' => 'www.aliyundoc.com'], + 'AclRecommendDetail' => ['title' => 'ACL推荐内容', 'description' => 'ACL推荐内容。', 'type' => 'string', 'example' => 'RecommendedRelease'], + 'HasAclRecommend' => ['title' => '是否有ACL推荐规则', 'description' => '是否有推荐ACL。取值:'."\n" + ."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'boolean', 'example' => 'true'], + 'InBytes' => ['title' => '入流量', 'description' => '入方向的流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '3214'], + 'CategoryName' => ['title' => '分类名称', 'description' => '产品的分类名称。取值:'."\n" + ."\n" + .'- **阿里云产品**'."\n" + .'- **非阿里云产品**', 'type' => 'string', 'example' => 'Alibaba Cloud product'], + 'RuleName' => ['title' => '规则名称', 'description' => 'ACL规则名称。', 'type' => 'string', 'example' => 'acl-name'], + 'RuleId' => ['title' => 'ACL规则ID', 'description' => 'ACL规则ID。', 'type' => 'string', 'example' => 'add-dfadf-f****'], + 'SessionCount' => ['title' => '会话数', 'description' => '请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'GroupName' => ['title' => '规则中的组名称', 'description' => '规则的组名称。', 'type' => 'string', 'example' => 'group-name'], + 'SecuritySuggest' => ['title' => '安全建议', 'description' => '主动外联域名的安全策略。取值:'."\n" + ."\n" + .'- **pass**:放行'."\n" + .'- **alert**:观察'."\n" + .'- **drop**:拒绝', 'type' => 'string', 'example' => 'pass'], + 'OutBytes' => ['title' => '出流量', 'description' => '出方向的流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '4582'], + 'AclStatus' => ['title' => 'ACL状态', 'description' => '访问控制策略的健康状态。取值:'."\n" + ."\n" + .'- **Normal**:健康'."\n" + .'- **Abnormal**:不健康', 'type' => 'string', 'example' => 'Normal'], + 'IsMarkNormal' => ['title' => '是否正常', 'description' => '外联域名是否标记为正常。取值:'."\n" + ."\n" + .'- **true**:正常'."\n" + .'- **false**:不正常', 'type' => 'boolean', 'example' => 'true'], + 'CategoryId' => ['title' => '分类ID', 'description' => '产品分类ID。取值:'."\n" + ."\n" + .'- **Aliyun**:阿里云产品'."\n" + .'- **NotAliyun**:非阿里云产品', 'type' => 'string', 'example' => 'Aliyun'], + 'AddressGroupUUID' => ['title' => '地址簿UUID', 'description' => '地址簿UUID。', 'type' => 'string', 'example' => 'fdad-fdafa-dafa-dfa****'], + 'AddressGroupName' => ['title' => '地址簿名称', 'description' => '地址簿的名称。', 'type' => 'string', 'example' => 'Outreach Address Book'], + 'CategoryClassId' => ['description' => '情报标签的分类。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑'."\n" + .'- **Malicious**:恶意'."\n" + .'- **Trusted**:信任', 'type' => 'string', 'example' => 'Trusted'], + 'Business' => ['description' => '网站业务。', 'type' => 'string', 'example' => 'Aliyun'], + 'HasAcl' => ['description' => '是否已有`ACL`覆盖此域名管控。取值:'."\n" + ."\n" + .'- **true**:有'."\n" + .'- **false** :没有', 'type' => 'string', 'example' => 'true'], + 'Organization' => ['description' => '组织名称。', 'type' => 'string', 'example' => 'Alibaba Cloud Computing Limited'."\n"], + 'SecurityReason' => ['description' => '安全原因。', 'type' => 'string', 'example' => 'Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'string', 'example' => '800'], + 'TagList' => [ + 'description' => '标签列表。', 'type' => 'array', 'items' => [ - 'description' => '应用列表。', - 'type' => 'string', - 'example' => '[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']', + 'description' => '标签列表对象。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['title' => '风险等级', 'description' => '风险评估等级,取值:'."\n" + ."\n" + .'- **1**:低危'."\n" + .'- **2**:中危'."\n" + .'- **3**:高危', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'TagName' => ['title' => '标签名称', 'description' => '标签名称。', 'type' => 'string', 'example' => 'tag-name'], + 'TagId' => ['title' => '标签ID', 'description' => '情报标签ID。', 'type' => 'string', 'example' => 'AliYun'], + 'TagDescribe' => ['title' => '标签描述', 'description' => '标签描述。', 'type' => 'string', 'example' => 'tag-describe'], + 'ClassId' => ['description' => '情报标签的分类。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑'."\n" + .'- **Malicious**:恶意'."\n" + .'- **Trusted**:信任', 'type' => 'string', 'example' => 'Trusted'], + ], ], ], - 'InBytes' => [ - 'description' => '流入流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1456536639.0', - ], - 'OutBytes' => [ - 'description' => '流出流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '117200.0', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '621404', - ], - 'UnknownReason' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'ApplicationNameList' => [ + 'description' => '应用名称。', 'type' => 'array', - 'items' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', - 'type' => 'string', - 'example' => 'no_payload', - ], + 'items' => ['description' => '应用名称列表。', 'type' => 'string', 'example' => 'HTTP'], ], + 'AssetCount' => ['description' => '主动外联的资产总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'PrivateAssetCount' => ['description' => '主动外联的私网资产总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F3637663-991B-547F-9163-1A5AC367****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 39\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"desc\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 10,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"Port\\": 80,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"ServiceNameList\\": [\\n \\"[\'HTTPS\', \'RDP\', \'SSL\', \'Unknown\']\\"\\n ],\\n \\"InBytes\\": 1456536639,\\n \\"OutBytes\\": 117200,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网开放端口', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeInternetOpenService' => [ - 'summary' => '获取互联网开放服务。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询主动外联的域名信息', + 'changeSet' => [ + ['createdAt' => '2025-05-14T06:48:04.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-24T08:28:28.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-06T08:23:29.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-12-08T07:18:12.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-27T08:47:41.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2022-07-07T03:30:58.000Z', 'description' => '请求参数发生变更、响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDomain'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DomainList\\": [\\n {\\n \\"AclCoverage\\": \\"Uncovered\\",\\n \\"Domain\\": \\"www.aliyundoc.com\\",\\n \\"AclRecommendDetail\\": \\"RecommendedRelease\\",\\n \\"HasAclRecommend\\": true,\\n \\"InBytes\\": 3214,\\n \\"CategoryName\\": \\"Alibaba Cloud product\\",\\n \\"RuleName\\": \\"acl-name\\",\\n \\"RuleId\\": \\"add-dfadf-f****\\",\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"group-name\\",\\n \\"SecuritySuggest\\": \\"pass\\",\\n \\"OutBytes\\": 4582,\\n \\"AclStatus\\": \\"Normal\\",\\n \\"IsMarkNormal\\": true,\\n \\"CategoryId\\": \\"Aliyun\\",\\n \\"AddressGroupUUID\\": \\"fdad-fdafa-dafa-dfa****\\",\\n \\"AddressGroupName\\": \\"Outreach Address Book\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"Business\\": \\"Aliyun\\",\\n \\"HasAcl\\": \\"true\\",\\n \\"Organization\\": \\"Alibaba Cloud Computing Limited\\\\n\\",\\n \\"SecurityReason\\": \\"Smart policy: The target domain name belongs to Aliyun Computing Co., Ltd., and its main business is Aliyun. No security risks have been found. It can be used to configure an outreach whitelist.\\",\\n \\"TotalBytes\\": \\"800\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"TagName\\": \\"tag-name\\",\\n \\"TagId\\": \\"AliYun\\",\\n \\"TagDescribe\\": \\"tag-describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"AssetCount\\": 20,\\n \\"PrivateAssetCount\\": 20\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 132\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n \\n Uncovered\\n www.aliyundoc.com\\n 建议放行\\n true\\n 3214\\n 阿里云产品\\n 默认规则\\n add-dfadf-f****\\n 12\\n 外量地址组\\n pass\\n 4582\\n Normal\\n true\\n Aliyun\\n fdad-fdafa-dafa-dfa****\\n 外联地址簿\\n Trusted\\n 阿里云\\n true\\n 阿里云计算有限公司\\n 智能策略:该目的域名所属组织为阿里云计算有限公司,主要业务为阿里云,未发现安全风险,可用于配置外联白名单。\\n 800\\n \\n 3\\n 加白标签\\n AliYun\\n 加白标签\\n Trusted\\n \\n \\n","errorExample":""}]', + ], + 'DescribeOutgoingDomainDetail' => [ + 'summary' => '获取外联域名详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24324,21 +20769,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68279', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68329', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '122.200.64.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '121.15.137.XXX'], ], [ 'name' => 'Lang', @@ -24347,129 +20786,109 @@ 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1753617600'], ], [ - 'name' => 'ServiceName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称, 精确匹配, 不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1733450528'], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称, 模糊匹配, 不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'RiskLevel', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '风险级别。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '无', - '低危', - '中危', - '高危', - -1 => '评估中', - ], - 'example' => '2', - ], + 'schema' => ['description' => '当前页码', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'SuggestLevel', + 'name' => 'TagId', 'in' => 'query', 'schema' => [ - 'description' => '建议策略级别。', + 'description' => '标签ID。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '未知', - 10 => '放行', - 20 => '检查', - 30 => '拒绝', - ' -1' => '评估中', - ], - 'example' => '10', + 'enumValueTitles' => ['FirstFlow' => '首次', 'Period' => '周期'], + 'example' => 'FirstFlow', ], ], [ - 'name' => 'Port', + 'name' => 'AclCoverage', 'in' => 'query', 'schema' => [ - 'description' => '端口号。', + 'description' => '策略覆盖情况。', 'type' => 'string', 'required' => false, - 'example' => '3389', + 'enumValueTitles' => ['All' => '全部', 'FullCoverage' => '已覆盖', 'Uncovered' => '未覆盖', 'PartialCoverage' => '部分覆盖'], + 'example' => 'FullCoverage', ], ], [ - 'name' => 'StartTime', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1755742107', - ], + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'."\n"], ], [ - 'name' => 'EndTime', + 'name' => 'PublicIP', + 'in' => 'query', + 'schema' => ['description' => '公网IP。', 'type' => 'string', 'required' => false, 'example' => '47.96.181.XXX'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.210.0.XXX'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', + 'description' => '排序。', 'type' => 'string', 'required' => false, - 'example' => '1753804800', + 'enumValueTitles' => ['InBytes' => '流入流量', 'SessionCount' => '会话数', 'OutBytes' => '流出流量'], + 'example' => 'OutBytes', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '页码。', + 'description' => '升降序。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], [ - 'name' => 'PageSize', + 'name' => 'IPType', 'in' => 'query', + 'schema' => ['description' => '查询Nat私网外联。', 'type' => 'string', 'required' => false, 'example' => 'NatPrivate'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf62zzi7000bca7zn****'], + ], + [ + 'name' => 'DomainList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '页数。', - 'type' => 'string', + 'description' => '域名列表。', + 'type' => 'array', + 'items' => ['description' => '域名列表。', 'type' => 'string', 'required' => false, 'example' => '[\'example.com\']'."\n"], 'required' => false, - 'example' => '10', + 'maxItems' => 100, ], ], ], @@ -24478,207 +20897,210 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], - 'PageInfo' => [ - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - ], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '98AF5888-9606-59CF-888F-032A9ED0****'], + 'ApplicationNameList' => [ + 'description' => '应用名列表。', + 'type' => 'array', + 'items' => ['description' => '应用名。', 'type' => 'string', 'example' => '[\'HTTP\', \'HTTPS\']'], ], - 'DataList' => [ - 'description' => '数据列表。', + 'AssetList' => [ + 'description' => '资产列表。', 'type' => 'array', 'items' => [ - 'description' => '数据列表。', + 'description' => '资产列表。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险级别 -1:评估中 0:无 1: 低危 2: 中危 3: 高危. 不选代表所有风险', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无', - '低危', - '中危', - '高危', - ' -1' => '评估中', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '安全隐患描述。', + 'AclCoverage' => [ + 'description' => '策略覆盖情况。', 'type' => 'string', - 'example' => 'test', + 'enumValueTitles' => ['All' => '全部', 'FullCoverage' => '已覆盖', 'Uncovered' => '未覆盖', 'PartialCoverage' => '部分覆盖'], + 'example' => 'FullCoverage', ], - 'TrafficPercent1Day' => [ - 'description' => '1日流量占比。', + 'ResourceInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'test'], + 'ResourceInstanceId' => ['description' => '资产实例Id。', 'type' => 'string', 'example' => 'i-uf63wjhyoohc1g4z****'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], + 'InBytes' => ['description' => '流入流量, 应答流量,单位bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '244438.0'], + 'FirstTime' => ['description' => '首次访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1738548990'], + 'PrivateIP' => ['description' => '私网ip。', 'type' => 'string', 'example' => '10.21.242XXX'], + 'RuleId' => ['description' => 'ACL规则ID。', 'type' => 'string', 'example' => '08a58465-ff4d-4c47-8782-eb008301****'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'test'], + 'SessionCount' => ['description' => '访问次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'LastTime' => ['description' => '最近访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1739326614'], + 'ResourceType' => [ + 'description' => '资产公网IP类型。', 'type' => 'string', - 'example' => '0', + 'enumValueTitles' => ['EcsEIP' => 'EcsEIP', 'EcsPublicIP' => 'EcsPublicIP', 'NatPublicIP' => 'NatPublicIP', 'NatEIP' => 'NatEIP', 'EIP' => 'EIP'], + 'example' => 'NatEIP', ], - 'Protocol' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - ], - 'example' => 'tcp', - ], - 'PublicIpNum' => [ - 'description' => '开放公网IP数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'SuggestLevel' => [ - 'description' => '建议策略级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '未知', - 10 => '放行 ', - 20 => '检查', - 30 => '拒绝', - -1 => '评估中', - ], - 'example' => '20', - ], - 'DetailNum' => [ - 'description' => '明细数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'TrafficPercent7Day' => [ - 'description' => '7日流量占比。', - 'type' => 'string', - 'example' => '77', - ], - 'TrafficPercent30Day' => [ - 'description' => '30日流量占比。', - 'type' => 'string', - 'example' => ' 0', - ], - 'ProbRisk' => [ - 'description' => '安全隐患。', - 'type' => 'string', - 'example' => 'test', - ], - 'ServiceName' => [ - 'description' => '应用名称。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'SMB', - ], - 'RiskReason' => [ - 'description' => '风险描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'PortList' => [ - 'description' => '开放端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '开放端口列表。', - 'type' => 'string', - 'example' => '['."\n" - .' 80,'."\n" - .' 8080,'."\n" - .' 80,'."\n" - .' 21'."\n" - .']', - ], - ], - 'InBytes' => [ - 'description' => '流入流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '447458.0', - ], - 'OutBytes' => [ - 'description' => '流出流量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1123', - ], - 'TotalBytes' => [ - 'description' => '总流量。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'example' => '621404', - ], - 'UnknownReason' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', + 'OutBytes' => ['description' => '流出流量, 请求流量,单位bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'PublicIP' => ['description' => '公网IP。', 'type' => 'string', 'example' => '47.96.181.XXX'], + 'TagList' => [ + 'description' => '标签名称列表。', 'type' => 'array', 'items' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', - 'type' => 'string', - 'example' => 'no_payload', + 'description' => '标签名称列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险等级。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无风险,', '低风险', '中风险', '高风险'], + 'example' => '0', + ], + 'TagName' => ['description' => '标签名。', 'type' => 'string', 'example' => 'test'], + 'TagId' => [ + 'description' => '标签ID', + 'type' => 'string', + 'enumValueTitles' => ['FirstFlow' => '首次', 'Period' => '周期'], + 'example' => 'FirstFlow', + ], + 'TagDescribe' => ['description' => '标签描述。', 'type' => 'string', 'example' => 'test'], + 'ClassId' => ['description' => '风险分类ID。', 'type' => 'string', 'example' => '3'], + ], ], ], + 'TotalBytes' => ['description' => '总流量。'."\n", 'type' => 'string', 'example' => '321120825843'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-9dp16jgwgyvn****'], + 'NatGatewayId' => ['description' => 'NAT网关ID。', 'type' => 'string', 'example' => 'ngw-bp1utx6wj4x9qu9tl****'], + 'NatGatewayName' => ['description' => 'NAT网关名称', 'type' => 'string', 'example' => 'ngw-test'], + 'IpsHitCnt' => ['description' => 'ips命中数。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'], + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'example.com'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], + ], + 'title' => '获取主动外联域名详情', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomainDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"98AF5888-9606-59CF-888F-032A9ED0****\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AssetList\\": [\\n {\\n \\"AclCoverage\\": \\"FullCoverage\\",\\n \\"ResourceInstanceName\\": \\"test\\",\\n \\"ResourceInstanceId\\": \\"i-uf63wjhyoohc1g4z****\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"InBytes\\": 244438,\\n \\"FirstTime\\": 1738548990,\\n \\"PrivateIP\\": \\"10.21.242XXX\\",\\n \\"RuleId\\": \\"08a58465-ff4d-4c47-8782-eb008301****\\",\\n \\"RuleName\\": \\"test\\",\\n \\"SessionCount\\": 10,\\n \\"LastTime\\": 1739326614,\\n \\"ResourceType\\": \\"NatEIP\\",\\n \\"OutBytes\\": 100,\\n \\"PublicIP\\": \\"47.96.181.XXX\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test\\",\\n \\"TagId\\": \\"FirstFlow\\",\\n \\"TagDescribe\\": \\"test\\",\\n \\"ClassId\\": \\"3\\"\\n }\\n ],\\n \\"TotalBytes\\": \\"321120825843\\",\\n \\"VpcId\\": \\"vpc-9dp16jgwgyvn****\\",\\n \\"NatGatewayId\\": \\"ngw-bp1utx6wj4x9qu9tl****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IpsHitCnt\\": 32,\\n \\"Domain\\": \\"example.com\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingRiskDomainAndIpCount' => [ + 'summary' => '获取入侵防御风险数。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '42917', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1749434787'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1751595213'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'EE258AC0-6EDD-5929-AB47-165E9B54****'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'RiskDomainCount' => ['description' => '风险域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'RiskIpCount' => ['description' => '风险IP数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '47'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 10\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"0\\",\\n \\"Protocol\\": \\"tcp\\",\\n \\"PublicIpNum\\": 3,\\n \\"SuggestLevel\\": 20,\\n \\"DetailNum\\": 5,\\n \\"TrafficPercent7Day\\": \\"77\\",\\n \\"TrafficPercent30Day\\": \\" 0\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"ServiceName\\": 0,\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"InBytes\\": 447458,\\n \\"OutBytes\\": 1123,\\n \\"TotalBytes\\": 621404,\\n \\"UnknownReason\\": [\\n \\"no_payload\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网开放服务', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeInternetOpenDetail' => [ - 'summary' => '获取互联网开放详情。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取入侵防御风险数', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskDomainAndIpCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EE258AC0-6EDD-5929-AB47-165E9B54****\\",\\n \\"TotalCount\\": 6,\\n \\"RiskDomainCount\\": 6,\\n \\"RiskIpCount\\": 47\\n}","type":"json"}]', + ], + 'DescribeOutgoingRiskTrend' => [ + 'summary' => '查询外联风险趋势。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -24690,34 +21112,24 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68276', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68330', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '222.212.86.7XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '219.145.94.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -24725,208 +21137,260 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'ServiceName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '应用名称,精确匹配,不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1733882648'], ], [ - 'name' => 'ServiceNameFuzzy', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => false, 'example' => '1755051062'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '应用名称,模糊匹配,不带表示查找所有应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'SMB', + 'type' => 'object', + 'properties' => [ + 'TotalRiskDomain' => ['description' => '全部风险域名。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '1CA8D98E-A71B-5856-A658-3E8B3152E****'], + 'Interval' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'TotalRiskIp' => ['description' => '全部风险IP。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + 'RiskIp' => ['description' => '风险IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RiskDomain' => ['description' => '风险域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询外联风险趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RiskLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '风险等级,不填为全部风险等级。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '无风险', - '低危', - '中危', - '高危', - -1 => '评估中', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => '3', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalRiskDomain\\": 7,\\n \\"RequestId\\": \\"1CA8D98E-A71B-5856-A658-3E8B3152E****\\",\\n \\"Interval\\": 60,\\n \\"TotalRiskIp\\": 6,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"RiskIp\\": 5,\\n \\"RiskDomain\\": 20\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeOutgoingStatistic' => [ + 'summary' => '获取主动外联统计信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SuggestLevel', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68331', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '建议策略级别。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '未知', - 10 => '放行', - 20 => '检查', - 30 => '拒绝', - -1 => '评估中', - ], - 'example' => '10', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '117.32.136.XXX'], ], [ - 'name' => 'Port', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '端口,精确匹配1-65535,不带表示所有端口。', - 'type' => 'string', - 'required' => false, - 'example' => '9100', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '资产ID,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'i-uf6faknmuby7ezht****', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AssetsInstanceName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '资产名称,支持模糊搜索。', - 'type' => 'string', - 'required' => false, - 'example' => 'instance_test', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1746554400'], ], [ - 'name' => 'PublicIp', + 'name' => 'EndTime', 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1734920543'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '公网IP,精确匹配,不带表示查找所有公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.13.XX', + 'type' => 'object', + 'properties' => [ + 'UnknownProtocolRadio' => ['description' => '未识别访问量占比。', 'type' => 'string', 'example' => '20.13'."\n"], + 'SubscribeDstIPCount' => ['description' => '关注目的IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalProtocolCount' => ['description' => '外联协议数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'UncoveredAclDstIP' => ['description' => '未覆盖策略的目的IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalDomainCount' => ['description' => '总外联域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'SubscribeDomainCount' => ['description' => '关注域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalAssetCount' => ['description' => '总外联资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + 'TotalDstIPCount' => ['description' => '总外联目的IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '107'], + 'IgnoreDstIPCount' => ['description' => '忽略目的IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'E2BD70F4-48BF-5EFD-B103-F0763E27*****'], + 'IgnoreDomainCount' => ['description' => '忽略域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'IgnoreAssetCount' => ['description' => '忽略资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RiskDstIPCount' => ['description' => '外联风险目的IP数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RiskAssetCount' => ['description' => '风险资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'UncoveredAclDomain' => ['description' => '未覆盖策略域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RiskDomainCount' => ['description' => '外联风险域名数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SubscribeAssetCount' => ['description' => '关注资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'PrivateTotalAssetCount' => ['description' => '私网外联资产。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'PrivateRiskAssetCount' => ['description' => '私网外联风险资产。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取主动外联统计信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UnknownProtocolRadio\\": \\"20.13\\\\n\\",\\n \\"SubscribeDstIPCount\\": 10,\\n \\"TotalProtocolCount\\": 10,\\n \\"UncoveredAclDstIP\\": 10,\\n \\"TotalDomainCount\\": 10,\\n \\"SubscribeDomainCount\\": 10,\\n \\"TotalAssetCount\\": 13,\\n \\"TotalDstIPCount\\": 107,\\n \\"IgnoreDstIPCount\\": 0,\\n \\"RequestId\\": \\"E2BD70F4-48BF-5EFD-B103-F0763E27*****\\",\\n \\"IgnoreDomainCount\\": 10,\\n \\"IgnoreAssetCount\\": 0,\\n \\"RiskDstIPCount\\": 1,\\n \\"RiskAssetCount\\": 0,\\n \\"UncoveredAclDomain\\": 0,\\n \\"RiskDomainCount\\": 1,\\n \\"SubscribeAssetCount\\": 0,\\n \\"PrivateTotalAssetCount\\": 0,\\n \\"PrivateRiskAssetCount\\": 0\\n}","type":"json"}]', + ], + 'DescribeOutgoingTag' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'AssetsType', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68332', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '资产类型,精确匹配,不带表示查找所有资产类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'EcsPublicIP', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '60.179.226.XXX'], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间,默认当前时间-7天。', - 'type' => 'string', - 'required' => false, - 'example' => '1656837360', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EndTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间,默认当前时间。', - 'type' => 'string', - 'required' => false, - 'example' => '1745251200', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'CurrentPage', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1743646544'], ], [ - 'name' => 'PageSize', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1749003483'], ], [ - 'name' => 'SortList', + 'name' => 'DstType', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '排序列表。', - 'type' => 'array', - 'items' => [ - 'description' => '排序列表。', - 'type' => 'object', - 'properties' => [ - 'Dir' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', - ], - 'example' => 'asc', - ], - 'SortKey' => [ - 'description' => '排序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ServiceName' => '按应用排序', - 'PublicIp' => '按公网IP排序', - 'Port' => '按端口排序', - ], - 'example' => 'ServiceName', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 200, - ], + 'schema' => ['description' => '目标类型。取值:'."\n" + .'- **Domain** :域名。'."\n" + .'- **DstIP** :IP。', 'type' => 'string', 'required' => false, 'example' => 'Domain '], + ], + [ + 'name' => 'TagId', + 'in' => 'query', + 'schema' => ['description' => '标签ID。', 'type' => 'string', 'required' => false, 'example' => '103208'], ], ], 'responses' => [ @@ -24934,260 +21398,106 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '3495E758-BB4B-5F5C-8AE0-897489F****', - ], - 'PageInfo' => [ - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '50', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - ], - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'B532203E-813B-5BEB-B75B-315E1D08****'], + 'TagList' => [ + 'description' => '标签列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据列表。', + 'description' => '标签列表对象。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无', - ' 低危', - '中危', - ' 3' => '高危', - -1 => '评估中', - ], - 'example' => '3', - ], - 'ProbRiskDesc' => [ - 'description' => '安全隐患描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'TrafficPercent1Day' => [ - 'description' => '1日流量占比。', - 'type' => 'string', - 'example' => '10', - ], - 'SuggestLevel' => [ - 'description' => '建议策略级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '未知', - 10 => '放行', - 20 => '检查', - 30 => '拒绝', - -1 => '评估中', - ], - 'example' => '20', - ], - 'Protocol' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'example' => 'tcp', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'AssetsName' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'example' => 'launch-advisor-2023****', - ], - 'AssetsType' => [ - 'description' => '实例的资产类型。', - 'type' => 'string', - 'example' => 'EcsEIP', - ], - 'Port' => [ - 'description' => '开放公网端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3389', - ], - 'TrafficPercent7Day' => [ - 'description' => '7日流量占比。', - 'type' => 'string', - 'example' => '30', - ], - 'TrafficPercent30Day' => [ - 'description' => '30日流量占比。', - 'type' => 'string', - 'example' => '48', - ], - 'ProbRisk' => [ - 'description' => '安全隐患。', - 'type' => 'string', - 'example' => 'test', - ], - 'PublicIp' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '39.101.167.XX', - ], - 'ServiceName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'Redis', - ], - 'Id' => [ - 'description' => '明细ID。', - 'type' => 'string', - 'example' => '1123', - ], - 'AssetsInstanceId' => [ - 'description' => '资产实例ID。', - 'type' => 'string', - 'example' => 'i-bp1ix9w22kv6aew9****', - ], - 'RiskReason' => [ - 'description' => '风险原因。', - 'type' => 'string', - 'example' => 'test', - ], - 'InBytes' => [ - 'description' => '入流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'OutBytes' => [ - 'description' => '出流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'TotalBytes' => [ - 'description' => '总流量', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'UnknownReason' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', - 'type' => 'array', - 'items' => [ - 'description' => '识别协议为Unknown情况下,未分析到协议的原因。', - 'type' => 'string', - 'example' => '['."\n" - .' "no_payload",'."\n" - .' "tcp_not_establish"'."\n" - .']', - ], - ], + 'RiskLevel' => ['description' => '风险评估等级。取值:'."\n" + .'- **0**:无风险。'."\n" + .'- **1**:低风险。'."\n" + .'- **2**:中风险。'."\n" + .'- **3**:高风险。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => 'test tag'], + 'TagId' => ['description' => '标签ID。', 'type' => 'string', 'example' => 'tag-6833388d18cc****'], + 'TagDescribe' => ['description' => '标签描述。', 'type' => 'string', 'example' => 'test describe'], + 'ClassId' => ['description' => '分类等级。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑。'."\n" + ."\n" + .'- **Malicious**:恶意。'."\n" + ."\n" + .'- **Trusted**:信任。', 'type' => 'string', 'example' => 'Trusted'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3495E758-BB4B-5F5C-8AE0-897489F****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 50,\\n \\"TotalCount\\": 5\\n },\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"ProbRiskDesc\\": \\"test\\",\\n \\"TrafficPercent1Day\\": \\"10\\",\\n \\"SuggestLevel\\": 20,\\n \\"Protocol\\": \\"tcp\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"AssetsName\\": \\"launch-advisor-2023****\\",\\n \\"AssetsType\\": \\"EcsEIP\\",\\n \\"Port\\": 3389,\\n \\"TrafficPercent7Day\\": \\"30\\",\\n \\"TrafficPercent30Day\\": \\"48\\",\\n \\"ProbRisk\\": \\"test\\",\\n \\"PublicIp\\": \\"39.101.167.XX\\",\\n \\"ServiceName\\": \\"Redis\\",\\n \\"Id\\": \\"1123\\",\\n \\"AssetsInstanceId\\": \\"i-bp1ix9w22kv6aew9****\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"InBytes\\": 0,\\n \\"OutBytes\\": 0,\\n \\"TotalBytes\\": 0,\\n \\"UnknownReason\\": [\\n \\"[\\\\n \\\\\\"no_payload\\\\\\",\\\\n \\\\\\"tcp_not_establish\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网开放详情', - ], - 'DescribeInternetSlb' => [ - 'summary' => '获取互联网SLB。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取外联标签', + 'summary' => '获取外联标签', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"B532203E-813B-5BEB-B75B-315E1D08****\\",\\n \\"TagList\\": [\\n {\\n \\"RiskLevel\\": 0,\\n \\"TagName\\": \\"test tag\\",\\n \\"TagId\\": \\"tag-6833388d18cc****\\",\\n \\"TagDescribe\\": \\"test describe\\",\\n \\"ClassId\\": \\"Trusted\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePageDocuments' => [ + 'summary' => '查看页面常见问题。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68282', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68334', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '112.64.233.XXX', - ], + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '223.167.221.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -25195,111 +21505,33 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'RegionNo', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '区域, 不带表示所有区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], [ - 'name' => 'PublicIp', + 'name' => 'PageName', 'in' => 'query', 'schema' => [ - 'description' => '公网IP, 支持模糊查找, 不带表示所有公网IP。', + 'description' => '页面名称。', 'type' => 'string', - 'required' => false, - 'example' => '47.108.60.XXX', + 'required' => true, + 'enumValueTitles' => ['overview' => '概况页面', 'access' => '控制访问页面', 'switch' => '防火墙页面'], + 'example' => 'overview', ], ], [ - 'name' => 'InstanceId', + 'name' => 'TabName', 'in' => 'query', - 'schema' => [ - 'description' => 'SLB实例Id, 支持模糊查找。', - 'type' => 'string', - 'required' => false, - 'example' => 'lb-2ze8v2x5kd9qyvp2****', - ], - ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => 'SLB实例名称, 支持模糊查找。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'Tag', - 'in' => 'query', - 'schema' => [ - 'description' => '标签, 不带搜索所有标签。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'IpProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - 'http' => 'http', - 'https' => 'https', - ], - 'example' => 'tcp', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '端口。', - 'type' => 'string', - 'required' => false, - 'example' => '63389', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '当前查询页数。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前查询页码。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '安全访问控制策略的防护对象名称。', 'type' => 'string', 'required' => true, 'example' => 'internet'], ], ], 'responses' => [ @@ -25307,169 +21539,72 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求id。', - 'type' => 'string', - 'example' => '135BF83A-0416-5A11-96BB-FA7604D4****', - ], - 'PageInfo' => [ - 'description' => '数据分页信息。', + 'Module' => ['description' => '应用模块。', 'type' => 'string', 'example' => 'sg_server'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '7C81E1AD-08C0-5E09-853B-FDC77B90****'], + 'ImageUrl' => ['description' => '图片地址。', 'type' => 'string', 'example' => 'https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png'], + 'More' => [ + 'description' => '更多列表。', 'type' => 'object', 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '数据的总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], + 'Url' => ['description' => '文档路径。', 'type' => 'string', 'example' => 'https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png'], + 'Title' => ['description' => '标题。', 'type' => 'string', 'example' => 'test'], ], ], - 'DataList' => [ - 'description' => '数据列表。', + 'Docs' => [ + 'description' => '文档列表。', 'type' => 'array', 'items' => [ - 'description' => '数据列表。', + 'description' => '文档列表。', 'type' => 'object', 'properties' => [ - 'AclType' => [ - 'description' => '访问控制类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'white' => '白名单', - 'black' => '黑名单', - ], - 'example' => 'white', - ], - 'AclId' => [ - 'description' => '访问控制Id。', - 'type' => 'string', - 'example' => 'acl-uf66n6l9mf3fgq8xs****', - ], - 'InstanceName' => [ - 'description' => 'SLB实例名称。', - 'type' => 'string', - 'example' => 'buyerpro1', - ], - 'RegionNo' => [ - 'description' => '区域。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'AclStatus' => [ - 'description' => '访问控制开关。', - 'type' => 'string', - 'enumValueTitles' => [ - 'off' => 'acl关闭', - 'on' => 'acl打开', - ], - 'example' => 'on', - ], - 'PublicIp' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '39.108.57.XXX', - ], - 'IpProtocol' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - 'http' => 'http', - 'https' => 'https', - ], - 'example' => 'tcp', - ], - 'InstanceId' => [ - 'description' => 'SLB实例Id。', - 'type' => 'string', - 'example' => 'lb-2ze8v2x5kd9qyvp2****', - ], - 'Port' => [ - 'description' => '端口号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1883', - ], - 'HealthStatus' => [ - 'description' => '健康检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'normal' => '健康', - 'abnormal' => '不健康', - 'unavailable' => '未完成健康检查', - 'close ' => '未开启', - ], - 'example' => 'normal', - ], - 'Tags' => [ - 'description' => '标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => '标签列表。', - 'type' => 'string', - 'example' => '[]', - ], - ], + 'Url' => ['description' => '文档路径。', 'type' => 'string', 'example' => 'https://notify-center-test.ybaobx.com/webhook/arms'], + 'Title' => ['description' => '标题。', 'type' => 'string', 'example' => 'test'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorSlbOpenApi', - 'errorMessage' => 'An SLB OpenAPI error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"135BF83A-0416-5A11-96BB-FA7604D4****\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 0\\n },\\n \\"DataList\\": [\\n {\\n \\"AclType\\": \\"white\\",\\n \\"AclId\\": \\"acl-uf66n6l9mf3fgq8xs****\\",\\n \\"InstanceName\\": \\"buyerpro1\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"AclStatus\\": \\"on\\",\\n \\"PublicIp\\": \\"39.108.57.XXX\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"InstanceId\\": \\"lb-2ze8v2x5kd9qyvp2****\\",\\n \\"Port\\": 1883,\\n \\"HealthStatus\\": \\"normal\\",\\n \\"Tags\\": [\\n \\"[]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取互联网SLB', - ], - 'DescribeOpenIpAccessSrcStat' => [ - 'summary' => '获取开放IP的访问源统计。', - 'methods' => [ - 'post', - 'get', + 'title' => '查看页面常见问题(废弃)', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePageDocuments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"7C81E1AD-08C0-5E09-853B-FDC77B90****\\",\\n \\"ImageUrl\\": \\"https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png\\",\\n \\"More\\": {\\n \\"Url\\": \\"https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png\\",\\n \\"Title\\": \\"test\\"\\n },\\n \\"Docs\\": [\\n {\\n \\"Url\\": \\"https://notify-center-test.ybaobx.com/webhook/arms\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePolicyAdvancedConfig' => [ + 'summary' => '查询访问控制策略严格模式的开启状态。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25478,68 +21613,153 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68321', - 'abilityTreeNodes' => [ - 'FEATUREcfwVWCDEU', - ], + 'abilityTreeCode' => '68336', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'type' => 'object', + 'properties' => [ + 'InternetSwitch' => ['description' => '访问控制策略严格模式的开启状态。取值:'."\n" + .'- **on**:严格模式已开启。'."\n" + .'- **off**:严格模式已关闭。', 'type' => 'string', 'example' => 'off'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], ], - 'example' => 'zh', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询访问控制策略严格模式的开启状态', + 'description' => '本接口一般用于查询访问控制策略严格模式的开启状态。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyAdvancedConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'DstIp', - 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"InternetSwitch\\": \\"off\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n off\\n","errorExample":""}]', + ], + 'DescribePolicyPriorUsed' => [ + 'summary' => '查询访问控制策略优先级生效范围。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68337', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **in**:外对内流量。'."\n" + .'- **out**:内对外流量。', 'type' => 'string', 'required' => true, 'example' => 'in'], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ - 'description' => '当前页码。', + 'description' => '云防火墙防护的资产的IP版本。'."\n" + ."\n\n" + .'取值:'."\n" + ."\n" + .'- **4**(默认):IpV4'."\n" + ."\n" + .'- **6**:IpV6', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '6', + 'enum' => ['4', '6'], ], ], ], @@ -25548,97 +21768,79 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], - 'StatList' => [ - 'description' => '统计列表。', - 'type' => 'array', - 'items' => [ - 'description' => '统计列表。', - 'type' => 'object', - 'properties' => [ - 'AbnormalSrcIp' => [ - 'description' => '异常的ip地址数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'NormalSrcIp' => [ - 'description' => '正常的ip地址数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'Port' => [ - 'description' => '端口号。', - 'type' => 'string', - 'example' => '6163', - ], - 'App' => [ - 'description' => '应用类型。', - 'type' => 'string', - 'example' => 'HTTP', - ], - ], - ], - ], + 'End' => ['description' => '您已创建的访问控制策略的最低优先级。'."\n" + ."\n" + .'> -1表示最低优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '150'], + 'Start' => ['description' => '您已创建的访问控制策略的最高优先级。'."\n" + ."\n" + .'> 0表示最高优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '-1'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The destination is invalid.', 'description' => '无效的目的'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"StatList\\": [\\n {\\n \\"AbnormalSrcIp\\": 12,\\n \\"NormalSrcIp\\": 21,\\n \\"Port\\": \\"6163\\",\\n \\"App\\": \\"HTTP\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取开放IP的访问源统计', - ], - 'DescribeNetworkInstanceRelationList' => [ - 'summary' => '获取网络实例关系列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询访问控制策略优先级使用范围', + 'description' => '本接口一般用于查询外对内流量或内对外流量访问控制策略优先级生效范围。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-02-10T02:07:39.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-07-31T03:27:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyPriorUsed'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": -1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 150\\n -1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', + ], + 'DescribePostpayBill' => [ + 'summary' => '查询按量付费2.0账单。', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -25650,259 +21852,93 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68311', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '语言, 枚举值。'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ - 'name' => 'ConnectType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '互通类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'expressconnect' => '高速通道', - 'cen' => '云企业网 ', - ], - 'example' => 'cen', - ], + 'schema' => ['description' => '分页查询时,设置当前页的页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'FirewallConfigureStatus', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙配置状态。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'configured' => '已配置', - 'notconfigured' => '未配置', - ], - 'example' => 'notconfigured', - ], + 'schema' => ['title' => '任务类型', 'description' => '查询开始时间,使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'NetworkInstanceId', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '本端网络实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-2vcwkr****', - ], + 'schema' => ['description' => '查询结束时间,使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1646063922'], ], [ - 'name' => 'PeerNetworkInstanceId', + 'name' => 'Interval', 'in' => 'query', 'schema' => [ - 'description' => '对端网络实例ID。', - 'type' => 'string', + 'description' => '指定查询数据的时间间隔,为枚举值,其中:'."\n" + ."\n" + .'- 3600:表示查询小时级别的数据'."\n" + .'- 86400:表示查询天级别的数据', + 'type' => 'integer', + 'format' => 'int32', 'required' => false, - 'example' => 'vpc-dsf232d****', + 'enumValueTitles' => [3600 => '小时', 86400 => '天'], + 'example' => '60', + 'enum' => ['3600', '86400'], ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '12', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '284FF89D-4F70-546F-8EF6-77E0A530****', - ], - 'NetworkInstanceList' => [ - 'description' => '网络实例信息。', + 'TotalCount' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********'], + 'AggregateInternetTraffic' => ['description' => '聚合的互联网流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'AggregateNatTraffic' => ['description' => '聚合的Nat流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'AggregateVpcTraffic' => ['description' => '聚合的Vpc流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'AggregateSdlTraffic' => ['description' => '聚合的敏感数据检测流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'AggregateTotalTraffic' => ['description' => '聚合的总流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '40'], + 'BillList' => [ + 'description' => '账单列表。', 'type' => 'array', 'items' => [ - 'description' => '网络实例信息。', 'type' => 'object', 'properties' => [ - 'ConnectType' => [ - 'description' => '连接类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'expressconnect' => '高速通道', - 'cen' => '云企业网', - ], - 'example' => 'cen', - ], - 'NetworkInstanceName' => [ - 'description' => '网络实例名。', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'NetworkInstanceId' => [ - 'description' => '网络实例Id。', - 'type' => 'string', - 'example' => 'vpc-2vcwfqbrh4kr****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'NetworkInstanceType' => [ - 'description' => '网络实例类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'VPC', - ], - 'PeerNetworkInstanceList' => [ - 'description' => '对端网络实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '对端网络实例。', - 'type' => 'object', - 'properties' => [ - 'NetworkInstanceId' => [ - 'description' => '网络实例ID。', - 'type' => 'string', - 'example' => 'vpc-dsf232d****', - ], - 'NetworkInstanceName' => [ - 'description' => '网络实例名称。', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RegionNo' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'cn-shenzhen', - ], - 'NetworkInstanceType' => [ - 'description' => '网络实例类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'vbr' => 'vbr', - 'vpc' => 'vpc', - ], - 'example' => 'vpc', - ], - 'AssociatedCen' => [ - 'description' => '关联的云企业网。', - 'type' => 'array', - 'items' => [ - 'description' => '关联的云企业网。', - 'type' => 'object', - 'properties' => [ - 'CenId' => [ - 'description' => '云企业网实例ID', - 'type' => 'string', - 'example' => 'cen-sdij1***', - ], - 'CenName' => [ - 'description' => '云企业网实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'TransitRouterType' => [ - 'description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" - ."\n" - .'- **Basic**:基础版转发路由器。'."\n" - ."\n" - .'- **Enterprise**:企业版转发路由器。', - 'type' => 'string', - 'example' => 'Enterprise', - ], - 'AttachmentId' => [ - 'description' => '网络实例的连接ID。', - 'type' => 'string', - 'example' => 'tr-attach-b9dyqn***', - ], - 'AttachmentName' => [ - 'description' => '网络实例的连接名称', - 'type' => 'string', - 'example' => 'att-test2', - ], - ], - ], - ], - ], - ], - ], - 'AssociatedCen' => [ - 'description' => '关联的云企业网。', - 'type' => 'array', - 'items' => [ - 'description' => '关联的云企业网。', - 'type' => 'object', - 'properties' => [ - 'CenId' => [ - 'description' => '云企业网实例ID。', - 'type' => 'string', - 'example' => 'cen-sdij1***', - ], - 'CenName' => [ - 'description' => '云企业网实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'TransitRouterType' => [ - 'description' => '转发实例路由器类型。可选值:'."\n" - ."\n" - .'- **Basic**:基础版转发路由器。'."\n" - ."\n" - .'- **Enterprise**:企业版转发路由器。', - 'type' => 'string', - 'example' => 'Enterprise', - ], - 'AttachmentId' => [ - 'description' => '网络实例的连接ID。', - 'type' => 'string', - 'example' => 'tr-attach-b92yqn***', - ], - 'AttachmentName' => [ - 'description' => '网络实例的连接名称', - 'type' => 'string', - 'example' => 'att-test1', - ], - ], - ], - ], - ], + 'InternetTraffic' => ['description' => '互联网流量,单位为GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'NatInstanceCnt' => ['description' => 'Nat实例个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'EndTime' => ['description' => '结束时间,使用秒级时间戳表示,为整时或者整天。', 'type' => 'integer', 'format' => 'int64', 'example' => '1733710015'], + 'SdlTraffic' => ['description' => '敏感数据检测流量,单位为GB。', 'type' => 'number', 'format' => 'float', 'example' => '1'], + 'InternetInstanceCnt' => ['description' => '互联网实例个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'StartTime' => ['description' => '开始时间,使用秒级时间戳表示,为整时或者整天。', 'type' => 'integer', 'format' => 'int64', 'example' => '1710206070000'], + 'LogStorage' => ['description' => '日志服务使用时长,单位为T*h。', 'type' => 'integer', 'format' => 'int64', 'example' => '24'], + 'NatTraffic' => ['description' => 'Nat流量,单位为GB。', 'type' => 'number', 'format' => 'float', 'example' => '2'], + 'VpcInstanceCnt' => ['description' => 'Vpc实例个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'ThreatIntelligence' => ['description' => '威胁情报使用时长,单位为h。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'IsDerated' => ['description' => '是否被减免,0表示没有被减免,其他只要大于0的情况就表示被减免,如果被减免,则不会进行出账。'."\n" + .'> 只有在查询小时级别的数据的时候才会有意义。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Sdl' => ['description' => '数据泄漏检测使用时长,单位为h。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'VpcTraffic' => ['description' => 'Vpc流量,单位为GB。', 'type' => 'number', 'format' => 'float', 'example' => '4'], + ], + 'description' => '', ], ], ], @@ -25911,56 +21947,32 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorConfigureStatus', - 'errorMessage' => 'firewall configure status invalid.', - ], - [ - 'errorCode' => 'ErrorConnectType', - 'errorMessage' => 'Connect type invalid.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdBothEmpty', - 'errorMessage' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', - ], - [ - 'errorCode' => 'ErrorNetworkInstanceIdSame', - 'errorMessage' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => '非按量付费用户。'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 12,\\n \\"RequestId\\": \\"284FF89D-4F70-546F-8EF6-77E0A530****\\",\\n \\"NetworkInstanceList\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"NetworkInstanceId\\": \\"vpc-2vcwfqbrh4kr****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"PeerNetworkInstanceList\\": [\\n {\\n \\"NetworkInstanceId\\": \\"vpc-dsf232d****\\",\\n \\"NetworkInstanceName\\": \\"vpc-test\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"NetworkInstanceType\\": \\"vpc\\",\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b9dyqn***\\",\\n \\"AttachmentName\\": \\"att-test2\\"\\n }\\n ]\\n }\\n ],\\n \\"AssociatedCen\\": [\\n {\\n \\"CenId\\": \\"cen-sdij1***\\",\\n \\"CenName\\": \\"test\\",\\n \\"TransitRouterType\\": \\"Enterprise\\",\\n \\"AttachmentId\\": \\"tr-attach-b92yqn***\\",\\n \\"AttachmentName\\": \\"att-test1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取网络实例关系列表', - ], - 'DescribeVpcFirewallAssetList' => [ - 'summary' => '查询VPC防火墙资产列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询按量付费2.0账单', + 'description' => '该明细对于按量付费用户精确至具体资源实例粒度,对于包年包月用户仅支持整体查询。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"AggregateInternetTraffic\\": 10,\\n \\"AggregateNatTraffic\\": 10,\\n \\"AggregateVpcTraffic\\": 10,\\n \\"AggregateSdlTraffic\\": 10,\\n \\"AggregateTotalTraffic\\": 40,\\n \\"BillList\\": [\\n {\\n \\"InternetTraffic\\": 10,\\n \\"NatInstanceCnt\\": 2,\\n \\"EndTime\\": 1733710015,\\n \\"SdlTraffic\\": 1,\\n \\"InternetInstanceCnt\\": 3,\\n \\"StartTime\\": 1710206070000,\\n \\"LogStorage\\": 24,\\n \\"NatTraffic\\": 2,\\n \\"VpcInstanceCnt\\": 2,\\n \\"ThreatIntelligence\\": 1,\\n \\"IsDerated\\": 0,\\n \\"Sdl\\": 0,\\n \\"VpcTraffic\\": 4\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePostpayEnabledProtection' => [ + 'summary' => '查询按量付费版本防护状态。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -25972,11 +21984,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68413', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - 'FEATUREcfwE8FJHT', - ], + 'abilityTreeCode' => '144147', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -25984,222 +21993,139 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '返回消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], - [ - 'name' => 'Lang', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '95CA5E2B-E5FB-5838-BC50-6A2C763C****'], + 'IsEnabledProtection' => ['description' => '该防护功能是否被启用。', 'type' => 'boolean', 'example' => 'false'], + 'IsOpenButDisabled' => ['description' => '是否开启保护但是关闭。', 'type' => 'boolean', 'example' => 'false'], + 'DisabledDays' => ['description' => '未开启防护的天数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'DisabledType' => ['description' => '未开启防护的类型。', 'type' => 'string', 'example' => 'nat'], ], - 'example' => 'zh', ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1534408189', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => '该请求使用与上一个请求相同但不相同的客户端令牌。不要在不同的请求中重复使用客户端令牌,除非请求相同。'], + ['errorCode' => 'ErrorInstanceNotPostpay', 'errorMessage' => 'instance is not postpay', 'description' => '此API仅允许按量付费版本调用'], + ['errorCode' => 'ErrorInstanceNotInDB', 'errorMessage' => 'no instance for process in db', 'description' => '实例不存在'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询按量付费版本防护状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1756952150', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-wz9ulqcvly23w31zkh8sm****', - ], - ], - [ - 'name' => 'PeerVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '对端VPC的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-90rq0anm6t8vbwbo****', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'string', - 'required' => false, - 'example' => '5234', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayEnabledProtection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"95CA5E2B-E5FB-5838-BC50-6A2C763C****\\",\\n \\"IsEnabledProtection\\": false,\\n \\"IsOpenButDisabled\\": false,\\n \\"DisabledDays\\": 6,\\n \\"DisabledType\\": \\"nat\\"\\n}","type":"json"}]', + ], + 'DescribePostpayTrafficDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '方向。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in' => '入向', - 'out' => '出向', - ], - 'example' => 'in', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'AppName', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '应用名。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'IPProtocol', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'tcp' => 'tcp', - 'udp' => 'udp', - ], - 'example' => 'tcp', - ], + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10。可设置的最大值为50。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ - 'name' => 'RiskLevel', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '风险等级。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '无', - '低危', - '中危', - '高危', - ], - 'example' => '3', - ], + 'schema' => ['description' => '分页查询时,显示的当前页的页码。'."\n" + .'默认值为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EcsInstanceId', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'ECS实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => ' i-hp3ez3rs9bxwt034****', - ], + 'schema' => ['title' => '任务类型', 'description' => '设置查询开始时间。使用YYYYMMDD格式的日期表示。', 'type' => 'string', 'required' => true, 'example' => '20240101'], ], [ - 'name' => 'EcsInstanceName', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '资产实例名。', - 'type' => 'string', - 'required' => false, - 'example' => 'test-ecs', - ], + 'schema' => ['description' => '设置查询结束时间。使用YYYYMMDD格式的日期表示。', 'type' => 'string', 'required' => true, 'example' => '20240131'], ], [ - 'name' => 'AssetIP', + 'name' => 'SearchItem', 'in' => 'query', - 'schema' => [ - 'description' => '资产IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '资产的IP或者实例ID。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'Sort', + 'name' => 'TrafficType', 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'InBytes' => 'InBytes', - 'SessionCount' => 'SessionCount', - 'OutBytes' => 'OutBytes', - ], - 'example' => 'SessionCount', - ], + 'schema' => ['description' => '统计流量的边界类型。必填。取值:'."\n" + .' '."\n" + .'- **EIP_TRAFFIC**:互联网边界流量。'."\n" + .' '."\n" + .'- **NatGateway_TRAFFIC**:NAT边界流量。'."\n" + .'- **VPC_TRAFFIC**:VPC边界流量。', 'type' => 'string', 'required' => true, 'example' => 'VPC_TRAFFIC'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '升降序。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'asc' => '升序', - 'desc' => '降序', - ], - 'example' => 'desc', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '按照指定的字段排序。取值:'."\n" + ."\n" + .'- **resourceId**:资源ID。'."\n" + .'- **trafficDay**:日期。', 'type' => 'string', 'required' => false, 'example' => 'resourceId'], ], [ - 'name' => 'IsAITraffic', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '是否仅统计访问AI服务的流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '地域信息。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], ], ], 'responses' => [ @@ -26207,147 +22133,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '924A6CCC-4EAD-5554-8AD0-45F5ED56****', - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'TotalCount' => ['title' => '总数', 'description' => '流量统计总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '0525EADE-C112-5702-A5BC-0E2F6F94DB23'], + 'TrafficList' => [ + 'description' => '流量统计列表。', 'type' => 'array', 'items' => [ - 'description' => '返回数据列表。', + 'description' => '流量统计信息。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险等级。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '无', - '低危', - '中危', - '高危', - ], - 'example' => '3', - ], - 'SessionCount' => [ - 'description' => '会话总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'AssetInstanceId' => [ - 'description' => '资产实例Id。', - 'type' => 'string', - 'example' => ' i-hp3ez3rs9bxwt034****', - ], - 'OutBytes' => [ - 'description' => '出流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'RegionNo' => [ - 'description' => '区域。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'AssetIP' => [ - 'description' => '资产IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'InBytes' => [ - 'description' => '入流量,单位Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0.0', - ], - 'AssetInstanceName' => [ - 'description' => '资产实例名称。', - 'type' => 'string', - 'example' => 'ecs-test', - ], - 'RiskReason' => [ - 'description' => '风险原因。', - 'type' => 'string', - 'example' => 'test', - ], - 'PortList' => [ - 'description' => '端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '端口列表。', - 'type' => 'string', - 'example' => '['."\n" - .' 80,'."\n" - .' 8080,'."\n" - .' 80,'."\n" - .' 21'."\n" - .']', - ], - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'IpsHitCnt' => [ - 'description' => 'IPS命中数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'TrafficDay' => ['description' => '流量统计日期。', 'type' => 'string', 'example' => '20231001'], + 'TrafficType' => ['description' => '统计流量的边界类型。取值:'."\n" + .' '."\n" + .'- **EIP_TRAFFIC**:互联网边界流量。'."\n" + .' '."\n" + .'- **NatGateway_TRAFFIC**:NAT边界流量。'."\n" + .'- **VPC_TRAFFIC**:VPC边界流量。', 'type' => 'string', 'example' => 'EIP_TRAFFIC'], + 'InstanceId' => ['description' => '资产实例的ID。', 'type' => 'string', 'example' => 'i-8vb2d7c9mtn0bo9qcraq'], + 'ResourceId' => ['description' => '资源ID。互联网边界为资产的公网IP,NAT边界为资产的防火墙实例ID。', 'type' => 'string', 'example' => '39.106.146.214'], + 'InstanceType' => ['description' => '资产类型。仅互联网边界该值生效。', 'type' => 'string', 'example' => 'EcsPublicIP'], + 'TotalBytes' => ['description' => '出方向和入方向总的网络吞吐量(总共发送和接收多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '1215096939'], + 'InBytes' => ['description' => '入方向的网络吞吐量(总计字节数)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '1115096939'], + 'OutBytes' => ['description' => '出方向的网络吞吐量(总计字节数)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '100000000'], + 'ProtectionDuration' => ['description' => '防护时长(单位:小时)。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + 'RegionNo' => ['description' => '所在地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => '非按量付费用户。'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"924A6CCC-4EAD-5554-8AD0-45F5ED56****\\",\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"SessionCount\\": 27,\\n \\"AssetInstanceId\\": \\" i-hp3ez3rs9bxwt034****\\",\\n \\"OutBytes\\": 0,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetIP\\": \\"192.0.XX.XX\\",\\n \\"InBytes\\": 0,\\n \\"AssetInstanceName\\": \\"ecs-test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"TotalBytes\\": 0,\\n \\"IpsHitCnt\\": 10\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙资产列表', - ], - 'DescribeAITrafficAnalysisStatus' => [ - 'summary' => '查询AI流量分析开启状态。', - 'methods' => [ - 'get', - 'post', + 'title' => '查询后付费计费流量明细', + 'summary' => '查询后付费计费流量明细。', + 'description' => '该明细对于按量付费用户精确至具体资源实例粒度,对于包年包月用户仅支持整体查询。', + 'changeSet' => [ + ['createdAt' => '2024-09-24T07:54:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2024-08-29T07:00:04.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2024-08-08T02:55:04.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficDetail'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"0525EADE-C112-5702-A5BC-0E2F6F94DB23\\",\\n \\"TrafficList\\": [\\n {\\n \\"TrafficDay\\": \\"20231001\\",\\n \\"TrafficType\\": \\"EIP_TRAFFIC\\",\\n \\"InstanceId\\": \\"i-8vb2d7c9mtn0bo9qcraq\\",\\n \\"ResourceId\\": \\"39.106.146.214\\",\\n \\"InstanceType\\": \\"EcsPublicIP\\",\\n \\"TotalBytes\\": 1215096939,\\n \\"InBytes\\": 1115096939,\\n \\"OutBytes\\": 100000000,\\n \\"ProtectionDuration\\": 20,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePostpayTrafficTotal' => [ + 'summary' => '查询后付费计费流量总计,包括各个边界防火墙。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26356,57 +22220,90 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', + 'abilityTreeCode' => '183500', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085****', - ], - 'Status' => [ - 'description' => '开启状态。取值:'."\n" - ."\n" - .'- **open**:打开'."\n" - .'- **close**:关闭', - 'type' => 'string', - 'example' => 'open', - ], + 'TotalAssets' => ['title' => '总数', 'description' => '所有边界防护总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '826B6280-9704-5643-97B1-6B47AC3F027A'], + 'TotalTraffic' => ['description' => '总流量。包年包月版本对应为弹性处理总流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426'], + 'TotalNatAssets' => ['description' => 'NAT边界防护总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TotalNatTraffic' => ['description' => 'NAT边界总流量。包年包月版本对应为NAT边界弹性处理总流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '560646279'], + 'TotalVpcAssets' => ['description' => 'VPC边界防护总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'TotalVpcTraffic' => ['description' => 'VPC边界总流量。包年包月版本对应为VPC边界弹性处理总流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426'], + 'TotalInternetAssets' => ['description' => '互联网边界防护总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '128'], + 'TotalInternetTraffic' => ['description' => '互联网边界总流量。包年包月版本对应为互联网边界弹性处理总流量。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426'], + 'TotalBillTraffic' => ['description' => '包年包月版本对应为弹性处理总出账流量,即减免后的流量大小。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2320274874426'], + 'TotalSdlFreeTraffic' => ['description' => '数据泄漏检测总免费使用流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'TotalSdlBillTraffic' => ['description' => '数据泄漏检测总计费流量。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => '非按量付费用户。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'internal error.', 'description' => '内部错误: 数据库查询错误。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085****\\",\\n \\"Status\\": \\"open\\"\\n}","type":"json"}]', - 'title' => '查询AI流量分析开启状态', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询后付费计费流量总计', 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', - ], - 'DescribeVpcFirewallDomainList' => [ - 'summary' => '查询经过VPC防火墙访问的域名信息列表。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-02-10T02:07:39.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2025-01-15T02:42:54.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-08-29T07:00:04.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-06-05T12:01:08.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficTotal'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalAssets\\": 132,\\n \\"RequestId\\": \\"826B6280-9704-5643-97B1-6B47AC3F027A\\",\\n \\"TotalTraffic\\": 2320274874426,\\n \\"TotalNatAssets\\": 1,\\n \\"TotalNatTraffic\\": 560646279,\\n \\"TotalVpcAssets\\": 3,\\n \\"TotalVpcTraffic\\": 2320274874426,\\n \\"TotalInternetAssets\\": 128,\\n \\"TotalInternetTraffic\\": 2320274874426,\\n \\"TotalBillTraffic\\": 2320274874426,\\n \\"TotalSdlFreeTraffic\\": 0,\\n \\"TotalSdlBillTraffic\\": 0\\n}","type":"json"}]', + ], + 'DescribePostpayUserInternetStatus' => [ + 'summary' => '查询按量付费用户互联网边界开关模块状态。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26418,321 +22315,158 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', - ], + 'abilityTreeCode' => '205830', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8', 'FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', - ], - ], - [ - 'name' => 'PageSize', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '分页参数:每页显示条数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-zsk39m******'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '返回消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - [ - 'name' => 'Domain', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '域名', - 'description' => '域名,仅支持精确查询。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.example.com'."\n", + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '0DC783F1-B3A7-578D-8A63-*****'], + 'Status' => ['description' => '云防火墙互联网边界开关模块状态。取值:'."\n" + ."\n" + .'- **open**:模块已开启。'."\n" + .'- **init**:模块开启中。'."\n" + .'- **closed**:模块未开启。', 'type' => 'string', 'example' => 'open'], + 'UnprotectedDate' => ['description' => '未开启防护的天数。仅当模块开启时,该参数有效。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + ], ], ], - [ - 'name' => 'SrcIP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '访问域名的源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.92.x.x', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询按量付费用户互联网边界开关模块状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '顺序, 枚举值, 可选:asc, desc。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePostpayUserNatStatus' => [ + 'summary' => '查询按量付费用户NAT边界开关模块状态。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '排序字段, 枚举值。'."\n" - ."\n" - .'默认值: TotalBytes。'."\n" - ."\n" - .'可选值: '."\n" - ."\n" - .'TotalBytes:根据总流量排序。'."\n" - ."\n" - .'SessionCount:根据会话数排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '200722', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8', 'FEATUREcfwATUJ57'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'SrcVpcId', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '源端VPC的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-zsk39m******'], ], [ - 'name' => 'IsAITraffic', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '是否仅统计访问AI服务的流量。默认取值为否。取值:'."\n" - ."\n" - .'- **true**:是'."\n" - .'- **false**:否', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - 'DataList' => [ - 'description' => '返回数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '返回数据列表。', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'title' => '域名', - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.a.com', - ], - 'RequestBytes' => [ - 'title' => '入流量', - 'description' => '请求该域名的流量大小。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3214', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '会话数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'GroupName' => [ - 'title' => '规则中的组名称', - 'description' => '该域名所属组织信息。', - 'type' => 'string', - 'example' => 'Google', - ], - 'ResponseBytes' => [ - 'title' => '出流量', - 'description' => '响应流量大小。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4582', - ], - 'Business' => [ - 'description' => '该域名所属业务。', - 'type' => 'string', - 'example' => 'Google', - ], - 'TotalBytes' => [ - 'description' => '总流量大小。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8111126106', - ], - 'ApplicationNameList' => [ - 'description' => '应用协议列表。', - 'type' => 'array', - 'items' => [ - 'description' => '应用协议。', - 'type' => 'string', - 'example' => 'HTTP', - ], - ], - 'SrcIpCount' => [ - 'description' => '访问该域名的源IP数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'SrcVpcCount' => [ - 'description' => '访问该域名的源VPC数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '6B780BD6-282C-51A9-A8E6-59F636******'], + 'Status' => ['description' => '云防火墙NAT边界开关模块状态。取值:'."\n" + ."\n" + .'- **open**:模块已开启。'."\n" + .'- **init**:模块开启中。'."\n" + .'- **closed**:模块未开启。', 'type' => 'string', 'example' => 'open'], + 'UnprotectedDate' => ['description' => '未开启防护的天数。仅当模块开启时,该参数有效。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.a.com\\",\\n \\"RequestBytes\\": 3214,\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"Google\\",\\n \\"ResponseBytes\\": 4582,\\n \\"Business\\": \\"Google\\",\\n \\"TotalBytes\\": 8111126106,\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SrcIpCount\\": 2,\\n \\"SrcVpcCount\\": 1\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询经过VPC防火墙访问的域名信息列表', - 'description' => '### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallDomainRelationList' => [ - 'summary' => '查询经过VPC防火墙访问指定域名的关系列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询按量付费用户NAT边界开关模块状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePostpayUserVpcStatus' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -26744,300 +22478,124 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', - ], + 'abilityTreeCode' => '224805', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-************'], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '开始时间,Unix timestamp, 精确到秒。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - [ - 'name' => 'EndTime', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '结束时间,Unix timestamp, 精确到秒。', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '分页参数:每页显示条数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], + 'Status' => ['description' => '云防火墙VPC边界开关模块状态。取值:'."\n" + ."\n" + .'- **open**:模块已开启。'."\n" + .'- **init**:模块开启中。'."\n" + .'- **closed**:模块未开启。', 'type' => 'string', 'example' => 'open'], + 'UnprotectedDate' => ['description' => '未开启防护的天数。仅当模块开启时,该参数有效。', 'type' => 'integer', 'format' => 'int64', 'example' => '20'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询按量付费用户VPC边界开关模块状态', + 'summary' => '查询按量付费用户VPC边界开关模块状态。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DomainList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com'."\n", + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'SrcIP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '访问的源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.92.x.x', - ], - ], - [ - 'name' => 'SrcVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '访问的源VPC的id。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], - ], - [ - 'name' => 'DstIP', - 'in' => 'query', - 'schema' => [ - 'description' => '被访问的目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '34.136.111.XXX', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"Status\\": \\"open\\",\\n \\"UnprotectedDate\\": 20\\n}","type":"json"}]', + ], + 'DescribePrefixLists' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DstVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '被访问的目的VPC的id。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '157353', + 'abilityTreeNodes' => ['FEATUREcfw4TUC5U'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Sort', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '排序字段, 枚举值。'."\n" - ."\n" - .'默认值: TotalBytes。'."\n" - ."\n" - .'可选值: '."\n" - ."\n" - .'TotalBytes:根据总流量排序。'."\n" - ."\n" - .'SessionCount:根据会话数排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'TotalBytes', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.100.XX.XX'], ], [ - 'name' => 'Order', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '顺序, 枚举值, 可选:asc, desc。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shenzhen'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'DataList' => [ - 'description' => '返回数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '返回数据列表。', - 'type' => 'object', - 'properties' => [ - 'Domain' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'www.example.com', - ], - 'SrcIP' => [ - 'description' => '源IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'DstIP' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'SrcVpcId' => [ - 'description' => '源VPC的Id。', - 'type' => 'string', - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], - 'DstVpcId' => [ - 'description' => '目的VPC的Id。', - 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], - 'SrcVpcName' => [ - 'description' => '源VPC的名称。', - 'type' => 'string', - 'example' => 'vpc-****', - ], - 'DstVpcName' => [ - 'description' => '目的VPC的名称。', - 'type' => 'string', - 'example' => 'vpc-****', - ], - 'SrcRegionId' => [ - 'description' => '源地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'DstRegionId' => [ - 'description' => '目的地域。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '16287823', - ], - 'SessionCount' => [ - 'description' => '会话总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '27', - ], - 'Business' => [ - 'description' => '网站业务。', - 'type' => 'string', - 'example' => 'Google', - ], - 'GroupName' => [ - 'description' => '组织信息。', - 'type' => 'string', - 'example' => 'Google', - ], - 'IpsHitCnt' => [ - 'description' => 'IPS命中数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'FirstTime' => [ - 'description' => '首次发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1767147003', - ], - 'LastTime' => [ - 'description' => '最近发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1767147003', - ], - 'RequestBytes' => [ - 'description' => '请求流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'ResponseBytes' => [ - 'description' => '响应流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - ], - ], - ], - 'DstVpcList' => [ - 'description' => '目的VPC列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '67FD76C2-C493-5815-8107-643FD7AB77C7'], + 'PrefixList' => [ + 'description' => '前缀列表信息组成的数组。', 'type' => 'array', 'items' => [ - 'description' => '目的VPC列表。', + 'description' => '前缀列表信息组成的数组。', 'type' => 'object', 'properties' => [ - 'VpcId' => [ - 'description' => '目的VPC的Id。', - 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], - 'VpcName' => [ - 'description' => '目的VPC的名称。', - 'type' => 'string', - 'example' => 'vpc-****', - ], + 'PrefixListId' => ['description' => '前缀列表ID。', 'type' => 'string', 'example' => 'pl-uf64nco3ujjqchx6aaji'], + 'PrefixListName' => ['description' => '前缀列表的名称。', 'type' => 'string', 'example' => 'participant-name'], + 'Description' => ['description' => '描述。', 'type' => 'string', 'example' => 'TCP_14900-14911'], + 'CreationTime' => ['description' => '前缀列表的创建时间。使用ISO 8601格式yyyy-MM-ddTHH:mm:ssZ表示。', 'type' => 'string', 'example' => '2023-10-16T08:31:06Z'], + 'AssociationCount' => ['description' => '关联资源的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'MaxEntries' => ['description' => '前缀列表支持的最大条目容量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'AddressFamily' => ['description' => '前缀列表的地址族。可能值:'."\n" + ."\n" + .'- IPv4。'."\n" + .'- IPv6。', 'type' => 'string', 'example' => 'IPv4'], ], ], ], @@ -27047,140 +22605,45 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', - ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', - ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'parameters invalid.', 'description' => '参数错误,请检查后重试。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"SrcVpcName\\": \\"vpc-****\\",\\n \\"DstVpcName\\": \\"vpc-****\\",\\n \\"SrcRegionId\\": \\"cn-hangzhou\\",\\n \\"DstRegionId\\": \\"cn-beijing\\",\\n \\"TotalBytes\\": 16287823,\\n \\"SessionCount\\": 27,\\n \\"Business\\": \\"Google\\",\\n \\"GroupName\\": \\"Google\\",\\n \\"IpsHitCnt\\": 10,\\n \\"FirstTime\\": 1767147003,\\n \\"LastTime\\": 1767147003,\\n \\"RequestBytes\\": 10000,\\n \\"ResponseBytes\\": 10000\\n }\\n ],\\n \\"DstVpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"VpcName\\": \\"vpc-****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询经过VPC防火墙访问指定域名的关系列表', - ], - 'UpdateAITrafficAnalysisStatus' => [ - 'summary' => '修改AI流量分析开启状态。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], + 'title' => '查询前缀列表', + 'summary' => '查询前缀列表。', + 'changeSet' => [ + ['createdAt' => '2024-12-17T08:38:49.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrefixLists'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ + 'ramActions' => [ [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '开启状态。取值:'."\n" - ."\n" - .'- **open**:打开'."\n" - .'- **close**:关闭', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810', - ], + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrefixLists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', - 'title' => '修改AI流量分析开启状态', - 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67FD76C2-C493-5815-8107-643FD7AB77C7\\",\\n \\"PrefixList\\": [\\n {\\n \\"PrefixListId\\": \\"pl-uf64nco3ujjqchx6aaji\\",\\n \\"PrefixListName\\": \\"participant-name\\",\\n \\"Description\\": \\"TCP_14900-14911\\",\\n \\"CreationTime\\": \\"2023-10-16T08:31:06Z\\",\\n \\"AssociationCount\\": 2,\\n \\"MaxEntries\\": 20,\\n \\"AddressFamily\\": \\"IPv4\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'ModifyObjectGroupOperation' => [ - 'summary' => '修改对象组操作。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePrepayBillTotal' => [ + 'summary' => '查询包年包月2.0账单概览', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27189,112 +22652,55 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68478', - 'abilityTreeNodes' => [ - 'FEATUREcfwY8M1K1', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '183328', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'tenantRelevance' => 'tenant', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '123.xxx.251.60', - ], - ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '语言, 枚举值。'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ObjectOperation', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '操作加白、取消加白或关注、取消关注。'."\n" - .'取值:'."\n" - ."\n" - .'- **subscribe**:关注。'."\n" - .'- **unsubscribe**:取消关注。'."\n" - .'- **ignore**:加白。'."\n" - .'- **cancelIgnore**:取消加白。', - 'type' => 'string', - 'required' => true, - 'example' => 'ignore', - ], + 'schema' => ['description' => '分页参数:每页显示条数,默认值10。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ - 'name' => 'ObjectType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '外联加白或关注类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **assetsIp**:资产ip。'."\n" - .'- **destinationIp**:目的ip。'."\n" - .'- **destinationPort**:目的端口。'."\n" - .'- **destinationDomain**:目的域名。', - 'type' => 'string', - 'required' => true, - 'example' => 'destinationDomain', - ], + 'schema' => ['description' => '分页查询时的页码。默认值为1。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Direction', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略管控的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **in**:流量从外到内。'."\n" - .'- **out**:流量从内到外。', - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['title' => '任务类型', 'description' => '查询开始时间,使用秒级时间戳。', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ - 'name' => 'ObjectList', + 'name' => 'EndTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '操作对象列表。', - 'type' => 'array', - 'items' => [ - 'description' => '操作对象列表。', - 'type' => 'string', - 'required' => false, - 'example' => '8.25.xxx.55', - ], - 'required' => true, - 'maxItems' => 200, - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1646063922'], ], [ - 'name' => 'Comment', + 'name' => 'BillType', 'in' => 'query', - 'allowEmptyValue' => true, 'schema' => [ - 'description' => '操作的备注信息。', + 'description' => '用户账单类型。取值如下所示:'."\n" + .'- elastic_traffic:弹性流量'."\n" + .'- sdl:敏感数据泄漏检测流量', 'type' => 'string', 'required' => false, - 'example' => 'test', + 'enumValueTitles' => ['sdl' => '敏感数据泄漏检测流量', 'elastic_traffic' => '弹性流量'], + 'example' => 'sdl', + 'enum' => ['sdl', 'elastic_traffic'], ], ], ], @@ -27303,79 +22709,64 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CB32593D************775F41D6ED84', + 'TotalCount' => ['title' => '总数', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-***********'], + 'BillList' => [ + 'description' => '账单列表,以天为维度。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InternetTrafficBandwidth' => ['description' => '互联网流量带宽,单位Gbps。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'NatTrafficBandwidth' => ['description' => 'Nat流量带宽,单位Gbps。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'VpcTrafficBandwidth' => ['description' => 'Vpc流量带宽,单位Gbps。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'OverflowTime' => ['description' => '当天带宽最大(互联网+Vpc+Nat)时对应的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761588300'], + 'DefaultBandwidth' => ['description' => '版本默认带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'ExtensionBandwidth' => ['description' => '拓展带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'TemporaryBandwidth' => ['description' => '临时升级带宽,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'ElasticBandwidth' => ['description' => '弹性带宽值,单位:Mbps。', 'type' => 'integer', 'format' => 'int64', 'example' => '200'], + 'MonthlyRemainingFreeTraffic' => ['description' => '月度敏感数据免费检测流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + 'DailyDetectionTraffic' => ['description' => '当日敏感数据检测流量。', 'type' => 'number', 'format' => 'float', 'example' => '8'], + 'BilledDetectionTraffic' => ['description' => '敏感数据泄漏检测实际出账流量。', 'type' => 'number', 'format' => 'float', 'example' => '5'], + 'StartTime' => ['description' => '当天开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761580800'], + 'EndTime' => ['description' => '当天结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761667200'], + 'DailyOverflowTraffic' => ['description' => '当日弹性总流量,单位GB。', 'type' => 'number', 'format' => 'float', 'example' => '10'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorOutgoingIgnoredReachLimit', - 'errorMessage' => 'outgoing ignored list reach limit', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorObjectOperation', - 'errorMessage' => 'The objectOperation is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectType', - 'errorMessage' => 'The objectType is invalid.', - ], - [ - 'errorCode' => 'ErrorObjectList', - 'errorMessage' => 'The objectList is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorNotPostpayUser', 'errorMessage' => 'not Postpay User.', 'description' => '非按量付费用户。'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB32593D************775F41D6ED84\\"\\n}","type":"json"}]', - 'title' => '修改对象组操作', - ], - 'DescribeRiskEventTopAttackApp' => [ - 'summary' => '查询入侵防御攻击应用排行。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => '查询包年包月账单总览', + 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-***********\\",\\n \\"BillList\\": [\\n {\\n \\"InternetTrafficBandwidth\\": 10,\\n \\"NatTrafficBandwidth\\": 10,\\n \\"VpcTrafficBandwidth\\": 10,\\n \\"OverflowTime\\": 1761588300,\\n \\"DefaultBandwidth\\": 200,\\n \\"ExtensionBandwidth\\": 10,\\n \\"TemporaryBandwidth\\": 0,\\n \\"ElasticBandwidth\\": 200,\\n \\"MonthlyRemainingFreeTraffic\\": 10,\\n \\"DailyDetectionTraffic\\": 8,\\n \\"BilledDetectionTraffic\\": 5,\\n \\"StartTime\\": 1761580800,\\n \\"EndTime\\": 1761667200,\\n \\"DailyOverflowTraffic\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribePrivateDnsDomainNameList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27387,160 +22778,52 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68351', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '226316', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '182.150.22.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'StartTime', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'schema' => ['description' => '实例ID。', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ - 'name' => 'EndTime', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1735784888', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'AttackType', + 'name' => 'DomainName', 'in' => 'query', - 'schema' => [ - 'description' => '攻击应用类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '全部', - 3 => '暴力破解', - '扫描', - ], - 'example' => '3', - ], + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], ], [ - 'name' => 'AttackApp', + 'name' => 'PageNo', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '攻击应用列表。', - 'type' => 'array', - 'items' => [ - 'description' => '攻击应用列表。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'BuyVersion', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '购买版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '高级版', - '企业版', - '旗舰版', - 10 => '按量付费版', - ], - 'example' => '10', - ], + 'schema' => ['description' => '当前页面的页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'C9DDAD29-C6B3-5997-B757-FFB3F1C3****', - ], - 'AttackApps' => [ - 'description' => '攻击应用列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '822B9125-6E1A-551C-8EAF-6E7AE74****'], + 'TotalCount' => ['description' => '私网DNS域名列表总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '132'], + 'PageNo' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '当前页面的数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'DomainNameList' => [ + 'description' => '域名列表。', 'type' => 'array', - 'items' => [ - 'description' => '攻击应用列表。', - 'type' => 'object', - 'properties' => [ - 'AttackCnt' => [ - 'description' => '攻击次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'DropCnt' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '15', - ], - 'App' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'live', - ], - ], - ], + 'items' => ['description' => '域名列表。', 'type' => 'string', 'example' => '[\\"example.com\\"]'], ], ], ], @@ -27548,44 +22831,45 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => '指定的私有DNS不存在'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorPrivateDnsRegionNotAvailable', 'errorMessage' => 'private dns region not available.', 'description' => '私有dns区域不可用。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C9DDAD29-C6B3-5997-B757-FFB3F1C3****\\",\\n \\"AttackApps\\": [\\n {\\n \\"AttackCnt\\": 20,\\n \\"DropCnt\\": 15,\\n \\"App\\": \\"live\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询入侵防御攻击应用排行', - ], - 'DescribeRiskEventTopAttackType' => [ - 'summary' => '查询入侵防御攻击事件排行。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询私网DNS域名列表', + 'summary' => '查询私网DNS域名列表', + 'description' => '接口用于查询需要使用私有DNS终端节点进行域名解析的域名列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsDomainNameList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE74****\\",\\n \\"TotalCount\\": 132,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"DomainNameList\\": [\\n \\"[\\\\\\\\\\\\\\"example.com\\\\\\\\\\\\\\"]\\"\\n ]\\n}","type":"json"}]', + ], + 'DescribePrivateDnsEndpointDetail' => [ + 'summary' => '查询私网DNS终端节点详情', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27594,137 +22878,237 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68353', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '226302', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '140.210.153.XXX', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB0850****'], + 'AliUid' => ['description' => '云防火墙账号的AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '119898001566xxxx'], + 'MemberUid' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '258039427902****'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'FirewallType' => [ + 'description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', + 'type' => 'array', + 'items' => ['description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', 'type' => 'string', 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']'], + ], + 'AccessInstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => 'pd-12345'], + 'AccessInstanceName' => ['description' => '私有实例名称。', 'type' => 'string', 'example' => 'test'], + 'PrivateDnsType' => ['description' => '私有DNS类型。取值:'."\n" + .'- **PrivateZone**'."\n" + .'- **Custom**(默认)', 'type' => 'string', 'example' => 'Custom'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-uf6b5lyul0x******'], + 'PrimaryVSwitchId' => ['description' => '主交换机id。', 'type' => 'string', 'example' => 'vsw-8vbno9zxz8j9qiot****'], + 'PrimaryZoneId' => ['description' => '主vswitch可用区。', 'type' => 'string', 'example' => 'cn-shenzhen-d'], + 'PrimaryVSwitchIp' => ['description' => '主交换机ip。', 'type' => 'string', 'example' => '10.1.1.1'], + 'StandbyVSwitchId' => ['description' => '备交换机id。', 'type' => 'string', 'example' => 'vsw-8vb6jk75wfcwnuq****'], + 'StandbyZoneId' => ['description' => '备vswitch可用区。', 'type' => 'string', 'example' => 'cn-shenzhen-e'], + 'StandbyVSwitchIp' => ['description' => '备交换机ip。', 'type' => 'string', 'example' => '10.1.1.2'], + 'PrimaryDns' => ['description' => '主DNS。', 'type' => 'string', 'example' => '1.1.1.1'], + 'StandbyDns' => ['description' => '备DNS。', 'type' => 'string', 'example' => '1.1.1.2'], + 'Port' => ['description' => '端口号。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'IpProtocol' => ['description' => 'IP协议。取值:'."\n" + .'- **TCP**'."\n" + .'- **UDP**', 'type' => 'string', 'example' => 'tcp'], + 'Status' => ['description' => '实例状态。取值:'."\n" + ."\n" + .'- **creating**:创建中。'."\n" + .'- **deleting**:删除中。'."\n" + .'- **normal**:正常。'."\n" + .'- **updating**:更新中。', 'type' => 'string', 'example' => 'normal'], + 'EndpointId' => ['description' => '终端节点ID。', 'type' => 'string', 'example' => 'ep-1nmi412c28c374****'], + 'TaskId' => ['description' => '任务Id,任务的唯一标识。', 'type' => 'string', 'example' => '132'], + 'GmtCreate' => ['description' => '创建时间(秒,时间戳格式)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1715075765'], ], - 'example' => 'zh', ], ], + ], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询私网DNS终端节点详情', + 'description' => '接口用于查询已创建的私有DNS终端节点详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1670307484', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB0850****\\",\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-8vbno9zxz8j9qiot****\\",\\n \\"PrimaryZoneId\\": \\"cn-shenzhen-d\\",\\n \\"PrimaryVSwitchIp\\": \\"10.1.1.1\\",\\n \\"StandbyVSwitchId\\": \\"vsw-8vb6jk75wfcwnuq****\\",\\n \\"StandbyZoneId\\": \\"cn-shenzhen-e\\",\\n \\"StandbyVSwitchIp\\": \\"10.1.1.2\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 80,\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"Status\\": \\"normal\\",\\n \\"EndpointId\\": \\"ep-1nmi412c28c374****\\",\\n \\"TaskId\\": \\"132\\",\\n \\"GmtCreate\\": 1715075765\\n}","type":"json"}]', + ], + 'DescribePrivateDnsEndpointList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'EndTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '226267', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], + ], + 'parameters' => [ + [ + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1743387943', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => false, 'example' => 'pd-12345'], ], [ - 'name' => 'Direction', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '流量方向。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'in' => '外对内流量', - 'out' => '内对外流量', - ], - 'example' => 'out', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'BuyVersion', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '购买版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '高级版', - '企业版', - '旗舰版', - 10 => '按量付费版', - ], - 'example' => '2', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'AccessInstanceName', + 'in' => 'query', + 'schema' => ['description' => '私有实例名称。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => ['description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', 'type' => 'string', 'required' => false, 'example' => 'vpc'], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => '实例状态。取值:'."\n" + ."\n" + .'- **creating**:创建中。'."\n" + .'- **deleting**:删除中。'."\n" + .'- **normal**:正常。'."\n" + .'- **updating**:更新中。', 'type' => 'string', 'required' => false, 'example' => 'normal'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '135809047715****'], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页面的页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalProtectCnt' => [ - 'description' => '总防护次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '65', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'BECDBF66-91DA-5B40-8B05-0D26541A****', - ], - 'TotalAttackCnt' => [ - 'description' => '总攻击次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '47', - ], - 'TopAttackTypeList' => [ - 'description' => '攻击类型列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090****'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'PageNo' => ['description' => '当前页面的页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '当前页面的页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'AccessInstanceList' => [ + 'description' => '私有实例列表。', 'type' => 'array', 'items' => [ - 'description' => '攻击类型列表。', + 'description' => '私有实例列表。', 'type' => 'object', 'properties' => [ - 'AttackType' => [ - 'description' => '攻击类型。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'AttackCnt' => [ - 'description' => '攻击次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '38', - ], - 'ProtectCnt' => [ - 'description' => '防护次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '42', - ], + 'AliUid' => ['description' => '云防火墙账号的AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '1379490574415****'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1844802493****'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'FirewallType' => [ + 'description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', + 'type' => 'array', + 'items' => ['description' => '云防火墙类型。取值:'."\n" + .'- **internet**'."\n" + .'- **vpc**'."\n" + .'- **nat**', 'type' => 'string', 'example' => '['."\n" + .' "internet",'."\n" + .' "vpc",'."\n" + .' "nat"'."\n" + .']'], + ], + 'AccessInstanceId' => ['description' => '实例ID', 'type' => 'string', 'example' => '123'], + 'AccessInstanceName' => ['description' => '私有实例名称。', 'type' => 'string', 'example' => 'test'], + 'PrivateDnsType' => ['description' => '私有DNS类型。取值:'."\n" + .'- **PrivateZone**'."\n" + .'- **Custom**(默认)', 'type' => 'string', 'example' => 'Custom'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2zelphbaourpun****'], + 'PrimaryDns' => ['description' => '主DNS。', 'type' => 'string', 'example' => '1.1.1.1'], + 'StandbyDns' => ['description' => '备DNS。', 'type' => 'string', 'example' => '1.1.1.2'], + 'Port' => ['description' => '端口号。', 'type' => 'integer', 'format' => 'int32', 'example' => '443'], + 'IpProtocol' => ['description' => 'IP协议。取值:'."\n" + .'- **TCP**'."\n" + .'- **UDP**', 'type' => 'integer', 'format' => 'int32', 'example' => 'tcp'], + 'Status' => ['description' => '实例状态。取值:'."\n" + ."\n" + .'- **creating**:创建中。'."\n" + .'- **deleting**:删除中。'."\n" + .'- **normal**:正常。'."\n" + .'- **updating**:更新中。'."\n" + .'- **abnormal**:异常。', 'type' => 'integer', 'format' => 'int32', 'example' => 'normal'], + 'DomainNameCount' => ['description' => '域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'], + 'TaskId' => ['description' => '任务Id,任务的唯一标识。', 'type' => 'string', 'example' => '123'], + 'GmtCreate' => ['description' => '创建时间(秒,时间戳格式)。', 'type' => 'integer', 'format' => 'int64', 'example' => '1715075765'], ], ], ], @@ -27732,151 +23116,153 @@ ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询私网DNS终端节点列表', + 'summary' => '查询私网DNS终端节点列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalProtectCnt\\": 65,\\n \\"RequestId\\": \\"BECDBF66-91DA-5B40-8B05-0D26541A****\\",\\n \\"TotalAttackCnt\\": 47,\\n \\"TopAttackTypeList\\": [\\n {\\n \\"AttackType\\": 2,\\n \\"AttackCnt\\": 38,\\n \\"ProtectCnt\\": 42\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询入侵防御攻击事件排行', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090****\\",\\n \\"TotalCount\\": 3,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"AccessInstanceList\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"123\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-2zelphbaourpun****\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 443,\\n \\"IpProtocol\\": 0,\\n \\"Status\\": 0,\\n \\"DomainNameCount\\": 3,\\n \\"TaskId\\": \\"123\\",\\n \\"GmtCreate\\": 1715075765\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeRiskEventStatistic' => [ - 'summary' => '查询入侵防御件数据。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribePrivateDnsStatistics' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68350', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'DomainNameCreatedStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '218.76.30.XXX', - ], + 'schema' => ['description' => '域名创建的开始时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1725864531'], ], [ - 'name' => 'Lang', + 'name' => 'DomainNameCreatedEndTime', 'in' => 'query', + 'schema' => ['description' => '域名创建的结束时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1726305596'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'AbnormalPrivateDnsCount' => ['description' => '状态异常的私有DNS实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'CreatedPrivateDnsCount' => ['description' => '已创建私有DNS实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'DomainNameTotalCount' => ['description' => '已配置的域名总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'NewDomainNameTotalCount' => ['description' => '已配置的域名中,所选时间范围内创建的域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'NormalPrivateDnsCount' => ['description' => '状态正常的私有DNS实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '21'], + 'PrivateDnsRegionList' => [ + 'description' => 'DNS区域列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'DNS区域列表。', + 'type' => 'object', + 'properties' => [ + 'DomainNameCount' => ['description' => '当前地域私有DNS已配置的域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'NewDomainNameCount' => ['description' => '当前地域,已配置的域名中,所选时间范围内创建的域名数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PrivateDnsCount' => ['description' => '当前地域私有DNS实例数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'RegionNo' => ['description' => '地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + ], + ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '5716ED52-1B82-5DE1-8695-EFEC453D****'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询私有DNS的统计信息', + 'summary' => '查询私有DNS的统计信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AbnormalPrivateDnsCount\\": 12,\\n \\"CreatedPrivateDnsCount\\": 6,\\n \\"DomainNameTotalCount\\": 5,\\n \\"NewDomainNameTotalCount\\": 2,\\n \\"NormalPrivateDnsCount\\": 21,\\n \\"PrivateDnsRegionList\\": [\\n {\\n \\"DomainNameCount\\": 10,\\n \\"NewDomainNameCount\\": 1,\\n \\"PrivateDnsCount\\": 1,\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"5716ED52-1B82-5DE1-8695-EFEC453D****\\"\\n}","type":"json"}]', + ], + 'DescribeRegionInfo' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68346', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + ], + 'parameters' => [ [ - 'name' => 'EndTime', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1534408267', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.59.XX'], ], [ - 'name' => 'AttackType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '攻击应用类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '全部攻击类型', - 3 => '暴力破解', - '扫描', - ], - 'example' => '1', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AttackApp', + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '攻击应用。', - 'type' => 'array', - 'items' => [ - 'description' => '攻击应用。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "MySQL",'."\n" - .' "Redis",'."\n" - .' "MemCached"'."\n" - .']', - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'BuyVersion', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '购买版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 2 => '高级版', - '企业版', - '旗舰版', - 10 => '按量付费', - ], - 'example' => '10', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], ], 'responses' => [ @@ -27884,75 +23270,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****', - ], - 'AttackIpCnt' => [ - 'description' => '攻击资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AttackAppCnt' => [ - 'description' => '攻击应用数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DropCnt' => [ - 'description' => '拦截次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'AttackCnt' => [ - 'description' => '攻击次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '25E655B0-CAED-53D4-8054-F983126****'], + 'DataList' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据对象。', + 'type' => 'object', + 'properties' => [ + 'RegionName' => ['description' => '地域名称。', 'type' => 'string', 'example' => 'Shanghai'], + 'RegionId' => ['description' => '地域id。', 'type' => 'string', 'example' => 'cn-shanghai'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorQueryEcsByUid', 'errorMessage' => 'An error occurred while querying ECS.', 'description' => '内部错误: 查询ECS错误'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\",\\n \\"AttackIpCnt\\": 10,\\n \\"AttackAppCnt\\": 10,\\n \\"DropCnt\\": 20,\\n \\"AttackCnt\\": 5\\n}","type":"json"}]', - 'title' => '查询入侵防御件数据', - ], - 'DescribeRiskEventPayload' => [ - 'summary' => '获取入侵防御事件的攻击Payload。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取Region信息', + 'summary' => '获取地域信息', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 8,\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"DataList\\": [\\n {\\n \\"RegionName\\": \\"Shanghai\\",\\n \\"RegionId\\": \\"cn-shanghai\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRegionResourceTypeAutoEnable' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -27961,246 +23333,148 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68349', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'autoTest' => true, 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1669533617', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1681288980', - ], - ], - [ - 'name' => 'SrcIP', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的源IP。设置该参数表示查询包含了这条源IP的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.1', - ], - ], - [ - 'name' => 'DstIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的目的IP。设置该参数表示查询包含了这条目的IP的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.2', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - [ - 'name' => 'UUID', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '入侵防御事件的UUID。', - 'type' => 'string', - 'required' => true, - 'example' => 'e62c25e0-1073-46bd-9567-b8f12b3d****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'RegionResourceAutoEnable' => [ + 'description' => '地域内资产类型引流开关', + 'type' => 'object', + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'boolean', 'example' => '{"cn-shenzhen":{"SlbEIP":false,"EIP":true}}', 'description' => '引流开关'], + 'description' => '资产类型引流开关', + ], + ], + ], ], ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **VpcFirewall**:表示VPC边界防火墙'."\n" - .'- **InternetFirewall**(默认):表示互联网边界防火墙', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => '该请求使用与上一个请求相同但不相同的客户端令牌。不要在不同的请求中重复使用客户端令牌,除非请求相同。'], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询地域资产类型默认引流', + 'summary' => '查询地域和资产类型引流设置。', + 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'SrcVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的源VPC ID。设置该参数表示查询包含了这条源VPC ID的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9j2lqyo15udw5nt****', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionResourceAutoEnable\\": {\\n \\"key\\": {\\n \\"key\\": true\\n }\\n }\\n}","type":"json"}]', + ], + 'DescribeResourceTypeAutoEnable' => [ + 'summary' => '查询资产类型默认引流', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'DstVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '要查询的目的VPC ID。设置该参数表示查询包含了这条目的VPC ID的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6jr1klwqb60dyn2****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'PublicIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的公网资产IP。设置该参数表示查询包含了这条资产IP的失陷感知事件。', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.3', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'DstIP' => [ - 'description' => '入侵防御事件的目的IP。', - 'type' => 'string', - 'example' => '203.0.113.1', - ], - 'DstPort' => [ - 'description' => '入侵防御事件的目的Port。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8080', - ], - 'DstVpcId' => [ - 'description' => '入侵防御事件的目的VPC ID。', - 'type' => 'string', - 'example' => 'vpc-bp10w5nb30r4jzfyc****', - ], - 'HitContentType' => [ - 'description' => '命中的类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'HitTo' => [ - 'description' => '命中截止的位置。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '67', - ], - 'ParsedContent' => [ - 'description' => '命中的Payload。', - 'type' => 'string', - 'example' => '2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f', - ], - 'Payload' => [ - 'description' => '入侵防御事件的攻击Payload。', - 'type' => 'string', - 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500', - ], - 'PayloadLen' => [ - 'description' => '入侵防御事件的攻击Payload长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '457', - ], - 'Proto' => [ - 'description' => '入侵防御攻击事件的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**', - 'type' => 'string', - 'example' => 'TCP', - ], - 'RealIp' => [ - 'description' => 'HTTP X-Real-IP字段。', - 'type' => 'string', - 'example' => '203.0.113.3', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '68055BA4-D8BD-5611-AC49-C651E619A12E', - ], - 'SrcIP' => [ - 'description' => '入侵防御事件的源IP。', - 'type' => 'string', - 'example' => '203.0.113.2', - ], - 'SrcPort' => [ - 'description' => '入侵防御事件的源端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '54360', - ], - 'SrcVpcId' => [ - 'description' => '入侵防御事件的源VPC ID。', - 'type' => 'string', - 'example' => 'vpc-t4nlt09olhpazpoeg****', - ], - 'XForwardFor' => [ - 'description' => 'HTTP X-Forwarded-For字段。', - 'type' => 'string', - 'example' => '203.0.113.4', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求id。', 'type' => 'string', 'example' => '7447795A-39AB-52CB-8F92-128DF******'], + 'ResourceTypeAutoEnable' => [ + 'description' => '是否默认开启引流。', + 'type' => 'object', + 'additionalProperties' => ['type' => 'boolean', 'example' => '{"eip":true,"SlbEIP":false}', 'description' => '是否默认开启引流。'], ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallType', - 'errorMessage' => 'The specified firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorSLSLogStore', - 'errorMessage' => 'Failed to get SLS logstore.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询资产类型默认引流', + 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DstIP\\": \\"203.0.113.1\\",\\n \\"DstPort\\": 8080,\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"HitContentType\\": 1,\\n \\"HitTo\\": 67,\\n \\"ParsedContent\\": \\"2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\",\\n \\"PayloadLen\\": 457,\\n \\"Proto\\": \\"TCP\\",\\n \\"RealIp\\": \\"203.0.113.3\\",\\n \\"RequestId\\": \\"68055BA4-D8BD-5611-AC49-C651E619A12E\\",\\n \\"SrcIP\\": \\"203.0.113.2\\",\\n \\"SrcPort\\": 54360,\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"XForwardFor\\": \\"203.0.113.4\\"\\n}","type":"json"}]', - 'title' => '获取入侵防御事件的攻击payload', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7447795A-39AB-52CB-8F92-128DF******\\",\\n \\"ResourceTypeAutoEnable\\": {\\n \\"key\\": true\\n }\\n}","type":"json"}]', ], 'DescribeRiskEventGroup' => [ 'summary' => '获取入侵防御事件的详细数据。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28213,237 +23487,145 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '68348', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):表示中文。'."\n" - .'- **en**:表示英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):表示中文。'."\n" + .'- **en**:表示英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):表示中文。'."\n" - .'- **en**:表示英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):表示中文。'."\n" + .'- **en**:表示英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1534408189', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1534408189'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1534408267', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1534408267'], ], [ 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '入侵防御事件的流量的方向。取值:'."\n" - .'- **in**:表示进方向。'."\n" - .'- **out**:表示出方向。'."\n" - ."\n" - .'>不设置该参数表示查询所有流量方向。', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => '入侵防御事件的流量的方向。取值:'."\n" + .'- **in**:表示进方向。'."\n" + .'- **out**:表示出方向。'."\n" + ."\n" + .'>不设置该参数表示查询所有流量方向。', 'type' => 'string', 'required' => false, 'example' => 'in'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '设置分页查询每页包含多少条结果。'."\n" - ."\n" - .'默认值为**6**,表示每页包含6条结果。最大值为**10**。', - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], + 'schema' => ['description' => '设置分页查询每页包含多少条结果。'."\n" + ."\n" + .'默认值为**6**,表示每页包含6条结果。最大值为**10**。', 'type' => 'string', 'required' => false, 'example' => '6'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '设置分页查询返回第几页数据。'."\n" - .'默认值为**1**,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '设置分页查询返回第几页数据。'."\n" + .'默认值为**1**,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'DataType', 'in' => 'query', - 'schema' => [ - 'description' => '风险事件类型。 '."\n" - .'唯一取值:**session**,表示入侵防御事件。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'session', - ], + 'schema' => ['description' => '风险事件类型。 '."\n" + .'唯一取值:**session**,表示入侵防御事件。'."\n", 'type' => 'string', 'required' => true, 'example' => 'session'], ], [ 'name' => 'RuleSource', 'in' => 'query', - 'schema' => [ - 'description' => '入侵防御事件的检测规则来源。取值:'."\n" - .'- **1**:表示基础防御。'."\n" - .'- **2**:表示虚拟补丁。'."\n" - .'- **4**:表示威胁情报。'."\n" - ."\n" - .'> 不设置该参数表示查询所有规则来源。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '入侵防御事件的检测规则来源。取值:'."\n" + .'- **1**:表示基础防御。'."\n" + .'- **2**:表示虚拟补丁。'."\n" + .'- **4**:表示威胁情报。'."\n" + ."\n" + .'> 不设置该参数表示查询所有规则来源。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'RuleResult', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙的防御状态。取值:'."\n" - .'- **1**:表示告警。'."\n" - .'- **2**:表示拦截。'."\n" - ."\n" - .'> 不设置该参数表示查询所有防御状态。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '云防火墙的防御状态。取值:'."\n" + .'- **1**:表示告警。'."\n" + .'- **2**:表示拦截。'."\n" + ."\n" + .'> 不设置该参数表示查询所有防御状态。'."\n", 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的源IP。设置该参数表示查询包含了这条源IP的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '要查询的源IP。设置该参数表示查询包含了这条源IP的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的目的IP。设置该参数表示查询包含了这条目的IP的入侵防御事件。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '要查询的目的IP。设置该参数表示查询包含了这条目的IP的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ 'name' => 'VulLevel', 'in' => 'query', - 'schema' => [ - 'description' => '入侵防御事件的安全等级。取值:'."\n" - .'- **1**:表示低危。'."\n" - .'- **2**:表示中危。'."\n" - .'- **3**:表示高危。'."\n" - ."\n" - .'> 不设置该参数表示查询所有安全等级。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '入侵防御事件的安全等级。取值:'."\n" + .'- **1**:表示低危。'."\n" + .'- **2**:表示中危。'."\n" + .'- **3**:表示高危。'."\n" + ."\n" + .'> 不设置该参数表示查询所有安全等级。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'FirewallType', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **VpcFirewall**:表示VPC边界防火墙。'."\n" - .'- **InternetFirewall**(默认):表示互联网边界防火墙。', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - ], + 'schema' => ['description' => '云防火墙类型。取值:'."\n" + .'- **VpcFirewall**:表示VPC边界防火墙。'."\n" + .'- **InternetFirewall**(默认):表示互联网边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewall'], ], [ 'name' => 'SrcNetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '源VPC实例ID。'."\n" - .'> 仅在FirewallType为VpcFirewall时,需要设置该参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], + 'schema' => ['description' => '源VPC实例ID。'."\n" + .'> 仅在FirewallType为VpcFirewall时,需要设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6e9a9zyokj2ywuo****'], ], [ 'name' => 'DstNetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '目的VPC实例ID。'."\n" - .'> 仅在FirewallType为VpcFirewall时,需要设置该参数。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], + 'schema' => ['description' => '目的VPC实例ID。'."\n" + .'> 仅在FirewallType为VpcFirewall时,需要设置该参数。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6e9a9zyokj2ywuo****'], ], [ 'name' => 'AttackType', 'in' => 'query', - 'schema' => [ - 'description' => '入侵防御事件的攻击类型。取值:'."\n" - .'- **1**:表示异常连接。'."\n" - .'- **2**:表示命令执行。'."\n" - .'- **3**:表示暴力破解。'."\n" - .'- **4**:表示扫描。'."\n" - .'- **5**:表示其它。'."\n" - .'- **6**:表示信息泄露。'."\n" - .'- **7**:表示Dos攻击。'."\n" - .'- **8**:表示溢出攻击。'."\n" - .'- **9**:表示Web攻击。'."\n" - .'- **10**:表示木马后门。'."\n" - .'- **11**:表示病毒蠕虫。'."\n" - .'- **12**:表示挖矿行为。'."\n" - .'- **13**:表示反弹Shell。'."\n" - ."\n" - .'>不设置该参数表示查询全部攻击类型。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '入侵防御事件的攻击类型。取值:'."\n" + .'- **1**:表示异常连接。'."\n" + .'- **2**:表示命令执行。'."\n" + .'- **3**:表示暴力破解。'."\n" + .'- **4**:表示扫描。'."\n" + .'- **5**:表示其它。'."\n" + .'- **6**:表示信息泄露。'."\n" + .'- **7**:表示Dos攻击。'."\n" + .'- **8**:表示溢出攻击。'."\n" + .'- **9**:表示Web攻击。'."\n" + .'- **10**:表示木马后门。'."\n" + .'- **11**:表示病毒蠕虫。'."\n" + .'- **12**:表示挖矿行为。'."\n" + .'- **13**:表示反弹Shell。'."\n" + ."\n" + .'>不设置该参数表示查询全部攻击类型。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'NoLocation', 'in' => 'query', - 'schema' => [ - 'description' => '是否查询IP地址位置信息。'."\n" - .'- **true**: 表示不查询IP地理位置信息。'."\n" - .'- **false**(默认):表示查询IP地理位置信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'false', - ], + 'schema' => ['description' => '是否查询IP地址位置信息。'."\n" + .'- **true**: 表示不查询IP地理位置信息。'."\n" + .'- **false**(默认):表示查询IP地理位置信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'false'], ], [ 'name' => 'AttackApp', @@ -28453,12 +23635,7 @@ 'schema' => [ 'description' => '被攻击应用的名称的列表,使用`["AttackApp1","AttackApp2"]`格式表示。', 'type' => 'array', - 'items' => [ - 'description' => '被攻击应用的名称的列表,使用`["AttackApp1","AttackApp2"]`格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => 'Redis', - ], + 'items' => ['description' => '被攻击应用的名称的列表,使用`["AttackApp1","AttackApp2"]`格式表示。', 'type' => 'string', 'required' => false, 'example' => 'Redis'], 'required' => false, 'example' => '["MySql","DNS"]', 'maxItems' => 50, @@ -28468,65 +23645,39 @@ [ 'name' => 'BuyVersion', 'in' => 'query', - 'schema' => [ - 'description' => '购买版本。取值:'."\n" - .'- **2**:高级版。'."\n" - .'- **3**:企业版。'."\n" - .'- **4**:旗舰版。'."\n" - .'- **10**:按量付费版。'."\n", - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '购买版本。取值:'."\n" + .'- **2**:高级版。'."\n" + .'- **3**:企业版。'."\n" + .'- **4**:旗舰版。'."\n" + .'- **10**:按量付费版。'."\n", 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], ], [ 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => '根据指定字段排序。取值:'."\n" - ."\n" - .'- **VulLevel**(默认):根据风险等级排序。'."\n" - ."\n" - .'- **LastTime**:根据最近发生时间排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'LastTime', - ], + 'schema' => ['description' => '根据指定字段排序。取值:'."\n" + ."\n" + .'- **VulLevel**(默认):根据风险等级排序。'."\n" + ."\n" + .'- **LastTime**:根据最近发生时间排序。', 'type' => 'string', 'required' => false, 'example' => 'LastTime'], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **asc**:升序。'."\n" - ."\n" - .'- **desc**(默认):降序。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '排序方式。取值:'."\n" + ."\n" + .'- **asc**:升序。'."\n" + ."\n" + .'- **desc**(默认):降序。', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], [ 'name' => 'EventName', 'in' => 'query', - 'schema' => [ - 'description' => '入侵防御事件名称。', - 'type' => 'string', - 'required' => false, - 'example' => '木马后门通信', - ], + 'schema' => ['description' => '入侵防御事件名称。', 'type' => 'string', 'required' => false, 'example' => 'wooden horse rear door communication'], ], [ 'name' => 'IsOnlyPrivateAssoc', 'in' => 'query', - 'schema' => [ - 'description' => '是否仅查询已完成私网溯源的数据。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '是否仅查询已完成私网溯源的数据。', 'type' => 'string', 'required' => false, 'example' => 'true'], ], [ 'name' => 'AttackAppCategory', @@ -28536,12 +23687,7 @@ 'schema' => [ 'description' => '被攻击应用的类别的列表,使用["AttackAppCategory1","AttackAppCategory2"]格式表示。', 'type' => 'array', - 'items' => [ - 'description' => '被攻击应用的类别的列表,使用["AttackAppCategory1","AttackAppCategory2"]格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => 'AI组件', - ], + 'items' => ['description' => '被攻击应用的类别的列表,使用["AttackAppCategory1","AttackAppCategory2"]格式表示。', 'type' => 'string', 'required' => false, 'example' => 'AI Component'], 'required' => false, 'maxItems' => 50, 'minItems' => 0, @@ -28554,17 +23700,8 @@ 'description' => '入侵防御事件的详细数据。', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '风险事件的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558FE7E6EF', - ], + 'TotalCount' => ['description' => '风险事件的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558FE7E6EF'], 'DataList' => [ 'description' => '返回数据列表。', 'type' => 'array', @@ -28572,127 +23709,52 @@ 'description' => '返回数据列表。', 'type' => 'object', 'properties' => [ - 'Direction' => [ - 'description' => '该入侵防御事件的流量方向。取值:'."\n" - .'- **in**:表示进方向。'."\n" - .'- **out**:表示出方向。', - 'type' => 'string', - 'example' => 'in', - ], - 'EventName' => [ - 'description' => '入侵防御事件名称。', - 'type' => 'string', - 'example' => 'Web目录穿越攻击', - ], - 'DstIP' => [ - 'description' => '查询到的目的IP。表示入侵防御事件中包含了这条目的IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'AttackType' => [ - 'description' => '该入侵防御事件的攻击类型。取值:'."\n" - .'- **1**:表示异常连接。'."\n" - .'- **2**:表示命令执行。'."\n" - .'- **3**:表示暴力破解。'."\n" - .'- **4**:表示扫描。'."\n" - .'- **5**:表示其它。'."\n" - .'- **6**:表示信息泄露。'."\n" - .'- **7**:表示Dos攻击。'."\n" - .'- **8**:表示溢出攻击。'."\n" - .'- **9**:表示Web攻击。'."\n" - .'- **10**:表示木马后门。'."\n" - .'- **11**:表示病毒蠕虫。'."\n" - .'- **12**:表示挖矿行为。'."\n" - .'- **13**:表示反弹Shell。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Tag' => [ - 'description' => '重保情报标签。', - 'type' => 'string', - 'example' => '重保情报', - ], - 'RuleId' => [ - 'description' => '本次入侵防御事件的防护规则ID。', - 'type' => 'string', - 'example' => '1000****', - ], - 'EventId' => [ - 'description' => '入侵防御事件ID。', - 'type' => 'string', - 'example' => '2b58efae-4c4b-4d96-9544-a586fb1f****', - ], - 'ResourceType' => [ - 'description' => '该入侵防御事件的公网IP类型。取值:'."\n" - .' - **EIP**:表示弹性公网IP。'."\n" - .' - **EcsPublicIP**:表示ECS公网IP。'."\n" - .' - **EcsEIP**:表示ECS EIP。'."\n" - .' - **NatPublicIP**:表示NAT公网IP。'."\n" - .' - **NatEIP**:表示NAT EIP。'."\n" - .' - **SlbPublicIp**:表示SLB 公网IP。', - 'type' => 'string', - 'example' => 'EcsPublicIP', - ], - 'FirstEventTime' => [ - 'description' => '入侵事件首次发生时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408189', - ], - 'Description' => [ - 'description' => '该入侵防御事件的描述。', - 'type' => 'string', - 'example' => '检测到HTTP请求的Web访问中使用了目录穿越攻击。', - ], - 'EventCount' => [ - 'description' => '入侵防御事件数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'VulLevel' => [ - 'description' => '该入侵防御事件的安全等级。取值:'."\n" - .'- **1**:表示低危。'."\n" - .'- **2**:表示中危。'."\n" - .'- **3**:表示高危。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AttackApp' => [ - 'description' => '被攻击应用的名称。', - 'type' => 'string', - 'example' => 'MySql', - ], - 'RuleSource' => [ - 'description' => '本次入侵防御事件的检测规则来源。取值:'."\n" - .'- **1**:表示基础防御。'."\n" - .'- **2**:表示虚拟补丁。'."\n" - .'- **4**:表示威胁情报。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleResult' => [ - 'description' => '防御状态。取值:'."\n" - .'- **1**:表示告警。'."\n" - .'- **2**:表示拦截。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'SrcIP' => [ - 'description' => '查询到的源IP。表示入侵防御事件中包含了这条源IP。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'LastEventTime' => [ - 'description' => '入侵防御事件上次发生的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1534408267', - ], + 'Direction' => ['description' => '该入侵防御事件的流量方向。取值:'."\n" + .'- **in**:表示进方向。'."\n" + .'- **out**:表示出方向。', 'type' => 'string', 'example' => 'in'], + 'EventName' => ['description' => '入侵防御事件名称。', 'type' => 'string', 'example' => 'Web Directory Traversal Attack'], + 'DstIP' => ['description' => '查询到的目的IP。表示入侵防御事件中包含了这条目的IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'AttackType' => ['description' => '该入侵防御事件的攻击类型。取值:'."\n" + .'- **1**:表示异常连接。'."\n" + .'- **2**:表示命令执行。'."\n" + .'- **3**:表示暴力破解。'."\n" + .'- **4**:表示扫描。'."\n" + .'- **5**:表示其它。'."\n" + .'- **6**:表示信息泄露。'."\n" + .'- **7**:表示Dos攻击。'."\n" + .'- **8**:表示溢出攻击。'."\n" + .'- **9**:表示Web攻击。'."\n" + .'- **10**:表示木马后门。'."\n" + .'- **11**:表示病毒蠕虫。'."\n" + .'- **12**:表示挖矿行为。'."\n" + .'- **13**:表示反弹Shell。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Tag' => ['description' => '重保情报标签。', 'type' => 'string', 'example' => 'test-tag'], + 'RuleId' => ['description' => '本次入侵防御事件的防护规则ID。', 'type' => 'string', 'example' => '1000****'], + 'EventId' => ['description' => '入侵防御事件ID。', 'type' => 'string', 'example' => '2b58efae-4c4b-4d96-9544-a586fb1f****'], + 'ResourceType' => ['description' => '该入侵防御事件的公网IP类型。取值:'."\n" + .' - **EIP**:表示弹性公网IP。'."\n" + .' - **EcsPublicIP**:表示ECS公网IP。'."\n" + .' - **EcsEIP**:表示ECS EIP。'."\n" + .' - **NatPublicIP**:表示NAT公网IP。'."\n" + .' - **NatEIP**:表示NAT EIP。'."\n" + .' - **SlbPublicIp**:表示SLB 公网IP。', 'type' => 'string', 'example' => 'EcsPublicIP'], + 'FirstEventTime' => ['description' => '入侵事件首次发生时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408189'], + 'Description' => ['description' => '该入侵防御事件的描述。', 'type' => 'string', 'example' => 'A directory traversal attack was detected in Web access for HTTP requests'], + 'EventCount' => ['description' => '入侵防御事件数。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'], + 'VulLevel' => ['description' => '该入侵防御事件的安全等级。取值:'."\n" + .'- **1**:表示低危。'."\n" + .'- **2**:表示中危。'."\n" + .'- **3**:表示高危。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'AttackApp' => ['description' => '被攻击应用的名称。', 'type' => 'string', 'example' => 'MySql'], + 'RuleSource' => ['description' => '本次入侵防御事件的检测规则来源。取值:'."\n" + .'- **1**:表示基础防御。'."\n" + .'- **2**:表示虚拟补丁。'."\n" + .'- **4**:表示威胁情报。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RuleResult' => ['description' => '防御状态。取值:'."\n" + .'- **1**:表示告警。'."\n" + .'- **2**:表示拦截。'."\n", 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'SrcIP' => ['description' => '查询到的源IP。表示入侵防御事件中包含了这条源IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'LastEventTime' => ['description' => '入侵防御事件上次发生的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1534408267'], 'ResourcePrivateIPList' => [ 'description' => '该入侵防御事件的私网IP信息,以**RegionNo**、**ResourceInstanceId**、**ResourceInstanceName**和**ResourcePrivateIP**的数组形式返回该IP信息。 '."\n" .'其中,**RegionNo**表示该IP所属的地域ID,**ResourceInstanceId**表示该IP所属的实例ID,**ResourceInstanceName**表示该IP所属的实例名,**ResourcePrivateIP**表示该IP。', @@ -28702,69 +23764,29 @@ .'其中,**RegionNo**表示该IP所属的地域ID,**ResourceInstanceId**表示该IP所属的实例ID,**ResourceInstanceName**表示该IP所属的实例名,**ResourcePrivateIP**表示该IP。', 'type' => 'object', 'properties' => [ - 'ResourceInstanceName' => [ - 'description' => '实例名。', - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'ResourcePrivateIP' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'example' => '10.255.XX.XX', - ], - 'ResourceInstanceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => '地域ID。表示私网IP所属的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'ResourceInstanceName' => ['description' => '实例名。', 'type' => 'string', 'example' => 'LD-shenzhen-zy****'], + 'ResourcePrivateIP' => ['description' => '私网IP。', 'type' => 'string', 'example' => '10.255.XX.XX'], + 'ResourceInstanceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****'], + 'RegionNo' => ['description' => '地域ID。表示私网IP所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], ], 'SrcPrivateIPList' => [ 'description' => '入侵防御事件的源私网IP列表。', 'type' => 'array', - 'items' => [ - 'description' => '入侵防御事件的源私网IP列表。'."\n" - .'>只有出方向会返回该参数的值。', - 'type' => 'string', - 'example' => '["192.168.XX.XX","192.168.XX.XX"]', - ], + 'items' => ['description' => '入侵防御事件的源私网IP列表。'."\n" + .'>只有出方向会返回该参数的值。', 'type' => 'string', 'example' => '["192.168.XX.XX","192.168.XX.XX"]'], ], 'VpcSrcInfo' => [ 'description' => '该入侵防御事件的源VPC信息,该结构体包含**EcsInstanceId**、**EcsInstanceName**、**NetworkInstanceId**、**NetworkInstanceName**和**RegionNo**参数。 '."\n" .'其中,**EcsInstanceId**表示该VPC中的ECS实例ID,**EcsInstanceName**表示该VPC中的ECS实例名,**NetworkInstanceId**表示该VPC实例ID,**NetworkInstanceName**表示该VPC实例名,**RegionNo**表示该VPC实例所属的地域ID。', 'type' => 'object', 'properties' => [ - 'EcsInstanceName' => [ - 'description' => 'ECS实例名。', - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'NetworkInstanceName' => [ - 'description' => 'VPC实例名。', - 'type' => 'string', - 'example' => 'VPC-SH-TX****', - ], - 'NetworkInstanceId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], - 'EcsInstanceId' => [ - 'description' => 'ECS实例ID。', - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => '地域ID。表示源VPC实例所属的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'EcsInstanceName' => ['description' => 'ECS实例名。', 'type' => 'string', 'example' => 'LD-shenzhen-zy****'], + 'NetworkInstanceName' => ['description' => 'VPC实例名。', 'type' => 'string', 'example' => 'VPC-SH-TX****'], + 'NetworkInstanceId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-uf6e9a9zyokj2ywuo****'], + 'EcsInstanceId' => ['description' => 'ECS实例ID。', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****'], + 'RegionNo' => ['description' => '地域ID。表示源VPC实例所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], 'VpcDstInfo' => [ @@ -28772,31 +23794,11 @@ .'其中,**EcsInstanceId**表示该VPC中的ECS实例ID,**EcsInstanceName**表示该VPC中的ECS实例名,**NetworkInstanceId**表示该VPC实例ID,**NetworkInstanceName**表示该VPC实例名,**RegionNo**表示该VPC实例所属的地域ID。', 'type' => 'object', 'properties' => [ - 'EcsInstanceName' => [ - 'description' => 'ECS实例名。', - 'type' => 'string', - 'example' => 'LD-shenzhen-zy****', - ], - 'NetworkInstanceName' => [ - 'description' => 'VPC实例名。', - 'type' => 'string', - 'example' => 'VPC-SH-TX****', - ], - 'NetworkInstanceId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-uf6e9a9zyokj2ywuo****', - ], - 'EcsInstanceId' => [ - 'description' => 'ECS实例ID。', - 'type' => 'string', - 'example' => 'i-wz92jf4scg2zb74p****', - ], - 'RegionNo' => [ - 'description' => '地域ID。表示目的VPC实例所属的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], + 'EcsInstanceName' => ['description' => 'ECS实例名。', 'type' => 'string', 'example' => 'LD-shenzhen-zy****'], + 'NetworkInstanceName' => ['description' => 'VPC实例名。', 'type' => 'string', 'example' => 'VPC-SH-TX****'], + 'NetworkInstanceId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-uf6e9a9zyokj2ywuo****'], + 'EcsInstanceId' => ['description' => 'ECS实例ID。', 'type' => 'string', 'example' => 'i-wz92jf4scg2zb74p****'], + 'RegionNo' => ['description' => '地域ID。表示目的VPC实例所属的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], 'IPLocationInfo' => [ @@ -28804,44 +23806,18 @@ .'其中,**CityId**表示该IP所属的城市ID,**CityName**表示该IP所属的城市名,**CountryId**表示该IP所属的国家ID,**CountryName**表示该IP所属的国家名。', 'type' => 'object', 'properties' => [ - 'CityId' => [ - 'description' => '城市ID。', - 'type' => 'string', - 'example' => '510100', - ], - 'CountryName' => [ - 'description' => '国家名。', - 'type' => 'string', - 'example' => '中国', - ], - 'CityName' => [ - 'description' => '城市名。', - 'type' => 'string', - 'example' => '四川省成都', - ], - 'CountryId' => [ - 'description' => '国家ID。', - 'type' => 'string', - 'example' => 'CN', - ], + 'CityId' => ['description' => '城市ID。', 'type' => 'string', 'example' => '510100'], + 'CountryName' => ['description' => '国家名。', 'type' => 'string', 'example' => 'China'], + 'CityName' => ['description' => '城市名。', 'type' => 'string', 'example' => 'Chengdu'], + 'CountryId' => ['description' => '国家ID。', 'type' => 'string', 'example' => 'CN'], ], ], - 'SrcIPTag' => [ - 'description' => '源IP标签,用于标识是否为云产品回源IP。', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'WAF Back-to-origin Address', - ], + 'SrcIPTag' => ['description' => '源IP标签,用于标识是否为云产品回源IP。', 'type' => 'string', 'deprecated' => true, 'example' => 'WAF Back-to-origin Address'], 'SrcIPTags' => [ 'title' => 'IP标签列表。', 'description' => 'IP标签列表。', 'type' => 'array', - 'items' => [ - 'title' => 'IP标签。', - 'description' => 'IP标签。', - 'type' => 'string', - 'example' => 'Anti-DDoS Back-to-origin Address', - ], + 'items' => ['title' => 'IP标签。', 'description' => 'IP标签。', 'type' => 'string', 'example' => 'Anti-DDoS Back-to-origin Address'], ], ], ], @@ -28852,64 +23828,22 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallType', - 'errorMessage' => 'The specified firewall type is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleSourceError', - 'errorMessage' => 'The rule source is invalid.', - ], - [ - 'errorCode' => 'ErrorRuleResultError', - 'errorMessage' => 'The rule result is invalid.', - ], - [ - 'errorCode' => 'ErrorVulLevelFailed', - 'errorMessage' => 'VulLevel has failed.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'time range invalid.', - ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE7E6EF\\",\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"EventName\\": \\"Web目录穿越攻击\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"AttackType\\": 1,\\n \\"Tag\\": \\"重保情报\\",\\n \\"RuleId\\": \\"1000****\\",\\n \\"EventId\\": \\"2b58efae-4c4b-4d96-9544-a586fb1f****\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"FirstEventTime\\": 1534408189,\\n \\"Description\\": \\"检测到HTTP请求的Web访问中使用了目录穿越攻击。\\",\\n \\"EventCount\\": 100,\\n \\"VulLevel\\": 1,\\n \\"AttackApp\\": \\"MySql\\",\\n \\"RuleSource\\": 1,\\n \\"RuleResult\\": 2,\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"LastEventTime\\": 1534408267,\\n \\"ResourcePrivateIPList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"ResourcePrivateIP\\": \\"10.255.XX.XX\\",\\n \\"ResourceInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"SrcPrivateIPList\\": [\\n \\"[\\\\\\"192.168.XX.XX\\\\\\",\\\\\\"192.168.XX.XX\\\\\\"]\\"\\n ],\\n \\"VpcSrcInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"VpcDstInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"IPLocationInfo\\": {\\n \\"CityId\\": \\"510100\\",\\n \\"CountryName\\": \\"中国\\",\\n \\"CityName\\": \\"四川省成都\\",\\n \\"CountryId\\": \\"CN\\"\\n },\\n \\"SrcIPTag\\": \\"WAF Back-to-origin Address\\",\\n \\"SrcIPTags\\": [\\n \\"Anti-DDoS Back-to-origin Address\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n B14757D0-4640-4B44-AC67-7F558FE7E6EF\\n \\n in\\n WEB目录穿越攻击\\n 192.0.XX.XX\\n 1\\n 重保情报\\n 1000****\\n 2b58efae-4c4b-4d96-9544-a586fb1f****\\n EcsPublicIP\\n 1534408189\\n 检测到HTTP请求的WEB访问中使用了目录穿越攻击。\\n 100\\n 1\\n MySql\\n 1\\n 2\\n 192.0.XX.XX\\n 1534408267\\n \\n LD-shenzhen-zy****\\n 10.255.XX.XX\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n [\\"192.168.XX.XX\\",\\"192.168.XX.XX\\"]\\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n 510100\\n 中国\\n 四川省成都\\n CN\\n \\n \\n","errorExample":""}]', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorFirewallType', 'errorMessage' => 'The specified firewall type is invalid.', 'description' => '无效的防火墙类型'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorRuleSourceError', 'errorMessage' => 'The rule source is invalid.', 'description' => '来源错误'], + ['errorCode' => 'ErrorRuleResultError', 'errorMessage' => 'The rule result is invalid.', 'description' => '无效的rule result'], + ['errorCode' => 'ErrorVulLevelFailed', 'errorMessage' => 'VulLevel has failed.', 'description' => '漏洞等级失败'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'time range invalid.', 'description' => '时间选择错误,请重新选择。'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '获取入侵防御事件的详细数据', 'description' => '本接口用于查询和下载入侵防御详细数据,建议一次查询5~10条。为避免查询超时,如果无需返回IP地理位置信息,请设置参数NoLocation为true。'."\n" ."\n" @@ -28919,17 +23853,39 @@ .'调用API的请求格式,请参见本文**示例**中的请求示例。 ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'DescribeVulnerabilityProtectedList' => [ - 'summary' => '获取云防火墙支持防护的漏洞列表。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-06-04T11:55:37.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-04-25T08:44:17.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-12-04T09:03:31.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-29T07:00:04.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-03-16T08:13:23.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-11-17T09:56:50.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-09-27T08:47:41.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventGroup'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 20,\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558FE7E6EF\\",\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"EventName\\": \\"Web Directory Traversal Attack\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"AttackType\\": 1,\\n \\"Tag\\": \\"test-tag\\",\\n \\"RuleId\\": \\"1000****\\",\\n \\"EventId\\": \\"2b58efae-4c4b-4d96-9544-a586fb1f****\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"FirstEventTime\\": 1534408189,\\n \\"Description\\": \\"A directory traversal attack was detected in Web access for HTTP requests\\",\\n \\"EventCount\\": 100,\\n \\"VulLevel\\": 1,\\n \\"AttackApp\\": \\"MySql\\",\\n \\"RuleSource\\": 1,\\n \\"RuleResult\\": 2,\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"LastEventTime\\": 1534408267,\\n \\"ResourcePrivateIPList\\": [\\n {\\n \\"ResourceInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"ResourcePrivateIP\\": \\"10.255.XX.XX\\",\\n \\"ResourceInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"SrcPrivateIPList\\": [\\n \\"[\\\\\\"192.168.XX.XX\\\\\\",\\\\\\"192.168.XX.XX\\\\\\"]\\"\\n ],\\n \\"VpcSrcInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"VpcDstInfo\\": {\\n \\"EcsInstanceName\\": \\"LD-shenzhen-zy****\\",\\n \\"NetworkInstanceName\\": \\"VPC-SH-TX****\\",\\n \\"NetworkInstanceId\\": \\"vpc-uf6e9a9zyokj2ywuo****\\",\\n \\"EcsInstanceId\\": \\"i-wz92jf4scg2zb74p****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"IPLocationInfo\\": {\\n \\"CityId\\": \\"510100\\",\\n \\"CountryName\\": \\"China\\",\\n \\"CityName\\": \\"Chengdu\\",\\n \\"CountryId\\": \\"CN\\"\\n },\\n \\"SrcIPTag\\": \\"WAF Back-to-origin Address\\",\\n \\"SrcIPTags\\": [\\n \\"Anti-DDoS Back-to-origin Address\\"\\n ]\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n B14757D0-4640-4B44-AC67-7F558FE7E6EF\\n \\n in\\n WEB目录穿越攻击\\n 192.0.XX.XX\\n 1\\n 重保情报\\n 1000****\\n 2b58efae-4c4b-4d96-9544-a586fb1f****\\n EcsPublicIP\\n 1534408189\\n 检测到HTTP请求的WEB访问中使用了目录穿越攻击。\\n 100\\n 1\\n MySql\\n 1\\n 2\\n 192.0.XX.XX\\n 1534408267\\n \\n LD-shenzhen-zy****\\n 10.255.XX.XX\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n [\\"192.168.XX.XX\\",\\"192.168.XX.XX\\"]\\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n LD-shenzhen-zy****\\n VPC-SH-TX****\\n vpc-uf6e9a9zyokj2ywuo****\\n i-wz92jf4scg2zb74p****\\n cn-hangzhou\\n \\n \\n 510100\\n 中国\\n 四川省成都\\n CN\\n \\n \\n","errorExample":""}]', + ], + 'DescribeRiskEventPayload' => [ + 'summary' => '获取入侵防御事件的攻击Payload。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -28941,563 +23897,422 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68447', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68349', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '112.239.XX.XX', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1669533617'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '返回消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1681288980'], ], [ - 'name' => 'Lang', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '返回消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '要查询的源IP。设置该参数表示查询包含了这条源IP的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => '203.0.113.1'], ], [ - 'name' => 'StartTime', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1655778046', - ], + 'schema' => ['description' => '要查询的目的IP。设置该参数表示查询包含了这条目的IP的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => '203.0.113.2'], ], [ - 'name' => 'EndTime', + 'name' => 'UUID', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1646063922', - ], + 'schema' => ['description' => '入侵防御事件的UUID。', 'type' => 'string', 'required' => true, 'example' => 'e62c25e0-1073-46bd-9567-b8f12b3d****'], ], [ - 'name' => 'VulnStatus', + 'name' => 'FirewallType', + 'in' => 'query', + 'schema' => ['description' => '云防火墙类型。取值:'."\n" + .'- **VpcFirewall**:表示VPC边界防火墙'."\n" + .'- **InternetFirewall**(默认):表示互联网边界防火墙', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewall'], + ], + [ + 'name' => 'SrcVpcId', + 'in' => 'query', + 'schema' => ['description' => '要查询的源VPC ID。设置该参数表示查询包含了这条源VPC ID的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9j2lqyo15udw5nt****'], + ], + [ + 'name' => 'DstVpcId', + 'in' => 'query', + 'schema' => ['description' => '要查询的目的VPC ID。设置该参数表示查询包含了这条目的VPC ID的入侵防御事件。', 'type' => 'string', 'required' => false, 'example' => 'vpc-uf6jr1klwqb60dyn2****'], + ], + [ + 'name' => 'PublicIP', 'in' => 'query', + 'schema' => ['description' => '要查询的公网资产IP。设置该参数表示查询包含了这条资产IP的失陷感知事件。', 'type' => 'string', 'required' => false, 'example' => '203.0.113.3'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '漏洞防护状态。取值:'."\n" - ."\n" - .'- **partProtected** :部分防护中'."\n" - .'- **protected** :防护中'."\n" - .'- **unProtected** :未防护', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'protected' => 'protected', - 'unProtected' => 'unProtected', - 'partProtected' => 'partProtected', + 'type' => 'object', + 'properties' => [ + 'DstIP' => ['description' => '入侵防御事件的目的IP。', 'type' => 'string', 'example' => '203.0.113.1'], + 'DstPort' => ['description' => '入侵防御事件的目的Port。', 'type' => 'integer', 'format' => 'int32', 'example' => '8080'], + 'DstVpcId' => ['description' => '入侵防御事件的目的VPC ID。', 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****'], + 'HitContentType' => ['description' => '命中的类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'HitTo' => ['description' => '命中截止的位置。', 'type' => 'integer', 'format' => 'int32', 'example' => '67'], + 'ParsedContent' => ['description' => '命中的Payload。', 'type' => 'string', 'example' => '2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f'], + 'Payload' => ['description' => '入侵防御事件的攻击Payload。', 'type' => 'string', 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500'], + 'PayloadLen' => ['description' => '入侵防御事件的攻击Payload长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '457'], + 'Proto' => ['description' => '入侵防御攻击事件的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**', 'type' => 'string', 'example' => 'TCP'], + 'RealIp' => ['description' => 'HTTP X-Real-IP字段。', 'type' => 'string', 'example' => '203.0.113.3'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '68055BA4-D8BD-5611-AC49-C651E619A12E'], + 'SrcIP' => ['description' => '入侵防御事件的源IP。', 'type' => 'string', 'example' => '203.0.113.2'], + 'SrcPort' => ['description' => '入侵防御事件的源端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '54360'], + 'SrcVpcId' => ['description' => '入侵防御事件的源VPC ID。', 'type' => 'string', 'example' => 'vpc-t4nlt09olhpazpoeg****'], + 'XForwardFor' => ['description' => 'HTTP X-Forwarded-For字段。', 'type' => 'string', 'example' => '203.0.113.4'], ], - 'example' => 'protected', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorFirewallType', 'errorMessage' => 'The specified firewall type is invalid.', 'description' => '无效的防火墙类型'], + ['errorCode' => 'ErrorSLSLogStore', 'errorMessage' => 'Failed to get SLS logstore.', 'description' => '获取SLS logstore失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取入侵防御事件的攻击payload', + 'changeSet' => [ + ['createdAt' => '2024-10-15T03:29:09.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-03-13T11:58:30.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-08-23T03:35:46.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventPayload'], + ], + ], + 'ramActions' => [ [ - 'name' => 'VulnCveName', - 'in' => 'query', - 'schema' => [ - 'description' => '漏洞CVE编号。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'CVE-2022-2992', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DstIP\\": \\"203.0.113.1\\",\\n \\"DstPort\\": 8080,\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"HitContentType\\": 1,\\n \\"HitTo\\": 67,\\n \\"ParsedContent\\": \\"2f636f6d706f7365722f73656e645f656d61696c3f746f3d6d61667740776f66736f7961792675726c3d687474703a2f2f302e302e302e303a31323334352f692f6431366530312f313664622f673670772f\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\",\\n \\"PayloadLen\\": 457,\\n \\"Proto\\": \\"TCP\\",\\n \\"RealIp\\": \\"203.0.113.3\\",\\n \\"RequestId\\": \\"68055BA4-D8BD-5611-AC49-C651E619A12E\\",\\n \\"SrcIP\\": \\"203.0.113.2\\",\\n \\"SrcPort\\": 54360,\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"XForwardFor\\": \\"203.0.113.4\\"\\n}","type":"json"}]', + ], + 'DescribeRiskEventStatistic' => [ + 'summary' => '查询入侵防御件数据。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68350', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP。', 'type' => 'string', 'required' => false, 'example' => '218.76.30.XXX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1534408267'], + ], [ 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => '漏洞防护事件的攻击类型。取值:'."\n" - .'- **1**:异常连接'."\n" - .'- **2**:命令执行'."\n" - .'- **3**:暴力破解'."\n" - .'- **4**:扫描'."\n" - .'- **5**:其它'."\n" - .'- **6**:信息泄露'."\n" - .'- **7**:DoS攻击'."\n" - .'- **8**:溢出攻击'."\n" - .'- **9**:Web攻击'."\n" - .'- **10**:木马后门'."\n" - .'- **11**:病毒蠕虫'."\n" - .'- **12**:挖矿行为'."\n" - .'- **13**:反弹Shell'."\n" + 'description' => '入侵防御事件的攻击类型。取值:'."\n" + .'- **1**:表示异常连接。'."\n" + .'- **2**:表示命令执行。'."\n" + .'- **3**:表示暴力破解。'."\n" + .'- **4**:表示扫描。'."\n" + .'- **5**:表示其它。'."\n" + .'- **6**:表示信息泄露。'."\n" + .'- **7**:表示Dos攻击。'."\n" + .'- **8**:表示溢出攻击。'."\n" + .'- **9**:表示Web攻击。'."\n" + .'- **10**:表示木马后门。'."\n" + .'- **11**:表示病毒蠕虫。'."\n" + .'- **12**:表示挖矿行为。'."\n" + .'- **13**:表示反弹Shell。'."\n" ."\n" .'>不设置该参数表示查询全部攻击类型。', 'type' => 'string', 'required' => false, - 'example' => '13', + 'enumValueTitles' => [1 => '异常连接', '命令执行', '暴力破解', '扫描', '其它', '信息泄露', 'Dos攻击', '溢出攻击', 'Web攻击', '木马后门', '病毒蠕虫', '挖矿行为', '反弹 Shell'], + 'example' => '1', ], ], [ - 'name' => 'VulnType', + 'name' => 'AttackApp', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '漏洞类型。取值:'."\n" - ."\n" - .'- **App**:应用漏洞'."\n" - .'- **emg**:应急漏洞'."\n" - .'- **cms**:Web-CMS漏洞', - 'type' => 'string', + 'description' => '攻击应用。', + 'type' => 'array', + 'items' => ['description' => '攻击应用。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']'], 'required' => false, - 'example' => 'emg', + 'maxItems' => 100, ], ], [ - 'name' => 'VulnLevel', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '漏洞风险等级。取值:'."\n" - ."\n" - .'- **high**:高危'."\n" - .'- **medium**:中危'."\n" - .'- **low**:低危', + 'description' => '购买版本。', 'type' => 'string', 'required' => false, - 'example' => 'medium', + 'enumValueTitles' => [2 => '高级版', '企业版', '旗舰版', 10 => '按量付费'], + 'example' => '10', ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '分页查询时的当前页的页码。默认值为1。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****'], + 'AttackIpCnt' => ['description' => '攻击资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'AttackAppCnt' => ['description' => '攻击应用数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'DropCnt' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'AttackCnt' => ['description' => '攻击次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询入侵防御件数据', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。支持最大取值为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\",\\n \\"AttackIpCnt\\": 10,\\n \\"AttackAppCnt\\": 10,\\n \\"DropCnt\\": 20,\\n \\"AttackCnt\\": 5\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackApp' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortKey', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68351', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '排序依据。唯一取值:**attackCnt**,表示攻击次数。', - 'type' => 'string', - 'required' => false, - 'example' => 'attackCnt', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '182.150.22.XXX'], ], [ - 'name' => 'Order', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '排序方式。取值:'."\n" - ."\n" - .'- **asc**:升序。'."\n" - .'- **desc**(默认):降序。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'desc', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'VulnResource', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '漏洞影响的资产数。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'UserType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '用户类型。唯一取值:**buy**,表示付费型。', - 'type' => 'string', - 'required' => false, - 'example' => 'buy', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'BuyVersion', + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1735784888'], + ], + [ + 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => '云防火墙的版本。按量付费版本填10,其它版本不需要填写。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => '攻击应用类型。', + 'type' => 'string', 'required' => false, - 'example' => '10', + 'enumValueTitles' => ['全部', 3 => '暴力破解', '扫描'], + 'example' => '3', ], ], [ - 'name' => 'MemberUid', + 'name' => 'AttackApp', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', + 'description' => '攻击应用列表。', + 'type' => 'array', + 'items' => ['description' => '攻击应用列表。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']'], 'required' => false, - 'example' => '258039427902****', + 'maxItems' => 100, ], ], [ - 'name' => 'RuleTag', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'title' => '规则标签:AI', - 'description' => '漏洞标签,取值:'."\n" - ."\n" - .' - **AI**: AI组件相关漏洞', + 'description' => '购买版本。', 'type' => 'string', 'required' => false, - 'example' => 'AI', + 'enumValueTitles' => [2 => '高级版', '企业版', '旗舰版', 10 => '按量付费版'], + 'example' => '10', ], ], ], 'responses' => [ 200 => [ - 'headers' => [], 'schema' => [ - 'description' => 'DescribeVulnerabilityProtectedList 应答', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'D355C631-1537-59C5-A56E-F6C5037B99E5', - ], - 'TotalCount' => [ - 'description' => '云防火墙已检测的漏洞总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'ZeroResourceCount' => [ - 'description' => '检测到的漏洞资产数为0的个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VulnList' => [ - 'description' => '漏洞信息集合。', + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'C9DDAD29-C6B3-5997-B757-FFB3F1C3****'], + 'AttackApps' => [ + 'description' => '攻击应用列表。', 'type' => 'array', 'items' => [ - 'description' => '漏洞信息。', + 'description' => '攻击应用列表。', 'type' => 'object', 'properties' => [ - 'VulnName' => [ - 'description' => '漏洞名称。', - 'type' => 'string', - 'example' => 'fastjson <= 1.2.80 反序列化任意代码执行漏洞', - ], - 'AttackType' => [ - 'description' => '漏洞防护事件的攻击类型。取值:'."\n" - .'- **1**:异常连接'."\n" - .'- **2**:命令执行'."\n" - .'- **3**:暴力破解'."\n" - .'- **4**:扫描'."\n" - .'- **5**:其它'."\n" - .'- **6**:信息泄露'."\n" - .'- **7**:DoS攻击'."\n" - .'- **8**:溢出攻击'."\n" - .'- **9**:Web攻击'."\n" - .'- **10**:木马后门'."\n" - .'- **11**:病毒蠕虫'."\n" - .'- **12**:挖矿行为'."\n" - .'- **13**:反弹Shell', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '13', - ], - 'NeedRuleClass' => [ - 'description' => '需要开启的RuleClass等级。取值:'."\n" - ."\n" - .'- **1**(默认):宽松'."\n" - .'- **2**:中等'."\n" - .'- **3**:严格', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'VulnType' => [ - 'description' => '漏洞类型。取值:'."\n" - ."\n" - .'- **emg**:应急漏洞'."\n" - .'- **webcms**:Web-CMS漏洞'."\n" - .'- **app**:应用漏洞', - 'type' => 'string', - 'example' => 'emg', - ], - 'VulnKey' => [ - 'description' => '漏洞编码。', - 'type' => 'string', - 'example' => 'dedecms-archive.helper.php-vul', - ], - 'VulnLevel' => [ - 'description' => '漏洞等级。取值:'."\n" - ."\n" - .'- **high**:高危'."\n" - .'- **medium**:中危'."\n" - .'- **low**:低危', - 'type' => 'string', - 'example' => 'high', - ], - 'NeedOpenBasicRule' => [ - 'description' => '漏洞对应基础防御规则的状态。取值:'."\n" - ."\n" - .'- **true**:开启'."\n" - .'- **false**:关闭'."\n" - .'> 当取值为true时,一键防护时需要设置该漏洞对应的基础防御状态为拦截。', - 'type' => 'boolean', - 'example' => 'false', - ], - 'CveId' => [ - 'description' => 'CVE编号列表。', - 'type' => 'string', - 'example' => '12112131123, 1231123112', - ], - 'FirstTime' => [ - 'description' => '首次发生攻击的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1608687364', - ], - 'BasicRuleIds' => [ - 'description' => '关联的规则ID。', - 'type' => 'string', - 'example' => '12,12', - ], - 'LastTime' => [ - 'description' => '最近一次的攻击时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1608687364', - ], - 'NeedOpenVirtualPatcheUuids' => [ - 'description' => '需要升级为拦截模式的虚拟补丁规则UUID。', - 'type' => 'string', - 'example' => 'UUID-1231231234', - ], - 'NeedOpenBasicRuleUuids' => [ - 'description' => '需要升级为拦截模式的基础防御规则UUID。', - 'type' => 'string', - 'example' => 'UUID-1231231', - ], - 'NeedOpenVirtualPatche' => [ - 'description' => '漏洞对应虚拟补丁的状态。取值:'."\n" - ."\n" - .'- **true**:开启'."\n" - .'- **false**:关闭'."\n" - .'> 当取值为true时,一键防护时需要设置该漏洞对应的虚拟补丁状态为拦截。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'VirtualPatcheIds' => [ - 'description' => '关联的规则ID。', - 'type' => 'string', - 'example' => '13,13', - ], - 'HighlightTag' => [ - 'description' => '该漏洞是否需要重要关注。取值:'."\n" - ."\n" - .'- **0**:不需要'."\n" - .'- **1**:需要', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NeedOpenRunMode' => [ - 'description' => '一键防护时是否需要设置威胁引擎运行模式。取值:'."\n" - ."\n" - .'- **true**:需要'."\n" - ."\n" - .'- **false**:不需要', - 'type' => 'boolean', - 'example' => 'true', - ], - 'VulnStatus' => [ - 'description' => '漏洞防护状态。取值:'."\n" - ."\n" - .'- **partProtected**:部分防护中'."\n" - .'- **protected**:防护中'."\n" - .'- **unProtected**:未防护', - 'type' => 'string', - 'example' => 'protected', - ], - 'AttackCnt' => [ - 'description' => '漏洞的攻击次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'ResourceCnt' => [ - 'description' => '存在漏洞的资产数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MemberUid' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'example' => '119384235299****', - ], - 'ResourceList' => [ - 'description' => '漏洞资产列表。', - 'type' => 'array', - 'items' => [ - 'description' => '漏洞资产。', - 'type' => 'object', - 'properties' => [ - 'ResourceType' => [ - 'description' => '漏洞资产类型。取值:'."\n" - ."\n" - .'- **SLB**'."\n" - .'- **EIP**'."\n" - .'- **ECS**', - 'type' => 'string', - 'example' => 'EIP', - ], - 'Eip' => [ - 'description' => '实例的EIP。', - 'type' => 'string', - 'example' => '203.107.XX.XX', - ], - 'InternetIp' => [ - 'description' => '实例的公网IP。', - 'type' => 'string', - 'example' => '47.96.XX.XX', - ], - 'VulnStatus' => [ - 'description' => '漏洞防护状态。取值:'."\n" - ."\n" - .'- **partProtected**:部分防护中'."\n" - .'- **protected**:防护中'."\n" - .'- **unProtected**:未防护', - 'type' => 'string', - 'example' => 'protected', - ], - 'ResourceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'ResourceName' => [ - 'description' => '实例的名称。', - 'type' => 'string', - 'example' => 'ECS', - ], - 'IntranetIp' => [ - 'description' => '实例的私网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'RegionId' => [ - 'description' => '云防火墙所在的地域ID。'."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], - 'RuleTag' => [ - 'description' => '漏洞标签。', - 'type' => 'string', - 'enumValueTitles' => [ - 'AI' => 'AI相关漏洞', - ], - 'example' => 'AI', - ], + 'AttackCnt' => ['description' => '攻击次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'], + 'DropCnt' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'App' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'live'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorAttackTypeError', - 'errorMessage' => 'attack type invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D355C631-1537-59C5-A56E-F6C5037B99E5\\",\\n \\"TotalCount\\": 5,\\n \\"ZeroResourceCount\\": 1,\\n \\"VulnList\\": [\\n {\\n \\"VulnName\\": \\"fastjson <= 1.2.80 反序列化任意代码执行漏洞\\",\\n \\"AttackType\\": 13,\\n \\"NeedRuleClass\\": 1,\\n \\"VulnType\\": \\"emg\\",\\n \\"VulnKey\\": \\"dedecms-archive.helper.php-vul\\",\\n \\"VulnLevel\\": \\"high\\",\\n \\"NeedOpenBasicRule\\": false,\\n \\"CveId\\": \\"12112131123, 1231123112\\",\\n \\"FirstTime\\": 1608687364,\\n \\"BasicRuleIds\\": \\"12,12\\",\\n \\"LastTime\\": 1608687364,\\n \\"NeedOpenVirtualPatcheUuids\\": \\"UUID-1231231234\\",\\n \\"NeedOpenBasicRuleUuids\\": \\"UUID-1231231\\",\\n \\"NeedOpenVirtualPatche\\": true,\\n \\"VirtualPatcheIds\\": \\"13,13\\",\\n \\"HighlightTag\\": 0,\\n \\"NeedOpenRunMode\\": true,\\n \\"VulnStatus\\": \\"protected\\",\\n \\"AttackCnt\\": 0,\\n \\"ResourceCnt\\": 0,\\n \\"MemberUid\\": \\"119384235299****\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"InternetIp\\": \\"47.96.XX.XX\\",\\n \\"VulnStatus\\": \\"protected\\",\\n \\"ResourceId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"ResourceName\\": \\"ECS\\",\\n \\"IntranetIp\\": \\"192.168.XX.XX\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ],\\n \\"RuleTag\\": \\"AI\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n D355C631-1537-59C5-A56E-F6C5037B99E5\\n 5\\n 1\\n \\n fastjson <= 1.2.80 反序列化任意代码执行漏洞\\n 13\\n 1\\n emg\\n dedecms-archive.helper.php-vul\\n high\\n false\\n 12112131123, 1231123112\\n 1608687364\\n 12,12\\n 1608687364\\n UUID-1231231234\\n UUID-1231231\\n true\\n 13,13\\n 0\\n true\\n protected\\n 0\\n 0\\n \\n EIP\\n 203.107.XX.XX\\n 47.96.XX.XX\\n protected\\n vfw-m5e7dbc4y****\\n ECS\\n 192.168.XX.XX\\n cn-beijing\\n \\n \\n","errorExample":""}]', - 'title' => '获取漏洞防护列表', - ], - 'DescribeUnprotectedVulnTrend' => [ - 'summary' => '查询未保护漏洞趋势。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询入侵防御攻击应用排行', + 'summary' => '查询入侵防御攻击应用排行。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C9DDAD29-C6B3-5997-B757-FFB3F1C3****\\",\\n \\"AttackApps\\": [\\n {\\n \\"AttackCnt\\": 20,\\n \\"DropCnt\\": 15,\\n \\"App\\": \\"live\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackAsset' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -29509,35 +24324,23 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68394', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68352', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '112.15.190.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '125.33.253.XX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -29545,32 +24348,53 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ 'name' => 'StartTime', 'in' => 'query', + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1754273436'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1742955867'], + ], + [ + 'name' => 'AttackType', + 'in' => 'query', + 'schema' => ['description' => '攻击应用类型。', 'type' => 'string', 'required' => false, 'example' => '3'], + ], + [ + 'name' => 'AttackApp', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', + 'description' => '攻击应用列表。', + 'type' => 'array', + 'items' => ['description' => '攻击应用列表。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "MySQL",'."\n" + .' "Redis",'."\n" + .' "MemCached"'."\n" + .']'], 'required' => false, - 'example' => '1740623016', + 'maxItems' => 100, ], ], [ - 'name' => 'EndTime', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', + 'description' => '购买版本。', 'type' => 'string', 'required' => false, - 'example' => '1754878752', + 'enumValueTitles' => [2 => '高级版', '企业版', '旗舰版', 10 => '按量付费版'], + 'example' => '10', ], ], ], @@ -29579,363 +24403,267 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'EndTime' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1731551104', - ], - 'StartTime' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1749434787', - ], - 'CurProtectedCnt' => [ - 'description' => '当前护漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '7', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '05BEF2B5-EAAA-509D-9824-E3C7DC17****', - ], - 'Interval' => [ - 'description' => '时间间隔。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '60', - ], - 'CurUnprotectedCnt' => [ - 'description' => '当前未防护漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'DataList' => [ - 'description' => '返回数据列表。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B9BF7C33-9A23-5096-8568-A3DACAF0****'], + 'Assets' => [ + 'description' => '资产统计信息。', 'type' => 'array', 'items' => [ - 'description' => '返回数据。', + 'description' => '资产统计信息。', 'type' => 'object', 'properties' => [ - 'Time' => [ - 'description' => '漏洞扫描的时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1525833105', - ], - 'ProtectedVulnCnt' => [ - 'description' => '防护漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'UnprotectedVulnCnt' => [ - 'description' => '未防护漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], + 'ResourceInstanceName' => ['description' => '资源实例名。', 'type' => 'string', 'example' => 'test_resource'], + 'ResourceType' => ['description' => '资源实例类型。', 'type' => 'string', 'example' => 'EcsPublicIP'], + 'ResourceInstanceId' => ['description' => '资产实例ID。', 'type' => 'string', 'example' => 'i-8vbdrjrxzt78****'], + 'RegionNo' => ['description' => '地域id。', 'type' => 'string', 'example' => 'cn-chengdu'], + 'Ip' => ['description' => 'IP地址。', 'type' => 'string', 'example' => '10.3.54.XXX'], + 'AttackCnt' => ['description' => '漏洞的攻击次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'DropCnt' => ['description' => '未识别次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'InternalError', 'errorMessage' => 'The request processing has failed due to some unknown error.', 'description' => '由于某些未知错误,请求处理失败。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1731551104,\\n \\"StartTime\\": 1749434787,\\n \\"CurProtectedCnt\\": 7,\\n \\"RequestId\\": \\"05BEF2B5-EAAA-509D-9824-E3C7DC17****\\",\\n \\"Interval\\": 60,\\n \\"CurUnprotectedCnt\\": 8,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1525833105,\\n \\"ProtectedVulnCnt\\": 3,\\n \\"UnprotectedVulnCnt\\": 2\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询未保护漏洞趋势', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取top风险事件资产', + 'summary' => '获取Top风险事件资产', 'description' => '## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeInvadeEventList' => [ - 'summary' => '查询云防火墙失陷感知事件的信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B9BF7C33-9A23-5096-8568-A3DACAF0****\\",\\n \\"Assets\\": [\\n {\\n \\"ResourceInstanceName\\": \\"test_resource\\",\\n \\"ResourceType\\": \\"EcsPublicIP\\",\\n \\"ResourceInstanceId\\": \\"i-8vbdrjrxzt78****\\",\\n \\"RegionNo\\": \\"cn-chengdu\\",\\n \\"Ip\\": \\"10.3.54.XXX\\",\\n \\"AttackCnt\\": 12,\\n \\"DropCnt\\": 8\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskEventTopAttackType' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68290', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68353', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], ], 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - ], - ], [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'title' => '源IP', - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.210.153.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', - 'default' => 'zh', - 'title' => '语言', - 'enum' => [ - 'zh', - 'en', - ], ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'title' => '开始时间', - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。不填表示以最近30天开始查询。', - 'type' => 'string', - 'required' => false, - 'example' => '1656750960', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1670307484'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'title' => '结束时间', - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。不填表示以当前时间结束。', - 'type' => 'string', - 'required' => false, - 'example' => '1656837360', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1743387943'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'title' => '当前页', - 'description' => '设置分页查询返回第几页数据。'."\n" - ."\n" - .'默认值为1,表示返回第1页数据。', + 'description' => '流量方向。', 'type' => 'string', - 'required' => false, - 'example' => '1', + 'required' => true, + 'enumValueTitles' => ['in' => '外对内流量', 'out' => '内对外流量'], + 'example' => 'out', ], ], [ - 'name' => 'PageSize', + 'name' => 'BuyVersion', 'in' => 'query', 'schema' => [ - 'title' => '每页多少条', - 'description' => '设置分页查询每页包含多少条结果。'."\n" - ."\n" - .'默认值为6,表示每页包含6条结果。最大值为10。', + 'description' => '购买版本。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => [2 => '高级版', '企业版', '旗舰版', 10 => '按量付费版'], + 'example' => '2', ], ], - [ - 'name' => 'AssetsInstanceId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '实例ID', - 'description' => '实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ins_1321_asedb_****', + 'type' => 'object', + 'properties' => [ + 'TotalProtectCnt' => ['description' => '总防护次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '65'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'BECDBF66-91DA-5B40-8B05-0D26541A****'], + 'TotalAttackCnt' => ['description' => '总攻击次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '47'], + 'TopAttackTypeList' => [ + 'description' => '攻击类型列表。', + 'type' => 'array', + 'items' => [ + 'description' => '攻击类型列表。', + 'type' => 'object', + 'properties' => [ + 'AttackType' => ['description' => '入侵防御事件的攻击类型。取值:'."\n" + .'- **1**:表示异常连接。'."\n" + .'- **2**:表示命令执行。'."\n" + .'- **3**:表示暴力破解。'."\n" + .'- **4**:表示扫描。'."\n" + .'- **5**:表示其它。'."\n" + .'- **6**:表示信息泄露。'."\n" + .'- **7**:表示Dos攻击。'."\n" + .'- **8**:表示溢出攻击。'."\n" + .'- **9**:表示Web攻击。'."\n" + .'- **10**:表示木马后门。'."\n" + .'- **11**:表示病毒蠕虫。'."\n" + .'- **12**:表示挖矿行为。'."\n" + .'- **13**:表示反弹Shell。'."\n" + ."\n" + .'>不设置该参数表示查询全部攻击类型。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'AttackCnt' => ['description' => '攻击次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '38'], + 'ProtectCnt' => ['description' => '防护次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '42'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询入侵防御攻击事件排行', + 'summary' => '查询入侵防御攻击事件排行。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AssetsInstanceName', - 'in' => 'query', - 'schema' => [ - 'title' => '实例名称', - 'description' => '实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'ECS_test', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalProtectCnt\\": 65,\\n \\"RequestId\\": \\"BECDBF66-91DA-5B40-8B05-0D26541A****\\",\\n \\"TotalAttackCnt\\": 47,\\n \\"TopAttackTypeList\\": [\\n {\\n \\"AttackType\\": 2,\\n \\"AttackCnt\\": 38,\\n \\"ProtectCnt\\": 42\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeRiskSecurityGroupDetail' => [ + 'summary' => '获取风险安全组详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'IsIgnore', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => true, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68354', + 'abilityTreeNodes' => ['FEATUREcfw9GLVIS'], + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'title' => '是否忽略', - 'description' => '是否已忽略该失陷感知。取值:'."\n" - ."\n" - .'- **true**:已忽略。'."\n" - ."\n" - .'- **false**:未忽略。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '220.189.117.XXX'], ], [ - 'name' => 'AssetsIP', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '资产IP', - 'description' => '受影响的资产IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.0.XX.XX', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EventKey', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'title' => '事件key', - 'description' => '失陷感知事件的ID。', - 'type' => 'string', - 'required' => false, - 'example' => '69d189e2-ec17-4676-a2fe-02969234****', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EventName', + 'name' => 'RuleUuid', 'in' => 'query', - 'schema' => [ - 'title' => '事件名称', - 'description' => '失陷感知事件的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'event_test', - ], + 'schema' => ['description' => '规则uuid。', 'type' => 'string', 'required' => false, 'example' => '3b1adf8d-1949-4c8e-809b-fb92ee11****'], ], [ - 'name' => 'EventUuid', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'title' => '事件UUID', - 'description' => '失陷感知事件的UUID。', - 'type' => 'string', - 'required' => false, - 'example' => 'fadd-dfdd-****', - ], + 'schema' => ['description' => '安全组实例ID。', 'type' => 'string', 'required' => false, 'example' => 'sg-2vc0p803vgxumn6r****'], ], [ - 'name' => 'MemberUid', + 'name' => 'InstanceName', 'in' => 'query', - 'schema' => [ - 'title' => '成员账号UID', - 'description' => '成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], + 'schema' => ['description' => '实例名称。', 'type' => 'string', 'required' => false, 'example' => 'test-instance-name'], ], [ - 'name' => 'ProcessStatusList', + 'name' => 'PageNo', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '处理状态列表', - 'description' => '处理状态列表。', - 'type' => 'array', - 'items' => [ - 'title' => '处理状态', - 'description' => '失陷感知事件处理状态。取值:'."\n" - ."\n" - .'- **0**:未处理。'."\n" - .'- **20**:已解决。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - 'default' => '0', - 'enum' => [], - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => '页码。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'RiskLevel', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'title' => '风险等级', - 'description' => '风险评估等级。', - 'type' => 'array', - 'items' => [ - 'title' => '风险等级值', - 'description' => '风险评估等级。取值:'."\n" - ."\n\n" - .'- **1**:低危。'."\n" - .'- **2**:中危。'."\n" - .'- **3**:高危。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '3', - 'enum' => [], - ], - 'required' => false, - 'maxItems' => 10, - ], + 'schema' => ['description' => '页数。', 'type' => 'string', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'RegionId', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ @@ -29943,255 +24671,85 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'LowLevelPercent' => [ - 'title' => '低风险等级比例', - 'description' => '低风险等级比例。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'MiddleLevelPercent' => [ - 'title' => '中风险等级比例', - 'description' => '中风险等级比例。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'HighLevelPercent' => [ - 'title' => '高风险等级比例', - 'description' => '高风险等级比例。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - 'PageInfo' => [ - 'title' => '分页信息', - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'title' => '当前页', - 'description' => '分页查询时,显示的当前页的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => '每页大小', - 'description' => '分页查询时,显示的每页数据的最大条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'title' => '总数', - 'description' => '失陷感知事件的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '40', - ], - ], - ], - 'EventList' => [ - 'title' => '事件列表', - 'description' => '失陷感知事件列表。', + 'PageNo' => ['description' => '页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '33C94306-2064-5A06-9645-01419967****'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RiskSgDetail' => [ + 'description' => '风险安全组详情。', 'type' => 'array', 'items' => [ + 'description' => '风险安全组详情。', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'title' => '风险等级', - 'description' => '风险评估等级。取值:'."\n" - ."\n\n" - .'- **1**:低危。'."\n" - .'- **2**:中危。'."\n" - .'- **3**:高危。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - 'enum' => [], - ], - 'EventName' => [ - 'title' => '事件名称', - 'description' => '失陷感知事件的名称。', - 'type' => 'string', - 'example' => 'event_test', - ], - 'EventKey' => [ - 'title' => 'CVE编号', - 'description' => '失陷感知事件的ID。', - 'type' => 'string', - 'example' => '69d189e2-ec17-4676-a2fe-02969234****', - ], - 'EventUuid' => [ - 'title' => '事件UUID', - 'description' => '失陷感知事件的UUID。', - 'type' => 'string', - 'example' => 'fadd-dfdd-****', - ], - 'MemberUid' => [ - 'title' => '成员账号UID', - 'description' => '成员账号UID。', - 'type' => 'string', - 'example' => '135809047715****', - ], - 'AssetsType' => [ - 'title' => '资产类型', - 'description' => '受影响的资产类型。取值:'."\n" - ."\n" - .'- **BastionHostIP**:堡垒机出口IP。'."\n" - .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" - .'- **EcsEIP**:ECS EIP。'."\n" - .'- **EcsPublicIP**:ECS公网IP。'."\n" - .'- **EIP**:弹性公网IP。'."\n" - .'- **EniEIP**:弹性网卡EIP。'."\n" - .'- **NatEIP**:NAT EIP。'."\n" - .'- **SlbEIP**:SLB EIP。'."\n" - .'- **SlbPublicIP**:SLB公网IP。'."\n" - .'- **NatPublicIP**:NAT公网IP。'."\n" - .'- **HAVIP**:高可用虚拟IP。', - 'type' => 'string', - 'example' => 'EcsPublicIp', - ], - 'FirstTime' => [ - 'title' => '首次出现时间', - 'description' => '失陷感知事件首次出现的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1656750960', - ], - 'EventSrc' => [ - 'title' => '事件来源', - 'description' => '失陷感知事件的来源。取值:'."\n" - ."\n" - .'- **IPS**:入侵防御事件。'."\n" - ."\n" - .'- **offline**:离线事件。', - 'type' => 'string', - 'example' => 'IPS', - ], - 'PrivateIP' => [ - 'title' => '私网IP', - 'description' => '受影响资产的私网IP。', - 'type' => 'string', - 'example' => '192.168.XX.XX', - ], - 'AssetsInstanceName' => [ - 'title' => '资产名称', - 'description' => '受影的响资产名称。', - 'type' => 'string', - 'example' => 'ECS_test', - ], - 'LastTime' => [ - 'title' => '最近一次时间', - 'description' => '失陷感知事件最近一次出现的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1656837360', - ], - 'PublicIpType' => [ - 'title' => '公开类型', - 'description' => '受影响的资产类型。取值:'."\n" - ."\n" - .'- **BastionHostIP**:堡垒机出口IP。'."\n" - .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" - .'- **EcsEIP**:ECS EIP。'."\n" - .'- **EcsPublicIP**:ECS公网IP。'."\n" - .'- **EIP**:弹性公网IP。'."\n" - .'- **EniEIP**:弹性网卡EIP。'."\n" - .'- **NatEIP**:NAT EIP。'."\n" - .'- **SlbEIP**:SLB EIP。'."\n" - .'- **SlbPublicIP**:SLB公网IP。'."\n" - .'- **NatPublicIP**:NAT公网IP。'."\n" - .'- **HAVIP**:高可用虚拟IP。', - 'type' => 'string', - 'example' => 'EcsPublicIp', - ], - 'IsIgnore' => [ - 'title' => '是否忽略', - 'description' => '是否忽略失陷感知事件。取值:'."\n" - ."\n" - .'- **true**:已忽略。'."\n" - ."\n" - .'- **false**:未忽略。'."\n", - 'type' => 'boolean', - 'example' => 'true', - 'default' => 'false', - ], - 'PublicIP' => [ - 'title' => '公网IP', - 'description' => '受影响资产的公网IP。', - 'type' => 'string', - 'example' => '198.51.XX.XX', - ], - 'ProcessStatus' => [ - 'title' => '处理状态', - 'description' => '失陷感知事件的处理状态。取值:'."\n" - ."\n" - .'- **0**:未处理。'."\n" - .'- **20**:已解决。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-8vbuzirdl3w1r7exw****'], + 'RiskLevel' => ['description' => '规则风险等级。', 'type' => 'string', 'example' => 'high'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'."\n"], + 'InstanceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test-instance-name'], + 'EcsCount' => ['description' => '关联ECS数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'InstanceId' => ['description' => '安全组实例ID。', 'type' => 'string', 'example' => 'sg-2vc0p803vgxumn6r****'], + 'EcsInfo' => [ + 'description' => 'ECS信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'ECS信息。', + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => 'ECS公网IP。', 'type' => 'string', 'example' => '47.107.141.XXX'], + 'EcsInstanceName' => ['description' => 'ECS实例名称。', 'type' => 'string', 'example' => 'tyf_test'], + 'PrivateIp' => ['description' => 'ECS私网IP。', 'type' => 'string', 'example' => '172.24.121.XXX'], + 'EcsInstanceId' => ['description' => 'ECS实例ID。', 'type' => 'string', 'example' => 'i-bp1gra23yai47d8e****'], + ], + ], ], - 'AssetsInstanceId' => [ - 'title' => '资产实例ID', - 'description' => '受影响的资产实例ID。', - 'type' => 'string', - 'example' => 'i-ECS****', + 'RuleInfo' => [ + 'description' => '风险安全组规则信息。', + 'type' => 'array', + 'items' => [ + 'description' => '风险安全组规则信息。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => ['description' => '规则风险等级。', 'type' => 'string', 'example' => 'high'], + 'RuleStatus' => ['description' => '规则状态。', 'type' => 'string', 'example' => 'enable'], + 'Suggestion' => ['description' => '优化建议。', 'type' => 'string', 'example' => 'test'], + 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'test'], + 'RuleUuid' => ['description' => '规则uuid。', 'type' => 'string', 'example' => '4c1e72c9-6690-408b-9048-065f0f10****'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'test'], + ], + ], ], ], ], ], ], + 'description' => '', ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorUnMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'title' => '获取风险安全组详情(废弃)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskSecurityGroupDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"LowLevelPercent\\": 20,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"MiddleLevelPercent\\": 40,\\n \\"HighLevelPercent\\": 40,\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 40\\n },\\n \\"EventList\\": [\\n {\\n \\"RiskLevel\\": 1,\\n \\"EventName\\": \\"event_test\\",\\n \\"EventKey\\": \\"69d189e2-ec17-4676-a2fe-02969234****\\",\\n \\"EventUuid\\": \\"fadd-dfdd-****\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"AssetsType\\": \\"EcsPublicIp\\",\\n \\"FirstTime\\": 1656750960,\\n \\"EventSrc\\": \\"IPS\\",\\n \\"PrivateIP\\": \\"192.168.XX.XX\\",\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"LastTime\\": 1656837360,\\n \\"PublicIpType\\": \\"EcsPublicIp\\",\\n \\"IsIgnore\\": true,\\n \\"PublicIP\\": \\"198.51.XX.XX\\",\\n \\"ProcessStatus\\": 20,\\n \\"AssetsInstanceId\\": \\"i-ECS****\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 40\\n 40\\n \\n 1\\n 10\\n 40\\n \\n \\n 1\\n event_test\\n 69d189e2-ec17-4676-a2fe-02969234****\\n fadd-dfdd-****\\n 135809047715****\\n EcsPublicIp\\n 1656750960\\n IPS\\n 192.168.XX.XX\\n ECS_test\\n 1656837360\\n EcsPublicIp\\n true\\n 198.51.XX.XX\\n 20\\n i-ECS****\\n \\n","errorExample":""}]', - 'title' => '查询云防火墙失陷感知事件的信息', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"33C94306-2064-5A06-9645-01419967****\\",\\n \\"TotalCount\\": 5,\\n \\"RiskSgDetail\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RegionNo\\": \\"cn-shanghai\\\\n\\",\\n \\"InstanceName\\": \\"test-instance-name\\",\\n \\"EcsCount\\": 10,\\n \\"InstanceId\\": \\"sg-2vc0p803vgxumn6r****\\",\\n \\"EcsInfo\\": [\\n {\\n \\"PublicIp\\": \\"47.107.141.XXX\\",\\n \\"EcsInstanceName\\": \\"tyf_test\\",\\n \\"PrivateIp\\": \\"172.24.121.XXX\\",\\n \\"EcsInstanceId\\": \\"i-bp1gra23yai47d8e****\\"\\n }\\n ],\\n \\"RuleInfo\\": [\\n {\\n \\"RiskLevel\\": \\"high\\",\\n \\"RuleStatus\\": \\"enable\\",\\n \\"Suggestion\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleUuid\\": \\"4c1e72c9-6690-408b-9048-065f0f10****\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribeInvadeEventNameList' => [ - 'summary' => '获取漏洞名称列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlEventDetail' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30200,154 +24758,110 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68291', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '36.112.73.XXX', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1753755251'], ], [ - 'name' => 'StartTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1757620800', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1738780437', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'SrcIp', + 'in' => 'query', + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '121.40.84.XXX'], + ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX'], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => '唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => '326ce10e-5e17-4235-879a-6f2502cd****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6ABAA264-E7B5-5D66-8FC3-9253100****', - ], - 'NameList' => [ - 'description' => '漏洞名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => '漏洞名称列表。', - 'type' => 'string', - 'example' => '[]', - ], - ], - 'EventNameList' => [ - 'description' => '异常事件名称列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****'], + 'SdlEventDetailList' => [ + 'description' => '事件列表。', 'type' => 'array', 'items' => [ - 'description' => '异常事件名称列表。', + 'description' => '事件列表。', 'type' => 'object', 'properties' => [ - 'EventKey' => [ - 'description' => '漏洞事件唯一标识。', - 'type' => 'string', - 'example' => 'CActivity', - ], - 'EventName' => [ - 'description' => '漏洞事件名称。', - 'type' => 'string', - 'example' => '可疑中控通信', - ], + 'EventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => 'event-test'], + 'SensitiveDataCnt' => ['description' => '敏感数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SensitiveLevel' => ['description' => '敏感等级。', 'type' => 'string', 'example' => 'S3'], + 'SensitiveType' => ['description' => '敏感数据类型。', 'type' => 'string', 'example' => 'Identity Card'], + 'StartTime' => ['description' => '发生时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753928907'], ], ], ], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '8'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询数据泄露事件详情', + 'summary' => '查询数据泄露事件详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6ABAA264-E7B5-5D66-8FC3-9253100****\\",\\n \\"NameList\\": [\\n \\"[]\\"\\n ],\\n \\"EventNameList\\": [\\n {\\n \\"EventKey\\": \\"CActivity\\",\\n \\"EventName\\": \\"可疑中控通信\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取漏洞名称列表', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"EventName\\": \\"event-test\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"Identity Card\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]', ], - 'DescribeInvadeEventStatistic' => [ - 'summary' => '获取漏洞事件统计。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlEventList' => [ + 'summary' => '查询数据泄露事件列表。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30356,149 +24870,170 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68293', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '246035', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问者源IP地址。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '52.130.200.XXX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1759198702'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1756433077'], ], [ - 'name' => 'StartTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1746151757', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EndTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1774713600', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'SrcIp', + 'in' => 'query', + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '172.16.0.XXX'], + ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX'], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => '唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****'], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => '区域。', 'type' => 'string', 'required' => false, 'example' => 'Zhangjiakou'], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'schema' => ['description' => '排序。', 'type' => 'string', 'required' => false, 'example' => 'TotalBytes'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => '排序方式。', 'type' => 'string', 'required' => false, 'example' => 'desc'], + ], + [ + 'name' => 'OnlyAiEvt', + 'in' => 'query', + 'schema' => ['description' => '只有AI事件。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'SensitiveLevel', + 'in' => 'query', + 'schema' => ['description' => '敏感数据等级。', 'type' => 'string', 'required' => false, 'example' => 'S3'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'LowOpenEventCnt' => [ - 'description' => '低危开放漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'TotalOpenEventCnt' => [ - 'description' => '所有开放漏洞总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '1530A01A-6901-5B72-AB88-28B6E96B****', - ], - 'MiddleOpenEventCnt' => [ - 'description' => '中危开放漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'HighOpenEventCnt' => [ - 'description' => '高危开放漏洞数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'RequestId' => ['title' => 'Id of the request', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****'], + 'SdlEventDetailList' => [ + 'description' => '数据泄露事件列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据泄露事件列表。', + 'type' => 'object', + 'properties' => [ + 'AssetName' => ['description' => '资产名称。', 'type' => 'string', 'example' => 'test'], + 'AssetPrivateIp' => ['description' => '资产私有IP。', 'type' => 'string', 'example' => '47.100.102.XXX'], + 'AssetType' => ['description' => '资产类型。', 'type' => 'string', 'example' => 'EIP'], + 'CategoryName' => ['description' => '类型名称。', 'type' => 'string', 'example' => 'Trusted'], + 'CategoryClassId' => ['description' => '情报标签的分类。取值:'."\n" + ."\n" + .'- **Suspicious**:可疑'."\n" + .'- **Malicious**:恶意'."\n" + .'- **Trusted**:信任', 'type' => 'string', 'example' => 'Trusted'], + 'CityId' => ['description' => '城市ID。', 'type' => 'string', 'example' => '000'], + 'CountryId' => ['description' => '国家ID。', 'type' => 'string', 'example' => 'cn'], + 'DstIp' => ['description' => '目的IP。', 'type' => 'string', 'example' => '106.14.74.XXX'], + 'DstPortList' => ['description' => '目的端口。', 'type' => 'string', 'example' => '22'], + 'EventCnt' => ['description' => '事件数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'EventLevel' => ['description' => '事件风险等级。', 'type' => 'string', 'example' => 'high'], + 'EventName' => ['description' => '事件名称。', 'type' => 'string', 'example' => 'Sensitive ID card data leakage'], + 'FirstTime' => ['description' => '首次发生时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1735697768'], + 'LastTime' => ['description' => '最近发生时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1738636157'], + 'LocationName' => ['description' => '目的IP所属地区名。', 'type' => 'string', 'example' => 'Yuhang District, Hangzhou City, Zhejiang Province'], + 'Payload' => ['description' => '入侵防御事件的攻击Payload。', 'type' => 'string', 'example' => '3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500'], + 'ProtoList' => ['description' => '协议。', 'type' => 'string', 'example' => 'TCP'], + 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'SensitiveDataCnt' => ['description' => '敏感数据量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'SensitiveDataList' => [ + 'description' => '敏感数据列表。', + 'type' => 'array', + 'items' => ['description' => '敏感数据列表。', 'type' => 'string', 'example' => 'hege***********.com'], + ], + 'SensitiveLevel' => ['description' => '敏感数据登记。', 'type' => 'string', 'example' => 'S3'], + 'SensitiveType' => ['description' => '敏感数据类型。', 'type' => 'string', 'example' => 'Identity Card'], + 'SrcIp' => ['description' => '源IP。', 'type' => 'string', 'example' => '104.28.226.XX'], + 'SrcPortList' => ['description' => '源端口。', 'type' => 'string', 'example' => '443'], + 'TrafficBytes' => ['description' => '流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'Uuid' => ['description' => '唯一标识。', 'type' => 'string', 'example' => 'b91035dc-8be4-411d-bec5-e6320af9****'], + 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'ce347a98f41e849188aa51c56b02a****'], + 'ResourceIdType' => ['description' => '资源类型。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], ], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询数据泄露事件列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"LowOpenEventCnt\\": 1,\\n \\"TotalOpenEventCnt\\": 2,\\n \\"RequestId\\": \\"1530A01A-6901-5B72-AB88-28B6E96B****\\",\\n \\"MiddleOpenEventCnt\\": 0,\\n \\"HighOpenEventCnt\\": 1\\n}","type":"json"}]', - 'title' => '获取漏洞事件统计', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"AssetName\\": \\"test\\",\\n \\"AssetPrivateIp\\": \\"47.100.102.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"CategoryName\\": \\"Trusted\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"CityId\\": \\"000\\",\\n \\"CountryId\\": \\"cn\\",\\n \\"DstIp\\": \\"106.14.74.XXX\\",\\n \\"DstPortList\\": \\"22\\",\\n \\"EventCnt\\": 1,\\n \\"EventLevel\\": \\"high\\",\\n \\"EventName\\": \\"Sensitive ID card data leakage\\",\\n \\"FirstTime\\": 1735697768,\\n \\"LastTime\\": 1738636157,\\n \\"LocationName\\": \\"Yuhang District, Hangzhou City, Zhejiang Province\\",\\n \\"Payload\\": \\"3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500\\",\\n \\"ProtoList\\": \\"TCP\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveDataList\\": [\\n \\"hege***********.com\\"\\n ],\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"Identity Card\\",\\n \\"SrcIp\\": \\"104.28.226.XX\\",\\n \\"SrcPortList\\": \\"443\\",\\n \\"TrafficBytes\\": 0,\\n \\"Uuid\\": \\"b91035dc-8be4-411d-bec5-e6320af9****\\",\\n \\"ResourceId\\": \\"ce347a98f41e849188aa51c56b02a****\\",\\n \\"ResourceIdType\\": 0\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', ], - 'DescribeInvadeEventDetail' => [ - 'summary' => '获取失陷感知事件详情。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeSdlEventSdList' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30507,276 +25042,111 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68289', - 'abilityTreeNodes' => [ - 'FEATUREcfwIT6TRR', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '246374', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '218.76.30.XXX', - ], + 'schema' => ['description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560'], ], [ - 'name' => 'Lang', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1761185080'], ], [ - 'name' => 'AssetsInstanceId', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '资产ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'i-bp135d2rmbwpt****', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'EventUuid', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '失陷感知事件UUID。', - 'type' => 'string', - 'required' => true, - 'example' => '92498578-7c42-4845-8c73-7e824782****', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'PublicIP', + 'name' => 'SrcIp', 'in' => 'query', - 'schema' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '182.92.103.XXX', - ], + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '172.16.0.XXX'], + ], + [ + 'name' => 'DstIp', + 'in' => 'query', + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX'], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => '唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RiskLevel' => [ - 'description' => '风险级别。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '低危', - '中危', - '高危', - ], - 'example' => '2', - ], - 'EventKey' => [ - 'description' => '事件Key。', - 'type' => 'string', - 'example' => 'C&CActivity', - ], - 'EventName' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'example' => 'event_test', - ], - 'EventDetail' => [ - 'description' => '事件详情。', - 'type' => 'string', - 'example' => 'test', - ], - 'EventUuid' => [ - 'description' => '失陷感知事件UUID。', - 'type' => 'string', - 'example' => 'aa6e786c-5034-457a-8e05-1c63fab****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirstTime' => [ - 'description' => '首次发生时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1735006706', - ], - 'Reference' => [ - 'description' => '参考信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'PrivateIP' => [ - 'description' => '私网IP。', - 'type' => 'string', - 'example' => '10.21.186.XXX', - ], - 'LastTime' => [ - 'description' => '最近发生时间。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1740104108', - ], - 'AssetsInstanceName' => [ - 'description' => '资产名称。', - 'type' => 'string', - 'example' => 'ECS_test', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '8022D695-4A35-50BC-8697-EA9C233A****', - ], - 'EventDesc' => [ - 'description' => '事件描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'IsIgnore' => [ - 'description' => '是否已忽略。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => 'true', - 'false' => 'false', - ], - 'example' => 'false', - ], - 'PublicIP' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '106.15.185.XXX', - ], - 'ProcessStatus' => [ - 'description' => '处理状态。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '未处理', - 10 => '已防御', - 20 => '已处理', - ], - 'example' => '1', - ], - 'AssetsInstanceId' => [ - 'description' => '资产实例ID。', - 'type' => 'string', - 'example' => 'i-8vb2nmm070m****', - ], - 'OperationList' => [ - 'description' => '修复操作列表。', - 'type' => 'array', - 'items' => [ - 'description' => '修复操作列表。', - 'type' => 'object', - 'properties' => [ - 'Operate' => [ - 'description' => '操作。', - 'type' => 'string', - 'example' => 'RunMode', - ], - 'Args' => [ - 'description' => '操作参数。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - 'UnhandleOperationList' => [ - 'description' => '未处理的操作列表。', + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'SdlEventSensitiveDataList' => [ + 'description' => '数据泄露的敏感数据列表。', 'type' => 'array', 'items' => [ - 'description' => '未处理的操作列表。', + 'description' => '数据泄露的敏感数据列表。', 'type' => 'object', 'properties' => [ - 'Operate' => [ - 'description' => '操作。', - 'type' => 'string', - 'example' => 'RunMode', - ], - 'Args' => [ - 'description' => '操作参数。', - 'type' => 'string', - 'example' => 'test', - ], + 'SensitiveData' => ['description' => '敏感数据。', 'type' => 'string', 'example' => 'sk-N***************************SxiJ'], + 'SensitiveDataCnt' => ['description' => '敏感数据出现次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], + 'SensitiveLevel' => ['description' => '敏感数据等级。', 'type' => 'string', 'example' => 'S3'], + 'SensitiveType' => ['description' => '敏感数据类型。', 'type' => 'string', 'example' => 'id_card'], + 'SrcIp' => ['description' => '源IP。', 'type' => 'string', 'example' => '172.23.191.XXX'], + 'StartTime' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'example' => '1753928907'], ], ], ], + 'TotalCount' => ['description' => '总记录条数', 'type' => 'integer', 'format' => 'int64', 'example' => '6'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询数据泄露的敏感数据列表', + 'summary' => '获取数据泄露的敏感数据列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventSdList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RiskLevel\\": 2,\\n \\"EventKey\\": \\"C&CActivity\\",\\n \\"EventName\\": \\"event_test\\",\\n \\"EventDetail\\": \\"test\\",\\n \\"EventUuid\\": \\"aa6e786c-5034-457a-8e05-1c63fab****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirstTime\\": 1735006706,\\n \\"Reference\\": \\"test\\",\\n \\"PrivateIP\\": \\"10.21.186.XXX\\",\\n \\"LastTime\\": 1740104108,\\n \\"AssetsInstanceName\\": \\"ECS_test\\",\\n \\"RequestId\\": \\"8022D695-4A35-50BC-8697-EA9C233A****\\",\\n \\"EventDesc\\": \\"test\\",\\n \\"IsIgnore\\": false,\\n \\"PublicIP\\": \\"106.15.185.XXX\\",\\n \\"ProcessStatus\\": 1,\\n \\"AssetsInstanceId\\": \\"i-8vb2nmm070m****\\",\\n \\"OperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ],\\n \\"UnhandleOperationList\\": [\\n {\\n \\"Operate\\": \\"RunMode\\",\\n \\"Args\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取失陷感知事件详情', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"SdlEventSensitiveDataList\\": [\\n {\\n \\"SensitiveData\\": \\"sk-N***************************SxiJ\\",\\n \\"SensitiveDataCnt\\": 6,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"id_card\\",\\n \\"SrcIp\\": \\"172.23.191.XXX\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', ], - 'DescribeSdlEventList' => [ - 'summary' => '查询数据泄露事件列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeSdlEventStatistic' => [ + 'summary' => '查询数据泄露事件统计数据。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -30788,356 +25158,154 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '246035', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '245978', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1759198702', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656750960'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1756433077', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1732586712'], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'AssetCount' => ['description' => '资产总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'SensitiveDataCount' => ['description' => '敏感数据泄露事件数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'TotalTraffic' => ['description' => '总流量数据,单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'AiSensitiveDataCount' => ['description' => 'AI相关泄露风险数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询数据泄露事件统计数据', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AssetCount\\": 32,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"SensitiveDataCount\\": 2,\\n \\"TotalCount\\": 2,\\n \\"TotalTraffic\\": 0,\\n \\"AiSensitiveDataCount\\": 1\\n}","type":"json"}]', + ], + 'DescribeSdlLastPayload' => [ + 'summary' => '获取数据泄露事报文负载', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'SrcIp', - 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.XXX', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '246035', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'DstIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Uuid', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '唯一标识ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', - ], + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656837360'], ], [ - 'name' => 'Location', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '区域。', - 'type' => 'string', - 'required' => false, - 'example' => '张家口', - ], + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1534408267'], ], [ - 'name' => 'Sort', + 'name' => 'SrcIp', 'in' => 'query', - 'schema' => [ - 'description' => '排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'TotalBytes', - ], + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '121.40.84.XXX'], ], [ - 'name' => 'Order', + 'name' => 'DstIp', 'in' => 'query', - 'schema' => [ - 'description' => '排序方式。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - ], + 'schema' => ['description' => '目的IP。', 'type' => 'string', 'required' => false, 'example' => '47.100.102.XXX'], ], [ - 'name' => 'OnlyAiEvt', + 'name' => 'SensitiveCategory', 'in' => 'query', + 'schema' => ['description' => '敏感凭据类型。', 'type' => 'string', 'required' => false, 'example' => 'id_card'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '只有AI事件。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'SensitiveLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '敏感数据等级。', - 'type' => 'string', - 'required' => false, - 'example' => 'S3', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****'], + 'SrcPortList' => ['description' => '源端口。', 'type' => 'string', 'example' => '1586'], + 'DstPortList' => ['description' => '目的端口。', 'type' => 'string', 'example' => '80'], + 'ProtoList' => ['description' => '协议。', 'type' => 'string', 'example' => 'tcp'], + 'Payload' => ['description' => '入侵防御事件的攻击Payload。', 'type' => 'string', 'example' => '302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500'], + ], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****', - ], - 'SdlEventDetailList' => [ - 'description' => '数据泄露事件列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据泄露事件列表。', - 'type' => 'object', - 'properties' => [ - 'AssetName' => [ - 'description' => '资产名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'AssetPrivateIp' => [ - 'description' => '资产私有IP。', - 'type' => 'string', - 'example' => '47.100.102.XXX', - ], - 'AssetType' => [ - 'description' => '资产类型。', - 'type' => 'string', - 'example' => 'EIP', - ], - 'CategoryName' => [ - 'description' => '类型名称。', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'CategoryClassId' => [ - 'description' => '情报标签的分类。取值:'."\n" - ."\n" - .'- **Suspicious**:可疑'."\n" - .'- **Malicious**:恶意'."\n" - .'- **Trusted**:信任', - 'type' => 'string', - 'example' => 'Trusted', - ], - 'CityId' => [ - 'description' => '城市ID。', - 'type' => 'string', - 'example' => '000', - ], - 'CountryId' => [ - 'description' => '国家ID。', - 'type' => 'string', - 'example' => 'cn', - ], - 'DstIp' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'example' => '106.14.74.XXX', - ], - 'DstPortList' => [ - 'description' => '目的端口。', - 'type' => 'string', - 'example' => '22', - ], - 'EventCnt' => [ - 'description' => '事件数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'EventLevel' => [ - 'description' => '事件风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'EventName' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'example' => '身份证敏感数据泄漏', - ], - 'FirstTime' => [ - 'description' => '首次发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1735697768', - ], - 'LastTime' => [ - 'description' => '最近发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1738636157', - ], - 'LocationName' => [ - 'description' => '目的IP所属地区名。', - 'type' => 'string', - 'example' => '浙江省杭州市余杭区', - ], - 'Payload' => [ - 'description' => '入侵防御事件的攻击Payload。', - 'type' => 'string', - 'example' => '3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500', - ], - 'ProtoList' => [ - 'description' => '协议。', - 'type' => 'string', - 'example' => 'TCP', - ], - 'RegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SensitiveDataCnt' => [ - 'description' => '敏感数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SensitiveDataList' => [ - 'description' => '敏感数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '敏感数据列表。', - 'type' => 'string', - 'example' => 'hege***********.com', - ], - ], - 'SensitiveLevel' => [ - 'description' => '敏感数据登记。', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '敏感数据类型。', - 'type' => 'string', - 'example' => '身份证', - ], - 'SrcIp' => [ - 'description' => '源IP。', - 'type' => 'string', - 'example' => '104.28.226.XX', - ], - 'SrcPortList' => [ - 'description' => '源端口。', - 'type' => 'string', - 'example' => '443', - ], - 'TrafficBytes' => [ - 'description' => '流量大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'Uuid' => [ - 'description' => '唯一标识。', - 'type' => 'string', - 'example' => 'b91035dc-8be4-411d-bec5-e6320af9****', - ], - 'ResourceId' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'example' => 'ce347a98f41e849188aa51c56b02a****', - ], - 'ResourceIdType' => [ - 'description' => '资源类型。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - ], - ], - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询敏感数据负载信息', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"AssetName\\": \\"test\\",\\n \\"AssetPrivateIp\\": \\"47.100.102.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"CategoryName\\": \\"Trusted\\",\\n \\"CategoryClassId\\": \\"Trusted\\",\\n \\"CityId\\": \\"000\\",\\n \\"CountryId\\": \\"cn\\",\\n \\"DstIp\\": \\"106.14.74.XXX\\",\\n \\"DstPortList\\": \\"22\\",\\n \\"EventCnt\\": 1,\\n \\"EventLevel\\": \\"high\\",\\n \\"EventName\\": \\"身份证敏感数据泄漏\\",\\n \\"FirstTime\\": 1735697768,\\n \\"LastTime\\": 1738636157,\\n \\"LocationName\\": \\"浙江省杭州市余杭区\\",\\n \\"Payload\\": \\"3082002f02010004067075626c6963a082002002044c33a756020100020100308200103082000c06082b060102010105000500\\",\\n \\"ProtoList\\": \\"TCP\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveDataList\\": [\\n \\"hege***********.com\\"\\n ],\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"SrcIp\\": \\"104.28.226.XX\\",\\n \\"SrcPortList\\": \\"443\\",\\n \\"TrafficBytes\\": 0,\\n \\"Uuid\\": \\"b91035dc-8be4-411d-bec5-e6320af9****\\",\\n \\"ResourceId\\": \\"ce347a98f41e849188aa51c56b02a****\\",\\n \\"ResourceIdType\\": 0\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', - 'title' => '查询数据泄露事件列表', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"SrcPortList\\": \\"1586\\",\\n \\"DstPortList\\": \\"80\\",\\n \\"ProtoList\\": \\"tcp\\",\\n \\"Payload\\": \\"302902010004067075626c6963a01c0204036a5f43020100020100300e300c06082b060102010101000500\\"\\n}","type":"json"}]', ], - 'DescribeSdlEventSdList' => [ - 'summary' => '获取数据泄露的敏感数据列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'DescribeSdlStatistic' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31149,358 +25317,372 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '246374', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '246011', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'autoTest' => true, - 'tenantRelevance' => 'tenant', + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1761185080', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1748916368'], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], + 'SdlStatisticResp' => [ + 'description' => '敏感数据详情返回。', + 'type' => 'object', + 'properties' => [ + 'SdlEventTypeCountList' => [ + 'description' => '敏感数据时间类型总数列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EventType' => ['description' => '事件类型。', 'type' => 'string', 'example' => 'id_card'], + 'Count' => ['description' => '数据总条数。', 'type' => 'string', 'example' => '9'], + ], + 'description' => '', + ], + ], + 'SdlDstTopList' => [ + 'description' => '敏感数据目的排名列表。', + 'type' => 'array', + 'items' => [ + 'description' => '敏感数据目的排名信息。', + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '47.101.68.XXX'], + 'TrafficBytes' => ['description' => '流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], + ], + 'SdlAssetTopList' => [ + 'description' => '敏感数据资产排名列表。', + 'type' => 'array', + 'items' => [ + 'description' => '敏感数据资产排名信息。', + 'type' => 'object', + 'properties' => [ + 'PublicIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '116.62.66.XXX'], + 'AssetType' => ['description' => '资产类型。', 'type' => 'string', 'example' => 'EIP'], + 'TrafficBytes' => ['description' => '流量大小。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + ], + ], + ], + ], + ], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询敏感数据详情', + 'summary' => '查询敏感数据详情。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"SdlStatisticResp\\": {\\n \\"SdlEventTypeCountList\\": [\\n {\\n \\"EventType\\": \\"id_card\\",\\n \\"Count\\": \\"9\\"\\n }\\n ],\\n \\"SdlDstTopList\\": [\\n {\\n \\"PublicIp\\": \\"47.101.68.XXX\\",\\n \\"TrafficBytes\\": 0\\n }\\n ],\\n \\"SdlAssetTopList\\": [\\n {\\n \\"PublicIp\\": \\"116.62.66.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"TrafficBytes\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', + ], + 'DescribeSecurityMode' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SrcIp', - 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '172.16.0.XXX', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68358', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + ], + 'parameters' => [ [ - 'name' => 'DstIp', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '218.108.54.XX'], ], [ - 'name' => 'Uuid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '唯一标识ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'aa58cdf6-6cf8-493c-912d-97619a24****', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'SdlEventSensitiveDataList' => [ - 'description' => '数据泄露的敏感数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据泄露的敏感数据列表。', - 'type' => 'object', - 'properties' => [ - 'SensitiveData' => [ - 'description' => '敏感数据。', - 'type' => 'string', - 'example' => 'sk-N***************************SxiJ', - ], - 'SensitiveDataCnt' => [ - 'description' => '敏感数据出现次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'SensitiveLevel' => [ - 'description' => '敏感数据等级。', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '敏感数据类型。', - 'type' => 'string', - 'example' => '身份证', - ], - 'SrcIp' => [ - 'description' => '源IP。', - 'type' => 'string', - 'example' => '172.23.191.XXX', - ], - 'StartTime' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1753928907', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '总记录条数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], + 'Module' => ['description' => '应用模块', 'type' => 'string', 'example' => 'sg_server', 'deprecated' => true], + 'SecurityMode' => ['description' => '安全模式。取值:'."\n" + ."\n" + .'**0**:关闭。'."\n" + ."\n" + .'**1**:开启。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C6D68A02-54D5-5F5C-A8AA-6D6C2874****'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"SdlEventSensitiveDataList\\": [\\n {\\n \\"SensitiveData\\": \\"sk-N***************************SxiJ\\",\\n \\"SensitiveDataCnt\\": 6,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"SrcIp\\": \\"172.23.191.XXX\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 6\\n}","type":"json"}]', - 'title' => '查询数据泄露的敏感数据列表', - ], - 'DescribeSdlEventDetail' => [ - 'summary' => '查询数据泄露事件详情。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取安全模式', + 'summary' => '获取安全模式', + 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"SecurityMode\\": 1,\\n \\"RequestId\\": \\"C6D68A02-54D5-5F5C-A8AA-6D6C2874****\\"\\n}","type":"json"}]', + ], + 'DescribeSecurityProxy' => [ + 'summary' => '获取NAT防火墙。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'read', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68360', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'StartTime', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'EndTime', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1753755251', - ], + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => false, 'example' => 'proxy-nat80d763eb0dee4eacaec9'], ], [ - 'name' => 'CurrentPage', + 'name' => 'ProxyName', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为[4,50]个字符,且不能以下划线开头。', 'type' => 'string', 'required' => false, 'example' => 'nat-idmp-fir'], ], [ - 'name' => 'PageSize', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'VPC所在的地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'SrcIp', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '121.40.84.XXX', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], ], [ - 'name' => 'DstIp', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '目的IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.102.XXX', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-zm0h3c1exm5bifuorg8c5'], ], [ - 'name' => 'Uuid', + 'name' => 'Status', 'in' => 'query', - 'schema' => [ - 'description' => '唯一标识ID。', - 'type' => 'string', - 'required' => false, - 'example' => '326ce10e-5e17-4235-879a-6f2502cd****', - ], + 'schema' => ['description' => '云防火墙状态。取值:'."\n" + ."\n" + .'- **configuring**:创建中。'."\n" + .'- **deleting**:删除中。'."\n" + .'- **normal**:正常。'."\n" + .'- **abnormal**:异常。'."\n" + .'- **opening**:开启中。'."\n" + .'- **closing**:关闭中。'."\n" + .'- **closed**:已关闭。', 'type' => 'string', 'required' => false, 'example' => 'normal'], + ], + [ + 'name' => 'PageNo', + 'in' => 'query', + 'schema' => ['description' => '当前页面的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。支持最大取值为50。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'D19D8F70-D64B-5A95-905A-6073BF4A****', - ], - 'SdlEventDetailList' => [ - 'description' => '事件列表。', + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'ProxyList' => [ + 'description' => 'NAT防火墙列表。', 'type' => 'array', 'items' => [ - 'description' => '事件列表。', + 'description' => 'NAT防火墙的列表信息。', 'type' => 'object', 'properties' => [ - 'EventName' => [ - 'description' => '事件名称。', - 'type' => 'string', - 'example' => 'event-test', - ], - 'SensitiveDataCnt' => [ - 'description' => '敏感数据量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'SensitiveLevel' => [ - 'description' => '敏感等级。', - 'type' => 'string', - 'example' => 'S3', - ], - 'SensitiveType' => [ - 'description' => '敏感数据类型。', - 'type' => 'string', - 'example' => '身份证', - ], - 'StartTime' => [ - 'description' => '发生时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1753928907', + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-wz9xn35tq33hunzvpu0se'], + 'Status' => ['description' => '云防火墙状态。取值:'."\n" + .'- **configuring**:创建中。'."\n" + .'- **deleting**:删除中。'."\n" + .'- **normal**:正常。'."\n" + .'- **abnormal**:异常。'."\n" + .'- **opening**:开启中。'."\n" + .'- **closing**:关闭中。'."\n" + .'- **closed**:已关闭。', 'type' => 'string', 'example' => 'normal'], + 'RegionNo' => ['description' => 'VPC所在的地域ID。', 'type' => 'string', 'example' => 'ap-southeast-1'], + 'NatGatewayName' => ['description' => 'NAT网关的名称', 'type' => 'string', 'example' => 'ecs-slb-eip-waf'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'example' => '1797733170015112'], + 'ProxyId' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'example' => 'proxy-nat4921f192b6cf438d93f8'], + 'ProxyName' => ['description' => 'NAT防火墙名称。', 'type' => 'string', 'example' => 'nat-idmp-fir'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-bp1kw9igsq0yyzeanqamx'], + 'VSwitchId' => ['description' => '云防火墙接口所属的vSwitch ID。', 'type' => 'string', 'example' => 'vsw-5gu2qqfmjmwl8ktzgfekl'], + 'CidrBlock' => ['description' => 'VPC的IPv4网段。', 'type' => 'string', 'example' => '192.168.0.0/16'], + 'NatGatewayId' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-2zex8sf4s5vus8rq3rjqo'], + 'Detail' => ['description' => '异常详细信息。', 'type' => 'string', 'example' => '“”'], + 'SnatIpList' => [ + 'description' => 'SNAT IP列表。', + 'type' => 'array', + 'items' => ['description' => 'SNAT IP列表。', 'type' => 'string', 'example' => '""'], ], + 'StrictMode' => ['description' => '是否启用严格模式 1 - 启用严格模式 0 - 禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], ], ], ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '8', - ], ], + 'description' => '', ], ], ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], 'staticInfo' => [ + 'substitutions' => ['Cloudfw::2017-12-07::DescribeNatFirewallList'], 'returnType' => 'synchronous', ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D19D8F70-D64B-5A95-905A-6073BF4A****\\",\\n \\"SdlEventDetailList\\": [\\n {\\n \\"EventName\\": \\"event-test\\",\\n \\"SensitiveDataCnt\\": 10,\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SensitiveType\\": \\"身份证\\",\\n \\"StartTime\\": 1753928907\\n }\\n ],\\n \\"TotalCount\\": 8\\n}","type":"json"}]', - 'title' => '查询数据泄露事件详情', - ], - 'DescribeSdlEventStatistic' => [ - 'summary' => '查询数据泄露事件统计数据。', - 'methods' => [ - 'get', - 'post', + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取NAT防火墙(废弃)', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"ProxyList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9xn35tq33hunzvpu0se\\",\\n \\"Status\\": \\"normal\\",\\n \\"RegionNo\\": \\"ap-southeast-1\\",\\n \\"NatGatewayName\\": \\"ecs-slb-eip-waf\\",\\n \\"MemberUid\\": \\"1797733170015112\\",\\n \\"ProxyId\\": \\"proxy-nat4921f192b6cf438d93f8\\",\\n \\"ProxyName\\": \\"nat-idmp-fir\\",\\n \\"VpcName\\": \\"vpc-bp1kw9igsq0yyzeanqamx\\",\\n \\"VSwitchId\\": \\"vsw-5gu2qqfmjmwl8ktzgfekl\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"NatGatewayId\\": \\"ngw-2zex8sf4s5vus8rq3rjqo\\",\\n \\"Detail\\": \\"“”\\",\\n \\"SnatIpList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ],\\n \\"StrictMode\\": 0\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSecurityProxyResources' => [ + 'summary' => '查询NAT防火墙资源。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -31509,14 +25691,11 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '245978', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '68361', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -31524,97 +25703,123 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656750960', - ], + 'schema' => ['description' => 'NAT网关ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-uf6y16l23fm8hq0****'], ], [ - 'name' => 'EndTime', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1732586712', - ], + 'schema' => ['description' => '成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '136481150091****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'AssetCount' => [ - 'description' => '资产总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '32', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'SensitiveDataCount' => [ - 'description' => '敏感数据泄露事件数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'TotalTraffic' => [ - 'description' => '总流量数据,单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'AiSensitiveDataCount' => [ - 'description' => 'AI相关泄露风险数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A8E8D50E-9F45-5662-B116-A1D0807F****'], + 'ResourceList' => [ + 'description' => '资源列表。', + 'type' => 'array', + 'items' => [ + 'description' => '资源列表。', + 'type' => 'object', + 'properties' => [ + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], + 'VpcList' => [ + 'description' => 'vpc列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'vpc列表信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-8vbuzirdl3w1r7exw****'], + 'VpcName' => ['description' => 'VPC实例名称。', 'type' => 'string', 'example' => 'vpc-wz94a4q37rgl7g****'], + 'CidrBlock' => ['description' => 'VPC的IPv4网段。', 'type' => 'string', 'example' => '192.168.0.0/16'], + 'MemberUid' => ['description' => '成员账号UID。', 'type' => 'string', 'example' => '157862808111****'], + 'NatGateways' => [ + 'description' => 'NAT网关列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'NAT网关信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => 'NAT网关状态。', 'type' => 'string', 'example' => 'Available'], + 'Detail' => ['description' => 'NAT网关状态。', 'type' => 'string', 'example' => 'Available'], + 'NatGatewayId' => ['description' => 'NAT网关ID。', 'type' => 'string', 'example' => 'ngw-bp1bm0k2t8i6ooxu****'], + 'NatGatewayName' => ['description' => 'NAT网关名称。', 'type' => 'string', 'example' => 'ngw-test'], + 'NatRouteEntryList' => [ + 'description' => 'NAT路由表列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'NAT路由表。', + 'type' => 'object', + 'properties' => [ + 'NextHopId' => ['description' => '下一跳实例ID。', 'type' => 'string', 'example' => 'ngw-2zey0w2u02u1x584m****'], + 'DestinationCidr' => ['description' => '目的网段。', 'type' => 'string', 'example' => '10.0.70.XX/24'], + 'RouteTableId' => ['description' => '路由表ID。', 'type' => 'string', 'example' => 'vtb-2ze409pp09d994a****'], + 'NextHopType' => ['description' => '下一跳网络类型。', 'type' => 'string', 'example' => 'NatGateway'], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AssetCount\\": 32,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"SensitiveDataCount\\": 2,\\n \\"TotalCount\\": 2,\\n \\"TotalTraffic\\": 0,\\n \\"AiSensitiveDataCount\\": 1\\n}","type":"json"}]', - 'title' => '查询数据泄露事件统计数据', - ], - 'DescribeSdlStatistic' => [ - 'summary' => '查询敏感数据详情。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询NAT防火墙资源', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxyResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A8E8D50E-9F45-5662-B116-A1D0807F****\\",\\n \\"ResourceList\\": [\\n {\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"VpcName\\": \\"vpc-wz94a4q37rgl7g****\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"MemberUid\\": \\"157862808111****\\",\\n \\"NatGateways\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"Detail\\": \\"Available\\",\\n \\"NatGatewayId\\": \\"ngw-bp1bm0k2t8i6ooxu****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"NatRouteEntryList\\": [\\n {\\n \\"NextHopId\\": \\"ngw-2zey0w2u02u1x584m****\\",\\n \\"DestinationCidr\\": \\"10.0.70.XX/24\\",\\n \\"RouteTableId\\": \\"vtb-2ze409pp09d994a****\\",\\n \\"NextHopType\\": \\"NatGateway\\"\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSensitiveSwitch' => [ + 'summary' => '查询敏感数据开关。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -31626,10 +25831,8 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '246011', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], @@ -31641,234 +25844,39 @@ 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'StartTime', + 'name' => 'ParentCategory', 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1656664560', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1748916368', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - ], - 'SdlStatisticResp' => [ - 'description' => '敏感数据详情返回。', - 'type' => 'object', - 'properties' => [ - 'SdlEventTypeCountList' => [ - 'description' => '敏感数据时间类型总数列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'EventType' => [ - 'description' => '事件类型。', - 'type' => 'string', - 'example' => '身份证', - ], - 'Count' => [ - 'description' => '数据总条数。', - 'type' => 'string', - 'example' => '9', - ], - ], - ], - ], - 'SdlDstTopList' => [ - 'description' => '敏感数据目的排名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '敏感数据目的排名信息。', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '47.101.68.XXX', - ], - 'TrafficBytes' => [ - 'description' => '流量大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - 'SdlAssetTopList' => [ - 'description' => '敏感数据资产排名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '敏感数据资产排名信息。', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => '公网IP。', - 'type' => 'string', - 'example' => '116.62.66.XXX', - ], - 'AssetType' => [ - 'description' => '资产类型。', - 'type' => 'string', - 'example' => 'EIP', - ], - 'TrafficBytes' => [ - 'description' => '流量大小。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"SdlStatisticResp\\": {\\n \\"SdlEventTypeCountList\\": [\\n {\\n \\"EventType\\": \\"身份证\\",\\n \\"Count\\": \\"9\\"\\n }\\n ],\\n \\"SdlDstTopList\\": [\\n {\\n \\"PublicIp\\": \\"47.101.68.XXX\\",\\n \\"TrafficBytes\\": 0\\n }\\n ],\\n \\"SdlAssetTopList\\": [\\n {\\n \\"PublicIp\\": \\"116.62.66.XXX\\",\\n \\"AssetType\\": \\"EIP\\",\\n \\"TrafficBytes\\": 0\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '查询敏感数据详情', - ], - 'DescribeSensitiveSwitch' => [ - 'summary' => '查询敏感数据开关。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'ParentCategory', - 'in' => 'query', - 'schema' => [ - 'description' => '父类。', - 'type' => 'string', - 'required' => false, - 'example' => 'universal_industry_template', - ], + 'schema' => ['description' => '父类。', 'type' => 'string', 'required' => false, 'example' => 'universal_industry_template'], ], [ 'name' => 'SensitiveCategory', 'in' => 'query', - 'schema' => [ - 'description' => '敏感凭据类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'id_card', - ], + 'schema' => ['description' => '敏感凭据类型。', 'type' => 'string', 'required' => false, 'example' => 'id_card'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ 'name' => 'CategoryName', 'in' => 'query', - 'schema' => [ - 'description' => '类型名称。', - 'type' => 'string', - 'required' => false, - 'example' => '身份证', - ], + 'schema' => ['description' => '类型名称。', 'type' => 'string', 'required' => false, 'example' => 'Identity card'], ], [ 'name' => 'SensitiveLevel', 'in' => 'query', - 'schema' => [ - 'description' => '敏感等级。', - 'type' => 'string', - 'required' => false, - 'example' => 'S3', - ], + 'schema' => ['description' => '敏感等级。', 'type' => 'string', 'required' => false, 'example' => 'S3'], ], [ 'name' => 'SwitchStatus', @@ -31877,10 +25885,7 @@ 'description' => '敏感数据开关状态。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - '关闭', - '开启', - ], + 'enumValueTitles' => ['关闭', '开启'], 'example' => '1', ], ], @@ -31892,18 +25897,8 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果请求ID。', - 'type' => 'string', - 'example' => 'A7F3ED45-5556-5AF3-ADE3-EE48FFF0****', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果请求ID。', 'type' => 'string', 'example' => 'A7F3ED45-5556-5AF3-ADE3-EE48FFF0****'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], 'UserSensitiveDataSwitchList' => [ 'description' => '敏感数据开关列表。', 'type' => 'array', @@ -31911,198 +25906,303 @@ 'description' => '敏感数据开关列表。', 'type' => 'object', 'properties' => [ - 'CategoryName' => [ - 'description' => '敏感凭据类型名称。', - 'type' => 'string', - 'example' => '身份证', - ], - 'Description' => [ - 'description' => '敏感凭据描述。', - 'type' => 'string', - 'example' => '身份证敏感数据泄漏', - ], - 'SensitiveCategory' => [ - 'description' => '敏感凭据类型。', - 'type' => 'string', - 'example' => 'id_card', - ], - 'SensitiveLevel' => [ - 'description' => '敏感等级。', - 'type' => 'string', - 'example' => 'S3', - ], + 'CategoryName' => ['description' => '敏感凭据类型名称。', 'type' => 'string', 'example' => 'Identity card'], + 'Description' => ['description' => '敏感凭据描述。', 'type' => 'string', 'example' => 'Sensitive ID card data leakage'], + 'SensitiveCategory' => ['description' => '敏感凭据类型。', 'type' => 'string', 'example' => 'id_card'], + 'SensitiveLevel' => ['description' => '敏感等级。', 'type' => 'string', 'example' => 'S3'], 'SwitchStatus' => [ 'description' => '敏感数据开关状态。', 'type' => 'integer', 'format' => 'int32', - 'enumValueTitles' => [ - '关闭', - '开关', - ], + 'enumValueTitles' => ['关闭', '开关'], 'example' => '1', ], ], ], ], - 'OpenCount' => [ - 'description' => '开启总条目。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '80', - ], + 'OpenCount' => ['description' => '开启总条目。', 'type' => 'integer', 'format' => 'int64', 'example' => '80'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F3ED45-5556-5AF3-ADE3-EE48FFF0****\\",\\n \\"TotalCount\\": 10,\\n \\"UserSensitiveDataSwitchList\\": [\\n {\\n \\"CategoryName\\": \\"身份证\\",\\n \\"Description\\": \\"身份证敏感数据泄漏\\",\\n \\"SensitiveCategory\\": \\"id_card\\",\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SwitchStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 80\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '查询敏感数据开关', - ], - 'ModifySensitiveSwitch' => [ - 'summary' => '修改敏感数据开关。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A7F3ED45-5556-5AF3-ADE3-EE48FFF0****\\",\\n \\"TotalCount\\": 10,\\n \\"UserSensitiveDataSwitchList\\": [\\n {\\n \\"CategoryName\\": \\"Identity card\\",\\n \\"Description\\": \\"Sensitive ID card data leakage\\",\\n \\"SensitiveCategory\\": \\"id_card\\",\\n \\"SensitiveLevel\\": \\"S3\\",\\n \\"SwitchStatus\\": 1\\n }\\n ],\\n \\"OpenCount\\": 80\\n}","type":"json"}]', + ], + 'DescribeSignatureLibVersion' => [ + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247466', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '185095', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', + 'parameters' => [], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['title' => '总数', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79B8C946'], + 'Version' => [ + 'description' => '版本信息。', + 'type' => 'array', + 'items' => [ + 'description' => '版本号。', + 'type' => 'object', + 'properties' => [ + 'Type' => [ + 'title' => '类型', + 'description' => '类型。', + 'type' => 'string', + 'enumValueTitles' => ['ips' => '基础防御和虚拟补丁', 'intelligence' => '威胁情报'], + 'example' => 'ips', + ], + 'Version' => ['title' => '版本', 'description' => '版本。', 'type' => 'string', 'example' => 'IPS-2307-02'], + 'UpdateTime' => ['description' => '特征库版本更新时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1741067915'], + ], + ], + ], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ['errorCode' => 'IdempotentParameterMismatch', 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'description' => '该请求使用与上一个请求相同但不相同的客户端令牌。不要在不同的请求中重复使用客户端令牌,除非请求相同。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询特征库版本信息', + 'summary' => '查询特征库版本信息。', + 'changeSet' => [ + ['createdAt' => '2025-04-08T11:24:47.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSignatureLibVersion'], + ], + ], + 'ramActions' => [ [ - 'name' => 'SensitiveCategory', - 'in' => 'query', - 'schema' => [ - 'description' => '类型', - 'type' => 'string', - 'required' => false, - 'example' => 'id_card', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSignatureLibVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79B8C946\\",\\n \\"Version\\": [\\n {\\n \\"Type\\": \\"ips\\",\\n \\"Version\\": \\"IPS-2307-02\\",\\n \\"UpdateTime\\": 1741067915\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeSlrGrant' => [ + 'summary' => '获取用户SLR授权信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SwitchStatus', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68366', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '113.225.22.XXX'], + ], + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '状态。取值:'."\n" - .'- **1**:开启。'."\n" - .'- **0**:关闭。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '1', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', + 'UserType' => [ + 'description' => '账号类型。', 'type' => 'string', - 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****', + 'enumValueTitles' => ['sub' => '子账号', 'customer' => '主账号'], + 'example' => 'sub', + ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '1BD3D277-AE2F-5609-893F-FF7A72A****'], + 'IsGranted' => [ + 'description' => '授权是否成功。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是', 'false' => '否'], + 'example' => 'true', ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', - 'title' => '修改敏感数据开关', - ], - 'EnableSdlProtectedAsset' => [ - 'summary' => '开启资产数据泄露保护。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取用户SLR授权信息', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlrGrant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"UserType\\": \\"sub\\",\\n \\"RequestId\\": \\"1BD3D277-AE2F-5609-893F-FF7A72A****\\",\\n \\"IsGranted\\": true\\n}","type":"json"}]', + ], + 'DescribeSlsAnalyzeOpenStatus' => [ + 'summary' => '获取SLS开启状态', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240055', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68367', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'type' => 'object', + 'properties' => [ + 'OpenStatus' => ['description' => 'SLS开启状态。取值:'."\n" + ."\n" + .'**true**:开启。'."\n" + ."\n" + .'**false**:关闭。', 'type' => 'string', 'example' => 'false'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '6CC01A2B-92FB-535C-9415-9A951C20****'], + ], + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取SLS开启状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'IpList', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'IP资产列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'IP资产列表。', - 'type' => 'string', - 'required' => false, - 'example' => '47.99.108.XX', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlsAnalyzeOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'required' => false, ], ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OpenStatus\\": \\"false\\",\\n \\"RequestId\\": \\"6CC01A2B-92FB-535C-9415-9A951C20****\\"\\n}","type":"json"}]', + ], + 'DescribeThreatIntelligenceSwitch' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'autoTest' => true, + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ @@ -32110,116 +26210,187 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n", + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '24'], + 'CategoryList' => [ + 'description' => '威胁情报分类列表。', + 'type' => 'array', + 'items' => [ + 'description' => '威胁情报分类列表。', + 'type' => 'object', + 'properties' => [ + 'CategoryId' => ['description' => '威胁情报分类ID。', 'type' => 'string', 'example' => '3000037'], + 'CategoryName' => ['description' => '类型名称。', 'type' => 'string', 'example' => 'Tor Export Malicious IP'], + 'CategoryDescribe' => ['description' => '类别描述。', 'type' => 'string', 'example' => 'Tor Export Malicious IP'], + 'CategoryParentId' => ['description' => '威胁情报父级分类 ID。', 'type' => 'string', 'example' => '123'], + 'Action' => ['description' => '规则动作。取值:'."\n" + ."\n" + .' **alert**:观察.'."\n" + ."\n" + .' **drop**:拦截.', 'type' => 'string', 'example' => 'alert'], + 'EnableStatus' => ['description' => '开关状态。取值:'."\n" + ."\n" + .' **1**:开启。'."\n" + ."\n" + .' **0**:关闭。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '6B8E0379-2629-59A1-B811-96F3E****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\"\\n}","type":"json"}]', - 'title' => '开启资产数据泄露保护', - ], - 'DisableSdlProtectedAsset' => [ - 'summary' => '关闭资产敏感数据发现防护。', - 'methods' => [ - 'get', - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询威胁情报配置的信息', + 'summary' => '查询威胁情报配置的信息', + 'description' => '本接口一般用于分页查询NAT防火墙访问控制策略的信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 24,\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"3000037\\",\\n \\"CategoryName\\": \\"Tor Export Malicious IP\\",\\n \\"CategoryDescribe\\": \\"Tor Export Malicious IP\\",\\n \\"CategoryParentId\\": \\"123\\",\\n \\"Action\\": \\"alert\\",\\n \\"EnableStatus\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"6B8E0379-2629-59A1-B811-96F3E****\\"\\n}","type":"json"}]', + ], + 'DescribeTrFirewallPolicyBackUpAssociationList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '247433', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'autoTest' => true, + 'abilityTreeCode' => '150101', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'IpList', + 'name' => 'FirewallId', 'in' => 'query', - 'style' => 'repeatList', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-8b268ce1b26e4c68****'], + ], + [ + 'name' => 'TrFirewallRoutePolicyId', + 'in' => 'query', + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => false, 'example' => 'policy-5dcafb12ff794a56****'], + ], + [ + 'name' => 'CandidateList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => 'IP资产列表。', + 'description' => '引流实例列表', 'type' => 'array', 'items' => [ - 'description' => 'IP资产列表。', - 'type' => 'string', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9grb8ng3y7h7lf2****'."\n"], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], 'required' => false, - 'example' => '['."\n" - .' "47.99.108.XXX",'."\n" - .' "47.99.109.XXX"'."\n" - .']', + 'description' => '', ], 'required' => false, - 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****', + 'PolicyAssociationBackupConfigs' => [ + 'description' => '恢复路由表列表。', + 'type' => 'array', + 'items' => [ + 'description' => '恢复路由表。', + 'type' => 'object', + 'properties' => [ + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'example' => 'VPC'], + 'CandidateId' => ['description' => '引流实例ID。', 'type' => 'string', 'example' => 'vpc-wz9grb8ng3y7h7lf2****'], + 'OriginalRouteTableId' => ['description' => '恢复路由表ID。', 'type' => 'string', 'example' => 'vtb-wz9slp3s7m4qrzvnq****'], + 'CurrentRouteTableId' => ['description' => '引流后路由表。', 'type' => 'string', 'example' => 'vtb-wz9898grickmh5j09****'], + 'CandidateName' => ['description' => '引流实例名称。', 'type' => 'string', 'example' => 'vpc-instance'], + ], + ], ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C264A756-9B48-57E3-B312-716941E146C6'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => '无法获取到开启引流场景之前的路由表配置,开启引流场景之前的路由表可能已被删除。'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => 'TR防火墙引流场景不存在'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\"\\n}","type":"json"}]', - 'title' => '关闭资产敏感数据发现防护', - ], - 'DescribeAclApps' => [ - 'summary' => '批量查询访问控制应用。', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取TR防火墙恢复路由表', + 'summary' => '获取TR防火墙ACL备份。', + 'changeSet' => [ + ['createdAt' => '2024-03-01T02:18:41.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallPolicyBackUpAssociationList'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallPolicyBackUpAssociationList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PolicyAssociationBackupConfigs\\": [\\n {\\n \\"CandidateType\\": \\"VPC\\",\\n \\"CandidateId\\": \\"vpc-wz9grb8ng3y7h7lf2****\\",\\n \\"OriginalRouteTableId\\": \\"vtb-wz9slp3s7m4qrzvnq****\\",\\n \\"CurrentRouteTableId\\": \\"vtb-wz9898grickmh5j09****\\",\\n \\"CandidateName\\": \\"vpc-instance\\"\\n }\\n ],\\n \\"RequestId\\": \\"C264A756-9B48-57E3-B312-716941E146C6\\"\\n}","type":"json"}]', + ], + 'DescribeTrFirewallV2RoutePolicyList' => [ + 'summary' => '获取TR防火墙路由策略列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32231,232 +26402,151 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '142849', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageNo', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-d5ba592ac6c84aff****'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], ], [ - 'name' => 'AclType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'ACL类型:'."\n" - .'- **Internet** '."\n" - .'- **NAT**'."\n" - .'- **VPC**'."\n" - .'- **All**', - 'type' => 'string', - 'required' => true, - 'example' => 'VPC', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'All', - ], - ], + 'schema' => ['description' => '分页查询时的页码。默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'Popular', + 'name' => 'PolicyId', 'in' => 'query', - 'schema' => [ - 'description' => '是否常见。取值:'."\n" - ."\n" - .'- 1:常见'."\n" - ."\n" - .'- 0:不常见'."\n" - ."\n" - .'- 不输入(默认值):查询所有', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'enumValueTitles' => [ - 1 => '1', - ], - 'example' => '1', - 'enum' => [ - '1', - ], - ], + 'allowEmptyValue' => true, + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => false, 'example' => 'policy-7b66257c14e141fb****'], ], - [ - 'name' => 'Protocols', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '协议类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '协议类型。'."\n" - ."\n" - .'- **TCP**:TCP协议'."\n" - ."\n" - .'- **UDP**:UDP协议', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "TCP",'."\n" - .' "UDP"'."\n" - .']', - 'enum' => [ - 'TCP', - 'UDP', - ], - ], - 'required' => false, - ], - ], - ], - 'responses' => [ - 200 => [ + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9063AB86-6FFA-5B2D-A16D-697C966D****', - ], - 'AclApps' => [ - 'description' => '访问控制应用列表。', + 'TrFirewallRoutePolicies' => [ + 'description' => '防火墙路由策略列表。', 'type' => 'array', 'items' => [ + 'description' => '防火墙路由策略。', 'type' => 'object', 'properties' => [ - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1.0', - ], - 'AppName' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'RiskLevel' => [ - 'description' => '风险评估等级,取值:'."\n" - ."\n" - .'- **1**:低危'."\n" - .'- **2**:中危'."\n" - .'- **3**:高危', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Popular' => [ - 'description' => '是否常见。取值:'."\n" - ."\n" - .'- 1:常见'."\n" - ."\n" - .'- 0:不常见'."\n" - ."\n" - .'- 不输入(默认值):查询所有', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Protocols' => [ - 'description' => '协议类型列表。', + 'PolicyType' => ['description' => 'VPC边界防火墙云企业网企业版引流场景类型。取值:'."\n" + ."\n" + .'- **fullmesh**:多点间互联'."\n" + ."\n" + .'- **one_to_one**:点到点'."\n" + ."\n" + .'- **end_to_end**:点到多点', 'type' => 'string', 'example' => 'fullmesh'], + 'PolicyName' => ['description' => '策略名称。', 'type' => 'string', 'example' => 'Singapore Point to Multipoint'], + 'PolicyDescription' => ['description' => '策略描述。', 'type' => 'string', 'example' => 'Point to multipoint'], + 'SrcCandidateList' => [ + 'description' => '主引流实例列表。', 'type' => 'array', 'items' => [ - 'description' => '协议类型。'."\n" - ."\n" - .'- **TCP**:TCP协议'."\n" - ."\n" - .'- **UDP**:UDP协议', - 'type' => 'string', - 'example' => '['."\n" - .' "TCP",'."\n" - .' "UDP"'."\n" - .']', + 'description' => '主引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'example' => 'vpc-2ze9epancaw8t4sha****'], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'example' => 'VPC'], + ], ], ], - 'SupportFqdn' => [ - 'description' => '是否支持 **Fqdn** 。'."\n" - ."\n" - .'- **0**:不支持'."\n" - ."\n" - .'- **1**:支持', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'DestCandidateList' => [ + 'description' => '子引流实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '子引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'example' => 'vpc-2ze9epancaw8t4sha****'], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'example' => 'VPC'], + ], + ], ], + 'TrFirewallRoutePolicyId' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'example' => 'policy-7b66257c14e141fb****'], + 'PolicyStatus' => ['description' => '策略状态。取值:'."\n" + ."\n" + .'- creating:创建中'."\n" + ."\n" + .'- deleting:删除中'."\n" + ."\n" + .'- opening:开启中'."\n" + ."\n" + .'- opened:已开启'."\n" + ."\n" + .'- closing:关闭中'."\n" + ."\n" + .'- closed:已关闭', 'type' => 'string', 'example' => 'opened'], ], ], ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '95EB5F3A-67FE-5780-92BD-5ECBA772AB7E'], + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'string', 'example' => '1'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => '云企业网企业版防火墙不存在'], + ], ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966D****\\",\\n \\"AclApps\\": [\\n {\\n \\"AppId\\": 1,\\n \\"AppName\\": \\"test\\",\\n \\"RiskLevel\\": 1,\\n \\"Popular\\": 1,\\n \\"Protocols\\": [\\n \\"[\\\\n \\\\\\"TCP\\\\\\",\\\\n \\\\\\"UDP\\\\\\"\\\\n]\\"\\n ],\\n \\"SupportFqdn\\": 1\\n }\\n ],\\n \\"TotalCount\\": 20\\n}","type":"json"}]', - 'title' => '批量查询访问控制应用', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAclWhitelist' => [ - 'summary' => '获取ACL白名单。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取TR防火墙路由策略列表', + 'changeSet' => [ + ['createdAt' => '2023-06-08T08:23:18.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallV2RoutePolicyList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallV2RoutePolicyList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicies\\": [\\n {\\n \\"PolicyType\\": \\"fullmesh\\",\\n \\"PolicyName\\": \\"Singapore Point to Multipoint\\",\\n \\"PolicyDescription\\": \\"Point to multipoint\\",\\n \\"SrcCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"DestCandidateList\\": [\\n {\\n \\"CandidateId\\": \\"vpc-2ze9epancaw8t4sha****\\",\\n \\"CandidateType\\": \\"VPC\\"\\n }\\n ],\\n \\"TrFirewallRoutePolicyId\\": \\"policy-7b66257c14e141fb****\\",\\n \\"PolicyStatus\\": \\"opened\\"\\n }\\n ],\\n \\"RequestId\\": \\"95EB5F3A-67FE-5780-92BD-5ECBA772AB7E\\",\\n \\"TotalCount\\": \\"1\\"\\n}","type":"json"}]', + ], + 'DescribeTrFirewallsV2Detail' => [ + 'summary' => '获取TR防火墙详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32465,44 +26555,26 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68174', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '142863', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '101.36.65.XX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-a5a6b89f46764928****'], ], ], 'responses' => [ @@ -32510,65 +26582,105 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'DomainGroupUseDns' => [ - 'description' => '是否已开启白名单。取值:'."\n" - .'- **true**:已开启'."\n" - .'- **false**:未开启', - 'type' => 'boolean', - 'example' => 'true', - ], - 'SupportMessageType' => [ - 'description' => '是否支持消息类型。取值:'."\n" - .'- **true**:支持'."\n" - .'- **false**:不支持', - 'type' => 'boolean', - 'example' => 'true', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '7D45133B-DBC0-506B-9DF9-AB0735D3****', - ], - 'NatDomainGroupUseDns' => [ - 'description' => 'NAT 场景下是否支持域名 DNS。取值:'."\n" - .'- **true**:支持'."\n" - .'- **false**:不支持', - 'type' => 'boolean', - 'example' => 'false', - ], - 'VpcDomainGroupUseDns' => [ - 'description' => 'VPC 场景下是否支持域名 DNS。取值:'."\n" - .'- **true**:支持'."\n" - .'- **false**:不支持', - 'type' => 'boolean', - 'example' => 'false', - ], + 'FirewallName' => ['description' => 'VPC边界防火墙实例名称。', 'type' => 'string', 'example' => 'cloudfirewall-manual'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B'], + 'FirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-9c7c711abdfa4d80****'], + 'FirewallStatus' => ['description' => '防火墙状态。取值:'."\n" + ."\n" + .'- Creating:创建中'."\n" + ."\n" + .'- Deleting:删除中'."\n" + ."\n" + .'- Ready:就绪', 'type' => 'string', 'example' => 'Ready'], + 'CenId' => ['description' => '云企业网实例ID。', 'type' => 'string', 'example' => 'cen-37nddhri7jf0d2****'], + 'TransitRouterId' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'example' => 'tr-wz9y8sgug8b1xb416****'], + 'RegionNo' => ['description' => '转发路由器实例I的地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'FirewallEniId' => ['description' => '防火墙ENI ID。', 'type' => 'string', 'example' => 'eni-uf621u00nafypeex****'], + 'FirewallEniVpcId' => ['description' => '防火墙ENI 所在的VPC ID。', 'type' => 'string', 'example' => 'vpc-2zeppcci782zeh2bk****'], + 'FirewallEniVswitchId' => ['description' => '防火墙ENI 所在的VSWITCH ID。', 'type' => 'string', 'example' => 'vsw-uf6ptq1kl1c1d9pw9****'], + 'FirewallDescription' => ['description' => '防火墙描述。', 'type' => 'string', 'example' => 'vpc-firewall-description'], + 'RouteMode' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **managed**:表示自动模式'."\n" + ."\n" + .'- **manual**:表示手动模式', 'type' => 'string', 'example' => 'managed'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启'."\n" + ."\n" + .'- **closed**:已关闭'."\n" + ."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" + ."\n" + .'- **configured**:表示已配置VPC边界防火墙'."\n" + ."\n" + .'- **creating**:表示正在创建VPC边界防火墙'."\n" + ."\n" + .'- **opening**:表示正在开启VPC边界防火墙'."\n" + ."\n" + .'- **deleting**:表示正在删除VPC边界防火墙'."\n" + ."\n\n" + .'> 不设置该参数表示查询所有状态的VPC边界防火墙', 'type' => 'string', 'example' => 'opened'], + 'FirewallVpcCidr' => ['description' => '自动模式下防火墙VPC网段。', 'type' => 'string', 'example' => '10.0.0.0/16'], + 'FirewallSubnetCidr' => ['description' => '自动模式下防火墙VPC中存放防火墙ENI的子网网段。', 'type' => 'string', 'example' => '10.0.1.0/24'], + 'TrAttachmentMasterCidr' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网主用网段。', 'type' => 'string', 'example' => '10.0.2.0/24'], + 'TrAttachmentSlaveZone' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网备用可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-i'], + 'TrAttachmentSlaveCidr' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网备用网段。', 'type' => 'string', 'example' => '10.0.3.0/24'], + 'TrAttachmentMasterZone' => ['description' => '自动模式下防火墙VPC中用于连接TR的子网主用可用区。', 'type' => 'string', 'example' => 'cn-hangzhou-h'], + 'TrAttachmentId' => ['description' => '自动模式下防火墙 VPC 中用于连接 TR 的关联Id。', 'type' => 'string', 'example' => 'tr-attach-r1llaxxeha71jsm36v'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist', 'description' => '云企业网企业版防火墙不存在'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DomainGroupUseDns\\": true,\\n \\"SupportMessageType\\": true,\\n \\"RequestId\\": \\"7D45133B-DBC0-506B-9DF9-AB0735D3****\\",\\n \\"NatDomainGroupUseDns\\": false,\\n \\"VpcDomainGroupUseDns\\": false\\n}","type":"json"}]', - 'title' => '获取ACL白名单', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAclRuleCount' => [ - 'summary' => '获取总ACL配置数。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取TR防火墙详情', + 'changeSet' => [ + ['createdAt' => '2025-04-02T07:06:40.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-07-20T07:28:39.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-07-19T08:01:05.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2Detail'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2Detail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallName\\": \\"cloudfirewall-manual\\",\\n \\"RequestId\\": \\"7E53A7FB-3EB9-5E33-8E50-B8F417D1E02B\\",\\n \\"FirewallId\\": \\"vfw-tr-9c7c711abdfa4d80****\\",\\n \\"FirewallStatus\\": \\"Ready\\",\\n \\"CenId\\": \\"cen-37nddhri7jf0d2****\\",\\n \\"TransitRouterId\\": \\"tr-wz9y8sgug8b1xb416****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallEniId\\": \\"eni-uf621u00nafypeex****\\",\\n \\"FirewallEniVpcId\\": \\"vpc-2zeppcci782zeh2bk****\\",\\n \\"FirewallEniVswitchId\\": \\"vsw-uf6ptq1kl1c1d9pw9****\\",\\n \\"FirewallDescription\\": \\"vpc-firewall-description\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"FirewallVpcCidr\\": \\"10.0.0.0/16\\",\\n \\"FirewallSubnetCidr\\": \\"10.0.1.0/24\\",\\n \\"TrAttachmentMasterCidr\\": \\"10.0.2.0/24\\",\\n \\"TrAttachmentSlaveZone\\": \\"cn-hangzhou-i\\",\\n \\"TrAttachmentSlaveCidr\\": \\"10.0.3.0/24\\",\\n \\"TrAttachmentMasterZone\\": \\"cn-hangzhou-h\\",\\n \\"TrAttachmentId\\": \\"tr-attach-r1llaxxeha71jsm36v\\"\\n}","type":"json"}]', + ], + 'DescribeTrFirewallsV2List' => [ + 'summary' => '获取TR防火墙列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32580,41 +26692,85 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68172', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '142848', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '27.151.85.XX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '转发路由器实例I的地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'FirewallSwitchStatus', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启'."\n" + ."\n" + .'- **closed**:已关闭'."\n" + ."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" + ."\n" + .'- **configured**:表示已配置VPC边界防火墙'."\n" + ."\n" + .'- **creating**:表示正在创建VPC边界防火墙'."\n" + ."\n" + .'- **opening**:表示正在开启VPC边界防火墙'."\n" + ."\n" + .'- **deleting**:表示正在删除VPC边界防火墙'."\n" + ."\n\n" + .'> 不设置该参数表示查询所有状态的VPC边界防火墙', 'type' => 'string', 'required' => false, 'example' => 'opened'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时的页码。默认值为**1**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-f1799baa9e254651****'], + ], + [ + 'name' => 'FirewallName', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例名称。', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test'], + ], + [ + 'name' => 'RouteMode', + 'in' => 'query', + 'schema' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **managed**:表示自动模式。'."\n" + ."\n" + .'- **manual**:表示手动模式。'."\n" + ."\n" + .'> 不设置该参数表示查询所有路由模式的VPC边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'managed'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-rig0t5zi96crkl****'], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-uf6egtvyaedvt20xl****'], ], ], 'responses' => [ @@ -32622,89 +26778,349 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetInAclCount' => [ - 'description' => '互联网边界入向策略数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalAclCount' => [ - 'description' => '总策略数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****', - ], - 'InternetOutAclCount' => [ - 'description' => '互联网边界出向策略数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'VpcAclCount' => [ - 'description' => 'VPC边界策略数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'NatInAclCount' => [ - 'description' => 'NAT边界入向策略数。>废弃字段>', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'NatOutAclCount' => [ - 'description' => 'NAT边界内到外策略数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'string', 'example' => '6'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '1471E2EC-F706-5F11-A79B-BD583ACB8297'], + 'VpcTrFirewalls' => [ + 'description' => 'VPC边界防火墙列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC边界防火墙。', + 'type' => 'object', + 'properties' => [ + 'CenId' => ['description' => ' 云企业网实例的ID。 ', 'type' => 'string', 'example' => 'cen-03f8s0z052ka3v****'], + 'CenName' => ['description' => '云企业网实例名称。', 'type' => 'string', 'example' => 'cen_swas'], + 'CloudFirewallVpcOrderType' => [ + 'description' => '防火墙VPC产生的TR费用付费方, 取值:'."\n" + ."\n" + .'- **PayByCloudFirewall**: 由云防火墙承担费用'."\n" + .'- **PayByCenOwner**: 由云企业网实例所属账号承担费用', + 'type' => 'string', + 'enumValueTitles' => [], + 'example' => 'PayByCenOwner', + ], + 'FirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-99bc4f0fc88b4d00****'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启'."\n" + ."\n" + .'- **closed**:已关闭'."\n" + ."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙'."\n" + ."\n" + .'- **configured**:表示已配置VPC边界防火墙'."\n" + ."\n" + .'- **creating**:表示正在创建VPC边界防火墙'."\n" + ."\n" + .'- **opening**:表示正在开启VPC边界防火墙'."\n" + ."\n" + .'- **deleting**:表示正在删除VPC边界防火墙'."\n" + ."\n\n" + .'> 不设置该参数表示查询所有状态的VPC边界防火墙', 'type' => 'string', 'example' => 'opened'], + 'IpsConfig' => [ + 'description' => 'IPS配置信息。', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开启状态'."\n" + ."\n" + .'- **0**:关闭状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EnableAllPatch' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开启状态'."\n" + .'- **0**:关闭状态', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RuleClass' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RunMode' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式'."\n" + .'- **0**:观察模式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + 'OwnerId' => ['description' => 'VPC实例所属账号ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '171761785151****'], + 'PrecheckStatus' => ['description' => '是否可以自动开墙。取值:'."\n" + ."\n" + .'- **passed**:可以自动开墙'."\n" + ."\n" + .'- **failed**:不可以自动开墙'."\n" + ."\n" + .'- **unknown**:未知状态', 'type' => 'string', 'example' => 'passed'], + 'ProtectedResource' => [ + 'description' => '已防护的资源列表。', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '已防护的资源个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EcrList' => [ + 'description' => '已防护的ECR列表。', + 'type' => 'array', + 'items' => ['description' => '已防护的ECR列表。', 'type' => 'string', 'example' => '['."\n" + .' "ecr-d6yi3kl5qxmvkz****"'."\n" + .']'], + ], + 'PeerTrList' => [ + 'description' => '已防护的对端TR列表。', + 'type' => 'array', + 'items' => ['description' => '已防护的对端TR列表。', 'type' => 'string', 'example' => '['."\n" + .' "tr-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + 'VbrList' => [ + 'description' => '已防护的VBR列表。', + 'type' => 'array', + 'items' => ['description' => '已防护的VBR列表。', 'type' => 'string', 'example' => '['."\n" + .' "vbr-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + 'VpcList' => [ + 'description' => '已防护的VPC列表。', + 'type' => 'array', + 'items' => ['description' => '已防护的VPC列表。', 'type' => 'string', 'example' => '["vpc-2zegxdvs5f2je81ph****"]'], + ], + 'VpnList' => [ + 'description' => '已防护的VPN列表。', + 'type' => 'array', + 'items' => ['description' => '已防护的VPN列表。', 'type' => 'string', 'example' => '['."\n" + .' "vpn-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + ], + ], + 'RegionNo' => ['description' => '转发路由器实例I的地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'RegionStatus' => ['description' => '地域开放状态。取值:'."\n" + ."\n" + .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙'."\n" + ."\n" + .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙', 'type' => 'string', 'example' => 'enable'], + 'ResultCode' => ['description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" + ."\n" + .'- **RegionDisable**:表示网络实例所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙'."\n" + ."\n" + .'- **空字符串**,表示该网络实例可以正常创建VPC边界防火墙', 'type' => 'string', 'example' => ' RegionDisable'], + 'RouteMode' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **managed**:表示自动模式'."\n" + ."\n" + .'- **manual**:表示手动模式', 'type' => 'string', 'example' => 'managed'], + 'TransitRouterId' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'example' => 'tr-2vcmhjs88nil55fvu****'], + 'UnprotectedResource' => [ + 'description' => '未防护的资源列表。', + 'type' => 'object', + 'properties' => [ + 'Count' => ['description' => '未防护的资源个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EcrList' => [ + 'description' => '未防护的ECR列表。', + 'type' => 'array', + 'items' => ['description' => '未防护的ECR列表。', 'type' => 'string', 'example' => '['."\n" + .' "ecr-d6yi3kl5qxmvkz****"'."\n" + .']'], + ], + 'PeerTrList' => [ + 'description' => '未防护的对端TR列表。', + 'type' => 'array', + 'items' => ['description' => '未防护的对端TR列表。', 'type' => 'string', 'example' => '['."\n" + .' "tr-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + 'VbrList' => [ + 'description' => '未防护的VBR列表。', + 'type' => 'array', + 'items' => ['description' => '未防护的VBR列表。', 'type' => 'string', 'example' => '['."\n" + .' "vbr-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + 'VpcList' => [ + 'description' => '未防护的VPC列表。', + 'type' => 'array', + 'items' => ['description' => '未防护的VPC列表。', 'type' => 'string', 'example' => '['."\n" + .' "vpc-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + 'VpnList' => [ + 'description' => '未防护的VPN列表。', + 'type' => 'array', + 'items' => ['description' => '未防护的VPN列表。', 'type' => 'string', 'example' => '['."\n" + .' "vpn-2zegxdvs5f2je81ph****"'."\n" + .']'], + ], + ], + ], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'example' => 'vpc-firewall-test'], + 'AclConfig' => [ + 'description' => 'ACL引擎模式。', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式 '."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取云企业网(企业版)防火墙列表', + 'changeSet' => [ + ['createdAt' => '2025-04-02T11:10:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-11-12T06:32:51.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-06T08:23:29.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-15T08:18:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-06-13T09:36:42.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2List'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2List', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"6\\",\\n \\"RequestId\\": \\"1471E2EC-F706-5F11-A79B-BD583ACB8297\\",\\n \\"VpcTrFirewalls\\": [\\n {\\n \\"CenId\\": \\"cen-03f8s0z052ka3v****\\",\\n \\"CenName\\": \\"cen_swas\\",\\n \\"CloudFirewallVpcOrderType\\": \\"PayByCenOwner\\",\\n \\"FirewallId\\": \\"vfw-tr-99bc4f0fc88b4d00****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RuleClass\\": 3,\\n \\"RunMode\\": 1\\n },\\n \\"OwnerId\\": 0,\\n \\"PrecheckStatus\\": \\"passed\\",\\n \\"ProtectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"ResultCode\\": \\" RegionDisable\\",\\n \\"RouteMode\\": \\"managed\\",\\n \\"TransitRouterId\\": \\"tr-2vcmhjs88nil55fvu****\\",\\n \\"UnprotectedResource\\": {\\n \\"Count\\": 1,\\n \\"EcrList\\": [\\n \\"[\\\\n \\\\\\"ecr-d6yi3kl5qxmvkz****\\\\\\"\\\\n]\\"\\n ],\\n \\"PeerTrList\\": [\\n \\"[\\\\n \\\\\\"tr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VbrList\\": [\\n \\"[\\\\n \\\\\\"vbr-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpcList\\": [\\n \\"[\\\\n \\\\\\"vpc-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ],\\n \\"VpnList\\": [\\n \\"[\\\\n \\\\\\"vpn-2zegxdvs5f2je81ph****\\\\\\"\\\\n]\\"\\n ]\\n },\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeTrFirewallsV2RouteList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '142865', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-8bcfa0f2f12d411e****'], + ], + [ + 'name' => 'TrFirewallRoutePolicyId', + 'in' => 'query', + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => false, 'example' => 'policy-7d5c672e37ee4175****'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时的页码。默认值为1。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'FirewallRouteDetailList' => [ + 'description' => '云防火墙路由表列表。', + 'type' => 'array', + 'items' => [ + 'description' => '云防火墙路由表。', + 'type' => 'object', + 'properties' => [ + 'TrFirewallRoutePolicyId' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'example' => 'policy-04ecbbc6720d4f90****'], + 'TrFirewallRouteTableId' => ['description' => '路由所属路由表的ID。', 'type' => 'string', 'example' => 'vtb-2zeockxxxorv0mnhz****'], + 'TrFirewallRouteDestination' => ['description' => '路由目的地址。', 'type' => 'string', 'example' => '192.168.10.0/25'], + 'TrFirewallRouteNexthop' => ['description' => '路由下一跳ID。', 'type' => 'string', 'example' => 'tr-attach-hnxab1y0pxn16p****'], + ], + ], + ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'ABF190A2-B4D0-53F6-995A-5690A721F91C'], + ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => 'TR防火墙引流场景不存在'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"InternetInAclCount\\": 2,\\n \\"TotalAclCount\\": 8,\\n \\"RequestId\\": \\"27936D6C-1B7A-5A5A-B9E4-FBEBBDAA****\\",\\n \\"InternetOutAclCount\\": 3,\\n \\"VpcAclCount\\": 3,\\n \\"NatInAclCount\\": 0,\\n \\"NatOutAclCount\\": 2\\n}","type":"json"}]', - 'title' => '获取总ACL配置数', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeControlPolicy' => [ - 'summary' => '获取所有访问控制策略的信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取TR防火墙路由表列表', + 'summary' => '获取TR防火墙路由表列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2RouteList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2RouteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"FirewallRouteDetailList\\": [\\n {\\n \\"TrFirewallRoutePolicyId\\": \\"policy-04ecbbc6720d4f90****\\",\\n \\"TrFirewallRouteTableId\\": \\"vtb-2zeockxxxorv0mnhz****\\",\\n \\"TrFirewallRouteDestination\\": \\"192.168.10.0/25\\",\\n \\"TrFirewallRouteNexthop\\": \\"tr-attach-hnxab1y0pxn16p****\\"\\n }\\n ],\\n \\"RequestId\\": \\"ABF190A2-B4D0-53F6-995A-5690A721F91C\\"\\n}","type":"json"}]', + ], + 'DescribeTrafficLog' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -32716,13 +27132,15 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68239', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68392', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '139.217.234.XXX'], + ], [ 'name' => 'Lang', 'in' => 'query', @@ -32732,6 +27150,7 @@ .'- **en**:英文', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], @@ -32744,195 +27163,257 @@ .'- **en**:英文', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'Direction', + 'name' => 'StartTime', 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '访问控制策略控制的流量方向。取值:'."\n" - .'- **in**:外对内方向的流量访问控制。'."\n" - .'- **out**:内对外方向的流量访问控制。', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - 'enum' => [ - 'out', - 'in', - ], - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。仅支持查询7日内数据。建议单次查询不超过一天。', 'type' => 'string', 'required' => true, 'example' => '1730946241'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => true, 'example' => '1742926322'], + ], + [ + 'name' => 'AppId', + 'in' => 'query', + 'schema' => ['description' => '应用ID。', 'type' => 'string', 'required' => false, 'example' => '7'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的当前页的页码。'."\n" - ."\n" - .'默认值为1。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '查询的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '查询的页数。不超过20。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'Source', + 'name' => 'RuleId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的访问源地址。支持使用模糊查询的方式进行查询。SourceType(源类型)不同,访问源地址的取值也不同。'."\n" - ."\n" - .'- 当SourceType为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - ."\n" - .'- 当SourceType为`group`时,访问源为源地址簿名称。例如:db_group为空(表示查询所有访问控制源)。'."\n" - ."\n" - .'- 当SourceType为`location`时,访问源为源区域。例如:北京或beijing(支持使用中文或英文进行查询)。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的访问源。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '规则ID。', 'type' => 'string', 'required' => false, 'example' => '8b115ae3-da64-4b80-81c1-1cd2dd42****'], ], [ - 'name' => 'Destination', + 'name' => 'SourceCode', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" - ."\n" - .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" - ."\n" - .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" - ."\n" - .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" - ."\n" - .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的目的地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '溯源码。', 'type' => 'string', 'required' => true, 'example' => 'yundun'], ], [ - 'name' => 'Description', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。支持模糊查询。'."\n" - ."\n" - .'> 不设置该参数表示查询所有策略的描述信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '目标IP。', 'type' => 'string', 'required' => false, 'example' => '182.92.206.XXX'], ], [ - 'name' => 'Proto', + 'name' => 'SrcIP', + 'in' => 'query', + 'schema' => ['description' => '源IP。', 'type' => 'string', 'required' => false, 'example' => '10.68.60.XXX'], + ], + [ + 'name' => 'SrcPrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网源IP地址。', 'type' => 'string', 'required' => false, 'example' => '10.100.134.XX'], + ], + [ + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(表示所有协议类型)'."\n" - .'> 不设置该参数表示查询所有协议类型。', + 'description' => '方向。', 'type' => 'string', 'required' => false, - 'example' => 'TCP', + 'enumValueTitles' => ['in' => '入方向', 'out' => '出方向'], + 'example' => 'out', ], ], [ - 'name' => 'AclAction', + 'name' => 'AssetRegion', + 'in' => 'query', + 'schema' => ['description' => '地域id。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'RuleResult', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - ."\n" - .'- **drop**:拒绝'."\n" - ."\n" - .'- **log**:观察'."\n" - ."\n" - .'> 不设置该参数表示查询所有的动作类型。', + 'description' => '规则处罚结果。', 'type' => 'string', 'required' => false, - 'example' => 'accept', + 'enumValueTitles' => ['允许', '告警', '丢弃'], + 'example' => '0', ], ], [ - 'name' => 'Release', + 'name' => 'IpProtocol', + 'in' => 'query', + 'schema' => ['description' => '协议类型。', 'type' => 'string', 'required' => false, 'example' => 'icmp'], + ], + [ + 'name' => 'SrcPort', + 'in' => 'query', + 'schema' => ['description' => '源端口。', 'type' => 'string', 'required' => false, 'example' => '8082'], + ], + [ + 'name' => 'DstPort', + 'in' => 'query', + 'schema' => ['description' => '目标端口。', 'type' => 'string', 'required' => false, 'example' => '9876'], + ], + [ + 'name' => 'AttackType', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的启用状态。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', + 'description' => '攻击类型。', 'type' => 'string', 'required' => false, - 'example' => 'true', + 'enumValueTitles' => [1 => '异常连接', '命令执行', '暴力破解', '扫描', '其它'], + 'example' => '1', ], ], [ - 'name' => 'AclUuid', + 'name' => 'RuleSource', + 'in' => 'query', + 'schema' => [ + 'description' => '规则来源。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [1 => '基础防御', '虚拟补丁', '基础ACL', '威胁情报', 9 => 'Web过滤', '应用程序控制', '1,2' => 'IPS'], + 'example' => '1', + ], + ], + [ + 'name' => 'VulLevel', + 'in' => 'query', + 'schema' => [ + 'description' => '漏洞等级。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [1 => '低危', '中危', '高危'], + 'example' => '1', + ], + ], + [ + 'name' => 'Isp', + 'in' => 'query', + 'schema' => ['description' => '运营商。', 'type' => 'string', 'required' => false, 'example' => 'telecom'], + ], + [ + 'name' => 'Location', + 'in' => 'query', + 'schema' => ['description' => '访问源或目的IP的地区。', 'type' => 'string', 'required' => false, 'example' => 'Hangzhou'], + ], + [ + 'name' => 'DomainName', + 'in' => 'query', + 'schema' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], + [ + 'name' => 'FlowType', + 'in' => 'query', + 'schema' => [ + 'description' => '流日志类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['UnidirectionalFlow' => '单选流', 'BidirectionalFlow' => '双向流'], + 'example' => 'All', + ], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。', + 'description' => '防火墙类型。', 'type' => 'string', 'required' => false, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', + 'enumValueTitles' => ['DnsFirewall' => 'DNS防火墙', 'VpcFirewall' => 'vpc边界防火墙', 'NatFirewall' => 'Nat防火墙', 'InternetFirewall' => '互联网边界防火墙'], + 'example' => 'VpcFirewall', ], ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-a42bbb7b887148c9****'], + ], + [ + 'name' => 'SrcVpcId', + 'in' => 'query', + 'schema' => ['description' => '源VpcId。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9309pkwe06lv****tk4'], + ], + [ + 'name' => 'DstVpcId', + 'in' => 'query', + 'schema' => ['description' => '目的VpcId。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz95m1aq9b0h****vk1yb'], + ], + [ + 'name' => 'SrcVpcRegionNo', + 'in' => 'query', + 'schema' => ['description' => '源Vpc资产地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + ], + [ + 'name' => 'DstVpcRegionNo', + 'in' => 'query', + 'schema' => ['description' => '目的Vpc资产地域。', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen'], + ], + [ + 'name' => 'DomainUrl', + 'in' => 'query', + 'schema' => ['description' => '流日志的URL。', 'type' => 'string', 'required' => false, 'example' => 'example.com'], + ], [ 'name' => 'IpVersion', 'in' => 'query', - 'allowEmptyValue' => true, 'schema' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**(默认):代表IPv4地址'."\n" - ."\n" - .'- **6**:代表IPv6地址', + 'description' => 'IP版本。', 'type' => 'string', 'required' => false, - 'example' => '6', - 'enum' => [ - '4', - '6', - ], + 'enumValueTitles' => [4 => 'IPv4', 6 => 'IPv6'], + 'example' => '4', ], ], [ - 'name' => 'RepeatType', + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '128599825273****'], + ], + [ + 'name' => 'NatFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-7a9c8901ed394****'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'NAT网关ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-2zew6yn017hhzbm****'], + ], + [ + 'name' => 'AclPreState', + 'in' => 'query', + 'schema' => ['description' => 'ACL预匹配状态。', 'type' => 'string', 'required' => false, 'example' => 'normal'], + ], + [ + 'name' => 'AclPreRuleId', + 'in' => 'query', + 'schema' => ['description' => 'ACL预匹配规则ID。', 'type' => 'string', 'required' => false, 'example' => '00000000-0000-0000-0000-000000000000'], + ], + [ + 'name' => 'AppDpiState', + 'in' => 'query', + 'schema' => ['description' => '应用识别状态。', 'type' => 'string', 'required' => false, 'example' => 'success'], + ], + [ + 'name' => 'TlsScopeId', + 'in' => 'query', + 'schema' => ['description' => 'TLS检查范围ID。', 'type' => 'string', 'required' => false, 'example' => 'tis-98fd64c5****'], + ], + [ + 'name' => 'RuleSourceFinal', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', + 'description' => '最终生效模块。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', + 'enumValueTitles' => [1 => '基础防御', '虚拟补丁', '基础ACL', '威胁情报', 9 => 'Web过滤', '应用程序控制', '1,2' => 'IPS'], + 'example' => '1', ], ], ], @@ -32941,474 +27422,198 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '分页查询时,显示的当前页的页码。', - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。', - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', - ], - 'TotalCount' => [ - 'description' => '访问控制策略的总数量。', - 'type' => 'string', - 'example' => '100', + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '633D92D1-768A-547F-8ADC-2870CF0A99F6'], + 'PageInfo' => [ + 'description' => '分页信息。', + 'type' => 'object', + 'properties' => [ + 'CurrentPage' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['description' => '返回指定的每页条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], ], - 'Policys' => [ - 'description' => '访问控制策略的信息。', + 'DataList' => [ + 'description' => '数据列表。', 'type' => 'array', 'items' => [ - 'description' => '无', + 'description' => '数据列表详情。', 'type' => 'object', 'properties' => [ - 'Direction' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'example' => 'in', - ], - 'Order' => [ - 'description' => '访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SourceType' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n" - .'- **location**:源区域', - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => '访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有应用类型)', - 'type' => 'string', - 'example' => 'HTTP', - ], - 'HitTimes' => [ - 'description' => '访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'Description' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'DNS解析结果。', - 'type' => 'string', - 'deprecated' => true, - 'example' => '192.0.XX.XX,192.0.XX.XX', - ], - 'Proto' => [ - 'description' => '访问控制策略中流量访问的安全协议类型。取值:'."\n" - ."\n" - .'- **ANY**'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**', - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'Destination' => [ - 'description' => '访问控制策略中的目的地址。DestinationType(目的类型)不同,目的地址的取值也不同。取值:'."\n" - ."\n" - .'- 当**DestinationType**为**net**时,目的地址为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - .'- 当**DestinationType**为**domain**时,目的地址为域名。例如:aliyuncs.com。'."\n" - .'- 当**DestinationType**为**group**时,目的地址为地址簿的名称。例如:db_group。'."\n" - .'- 当**DestinationType**为**location**时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如: \\["BJ11", "ZB"\\]。', - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => '访问控制策略中流量访问的目的端口地址簿名称。', - 'type' => 'string', - 'example' => 'my_port_group', - ], - 'AclUuid' => [ - 'description' => '访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], - 'DestPortType' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '访问控制策略中的访问源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" - .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => '访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'example' => 'net', - ], - 'DestPort' => [ - 'description' => '访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'example' => '80', - ], - 'IpVersion' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**:代表IPv4地址'."\n" - .'- **6**:代表IPv6地址', + 'Direction' => ['description' => '流量方向。取值:'."\n" + .'- **in**:表示进方向。'."\n" + .'- **out**:表示出方向。', 'type' => 'string', 'example' => 'in'], + 'AttackType' => [ + 'description' => '入侵防御事件的攻击类型。', 'type' => 'integer', 'format' => 'int32', - 'example' => '6', - ], - 'AclAction' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'accept', - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => '访问控制策略中设置访问流量的应用ID。', - 'type' => 'string', - 'example' => '10***', - ], - 'DestinationGroupCidrs' => [ - 'description' => '访问控制策略中的目的地址簿中的网段列表。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的目的地址簿中的网段。', - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => '目的端口地址簿中包含的端口列表。', - 'type' => 'array', - 'items' => [ - 'description' => '目的端口地址簿中包含的端口。', - 'type' => 'string', - 'example' => '80/80', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => '访问控制策略中的源地址簿中的网段列表。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的源地址簿中的网段。', - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], + 'enumValueTitles' => [1 => '异常连接', '命令执行', '暴力破解', '扫描', '其它'], + 'example' => '0', ], - 'ApplicationNameList' => [ - 'description' => '应用名称列表。', + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'example' => '14151892****7022'], + 'CountryId' => ['description' => '国家ID。', 'type' => 'string', 'example' => 'US'], + 'DstPort' => ['description' => '目标端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'SrcPrivateIP' => ['description' => '私网源IP地址。', 'type' => 'string', 'example' => '172.16.101.7'], + 'IpProtocol' => ['description' => '协议类型。', 'type' => 'string', 'example' => 'tcp'], + 'DomainName' => ['description' => '域名。', 'type' => 'string', 'example' => 'aliyun.com'], + 'RuleId' => ['description' => '命中的规则ID。', 'type' => 'string', 'example' => '00000000-0000-0000-0000-000000000000'], + 'AppName' => ['description' => '应用名。', 'type' => 'string', 'example' => 'HTTP'], + 'AttackApp' => ['description' => '被攻击应用的名称。', 'type' => 'string', 'example' => 'WebLogic'], + 'PacketCount' => ['description' => '流量包数。', 'type' => 'integer', 'format' => 'int64', 'example' => '23'], + 'AppId' => ['description' => '应用ID。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RuleResult' => ['description' => '流量最终结果。取值:'."\n" + .'- **0**:表示放行。'."\n" + .'- **1**:表示告警。'."\n" + .'- **2**:表示丢弃。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'Ext' => ['description' => '其他扩展数据。', 'type' => 'string', 'example' => 'None'], + 'DstIP' => ['description' => '查询到的目的ip。表示入侵防御事件中包含了这条目的ip。', 'type' => 'string', 'example' => '2.2.2.2'], + 'PacketBytes' => ['description' => '包字节数。', 'type' => 'integer', 'format' => 'int64', 'example' => '355'], + 'InBytes' => ['description' => '流入流量。', 'type' => 'string', 'example' => '125'], + 'IspId' => ['description' => '运营商ID。', 'type' => 'string', 'example' => '50075069'], + 'Isp' => ['description' => '运营商。', 'type' => 'string', 'example' => 'FOP Dmytro Nedilskyi'], + 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'SrcPort' => ['description' => '数据源的端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '20206'], + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'test'], + 'EndTime' => ['description' => '数据结束时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1751423363'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-4045ca7***'], + 'CityId' => ['description' => '城市ID。', 'type' => 'string', 'example' => 'FI'], + 'StartTime' => ['description' => '数据开始时间。时间戳格式,单位:秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '1751423362'], + 'CloseReason' => ['description' => '关闭原因。', 'type' => 'string', 'example' => 'tcp_fin'], + 'OutBytes' => ['description' => '流出流量。', 'type' => 'string', 'example' => '230'], + 'VulLevel' => ['description' => '漏洞等级', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RuleSource' => ['description' => '本次命中的检测规则来源。取值:'."\n" + .'- **0**:表示无。'."\n" + .'- **1**:表示基础防御。'."\n" + .'- **2**:表示虚拟补丁。'."\n" + .'- **3**:表示访问控制。'."\n" + .'- **4**:表示威胁情报。', 'type' => 'string', 'example' => '0'], + 'OutPackets' => ['description' => '流出报文数。', 'type' => 'string', 'example' => '11'], + 'InPackets' => ['description' => '流入报文数。', 'type' => 'string', 'example' => '12'], + 'SrcIP' => ['description' => '源IP。', 'type' => 'string', 'example' => '1.1.1.1'], + 'Location' => ['description' => '访问源或目的IP的地区。', 'type' => 'string', 'example' => 'Hangzhou'], + 'DomainUrl' => ['description' => '流日志的URL。', 'type' => 'string', 'example' => 'xxx.com'], + 'CloudInstanceId' => ['description' => '云服务实例ID。', 'type' => 'string', 'example' => 'ngw-*'], + 'AclPreState' => ['description' => 'ACL预匹配状态。取值:'."\n" + ."\n" + .'**app_unknown**: 应用未识别'."\n" + ."\n" + .'**domain_unknown**: 域名未识别'."\n" + ."\n" + .'**normal**:正常', 'type' => 'string', 'example' => 'normal'], + 'AclPreRuleId' => ['description' => 'ACL预匹配的策略ID'."\n" + .'不填表示所有。', 'type' => 'string', 'example' => '2'], + 'AclPreRuleName' => ['description' => 'ACL预匹配的策略名。', 'type' => 'string', 'example' => 'test'], + 'AppDpiState' => ['description' => 'API状态。取值:'."\n" + ."\n" + .'**none**: 初始状态'."\n" + ."\n" + .'**policy_discard**:连接建立失败,被用户acl或威胁情报拦截'."\n" + ."\n" + .'**tcp_not_establish**:tcp建立失败'."\n" + ."\n" + .'**no_payload**: 连接已经建立,但dpi已经分析0个payload'."\n" + ."\n" + .'**analysing**: 识别中'."\n" + ."\n" + .'**unknown_loose**: 宽松模式,识别失败,继续识别'."\n" + ."\n" + .'**unknown_strict**: 严格模式,识别失败'."\n" + ."\n" + .'**success**: 识别成功', 'type' => 'string', 'example' => 'success'], + 'Rules' => [ + 'description' => '规则列表。', 'type' => 'array', 'items' => [ - 'description' => '访问控制策略支持的应用类型列表。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有应用类型)', - 'type' => 'string', - 'example' => 'HTTP', + 'description' => '规则列表。', + 'type' => 'object', + 'properties' => [ + 'RuleName' => ['description' => '规则名称。', 'type' => 'string', 'example' => 'sharepoint'], + 'RuleId' => ['description' => '规则ID。', 'type' => 'string', 'example' => '17'], + 'RuleSource' => ['description' => '规则来源。', 'type' => 'string', 'example' => '3'], + ], ], ], - 'SpreadCnt' => [ - 'description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" - .'单条策略占用的规格数 = 源地址个数(IP地址段个数或区域个数)\\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 端口段个数 \\* 应用数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10000', - ], - 'CreateTime' => [ - 'description' => '创建策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '修改策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', + 'SrcVpc' => [ + 'description' => '源VPC信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => '源VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vba1c1em97h0ji71****'], + 'VpcName' => ['description' => '源VPC的实例名称。', 'type' => 'string', 'example' => 'yi-vpc'], + 'RegionNo' => ['description' => '源VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], ], - 'example' => 'Permanent', ], - 'RepeatDays' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'DstVpc' => [ + 'description' => 'dstvpc信息列表。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-8vba1c1em97h0ji71b****'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'yi-vpc'], + 'RegionNo' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], ], ], - 'RepeatStartTime' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', - ], - 'DomainResolveType' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'string', - 'example' => 'FQDN', - ], + 'PrivateIp' => ['description' => '私有IP。', 'type' => 'string', 'example' => '172.21.234.XXX'], + 'PrivatePort' => ['description' => '私有端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'], + 'TlsRuleId' => ['description' => '命中tls检查的规则ID。', 'type' => 'string', 'example' => 'tir-xxx'], + 'TlsRuleName' => ['description' => '命中tls检查的规则名。', 'type' => 'string', 'example' => 'test'], + 'TlsScopeId' => ['description' => 'TLS检查范围ID。', 'type' => 'string', 'example' => 'tls-xxx'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorAliUidBlackList', 'errorMessage' => 'The specified aliUid is invalid.', 'description' => '无效的aliUid'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorTrafficSlsFirewallType', 'errorMessage' => 'The firewall type of traffic log is invalid.', 'description' => '无效的防火墙类型'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorPortError', 'errorMessage' => 'The port is invalid.', 'description' => '无效的端口'], + ['errorCode' => 'ErrorIpProtocolError', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorAttackTypeError', 'errorMessage' => 'The attack type is invalid.', 'description' => '无效的攻击类型'], + ['errorCode' => 'ErrorVulLevelFailed', 'errorMessage' => 'VulLevel has failed.', 'description' => '漏洞等级失败'], + ['errorCode' => 'ErrorRuleResultError', 'errorMessage' => 'The rule result is invalid.', 'description' => '无效的rule result'], + ['errorCode' => 'ErrorAppIdError', 'errorMessage' => 'An app ID error occurred.', 'description' => 'APP ID错误'], + ['errorCode' => 'ErrorFlowType', 'errorMessage' => 'The flow type is invalid.', 'description' => '无效的flow type'], + ['errorCode' => 'ErrorIspError', 'errorMessage' => 'The ISP name is invalid.', 'description' => '运营商错误'], + ['errorCode' => 'ErrorLocationError', 'errorMessage' => 'The location name is invalid.', 'description' => '地区错误'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorSLSLogStore', 'errorMessage' => 'Failed to get SLS logstore.', 'description' => '获取SLS logstore失败'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAsyncQueryFailed', 'errorMessage' => 'The current query has timed out. We suggest shortening the query time range and trying again.', 'description' => '当前查询已超时,建议缩短查询时间范围后重试。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"HitTimes\\": 100,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX,192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"DestPort\\": \\"80\\",\\n \\"IpVersion\\": 6,\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"10***\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.0.XX.XX/24\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n 100\\n \\n in\\n 1\\n net\\n HTTP\\n 100\\n test\\n ip\\n 1579261141\\n 192.0.XX.XX,192.0.XX.XX\\n TCP\\n ip\\n 192.0.XX.XX/24\\n 1579261141\\n my_port_group\\n 00281255-d220-4db1-8f4f-c4df221a****\\n port\\n 192.0.XX.XX/24\\n net\\n 80\\n 6\\n accept\\n true\\n 10***\\n 192.0.XX.XX/24\\n 80/80\\n 192.0.XX.XX/24\\n HTTP\\n 10000\\n 1761062400\\n 1761062400\\n \\n","errorExample":""}]', - 'title' => '获取所有访问控制策略的信息', - 'description' => '本接口一般用于分页查询访问控制策略的信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeACLProtectTrend' => [ - 'summary' => '查询互联网访问控制拦截趋势图。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询日志流量信息', + 'summary' => '查询日志流量信息。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrafficLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"633D92D1-768A-547F-8ADC-2870CF0A99F6\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2\\n },\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"AttackType\\": 0,\\n \\"MemberUid\\": \\"14151892****7022\\",\\n \\"CountryId\\": \\"US\\",\\n \\"DstPort\\": 80,\\n \\"SrcPrivateIP\\": \\"172.16.101.7\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"DomainName\\": \\"aliyun.com\\",\\n \\"RuleId\\": \\"00000000-0000-0000-0000-000000000000\\",\\n \\"AppName\\": \\"HTTP\\",\\n \\"AttackApp\\": \\"WebLogic\\",\\n \\"PacketCount\\": 23,\\n \\"AppId\\": 6,\\n \\"RuleResult\\": 0,\\n \\"Ext\\": \\"None\\",\\n \\"DstIP\\": \\"2.2.2.2\\",\\n \\"PacketBytes\\": 355,\\n \\"InBytes\\": \\"125\\",\\n \\"IspId\\": \\"50075069\\",\\n \\"Isp\\": \\"FOP Dmytro Nedilskyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SrcPort\\": 20206,\\n \\"RuleName\\": \\"test\\",\\n \\"EndTime\\": 1751423363,\\n \\"VpcFirewallId\\": \\"vfw-4045ca7***\\",\\n \\"CityId\\": \\"FI\\",\\n \\"StartTime\\": 1751423362,\\n \\"CloseReason\\": \\"tcp_fin\\",\\n \\"OutBytes\\": \\"230\\",\\n \\"VulLevel\\": 0,\\n \\"RuleSource\\": \\"0\\",\\n \\"OutPackets\\": \\"11\\",\\n \\"InPackets\\": \\"12\\",\\n \\"SrcIP\\": \\"1.1.1.1\\",\\n \\"Location\\": \\"Hangzhou\\",\\n \\"DomainUrl\\": \\"xxx.com\\",\\n \\"CloudInstanceId\\": \\"ngw-*\\",\\n \\"AclPreState\\": \\"normal\\",\\n \\"AclPreRuleId\\": \\"2\\",\\n \\"AclPreRuleName\\": \\"test\\",\\n \\"AppDpiState\\": \\"success\\",\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"sharepoint\\",\\n \\"RuleId\\": \\"17\\",\\n \\"RuleSource\\": \\"3\\"\\n }\\n ],\\n \\"SrcVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-beijing\\"\\n },\\n \\"DstVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71b****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"PrivateIp\\": \\"172.21.234.XXX\\",\\n \\"PrivatePort\\": 80,\\n \\"TlsRuleId\\": \\"tir-xxx\\",\\n \\"TlsRuleName\\": \\"test\\",\\n \\"TlsScopeId\\": \\"tls-xxx\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeTransitRouterResourcesList' => [ + 'summary' => '查询TR交换机资源列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33420,175 +27625,120 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68171', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '143494', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '本参数已废弃。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => '223.95.87.130', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '云企业网Id。', 'type' => 'string', 'required' => false, 'example' => 'cen-djz1i6p8shzioz****'], ], [ - 'name' => 'Lang', + 'name' => 'TransitRouterId', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '转发路由器ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-2zefgvkcl2qcexbb7****'], ], [ - 'name' => 'StartTime', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => false, - 'example' => '1677050306', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-shenzhen'], ], [ - 'name' => 'EndTime', + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => '边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-741de4c8956341****'], + ], + [ + 'name' => 'ResourceType', 'in' => 'query', 'schema' => [ - 'description' => '设置查询结束时间。使用秒级时间戳格式表示。', + 'description' => '资产类型。', 'type' => 'string', 'required' => false, - 'example' => '1670397599', + 'enumValueTitles' => ['VBR' => 'VBR', 'VPC' => 'VPC', 'TR' => 'TR', 'CCN' => 'CCN'], + 'example' => 'TR', ], ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-wz9lllsbftdm0svpj****'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => '9063AB86-6FFA-5B2D-A16D-697C966DECA3', - ], - 'Interval' => [ - 'description' => '返回数据的步长,单位为秒,即每隔多少秒返回一个结果。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'TotalProtectCnt' => [ - 'description' => '互联网访问控制总拦截数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '300', - ], - 'InProtectCnt' => [ - 'description' => '互联网访问控制外对内拦截次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'InterVPCProtectCnt' => [ - 'description' => '本参数已废弃。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'OutProtectCnt' => [ - 'description' => '互联网访问控制内对外拦截次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', - ], - 'TrendList' => [ - 'description' => '互联网访问控制拦截趋势数据列表。', + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A61A2516-0A22-5B3F-986B-3D4BF2A****'], + 'TransitRouterAttachedResources' => [ + 'description' => 'TR交换机资源列表。', 'type' => 'array', 'items' => [ + 'description' => 'TR交换机资源列表。', 'type' => 'object', 'properties' => [ - 'Time' => [ - 'description' => '每天0点的时间戳,单位为秒,表示当天的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1697299200', - ], - 'ProtectCnt' => [ - 'description' => '互联网访问控制当天拦截数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], + 'ResourceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'eas-r-8k1a6jjofkp0cq****'], + 'ResourceType' => ['description' => '资产类型。', 'type' => 'string', 'example' => 'VPC'], + 'ResourceName' => ['description' => '实例名称。', 'type' => 'string', 'example' => 'test'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], + ['errorCode' => 'ErrorTrResourceNotReady', 'errorMessage' => 'Transit Router has not been detected by cloud firewall', 'description' => '云防火墙未同步到转发路由器'], + ['errorCode' => 'ErrorInvalidMemberUidStatus', 'errorMessage' => 'invalid member uid status.', 'description' => '成员账号状态不合法, 不支持此操作'], + ['errorCode' => 'ErrorAssetSynchronizationNotCompleted', 'errorMessage' => 'VPC firewall asset synchronization is not completed.', 'description' => 'VPC边界防火墙资产同步未完成'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询TR交换机资源列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTransitRouterResourcesList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9063AB86-6FFA-5B2D-A16D-697C966DECA3\\",\\n \\"Interval\\": 86400,\\n \\"TotalProtectCnt\\": 300,\\n \\"InProtectCnt\\": 100,\\n \\"InterVPCProtectCnt\\": 0,\\n \\"OutProtectCnt\\": 200,\\n \\"TrendList\\": [\\n {\\n \\"Time\\": 1697299200,\\n \\"ProtectCnt\\": 100\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询互联网访问控制拦截趋势图', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A61A2516-0A22-5B3F-986B-3D4BF2A****\\",\\n \\"TransitRouterAttachedResources\\": [\\n {\\n \\"ResourceId\\": \\"eas-r-8k1a6jjofkp0cq****\\",\\n \\"ResourceType\\": \\"VPC\\",\\n \\"ResourceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribePolicyAdvancedConfig' => [ - 'summary' => '查询访问控制策略严格模式的开启状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeUnprotectedPortTrend' => [ + 'summary' => '查询未保护的端口趋势。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33597,57 +27747,49 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68336', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68393', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '61.155.60.XXX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', 'schema' => [ - 'description' => '访问者源IP地址。', + 'description' => '接收消息的语言类型。', 'type' => 'string', - 'deprecated' => true, 'required' => false, - 'example' => '192.0.XX.XX', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'Lang', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => false, 'example' => '1655778046'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => false, 'example' => '1751210395'], ], ], 'responses' => [ @@ -33655,61 +27797,54 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'InternetSwitch' => [ - 'description' => '访问控制策略严格模式的开启状态。取值:'."\n" - .'- **on**:严格模式已开启。'."\n" - .'- **off**:严格模式已关闭。', - 'type' => 'string', - 'example' => 'off', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', + 'Interval' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'E599A84E-CD22-5E42-A2A9-01A254AC****'], + 'DataList' => [ + 'description' => '数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '数据列表。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + 'Count' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '查询未保护的端口趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedPortTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"InternetSwitch\\": \\"off\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n off\\n","errorExample":""}]', - 'title' => '查询访问控制策略严格模式的开启状态', - 'description' => '本接口一般用于查询访问控制策略严格模式的开启状态。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Interval\\": 60,\\n \\"RequestId\\": \\"E599A84E-CD22-5E42-A2A9-01A254AC****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"Count\\": 1\\n }\\n ]\\n}","type":"json"}]', ], - 'DescribePolicyPriorUsed' => [ - 'summary' => '查询访问控制策略优先级生效范围。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeUnprotectedVulnTrend' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33718,82 +27853,42 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68337', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68394', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '112.15.190.XX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Direction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **in**:外对内流量。'."\n" - .'- **out**:内对外流量。', - 'type' => 'string', - 'required' => true, - 'example' => 'in', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'IpVersion', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙防护的资产的IP版本。'."\n" - ."\n\n" - .'取值:'."\n" - ."\n" - .'- **4**(默认):IpV4'."\n" - ."\n" - .'- **6**:IpV6', - 'type' => 'string', - 'required' => false, - 'example' => '6', - 'enum' => [ - '4', - '6', - ], - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => false, 'example' => '1740623016'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'string', 'required' => false, 'example' => '1754878752'], ], ], 'responses' => [ @@ -33801,117 +27896,68 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => '您已创建的访问控制策略的最低优先级。'."\n" - ."\n" - .'> -1表示最低优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150', - ], - 'Start' => [ - 'description' => '您已创建的访问控制策略的最高优先级。'."\n" - ."\n" - .'> 0表示最高优先级。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '-1', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'EndTime' => ['description' => '结束时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'example' => '1731551104'], + 'StartTime' => ['description' => '开始时间。使用秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'example' => '1749434787'], + 'CurProtectedCnt' => ['description' => '当前护漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '05BEF2B5-EAAA-509D-9824-E3C7DC17****'], + 'Interval' => ['description' => '时间间隔。', 'type' => 'integer', 'format' => 'int32', 'example' => '60'], + 'CurUnprotectedCnt' => ['description' => '当前未防护漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '8'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '漏洞扫描的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1525833105'], + 'ProtectedVulnCnt' => ['description' => '防护漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'UnprotectedVulnCnt' => ['description' => '未防护漏洞数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The destination is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": -1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 150\\n -1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '查询访问控制策略优先级使用范围', - 'description' => '本接口一般用于查询外对内流量或内对外流量访问控制策略优先级生效范围。'."\n" - ."\n" - .'## QPS限制'."\n" + 'title' => '查询未保护漏洞趋势', + 'summary' => '查询未保护漏洞趋势。', + 'description' => '## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeControlPolicyDomainResolve' => [ - 'summary' => '查询访问控制策略的域名解析结果。', - 'methods' => [ - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedVulnTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1731551104,\\n \\"StartTime\\": 1749434787,\\n \\"CurProtectedCnt\\": 7,\\n \\"RequestId\\": \\"05BEF2B5-EAAA-509D-9824-E3C7DC17****\\",\\n \\"Interval\\": 60,\\n \\"CurUnprotectedCnt\\": 8,\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1525833105,\\n \\"ProtectedVulnCnt\\": 3,\\n \\"UnprotectedVulnCnt\\": 2\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeUserAlarmConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -33923,75 +27969,36 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '221221', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68397', + 'abilityTreeNodes' => ['FEATUREcfwHNNY65'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'RegionNo', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '59.82.135.XXX'], ], [ - 'name' => 'Domain', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '域名。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '支持的IP地址版本。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '4', - 'enum' => [ - '4', - '6', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'FirewallType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '云防火墙类型。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'nat' => 'nat', - 'vpc' => 'vpc', - 'internet' => 'internet', - ], - 'example' => 'internet', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], ], @@ -34000,511 +28007,379 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'ResolveResult' => [ - 'description' => '域名解析结果。', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '9D250177-4F11-58B8-9AFE-A4624FF1****'], + 'AlarmConfig' => [ + 'description' => '报警配置。', 'type' => 'array', 'items' => [ - 'description' => '域名解析结果。', + 'description' => '报警配置。', 'type' => 'object', 'properties' => [ - 'Domain' => [ - 'description' => '域名。', + 'AlarmPeriod' => ['description' => '告警周期。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'AlarmValue' => ['description' => '报警通知消息。', 'type' => 'string', 'example' => '80'], + 'AlarmHour' => ['description' => '报警阈值。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'AlarmType' => [ + 'description' => '告警类型。', 'type' => 'string', - 'example' => 'example.com', - ], - 'UpdateTime' => [ - 'description' => '更新时间', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579091739', + 'enumValueTitles' => ['weeklyReport' => 'weeklyReport', 'trafficPreAlert' => 'trafficPreAlert', 'outgoingRiskAll' => 'outgoingRiskAll', 'Middlethreat' => 'Middlethreat', 'bandwidth' => 'bandwidth', 'ipsHighthreat' => 'ipsHighthreat', 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', 'ipsIgnoreResolved' => 'ipsIgnoreResolved'], + 'example' => 'bandwidth', ], - 'IpVersion' => [ - 'description' => '支持的IP地址版本。', + 'AlarmNotify' => [ + 'description' => '通知方式。', 'type' => 'integer', 'format' => 'int32', - 'enumValueTitles' => [ - 4 => '4', - 6 => '6', - ], - 'example' => '4', - ], - 'IpAddrList' => [ - 'description' => 'IP地址列表参数。', - 'type' => 'array', - 'items' => [ - 'description' => 'IP地址。', - 'type' => 'string', - 'example' => '['."\n" - .' "10.10.10.1"'."\n" - .']', - ], + 'enumValueTitles' => ['sms/email', 'sms', 'email', 'none'], + 'example' => '1', ], + 'AlarmWeekDay' => ['description' => '报警重试次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + ], + ], + ], + 'ContactConfig' => [ + 'description' => '联系人信息。', + 'type' => 'array', + 'items' => [ + 'description' => '联系人信息。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '报警状态。取值:-**0**:关闭-**1**:开启', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Email' => ['description' => '邮箱。', 'type' => 'string', 'example' => '1530811****@qq.com'."\n"], + 'Name' => ['description' => '手机号。', 'type' => 'string', 'example' => '1531123****'], + 'MobilePhone' => ['description' => '报警联系人姓名。', 'type' => 'string', 'example' => 'zhangsan'], ], ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', + 'AlarmLang' => [ + 'description' => '报警的语言类型。', 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', + ], + 'DefaultContact' => [ + 'description' => '默认报警联系人信息。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '默认报警联系人姓名。', 'type' => 'string', 'example' => 'zhangsan'], + 'Email' => ['description' => '默认邮箱。', 'type' => 'string', 'example' => '1530811****@qq.com'], + 'MobilePhone' => ['description' => '默认手机号。', 'type' => 'string', 'example' => '1531123****'], + 'Status' => ['description' => '日志存储状态。取值:-**normal**:正常-**disable**:禁用', 'type' => 'string', 'example' => '0'], + ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'internal error: sql select.', 'description' => '请求错误,数据库查询失败。'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"ResolveResult\\": [\\n {\\n \\"Domain\\": \\"example.com\\",\\n \\"UpdateTime\\": 1579091739,\\n \\"IpVersion\\": 4,\\n \\"IpAddrList\\": [\\n \\"[\\\\n \\\\\\"10.10.10.1\\\\\\"\\\\n]\\"\\n ]\\n }\\n ],\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - 'title' => '查询访问控制策略的域名解析结果', - ], - 'AddControlPolicy' => [ - 'summary' => '添加访问控制策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取用户告警配置', + 'summary' => '获取用户告警配置', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D250177-4F11-58B8-9AFE-A4624FF1****\\",\\n \\"AlarmConfig\\": [\\n {\\n \\"AlarmPeriod\\": 30,\\n \\"AlarmValue\\": \\"80\\",\\n \\"AlarmHour\\": 0,\\n \\"AlarmType\\": \\"bandwidth\\",\\n \\"AlarmNotify\\": 1,\\n \\"AlarmWeekDay\\": 0\\n }\\n ],\\n \\"ContactConfig\\": [\\n {\\n \\"Status\\": 1,\\n \\"Email\\": \\"1530811****@qq.com\\\\n\\",\\n \\"Name\\": \\"1531123****\\",\\n \\"MobilePhone\\": \\"zhangsan\\"\\n }\\n ],\\n \\"AlarmLang\\": \\"zh\\",\\n \\"DefaultContact\\": {\\n \\"Name\\": \\"zhangsan\\",\\n \\"Email\\": \\"1530811****@qq.com\\",\\n \\"MobilePhone\\": \\"1531123****\\",\\n \\"Status\\": \\"0\\"\\n }\\n}","type":"json"}]', + ], + 'DescribeUserAssetIPTrafficInfo' => [ + 'summary' => '查询用户指定资产的流量信息。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, + 'operationType' => 'read', + 'deprecated' => true, 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68094', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '143435', + 'abilityTreeNodes' => ['FEATUREcfwB677AM', 'FEATUREcfwVWCDEU', 'FEATUREcfwG6EEQD'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" + 'title' => '语言', + 'description' => '接收消息的语言类型。取值:'."\n" ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', + 'default' => 'zh', + 'enum' => ['zh', 'en'], ], ], [ - 'name' => 'AclAction', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => true, - 'example' => 'accept', - ], + 'schema' => ['title' => '资产IP', 'description' => '目标资产的IP。', 'type' => 'string', 'required' => true, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'ApplicationName', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有类型的应用)'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationName支持选择以上所有应用类型中的任意一种;Proto为UDP、ICMP或ANY协议类型时,ApplicationName仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。', - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - 'deprecated' => true, - ], + 'schema' => ['title' => '时间', 'description' => '设置查询时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656923760'], ], - [ - 'name' => 'Description', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => '放行流量', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '本次调用请求的ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + 'StartTime' => ['title' => '开始时间', 'description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1656837360'], + 'EndTime' => ['title' => '结束时间', 'description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1656923760'], + 'InBps' => ['description' => '入方向的网络吞吐率(每秒发送多少字节)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '4520'], + 'OutBps' => ['description' => '出方向的网络吞吐率(每秒发送多少字节)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '4180'], + 'InPps' => ['description' => '入方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '233'], + 'OutPps' => ['description' => '出方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '224'], + 'SessionCount' => ['description' => '请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '50'], + 'NewConn' => ['description' => '新建连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '43'], + ], ], ], - [ - 'name' => 'DestPort', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中流量访问的目的端口。取值:'."\n" - ."\n" - .'- 当协议类型为ICMP时,DestPort取值为空。'."\n" - .' '."\n" - .'> 协议类型为ICMP时,不支持对目的端口进行访问控制。'."\n" - ."\n" - .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为group时,DestPort取值为空。'."\n" - ."\n" - .'> 访问控制策略目的端口类型选择group(目的端口地址簿)时,您无需设置具体的目的端口号。需要该访问控制策略管控的所有端口会包含在目的端口地址簿中。'."\n" - ."\n" - .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为port时,DestPort取值为目的端口号。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + ], + 'staticInfo' => ['noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', 'returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询用户指定资产的流量信息(废弃)', + 'changeSet' => [ + ['createdAt' => '2022-07-07T09:15:50.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-07-07T02:53:45.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserAssetIPTrafficInfo'], ], + ], + 'ramActions' => [ [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址段。'."\n" - ."\n" - .'取值:'."\n" - .'- 当DestinationType为net时,Destination为目的CIDR。'."\n" - .' '."\n" - .' 例如:1.2.XX.XX/24'."\n" - ."\n" - .'- 当DestinationType为group时,Destination为目的地址簿名称。'."\n" - ."\n" - .' 例如:db_group'."\n" - ."\n" - .'- 当DestinationType为domain时,Destination为目的域名。'."\n" - ."\n" - .' 例如:*.aliyuncs.com'."\n" - ."\n" - .'- 当DestinationType为location时,Destination为目的区域。'."\n" - ."\n" - .' 例如: \\["BJ11", "ZB"\\]'."\n" - ."\n" - .'> 当Destination为目的区域时,更多信息,请参见 [地区编号](~~2854161~~)。', - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX/24', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAssetIPTrafficInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"StartTime\\": 1656837360,\\n \\"EndTime\\": 1656923760,\\n \\"InBps\\": 4520,\\n \\"OutBps\\": 4180,\\n \\"InPps\\": 233,\\n \\"OutPps\\": 224,\\n \\"SessionCount\\": 50,\\n \\"NewConn\\": 43\\n}","errorExample":""},{"type":"xml","example":"\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 1656837360\\n 1656923760\\n 4520\\n 4180\\n 233\\n 224\\n 50\\n 43\\n","errorExample":""}]', + ], + 'DescribeUserBuyVersion' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68399', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + ], + 'parameters' => [ [ - 'name' => 'Direction', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'required' => true, - 'example' => 'in', - ], + 'schema' => ['description' => '实例ID。若填写实例ID,则根据实例ID查询。不填写则默认查询最新实例。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-*******'], ], - [ - 'name' => 'Proto', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略中流量访问的协议类型。取值:'."\n" - ."\n" - .'- **ANY**(任何协议)'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - ."\n" - .'> 流量方向为出向时,访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', - 'type' => 'string', - 'required' => true, - 'example' => 'ANY', - ], + 'type' => 'object', + 'properties' => [ + 'AliUid' => ['description' => '云防火墙账号的AliUid。', 'type' => 'integer', 'format' => 'int64', 'example' => '119898001566xxxx'], + 'InstanceId' => ['description' => '购买的云防火墙实例id。'."\n" + ."\n" + .'> 使用试用版本时此字段无意义。', 'type' => 'string', 'example' => 'vipcloudfw-cn-xxxxx'], + 'StartTime' => ['description' => '云防火墙实例的开通时间。'."\n" + .'>使用毫秒级时间戳格式。', 'type' => 'integer', 'format' => 'int64', 'example' => '1692504764000'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F71B03EE-xxxxx-91D79CC6AA1A'], + 'Version' => ['description' => '云防火墙实例的版本信息。取值:'."\n" + .'- **2**:高级版'."\n" + .'- **3**:企业版'."\n" + .'- **4**:旗舰版'."\n" + .'- **10**:按量付费版本', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'UserStatus' => ['description' => '云防火墙实例的状态。取值:'."\n" + .'- **true**:有效'."\n" + .'- **false**:无效', 'type' => 'boolean', 'example' => 'true'], + 'Expire' => ['description' => '云防火墙实例的到期时间。'."\n" + .'>使用毫秒级时间戳格式。'."\n" + ."\n" + .'>使用按量付费版本时该字段无意义。', 'type' => 'integer', 'format' => 'int64', 'example' => '1726934400000'], + 'LogStatus' => ['description' => '日志投递开启状态。取值:'."\n" + .'- **true**:已开启'."\n" + .'- **false**:未开启', 'type' => 'boolean', 'example' => 'true'], + 'InstanceStatus' => ['description' => '云防火墙实例的生产状态。取值:'."\n" + ."\n" + .'- **normal**:实例正常运行中'."\n" + ."\n" + .'- **init**:实例初始化中'."\n" + ."\n" + .'- **deleting**:实例正在删除 '."\n" + ."\n" + .'- **abnormal**:实例存在异常'."\n" + ."\n" + .'- **free**:无有效实例', 'type' => 'string', 'example' => 'normal'], + 'MaxOverflow' => ['description' => '是否开通超量弹性计费。取值:'."\n" + .'- **1000000**:已开通'."\n" + .'- **0**:未开通'."\n" + ."\n" + .'> 该字段仅对包年包月用户生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'VpcNumber' => ['description' => '购买的VPC边界防护规格数。'."\n" + ."\n" + .'> 该字段仅对包年包月用户生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '21'], + 'IpNumber' => ['description' => '购买的互联网边界防护规格数。'."\n" + ."\n" + .'> 该字段仅对包年包月用户生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '63'], + 'LogStorage' => ['description' => '购买的日志存储容量。'."\n" + .'> 该字段仅对包年包月用户生效。', 'type' => 'integer', 'format' => 'int64', 'example' => '3000'], + 'InternetBandwidth' => ['description' => '购买的互联网防火墙流量处理能力。', 'type' => 'integer', 'format' => 'int64', 'example' => '3000'], + 'VpcBandwidth' => ['description' => '购买的VPC防火墙流量处理能力。', 'type' => 'integer', 'format' => 'int64', 'example' => '3000'], + 'NatBandwidth' => ['description' => '购买的NAT防火墙流量处理能力。', 'type' => 'integer', 'format' => 'int64', 'example' => '3000'], + 'MajorVersion' => ['title' => '主版本', 'description' => '主版本', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'DefaultBandwidth' => ['title' => '版本默认带宽', 'description' => '版本默认带宽', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'ExtensionBandwidth' => ['title' => '拓展带宽', 'description' => '拓展带宽', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'TemporaryBandwidth' => ['title' => '临时升级带宽', 'description' => '临时升级带宽', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'], + 'GeneralInstance' => ['title' => '通用实例规格数', 'description' => '通用实例规格数', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'ThreatIntelligence' => ['title' => '威胁情报开通状态', 'description' => '威胁情报开通状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Sdl' => ['title' => '数据泄漏开通状态', 'description' => '数据泄漏开通状态', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'PrivateDnsConnectorQuota' => ['title' => '私有DNS连接器配额', 'description' => '私有DNS连接器配额', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'AckClusterConnectorQuota' => ['title' => 'ACK集群连接器配额', 'description' => 'ACK集群连接器配额', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取用户云防火墙实例信息', + 'summary' => '获取用户版本信息。', + 'description' => '本接口一般用于查询获取用户云防火墙实例信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-01-08T02:47:11.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-09-24T07:54:18.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserBuyVersion'], ], + ], + 'ramActions' => [ [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址。取值:'."\n" - ."\n" - .'- 当SourceType为net时,Source为源CIDR地址。'."\n" - ."\n" - .' 例如:1.1.XX.XX/24'."\n" - ."\n" - .'- 当SourceType为group时,Source为源地址簿名称。'."\n" - ."\n" - .' 例如:db_group'."\n" - ."\n" - .'- 当SourceType为location时,Source为源区域。'."\n" - ."\n" - .' 例如\\["BJ11", "ZB"\\]'."\n" - ."\n" - .'> 当Source为源区域时,更多信息,请参见 [地区编号](~~2854161~~)。', - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX/24', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserBuyVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AliUid\\": 0,\\n \\"InstanceId\\": \\"vipcloudfw-cn-xxxxx\\",\\n \\"StartTime\\": 1692504764000,\\n \\"RequestId\\": \\"F71B03EE-xxxxx-91D79CC6AA1A\\",\\n \\"Version\\": 2,\\n \\"UserStatus\\": true,\\n \\"Expire\\": 1726934400000,\\n \\"LogStatus\\": true,\\n \\"InstanceStatus\\": \\"normal\\",\\n \\"MaxOverflow\\": 0,\\n \\"VpcNumber\\": 21,\\n \\"IpNumber\\": 63,\\n \\"LogStorage\\": 3000,\\n \\"InternetBandwidth\\": 3000,\\n \\"VpcBandwidth\\": 3000,\\n \\"NatBandwidth\\": 3000,\\n \\"MajorVersion\\": 1,\\n \\"DefaultBandwidth\\": 1000,\\n \\"ExtensionBandwidth\\": 1000,\\n \\"TemporaryBandwidth\\": 1000,\\n \\"GeneralInstance\\": 10,\\n \\"ThreatIntelligence\\": 1,\\n \\"Sdl\\": 1,\\n \\"PrivateDnsConnectorQuota\\": 5,\\n \\"AckClusterConnectorQuota\\": 5\\n}","type":"json"}]', + ], + 'DescribeUserIPSWhitelist' => [ + 'summary' => '查询互联网边界IPS白名单。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - .'- **net**:源网段(CIDR)'."\n" - .'- **group**:源地址簿'."\n" - .'- **location**:源区域', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68405', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'NewOrder', + 'name' => 'SourceIp', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略生效的优先级。优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", + 'description' => '访问者源IP地址。', 'type' => 'string', - 'required' => true, - 'example' => '1', + 'required' => false, + 'enumValueTitles' => [], + 'example' => '47.100.XX.XX', ], ], [ - 'name' => 'DestPortType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', + 'description' => '语言。', 'type' => 'string', 'required' => false, - 'example' => 'port', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'DestPortGroup', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中访问流量的目的端口地址簿名称。'."\n" - ."\n\n" - .'> DestPortType设置为group时,您需要设置目的端口地址簿名称。', + 'description' => '语言。', 'type' => 'string', 'required' => false, - 'example' => 'my_port_group', - ], - ], - [ - 'name' => 'Release', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '支持的IP地址版本。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **4**:表示IPv4地址'."\n" - ."\n" - .'- **6**:表示IPv6地址', - 'type' => 'string', - 'required' => false, - 'example' => '6', - ], - ], - [ - 'name' => 'ApplicationNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '访问控制策略支持的应用类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有类型的应用)'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型,使用`["HTTP","HTTPS",……]`格式表示;Proto为UDP、ICMP或ANY协议类型时,ApplicationNameList仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', - 'type' => 'string', - 'required' => false, - 'example' => '["ANY"]', - ], - 'required' => false, - 'maxItems' => 30, - ], - ], - [ - 'name' => 'RepeatType', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', - ], - ], - [ - 'name' => 'RepeatDays', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], - ], - [ - 'name' => 'RepeatStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], - ], - [ - 'name' => 'RepeatEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], - ], - [ - 'name' => 'DomainResolveType', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'string', - 'required' => false, - 'example' => 'FQDN', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], ], @@ -34513,194 +28388,237 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => '互联网边界防火墙访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '04F788A5-6A47-5EA9-AC30-CA4DB98AD520'], + 'Whitelists' => [ + 'description' => '互联网边界IPv4的入侵防御系统白名单列表。', + 'type' => 'array', + 'items' => [ + 'description' => '互联网边界IPv4的入侵防御系统白名单。', + 'type' => 'object', + 'properties' => [ + 'Direction' => [ + 'description' => '互联网边界的IPv4流量方向。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '入向', '出向'], + 'example' => '1', + ], + 'WhiteType' => [ + 'description' => '互联网边界IPv4白名单生效的源或目的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '目的IP白名单', '源IP白名单'], + 'example' => '1', + ], + 'ListValue' => ['description' => '互联网边界IPv4白名单的值。'."\n" + ."\n" + .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" + ."\n" + .'- 当白名单类型为`地址簿引用`时:IPv4。', 'type' => 'string', 'example' => '10.10.200.4/32,10.10.200.25/32'], + 'ListType' => [ + 'description' => '互联网IPv4白名单地址的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => ['暂不设置', '自定义输入', '地址簿引用'], + 'example' => '1', + ], + 'WhiteListValue' => [ + 'description' => '互联网IPv4白名单列表。', + 'type' => 'array', + 'items' => ['description' => '互联网IPv4白名单。'."\n" + ."\n" + .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" + ."\n" + .'- 当白名单类型为`地址簿引用`时:IPv4。', 'type' => 'string', 'example' => '10.10.200.4/32'], + ], + ], + ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'Ipv6Whitelists' => [ + 'description' => '互联网边界IPv6的入侵防御系统白名单列表。', + 'type' => 'array', + 'items' => [ + 'description' => '互联网边界IPv6的入侵防御系统白名单。', + 'type' => 'object', + 'properties' => [ + 'Direction' => [ + 'description' => '互联网边界的IPv6流量方向。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '入向', '出向'], + 'example' => '1', + ], + 'WhiteType' => [ + 'description' => '互联网边界IPv6白名单生效的源或目的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => [1 => '目的IP白名单', '源IP白名单'], + 'example' => '2', + ], + 'ListValue' => ['description' => '互联网边界IPv6白名单的值。'."\n" + ."\n" + .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" + ."\n" + .'- 当白名单类型为`地址簿引用`时:IPv6。', 'type' => 'string', 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128'], + 'ListType' => [ + 'description' => '互联网IPv6白名单地址的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'enumValueTitles' => ['暂不设置', '自定义输入', '地址簿引用'], + 'example' => '0', + ], + 'WhiteListValue' => [ + 'description' => '互联网IPv6白名单列表。', + 'type' => 'array', + 'items' => ['description' => '互联网IPv6白名单。'."\n" + ."\n" + .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" + ."\n" + .'- 当白名单类型为`地址簿引用`时:IPv6。', 'type' => 'string', 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128'."\n"], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorSrcMand', - 'errorMessage' => 'Source is mandatory for this action.', - ], - [ - 'errorCode' => 'ErrorEmptyDomainResolveType', - 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '添加访问控制策略', - 'description' => '您可以使用本接口创建一条对经过云防火墙流量放行、拒绝或观察的策略。'."\n" - ."\n" - .'## QPS限制'."\n" + 'title' => '获取用户IPS白名单', + 'description' => '## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddDomainResolveRealtimeTask' => [ - 'summary' => '创建域名解析实时任务。', - 'methods' => [ - 'post', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F788A5-6A47-5EA9-AC30-CA4DB98AD520\\",\\n \\"Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ],\\n \\"Ipv6Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 2,\\n \\"ListValue\\": \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\",\\n \\"ListType\\": 0,\\n \\"WhiteListValue\\": [\\n \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVfwIPSConfigList' => [ + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '228230', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '230059', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ [ - 'name' => 'RegionNo', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '地域ID。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'cn-shanghai', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'FirewallType', + 'name' => 'PageNo', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'nat' => 'nat', - 'vpc' => 'vpc', - 'internet' => 'internet', - ], - 'example' => 'internet', - ], + 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'], ], [ - 'name' => 'DomainName', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], + 'schema' => ['description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => '本次请求的ID。', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', + 'TotalCount' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'PageNo' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'PageSize' => ['title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', 'description' => '当前页数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['title' => 'Id of the request', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'], + 'VfwIpsSwitchConfigList' => [ + 'description' => '配置列表。', + 'type' => 'array', + 'items' => [ + 'description' => '配置列表。', + 'type' => 'object', + 'properties' => [ + 'MemberUid' => ['description' => '成员账号UID。', 'type' => 'string', 'example' => '134646920647****'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'cen-h678sl4wv3yd5v****'], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙实例名称。', 'type' => 'string', 'example' => 'vpc-test'], + 'RunMode' => [ + 'description' => '防御模式。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['观察模式', '拦截模式'], + 'example' => '1', + ], + 'BasicRules' => [ + 'description' => '基础规则开关。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['关闭', '开启'], + 'example' => '1', + ], + 'PatchRules' => [ + 'description' => '虚拟补丁开关。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['关闭', '开启'], + 'example' => '1', + ], + 'RuleClass' => [ + 'description' => '拦截模式规则。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => [1 => '宽松', '中等', '严格'], + 'example' => '1', + ], + 'VpcFirewallIdList' => [ + 'description' => 'VPC边界防火墙的实例ID列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙的实例ID列表。', 'type' => 'string', 'example' => 'vfw-9f39c248f9f447c****'], + ], + ], + ], ], ], ], @@ -34708,415 +28626,280 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorFirewallTypeDuplicates', - 'errorMessage' => 'firewallType duplicates.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询VPC防火墙IPS配置列表', + 'summary' => '查询VPC防火墙IPS配置列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVfwIPSConfigList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', - 'title' => '创建域名解析实时任务', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"VfwIpsSwitchConfigList\\": [\\n {\\n \\"MemberUid\\": \\"134646920647****\\",\\n \\"VpcFirewallId\\": \\"cen-h678sl4wv3yd5v****\\",\\n \\"VpcFirewallName\\": \\"vpc-test\\",\\n \\"RunMode\\": 1,\\n \\"BasicRules\\": 1,\\n \\"PatchRules\\": 1,\\n \\"RuleClass\\": 1,\\n \\"VpcFirewallIdList\\": [\\n \\"vfw-9f39c248f9f447c****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'ModifyControlPolicy' => [ - 'summary' => '修改安全访问控制策略的配置信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallAccessDetail' => [ + 'summary' => '获取VPC防火墙接入详情。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'high', + 'operationType' => 'get', + 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68467', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68411', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclAction', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ApplicationName', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略支持的应用类型。支持的应用类型有以下几种:'."\n" - ."\n" - .'- **ANY**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - ."\n" - .'> **ANY**表示策略应用在所有类型的应用中。'."\n" - ."\n" - .'> ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'HTTP', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1655778046'], ], [ - 'name' => 'Description', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1729042555'], ], [ - 'name' => 'DestPort', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量访问的目的端口。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-2ze4xj5kmb5udb****'], ], [ - 'name' => 'Destination', + 'name' => 'Port', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的目的地址。'."\n" - ."\n" - .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.XX.XX/24'."\n" - .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" - .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" - .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '80'], ], [ - 'name' => 'DestinationType', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => '流量的方向。取值:'."\n" + .'- **in**:表示进方向。'."\n" + .'- **out**:表示出方向。'."\n" + ."\n" + .'>不设置该参数表示查询所有流量方向。', 'type' => 'string', 'required' => false, 'example' => 'in'], ], [ - 'name' => 'Direction', + 'name' => 'IPProtocol', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => '协议类型。取值:'."\n" + .'- **tcp**:tcp协议'."\n" + .'- **udp**:udp协议', 'type' => 'string', 'required' => false, 'example' => 'tcp'], ], [ - 'name' => 'Proto', + 'name' => 'RiskLevel', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量访问的安全协议类型。支持的应用类型有以下几种:'."\n" - ."\n" - .'- **ANY**'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - ."\n" - .'> **ANY**表示策略应用在所有类型的应用中。'."\n" - ."\n" - .'> 流量方向为出向时,访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,可选配置TCP/ANY协议。选择TCP时,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种,选择ANY时,应用可选ANY。', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => '风险评估等级。', 'type' => 'string', 'required' => false, 'example' => '3'], ], [ - 'name' => 'Source', + 'name' => 'PeerVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的源地址。'."\n" - ."\n" - .'- 当**SourceType**为net时,**Source**为源CIDR。例如:1.2.XX.XX/24'."\n" - .'- 当**SourceType**为group时,**Source**为源地址簿名称。例如:db_group'."\n" - .'- 当**SourceType**为location时,**Source**为源区域(具体区域位置编码见后文)。例如\\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-90rq0anm6t8vbwbo****'], ], [ - 'name' => 'AclUuid', + 'name' => 'PeerAssetIP', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的唯一标识ID。'."\n" - ."\n" - .'> 修改安全访问控制策略,需要提供该策略的唯一标识ID,该ID可调用[DescribeControlPolicy](~~138866~~)接口获取。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], + 'schema' => ['description' => '对端源IP。', 'type' => 'string', 'required' => false, 'example' => '10.125.1.XX'], ], [ - 'name' => 'SourceType', + 'name' => 'PeerAssetInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR)'."\n" - .'- **group**:源地址簿'."\n" - ."\n" - .'- **location**:源区域', - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => '对端资产实例ID。', 'type' => 'string', 'required' => false, 'example' => 'i-123451'."\n"], ], [ - 'name' => 'DestPortType', + 'name' => 'PeerAssetInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量访问的目的端口类型。取值:'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'schema' => ['description' => '对端资产实例名。', 'type' => 'string', 'required' => false, 'example' => 'ecs22'."\n"], ], [ - 'name' => 'DestPortGroup', + 'name' => 'AssetIP', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量访问的目的端口地址簿名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], + 'schema' => ['description' => '本端资产ip。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'Release', + 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的状态。取值:'."\n" - ."\n" - .'- true:策略开启状态'."\n" - .'- false:策略关闭状态', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '排序方式。取值如下:'."\n" + ."\n" + .' - **InBytes**'."\n" + ."\n" + .'- **OutBytes**'."\n" + ."\n" + .'- **TotalBytes**'."\n" + ."\n" + .'- **InPackets**'."\n" + ."\n" + .'- **OutPackets**'."\n" + ."\n" + .'- **SessionCount**', 'type' => 'string', 'required' => false, 'example' => 'InBytes'], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'Order', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '应用名称列表。'."\n" - ."\n" - .'> ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', - 'type' => 'array', - 'items' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'HTTP', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => '升降序。取值:'."\n" + ."\n" + .'- **asc**:升序。'."\n" + .'- **desc**(默认):降序。', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], [ - 'name' => 'RepeatType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', - ], + 'schema' => ['description' => '分页查询时,设置当前页的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'RepeatDays', + 'name' => 'PageSize', 'in' => 'query', - 'style' => 'flat', + 'schema' => ['description' => '分页查询时,显示的当前页的大小。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '8EAC2347-E85A-5DFF-9F49-B8E1BAFB****'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据。', + 'type' => 'object', + 'properties' => [ + 'SessionCount' => ['description' => '会话总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'PeerAssetInstanceId' => ['description' => '对端实例ID。', 'type' => 'string', 'example' => 'i-123451'], + 'PeerAssetIP' => ['description' => '对端源IP。', 'type' => 'string', 'example' => '10.125.1.XX'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-shenzhen'], + 'OutBytes' => ['description' => '发送字节数, 单位Bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '1123'], + 'InBytes' => ['description' => '接收字节数, 单位Bytes。', 'type' => 'integer', 'format' => 'int64', 'example' => '17845821669.0'], + 'peerVpcName' => ['description' => '对端VPC名称。', 'type' => 'string', 'example' => 'vpc-test'], + 'PeerVpcId' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-123411'."\n"], + 'PeerAssetInstanceName' => ['description' => '对端实例名。', 'type' => 'string', 'example' => 'test'], + ], + ], + ], ], - 'required' => false, + 'description' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取VPC防火墙接入详情', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'RepeatStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '08:00', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAccessDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 9,\\n \\"RequestId\\": \\"8EAC2347-E85A-5DFF-9F49-B8E1BAFB****\\",\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"PeerAssetInstanceId\\": \\"i-123451\\",\\n \\"PeerAssetIP\\": \\"10.125.1.XX\\",\\n \\"RegionNo\\": \\"cn-shenzhen\\",\\n \\"OutBytes\\": 1123,\\n \\"InBytes\\": 17845821669,\\n \\"peerVpcName\\": \\"vpc-test\\",\\n \\"PeerVpcId\\": \\"vpc-123411\\\\n\\",\\n \\"PeerAssetInstanceName\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallAclGroupList' => [ + 'summary' => '获取VPC防火墙所有访问控制策略组信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RepeatEndTime', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68412', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'StartTime', + 'name' => 'FirewallConfigureStatus', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => 'VPC防火墙的配置状态。'."\n" + .'- **configured**:VPC边界防火墙已配置(即已创建了防火墙)。'."\n" + .'- 不填:表示查询所有VPC边界防火墙的访问控制策略。', 'type' => 'string', 'required' => false, 'example' => 'configured'], ], [ - 'name' => 'EndTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => '分页查询时,显示的当前页的页码。'."\n" + .'默认值为1。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DomainResolveType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'string', - 'required' => false, - 'example' => 'FQDN', - ], + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。'."\n" + .'可设置值最大为50。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-5b202e7f0be64611****'], ], ], 'responses' => [ @@ -35124,632 +28907,462 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'TotalCount' => ['description' => 'VPC防火墙访问控制策略组的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + 'AclGroupList' => [ + 'description' => 'VPC防火墙访问控制策略组的信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC防火墙访问控制策略组的详细信息。', + 'type' => 'object', + 'properties' => [ + 'AclGroupId' => ['description' => 'VPC边界防火墙的访问控制策略组ID。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" + ."\n" + .' 例如:cen-ervw0g12b5jbw*\\*\\*\\*'."\n" + ."\n" + .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .' 例如:vfw-a42bbb7b887148c9*\\*\\*\\*', 'type' => 'string', 'example' => 'vfw-a42bbb7b887148c9****'], + 'AclGroupName' => ['description' => 'VPC边界防火墙的访问控制策略组名称。'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,策略组名称使用云企业网名称。'."\n" + .'- VPC边界防火墙防护高速通道时,策略组名称使用VPC边界防火墙名称。', 'type' => 'string', 'example' => 'group_test'], + 'MemberUid' => ['description' => '当前阿里云账号的成员账号ID。', 'type' => 'string', 'example' => '258039427902****'], + 'AclRuleCount' => ['description' => 'VPC边界防火墙访问控制策略组的策略数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'IsDefault' => [ + 'description' => '是否是默认防火墙。取值:'."\n" + .'- **true**:是默认防火墙。'."\n" + .'- **false**:不是默认防火墙。', + 'type' => 'boolean', + 'enumValueTitles' => ['true' => '是默认防火墙', 'false' => '不是默认防火墙'], + 'example' => 'true', + ], + 'AclConfig' => [ + 'description' => 'ACL引擎模式。', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式 '."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Error Parameters', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorEmptyDomainResolveType', - 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersProtoAppsMismatch', - 'errorMessage' => 'The protocol and applicationName mismatch.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorConfigureStatus', 'errorMessage' => 'firewall configure status invalid.', 'description' => '防火墙状态参数错误,请重新选择。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '修改安全访问控制策略的配置信息', - 'description' => '本接口一般用于修改流量通过云防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。'."\n" + 'title' => '获取VPC防火墙所有访问控制策略组信息', + 'description' => '本接口一般用于查询VPC防火墙所有访问控制策略组信息。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyControlPolicyPriority' => [ - 'summary' => '修改访问控制策略的优先级。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-04-02T11:10:59.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-12-06T03:53:02.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-09-11T09:00:25.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallAclGroupList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"AclGroupList\\": [\\n {\\n \\"AclGroupId\\": \\"vfw-a42bbb7b887148c9****\\",\\n \\"AclGroupName\\": \\"group_test\\",\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"AclRuleCount\\": 9,\\n \\"IsDefault\\": true,\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n vfw-a42bbb7b887148c9****\\n group_test\\n 258039427902****\\n \\n","errorExample":""}]', + ], + 'DescribeVpcFirewallAssetList' => [ + 'summary' => '查询VPC防火墙资产列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68469', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68413', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R', 'FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'AclUuid', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略唯一标识。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => '3770d603-3534-4878-b845-f00095ee****', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Order', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略生效的优先级。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => '3', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '586F34E8-3F16-4C08-9FFC-8FFDC64B****', - ], - ], - ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1534408189'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersOldOrder', - 'errorMessage' => 'The oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred. Try again later.', - ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1756952150'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"586F34E8-3F16-4C08-9FFC-8FFDC64B****\\"\\n}","type":"json"}]', - 'title' => '修改访问控制策略的优先级', - 'description' => '本接口一般用于修改流量通过云防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'ModifyPolicyAdvancedConfig' => [ - 'summary' => '开启或关闭访问控制策略严格模式。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-wz9ulqcvly23w31zkh8sm****'], ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68479', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + [ + 'name' => 'PeerVpcId', + 'in' => 'query', + 'schema' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-90rq0anm6t8vbwbo****'], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Port', + 'in' => 'query', + 'schema' => ['description' => '端口号。', 'type' => 'string', 'required' => false, 'example' => '5234'], + ], + [ + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '访问者源IP地址。', + 'description' => '方向。', 'type' => 'string', - 'deprecated' => true, 'required' => false, - 'example' => '192.0.XX.XX', + 'enumValueTitles' => ['in' => '入向', 'out' => '出向'], + 'example' => 'in', ], ], [ - 'name' => 'Lang', + 'name' => 'AppName', + 'in' => 'query', + 'schema' => ['description' => '应用名。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'IPProtocol', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '协议类型。', 'type' => 'string', 'required' => false, - 'example' => 'zh', + 'enumValueTitles' => ['tcp' => 'tcp', 'udp' => 'udp'], + 'example' => 'tcp', ], ], [ - 'name' => 'InternetSwitch', + 'name' => 'RiskLevel', 'in' => 'query', 'schema' => [ - 'description' => '修改访问控制策略严格模式的开关状态。取值:'."\n" - ."\n" - .'- **on**:开启严格模式。'."\n" - .'- **off**:关闭严格模式。', + 'description' => '风险等级。', 'type' => 'string', - 'required' => true, - 'example' => 'off', + 'required' => false, + 'enumValueTitles' => ['无', '低危', '中危', '高危'], + 'example' => '3', ], ], [ - 'name' => 'Eips', + 'name' => 'EcsInstanceId', + 'in' => 'query', + 'schema' => ['description' => 'ECS实例ID。', 'type' => 'string', 'required' => false, 'example' => ' i-hp3ez3rs9bxwt034****'], + ], + [ + 'name' => 'EcsInstanceName', + 'in' => 'query', + 'schema' => ['description' => '资产实例名。', 'type' => 'string', 'required' => false, 'example' => 'test-ecs'], + ], + [ + 'name' => 'AssetIP', + 'in' => 'query', + 'schema' => ['description' => '资产IP。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'Sort', 'in' => 'query', - 'style' => 'flat', 'schema' => [ - 'description' => 'IP列表,多个IP的协议版本需要保持一致,数量最多100个。', - 'type' => 'array', - 'items' => [ - 'description' => 'IP。', - 'type' => 'string', - 'required' => false, - 'example' => '192.168.0.1', - ], + 'description' => '排序方式。', + 'type' => 'string', 'required' => false, - 'maxItems' => 100, + 'enumValueTitles' => ['InBytes' => 'InBytes', 'SessionCount' => 'SessionCount', 'OutBytes' => 'OutBytes'], + 'example' => 'SessionCount', + ], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => [ + 'description' => '升降序。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['asc' => '升序', 'desc' => '降序'], + 'example' => 'desc', ], ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '当前页码。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'IsAITraffic', + 'in' => 'query', + 'schema' => ['description' => '是否仅统计访问AI服务的流量。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', + 'TotalCount' => ['description' => '总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '924A6CCC-4EAD-5554-8AD0-45F5ED56****'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'RiskLevel' => [ + 'description' => '风险等级。', + 'type' => 'integer', + 'format' => 'int32', + 'enumValueTitles' => ['无', '低危', '中危', '高危'], + 'example' => '3', + ], + 'SessionCount' => ['description' => '会话总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'AssetInstanceId' => ['description' => '资产实例Id。', 'type' => 'string', 'example' => ' i-hp3ez3rs9bxwt034****'], + 'OutBytes' => ['description' => '出流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'RegionNo' => ['description' => '区域。', 'type' => 'string', 'example' => 'cn-beijing'], + 'AssetIP' => ['description' => '资产IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'InBytes' => ['description' => '入流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0.0'], + 'AssetInstanceName' => ['description' => '资产实例名称。', 'type' => 'string', 'example' => 'ecs-test'], + 'RiskReason' => ['description' => '风险原因。', 'type' => 'string', 'example' => 'test'], + 'PortList' => [ + 'description' => '端口列表。', + 'type' => 'array', + 'items' => ['description' => '端口列表。', 'type' => 'string', 'example' => '['."\n" + .' 80,'."\n" + .' 8080,'."\n" + .' 80,'."\n" + .' 21'."\n" + .']'], + ], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'IpsHitCnt' => ['description' => 'IPS命中数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', - 'title' => '开启或关闭访问控制策略严格模式', - 'description' => '本接口一般用于开启或关闭访问控制策略严格模式。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteControlPolicy' => [ - 'summary' => '删除访问控制策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询VPC防火墙资产列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 30,\\n \\"RequestId\\": \\"924A6CCC-4EAD-5554-8AD0-45F5ED56****\\",\\n \\"DataList\\": [\\n {\\n \\"RiskLevel\\": 3,\\n \\"SessionCount\\": 27,\\n \\"AssetInstanceId\\": \\" i-hp3ez3rs9bxwt034****\\",\\n \\"OutBytes\\": 0,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"AssetIP\\": \\"192.0.XX.XX\\",\\n \\"InBytes\\": 0,\\n \\"AssetInstanceName\\": \\"ecs-test\\",\\n \\"RiskReason\\": \\"test\\",\\n \\"PortList\\": [\\n \\"[\\\\n 80,\\\\n 8080,\\\\n 80,\\\\n 21\\\\n]\\"\\n ],\\n \\"TotalBytes\\": 0,\\n \\"IpsHitCnt\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallAssetRegionList' => [ + 'summary' => '查询VPC防火墙资产已开墙地域。', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'delete', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68146', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '231484', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '流量的源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclUuid', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用[DescribeControlPolicy](~~138866~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], + 'schema' => ['description' => '成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], [ - 'name' => 'Direction', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略管控的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **in**:流量从外到内。'."\n" - .'- **out**:流量从内到外。', - 'type' => 'string', - 'required' => false, - 'example' => 'in', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', + 'RequestId' => ['title' => 'Id of the request', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => '00933CCB-65A4-5E51-B180-3D154281****'], + 'RegionNoList' => [ + 'description' => '地域列表。', + 'type' => 'array', + 'items' => ['description' => '地域列表。', 'type' => 'string', 'example' => '[\'cn-hangzhou\', \'cn-shenzhen\']'], ], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询VPC防火墙资产已开墙地域', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => '删除访问控制策略', - 'description' => '本接口一般用于删除流量方向为外对内或内对外的访问控制策略。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"00933CCB-65A4-5E51-B180-3D154281****\\",\\n \\"RegionNoList\\": [\\n \\"[\'cn-hangzhou\', \'cn-shenzhen\']\\"\\n ]\\n}","type":"json"}]', ], - 'DeleteControlPolicyTemplate' => [ - 'summary' => '删除ACL模板。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'DescribeVpcFirewallCenDetail' => [ + 'summary' => '查询VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的详细信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '140699', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68414', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '61.178.12.52', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'en', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'en', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'TemplateId', + 'name' => 'NetworkInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略模板ID。', - 'type' => 'string', - 'required' => true, - 'example' => '719ce620-ae23-4e42-9f93-9191b4400b55', - ], + 'schema' => ['description' => '创建VPC边界防火墙的VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zefk9fbn8j7v585g****'], ], ], 'responses' => [ @@ -35757,109 +29370,278 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810', - ], - ], - ], - ], + 'ConnectType' => ['description' => 'VPC边界防火墙的互通类型。取值:**cen**,表示云企业网。'."\n", 'type' => 'string', 'example' => 'cen'], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'example' => 'vpc-firewall-test'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙的开关状态。取值:'."\n" + ."\n" + .'- **opened**:已开启。'."\n" + ."\n" + .'- **closed**:已关闭。'."\n" + ."\n" + .'- **notconfigured**:未配置。', 'type' => 'string', 'example' => 'opened'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2'], + 'LocalVpc' => [ + 'description' => 'VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****'], + 'TransitRouterType' => ['description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" + ."\n" + .'- **Basic**:基础版。'."\n" + ."\n" + .'- **Enterprise**:企业版。', 'type' => 'string', 'example' => 'Basic'], + 'RouteMode' => ['description' => '路由模式,。取值:'."\n" + ."\n" + .'- auto:表示自动模式。'."\n" + ."\n" + .'- manual:表示手动模式。'."\n", 'type' => 'string', 'example' => 'auto'], + 'NetworkInstanceId' => ['description' => '创建VPC边界防火墙的VPC实例ID。', 'type' => 'string', 'example' => 'vpc-2zefk9fbn8j7v585g****'], + 'RegionNo' => ['description' => 'VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'ManualVSwitchId' => ['description' => '路由模式为手动模式时指定的vSwitch的ID。', 'type' => 'string', 'example' => 'vsw-zeq4o875u****'], + 'OwnerId' => ['description' => 'VPC所属阿里云账户的UID。', 'type' => 'string', 'example' => '158039427902****'], + 'NetworkInstanceType' => ['description' => '网络实例的类型。取值:**VPC**。'."\n", 'type' => 'string', 'example' => 'VPC'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-firewall-test'], + 'SupportManualMode' => ['description' => '路由模式是否支持手动模式。取值:'."\n" + ."\n" + .'- **1**:支持。'."\n" + .'- **0**:不支持。', 'type' => 'string', 'example' => '0'], + 'TransitRouterId' => ['description' => 'CEN-TR的实例ID。', 'type' => 'string', 'example' => 'tr-2zetwxskej633l3u1****'], + 'AttachmentId' => ['description' => '网络实例的连接ID。', 'type' => 'string', 'example' => 'tr-attach-sxig7bye51fid5****'], + 'NetworkInstanceName' => ['description' => '网络实例的名称。', 'type' => 'string', 'example' => 'test-vpc'], + 'AttachmentName' => ['description' => '网络实例的连接名称', 'type' => 'string', 'example' => 'local-test'], + 'VpcCidrTableList' => [ + 'description' => 'VPC的网段列表信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1234'], + 'RouteEntryList' => [ + 'description' => 'VPC的路由条目列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'VPC中的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => 'VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + 'EniList' => [ + 'description' => '弹性网卡列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'EniId' => ['description' => 'VPC中弹性网卡的实例ID。', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****'], + 'EniPrivateIpAddress' => ['description' => 'VPC中弹性网卡的私网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'EniVSwitchId' => ['description' => 'VPC中弹性网卡的虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-wz9viido7j436b0n1****'], + ], + 'description' => '', + ], + ], + 'DefendCidrList' => [ + 'description' => 'VPC边界防火墙防护的网段列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙防护的网段。', 'type' => 'string', 'example' => '10.0.XX.XX/24'], + ], + ], + ], + 'FirewallVpc' => [ + 'description' => '防火墙所使用VPC。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-bp1245k5oagy2bp74****'], + 'VpcCidr' => ['description' => 'VPC的网段。', 'type' => 'string', 'example' => '10.0.0.0/8'], + 'VswitchId' => ['description' => '虚拟交换机ID。', 'type' => 'string', 'example' => 'vsw-bp1sqg9wms9wxcs1****'], + 'VswitchCidr' => ['description' => '虚拟交换机的网段。', 'type' => 'string', 'example' => '10.0.0.1/24'], + 'ZoneId' => ['description' => '防火墙主可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-i'], + 'AllowConfiguration' => ['description' => 'CEN基础版创建VPC防火墙时是否允许配置防火墙VPC网段。取值:'."\n" + .'- **1**:允许。'."\n" + .'- **0**:不允许。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'VswitchZoneId' => ['description' => '虚拟交换机的可用区ID', 'type' => 'string', 'example' => 'cn-hangzhou-i'], + 'StandbyZoneId' => ['description' => '防火墙备可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-k'], + ], + ], + ], + 'description' => '', + ], + ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => '无效的VPC防火墙ID。'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'The firewall has been configured and cannot be created repeatedly.', 'description' => '防火墙已配置,不能重复新建'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => '调用 VPC API 失败'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorVpcIdPara', 'errorMessage' => 'vpc id and firewall id parameter not exist.', 'description' => '防火墙VPC参数错误,请重新选择。'], + ['errorCode' => 'ErrorFirewallNotFound', 'errorMessage' => 'Firewall not found', 'description' => '防火墙不存在'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', - 'title' => '删除ACL模板', - ], - 'ResetRuleHitCount' => [ - 'summary' => '重置规则命中数。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询VPC边界防火墙的详细信息', + 'description' => '本接口一般用于获取VPC边界防火墙的详细信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-02-26T08:33:56.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2025-02-19T05:47:28.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-06-13T09:36:42.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2022-02-25T06:01:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenDetail'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": \\"158039427902****\\",\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"vpc-firewall-test\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"TransitRouterId\\": \\"tr-2zetwxskej633l3u1****\\",\\n \\"AttachmentId\\": \\"tr-attach-sxig7bye51fid5****\\",\\n \\"NetworkInstanceName\\": \\"test-vpc\\",\\n \\"AttachmentName\\": \\"local-test\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"EniList\\": [\\n {\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"EniVSwitchId\\": \\"vsw-wz9viido7j436b0n1****\\"\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"FirewallVpc\\": {\\n \\"VpcId\\": \\"vpc-bp1245k5oagy2bp74****\\",\\n \\"VpcCidr\\": \\"10.0.0.0/8\\",\\n \\"VswitchId\\": \\"vsw-bp1sqg9wms9wxcs1****\\",\\n \\"VswitchCidr\\": \\"10.0.0.1/24\\",\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"AllowConfiguration\\": 0,\\n \\"VswitchZoneId\\": \\"cn-hangzhou-i\\",\\n \\"StandbyZoneId\\": \\"cn-hangzhou-k\\"\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n cen\\n 测试防火墙\\n vfw-m5e7dbc4y****\\n opened\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n auto\\n vpc-2zefk9fbn8j7v585g****\\n cn-hangzhou\\n vsw-zeq4o875u****\\n 158039427902****\\n VPC\\n 测试用实例\\n 0\\n tr-2zetwxskej633l3u1****\\n tr-attach-sxig7bye51fid5****\\n 测试业务vpc\\n 本地测试\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n eni-8vbhfosfqv2rff42****\\n 192.168.XX.XX\\n \\n 10.0.XX.XX/24\\n \\n","errorExample":""}]', + ], + 'DescribeVpcFirewallCenList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68520', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68415', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '112.64.126.XXX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclUuid', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => true, - 'example' => '211fd804-30f5-470f-ab26-c465a4****', - ], + 'schema' => ['description' => 'VPC所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'NetworkInstanceId', + 'in' => 'query', + 'schema' => ['description' => '网络实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'FirewallSwitchStatus', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启。'."\n" + ."\n" + .'- **closed**:已关闭。'."\n" + ."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" + ."\n" + .'- **configured**:表示已配置但未开启VPC边界防火墙。'."\n" + ."\n" + .'> 不设置该参数表示查询所有状态的VPC边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'opened'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'VpcFirewallName', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall-test'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-x5jayxou71ad73****'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置当前页面的页码。'."\n" + ."\n" + .'默认值为1,表示返回第1页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,设置每页包含VPC边界防火墙的数量。'."\n" + ."\n" + .'默认值为10,表示每页包含10条结果。最大值为50。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'RouteMode', + 'in' => 'query', + 'schema' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **auto**:表示自动模式。'."\n" + ."\n" + .'- **manual**:表示手动模式。'."\n" + ."\n" + .'> 不设置该参数表示查询所有路由模式的VPC边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'auto'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号(其他阿里云账号)UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'TransitRouterType', + 'in' => 'query', + 'schema' => ['description' => '转发实例路由器类型。可选值:'."\n" + ."\n" + .'- **Basic**:基础版转发路由器。'."\n" + ."\n" + .'- **Enterprise**:企业版转发路由器。', 'type' => 'string', 'required' => false, 'example' => 'Basic'], ], ], 'responses' => [ @@ -35867,64 +29649,211 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'Module' => [ - 'description' => '应用模块', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '706B2093-CBA0-51B2-BEBF-58903FC6****', + 'TotalCount' => ['description' => 'VPC边界防火墙的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2'], + 'VpcFirewalls' => [ + 'description' => 'VPC边界防火墙的详细信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ConnectType' => ['description' => 'VPC边界防火墙的互通类型。取值:cen,表示云企业网。', 'type' => 'string', 'example' => 'cen'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RegionStatus' => ['description' => '地域开放状态。取值:'."\n" + ."\n" + .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙。'."\n" + ."\n" + .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙。', 'type' => 'string', 'example' => 'enable'], + 'CenId' => ['description' => '云企业网实例ID。', 'type' => 'string', 'example' => 'cen-x5jayxou71ad73****'], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'example' => 'vpc-firewall-test'], + 'ResultCode' => ['description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" + ."\n" + .'- **Unauthorized**:表示存在未授权的网络实例, 不允许创建VPC边界防火墙。'."\n" + ."\n" + .'- **RegionDisable**:表示网络实例所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙。'."\n" + ."\n" + .'- **OpsDisable**:表示不允许创建VPC边界防火墙。'."\n" + ."\n" + .'- **VbrNotSupport**:表示云企业网中的VBR不支持创建VPC边界防火墙。'."\n" + ."\n" + .'- 空字符串,表示该网络实例可以正常创建VPC边界防火墙。'."\n", 'type' => 'string', 'example' => 'Unauthorized'], + 'CenName' => ['description' => '云企业网实例名称。', 'type' => 'string', 'example' => 'cen-test'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙开关的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启。'."\n" + ."\n" + .'- **closed**:已关闭。'."\n" + ."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙。', 'type' => 'string', 'example' => 'opened'], + 'LocalVpc' => [ + 'description' => 'VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****'], + 'TransitRouterType' => ['description' => '云企业网转发路由器(CEN-TR)的版本。取值:'."\n" + ."\n" + .'- **Basic**:基础版转发路由器。'."\n" + ."\n" + .'- **Enterprise**:企业版转发路由器。', 'type' => 'string', 'example' => 'Basic'], + 'NetworkInstanceId' => ['description' => '网络实例ID。', 'type' => 'string', 'example' => 'vpc-2zefk9fbn8j7v585g****'], + 'RouteMode' => ['description' => '路由模式。取值:'."\n" + ."\n" + .'- **auto**:表示自动模式。'."\n" + ."\n" + .'- **manual**:表示手动模式。'."\n", 'type' => 'string', 'example' => 'auto'], + 'RegionNo' => ['description' => 'VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'AuthorizationStatus' => ['description' => 'VPC的授权状态。取值:**authorized**,表示已授权。', 'type' => 'string', 'example' => 'authorized'], + 'ManualVSwitchId' => ['description' => '路由模式为手动模式时指定的vSwitch的ID。', 'type' => 'string', 'example' => 'vsw-zeq4o875u****'], + 'OwnerId' => ['description' => 'VPC所属阿里云账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****'], + 'NetworkInstanceType' => ['description' => '网络实例的类型。取值:'."\n" + ."\n" + .'- **VPC**(Virtual Private Cloud)。'."\n" + ."\n" + .'- **VBR**(Virtual Border Router)。'."\n" + ."\n" + .'- **CCN**(Cloud Connect Network)。', 'type' => 'string', 'example' => 'VPC'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-instance'], + 'SupportManualMode' => ['description' => '路由模式是否支持手动模式。取值:'."\n" + ."\n" + .'- **1**:支持。'."\n" + ."\n" + .'- **0**:不支持。', 'type' => 'string', 'example' => '0'], + 'NetworkInstanceName' => ['description' => '网络实例的名称。', 'type' => 'string', 'example' => 'network-instance-test'], + 'VpcCidrTableList' => [ + 'description' => 'VPC的网段列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC的网段列表信息。', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => 'VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1234'], + 'RouteEntryList' => [ + 'description' => 'VPC的路由条目列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC的路由条目列表。', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => 'VPC中的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => 'VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + ], + ], + ], + ], + ], + 'DefendCidrList' => [ + 'description' => 'VPC边界防火墙防护的网段列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙防护的网段。', 'type' => 'string', 'example' => '10.0.XX.XX/24'], + ], + ], + ], + 'IpsConfig' => [ + 'description' => 'IPS配置信息。', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开启状态。'."\n" + ."\n" + .'- **0**:关闭状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EnableAllPatch' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开启状态。'."\n" + ."\n" + .'- **0**:关闭状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RunMode' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + ."\n" + .'- **0**:观察模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RuleClass' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + 'MemberUid' => ['description' => '当前阿里云账号的成员账号(其他阿里云账号)UID。', 'type' => 'string', 'example' => '258039427902****'], + 'PrecheckStatus' => ['description' => '是否可以自动开墙,即云防火墙会根据路由学习,自动防护VPC流量。取值:'."\n" + ."\n" + .'- **passed**:可以自动开墙。'."\n" + ."\n" + .'- **failed**:不可以自动开墙。'."\n" + ."\n" + .'- **unknown**:未知状态。'."\n", 'type' => 'string', 'example' => 'failed'], + 'AclConfig' => [ + 'description' => 'ACL引擎模式。', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式 '."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorUserNotFound', 'errorMessage' => 'User not found', 'description' => '用户不存在.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'firewall status error.', 'description' => '防火墙状态错误,请稍后再试。'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => '所属账号错误,请重新输入。'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"706B2093-CBA0-51B2-BEBF-58903FC6****\\"\\n}","type":"json"}]', - 'title' => '重置规则命中数', - 'description' => '本接口一般用于将指定的VPC防火墙策略组访问控制策略的命中计数清零。'."\n" + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询云企业网(基础版)防火墙列表', + 'summary' => '查询VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的信息。', + 'description' => '本接口一般用于查询VPC边界防火墙的信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" ."\n" .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeNatAclPageStatus' => [ - 'summary' => '查询NAT防火墙分页状态。', - 'methods' => [ - 'post', - 'get', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-04-02T11:10:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-10-08T07:45:13.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-15T08:18:59.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2022-09-08T10:58:24.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-02-24T13:48:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-11-17T02:58:02.000Z', 'description' => '响应参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"cen\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"CenId\\": \\"cen-x5jayxou71ad73****\\",\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"CenName\\": \\"cen-test\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"TransitRouterType\\": \\"Basic\\",\\n \\"NetworkInstanceId\\": \\"vpc-2zefk9fbn8j7v585g****\\",\\n \\"RouteMode\\": \\"auto\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"ManualVSwitchId\\": \\"vsw-zeq4o875u****\\",\\n \\"OwnerId\\": 0,\\n \\"NetworkInstanceType\\": \\"VPC\\",\\n \\"VpcName\\": \\"vpc-instance\\",\\n \\"SupportManualMode\\": \\"0\\",\\n \\"NetworkInstanceName\\": \\"network-instance-test\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ],\\n \\"DefendCidrList\\": [\\n \\"10.0.XX.XX/24\\"\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n cen\\n vfw-m5e7dbc4y****\\n enable\\n cen-x5jayxou71ad73****\\n 测试防火墙\\n Unauthorized\\n 测试云企业网\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n Basic\\n vpc-2zefk9fbn8j7v585g****\\n auto\\n cn-hangzhou\\n authorized\\n vsw-zeq4o875u****\\n VPC\\n 测试用实例\\n 0\\n 测试业务VPC\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n 10.0.XX.XX/24\\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n failed\\n \\n","errorExample":""}]', + ], + 'DescribeVpcFirewallCenSummaryList' => [ + 'summary' => '获取VPC的CEN列表', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -35936,132 +29865,52 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '180434', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68416', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'en', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'NatAclPageEnable' => [ - 'description' => '是否支持NAT ACL独立页面支持。', - 'type' => 'boolean', - 'example' => 'True', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8', - ], - 'Detail' => [ - 'description' => '异常详细信息。', - 'type' => 'string', - 'example' => 'proxy_not_exist', - ], - ], - ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的当前页的页码。默认值为1。', 'type' => 'string', 'required' => false, 'example' => '1'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"NatAclPageEnable\\": true,\\n \\"RequestId\\": \\"B97F9AD7-A2DB-5F8F-9206-DF89DE0AC9E8\\",\\n \\"Detail\\": \\"proxy_not_exist\\"\\n}","type":"json"}]', - 'title' => '查询NAT防火墙分页状态', - ], - 'DescribeNatFirewallAclGroupList' => [ - 'summary' => '查询NAT防火墙分组列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '当前页面的数量。', 'type' => 'string', 'required' => false, 'example' => '10'], ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '201928', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfwOG6NL8', + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '135809047715****'], ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'TransitRouterType', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'CEN转发路由器类型。 取值:'."\n" + ."\n" + .'**Basic**: 基础版'."\n" + ."\n" + .'**Enterprise**: 企业版', 'type' => 'string', 'required' => false, 'example' => 'Basic'], ], ], 'responses' => [ @@ -36069,87 +29918,71 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F06DE24D-6EB9-5F55-B588-7BB946DF****', - ], - 'NatFirewalls' => [ - 'description' => 'NAT防火墙列表。', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '432D6CCA-5186-5B91-A2B8-10C8994B****'], + 'CenList' => [ + 'description' => '云企业网实例列表。', 'type' => 'array', 'items' => [ - 'description' => 'NAT防火墙列表。', + 'description' => '云企业网实例列表。', 'type' => 'object', 'properties' => [ - 'NatGatewayId' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'example' => 'ngw-2zed6z6qkd7ogc****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关名称', - 'type' => 'string', - 'example' => 'ngw-test', - ], - 'IsDefault' => [ - 'description' => '是否默认NAT防火墙。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '是', - 'false' => '否', - ], - 'example' => 'true', - ], - 'AclRuleCount' => [ - 'description' => 'NAT边界防火墙访问控制策略组的策略数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', + 'CenName' => ['description' => '云企业网实例名称。', 'type' => 'string', 'example' => 'test'], + 'CenId' => ['description' => '云企业网实例的ID。', 'type' => 'string', 'example' => 'cen-maqfw3abcmjy56****'], + 'RegionNoList' => [ + 'description' => 'vpc边界防火墙的地域id列表。', + 'type' => 'array', + 'items' => ['description' => 'vpc边界防火墙的地域id列表。', 'type' => 'string', 'example' => '['."\n" + .' "cn-hangzhou",'."\n" + .' "cn-beijing"'."\n" + .']'], ], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F06DE24D-6EB9-5F55-B588-7BB946DF****\\",\\n \\"NatFirewalls\\": [\\n {\\n \\"NatGatewayId\\": \\"ngw-2zed6z6qkd7ogc****\\",\\n \\"NatGatewayName\\": \\"ngw-test\\",\\n \\"IsDefault\\": true,\\n \\"AclRuleCount\\": 32,\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询NAT防火墙分组列表', - ], - 'DescribeNatFirewallControlPolicy' => [ - 'summary' => '获取所有NAT防火墙访问控制策略的信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取VPC_CEN列表', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenSummaryList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"432D6CCA-5186-5B91-A2B8-10C8994B****\\",\\n \\"CenList\\": [\\n {\\n \\"CenName\\": \\"test\\",\\n \\"CenId\\": \\"cen-maqfw3abcmjy56****\\",\\n \\"RegionNoList\\": [\\n \\"[\\\\n \\\\\\"cn-hangzhou\\\\\\",\\\\n \\\\\\"cn-beijing\\\\\\"\\\\n]\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallControlPolicy' => [ + 'summary' => '查询指定的VPC边界防火墙的所有访问控制策略信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36158,177 +29991,109 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171421', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68417', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + ."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '要查询的NAT网关的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。取值:'."\n" + ."\n" + .'- 当VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量时,该参数值使用云企业网实例ID。'."\n" + ."\n" + .'- 当VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,该参数值使用VPC边界防火墙实例ID。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], ], [ 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => '分页查询时,设置当前页的页码。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10.', - 'type' => 'string', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => '分页查询时,设置每页包含VPC边界防火墙的访问控制策略数量。'."\n" + ."\n" + .'可设置值最大为50。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的访问源地址。支持使用模糊查询的方式进行查询。SourceType(源类型)不同,访问源地址的取值也不同。'."\n" - ."\n" - .'- 当SourceType为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - ."\n" - .'- 当SourceType为`group`时,访问源为源地址簿名称。例如:db_group为空(表示查询所有访问控制源)。'."\n" - ."\n" - .'- 当SourceType为`location`时,访问源为源区域。例如:北京或beijing(支持使用中文或英文进行查询)。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的访问源。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1/32', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中的访问源地址。支持使用模糊查询。'."\n" + ."\n" + .'> Source可以是单个CIDR地址或地址簿名称。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24'], ], [ 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" - ."\n" - .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" - ."\n" - .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" - ."\n" - .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" - ."\n" - .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见[AddControlPolicy](~~474128~~))。例如:["BJ11", "ZB"]。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的目的地址。', - 'type' => 'string', - 'required' => false, - 'example' => 'x.x.x.x/32', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中的目的地址。支持模糊查询。'."\n" + ."\n" + .'> Destination可以是单个CIDR地址或域名,也可以是地址薄名称。'."\n" + ."\n", 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。支持模糊查询。'."\n" - ."\n" - .'> 不设置该参数表示查询所有策略的描述信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '描述信息', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略的描述信息。支持模糊查询。'."\n", 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(表示所有协议类型)'."\n" - .'> 不设置该参数表示查询所有协议类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(查询所有协议类型)'."\n" + ."\n" + .'> 不设置该参数表示查询所有协议类型。', 'type' => 'string', 'required' => false, 'example' => 'TCP'], ], [ 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察'."\n" + ."\n" + .'> 不设置该参数表示查询所有动作。'."\n", 'type' => 'string', 'required' => false, 'example' => 'accept'], ], [ - 'name' => 'AclUuid', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => false, - 'example' => '323f0697-2a21-4e43-b142-*****', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], [ - 'name' => 'Release', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => 'VPC边界防火墙访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => false, 'example' => '4037fbf7-3e39-4634-92a4-d0155247****'], ], [ - 'name' => 'Direction', + 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略控制的流量方向。取值:'."\n" - .'- **out**:内对外方向的流量访问控制。', - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['description' => '访问控制策略的启用状态。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], ], [ 'name' => 'RepeatType', @@ -36342,13 +30107,7 @@ .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], 'example' => 'Permanent', ], ], @@ -36358,237 +30117,128 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'string', - 'example' => '28', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'F283567D-8A52-5BAE-9472-*****', - ], + 'TotalCount' => ['description' => 'VPC边界防火墙访问控制策略的总数量。', 'type' => 'string', 'example' => '20'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], 'Policys' => [ - 'description' => 'NAT防火墙访问控制策略的信息。', + 'description' => 'VPC边界防火墙访问控制策略的信息。', 'type' => 'array', 'items' => [ - 'description' => 'NAT防火墙访问控制策略的信息。', 'type' => 'object', 'properties' => [ - 'Destination' => [ - 'description' => '访问控制策略中的目的地址。DestinationType(目的类型)不同,目的地址的取值也不同。取值:'."\n" - ."\n" - .'- 当**DestinationType**为**net**时,目的地址为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - ."\n" - .'- 当**DestinationType**为**domain**时,目的地址为域名。例如:aliyuncs.com。'."\n" - ."\n" - .'- 当**DestinationType**为**group**时,目的地址为地址簿的名称。例如:db_group。'."\n" - ."\n" - .'- 当**DestinationType**为**location**时,目的地址为区域名称(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n" - ."\n" - .' ', - 'type' => 'string', - 'example' => 'x.x.x.x/32', - ], - 'Order' => [ - 'description' => '访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DestPortGroup' => [ - 'description' => '访问控制策略中流量访问的目的端口地址簿名称。', - 'type' => 'string', - 'example' => 'my_port_group', - ], - 'SourceType' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n" - .'- **location**:源区域', - 'type' => 'string', - 'example' => 'net', - ], - 'DnsResultTime' => [ - 'description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'DNS解析结果。', - 'type' => 'string', - 'example' => '111.0.XX.XX,112.0.XX.XX', - ], - 'ApplicationNameList' => [ - 'description' => '应用名称,支持多选。', - 'type' => 'array', - 'items' => [ - 'description' => '应用名称,支持多选。', - 'type' => 'string', - 'example' => '[\'HTTP\', \'HTTPS\']', - ], - ], - 'AclUuid' => [ - 'description' => '访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '01281255-d220-4db1-8f4f-c4df221a****', - ], - 'DestPortType' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '访问控制策略中的访问源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" - .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => '访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'example' => 'net', - ], - 'HitTimes' => [ - 'description' => '访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPort' => [ - 'description' => '访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'example' => '80', - ], - 'Description' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'example' => '描述信息', - ], - 'AclAction' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'accept', - ], - 'Proto' => [ - 'description' => '访问控制策略中流量访问的安全协议类型。取值:'."\n" - ."\n" - .'- **ANY**'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**', - 'type' => 'string', - 'example' => 'TCP', - ], + 'Destination' => ['description' => 'VPC边界防火墙访问控制策略中的目的地址。取值:'."\n" + ."\n" + .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" + ."\n" + .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" + ."\n" + .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。'."\n", 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'Order' => ['description' => 'VPC边界防火墙访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,表示优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'DestPortGroup' => ['description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口地址簿名称。', 'type' => 'string', 'example' => 'my_port_group'], + 'SourceType' => ['description' => 'VPC边界防火墙访问控制策略中源地址类型。取值:'."\n" + ."\n" + .'- **net**:源CIDR地址'."\n" + .'- **group**:源地址簿'."\n", 'type' => 'string', 'example' => 'net'], + 'ApplicationName' => ['description' => 'VPC边界防火墙访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" + ."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**(表示查询访问控制策略所有的应用类型)', 'type' => 'string', 'example' => 'HTTP'], + 'AclUuid' => ['description' => 'VPC边界防火墙访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '4037fbf7-3e39-4634-92a4-d0155247****'], + 'DestPortType' => ['description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口类型。取值:'."\n" + .'- **port**:单个端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'Source' => ['description' => 'VPC边界防火墙访问控制策略中的访问源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为访问源CIDR地址。'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为地址簿名称。'."\n" + ."\n", 'type' => 'string', 'example' => '192.0.XX.XX/24'], + 'DestinationType' => ['description' => 'VPC边界防火墙访问控制策略中目的地址的类型。取值:'."\n" + ."\n" + .'- **net**:目的CIDR地址'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n", 'type' => 'string', 'example' => 'net'], + 'HitTimes' => ['description' => 'VPC边界防火墙访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '100'], + 'DestPort' => ['description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口。', 'type' => 'string', 'example' => '80'], + 'Description' => ['description' => 'VPC边界防火墙访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test'], + 'AclAction' => ['description' => 'VPC边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'accept'], + 'ApplicationId' => ['description' => 'VPC边界防火墙访问控制策略中设置访问流量的应用的ID。', 'type' => 'string', 'example' => '10**'], + 'Proto' => ['description' => 'VPC边界防火墙访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(表示查询所有协议类型)', 'type' => 'string', 'example' => 'TCP'], 'DestinationGroupCidrs' => [ - 'description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", + 'description' => 'VPC边界防火墙访问控制策略中目的地址簿中的网段信息。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", - 'type' => 'string', - 'example' => '['."\n" - .' "112.0.XX.XX/24",'."\n" - .' "112.0.XX.XX/32"'."\n" - .']', - ], + 'items' => ['description' => 'VPC边界防火墙访问控制策略中目的地址簿中的网段列表。', 'type' => 'string', 'example' => '["192.0.XX.XX/24", "192.0.XX.XX/32"]'], ], 'DestPortGroupPorts' => [ - 'description' => '目的端口地址簿中包含的端口列表。', + 'description' => 'VPC边界防火墙访问控制策略中目的端口地址簿的详细信息。', 'type' => 'array', - 'items' => [ - 'description' => '目的端口地址簿中包含的端口列表。', - 'type' => 'string', - 'example' => '[80,443]', - ], + 'items' => ['description' => 'VPC边界防火墙访问控制策略中目的端口地址簿中包含的端口列表。', 'type' => 'string', 'example' => '[80,443]'], ], 'SourceGroupCidrs' => [ - 'description' => '访问控制策略中的源地址簿中的网段列表。', + 'description' => 'VPC边界防火墙访问控制策略中源地址簿的详细信息。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的源地址簿中的网段列表。', - 'type' => 'string', - 'example' => '[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']', - ], - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。唯一取值: **ip**。表示IP地址簿,包含一个或多个IP地址段。', - 'type' => 'string', - 'example' => 'ip', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。', - 'type' => 'string', - 'example' => 'ip', - ], - 'NatGatewayId' => [ - 'description' => '要查询的NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-xxxxxx', + 'items' => ['description' => 'VPC边界防火墙访问控制策略中,源地址簿中的网段列表。', 'type' => 'string', 'example' => '["192.0.XX.XX/24", "198.51.XX.XX/32"]'], ], - 'DomainResolveType' => [ - 'description' => '访问控制策略的域名解析方式。策略创建后默认启用该策略。取值:'."\n" + 'MemberUid' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'example' => '258039427902****'], + 'Release' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。唯一取值: **ip**。表示IP地址簿,包含一个或多个IP地址段。', 'type' => 'string', 'example' => 'ip'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。', 'type' => 'string', 'example' => 'ip'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'ModifyTime' => ['description' => '修改策略的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'SpreadCnt' => ['description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" + .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或域名个数)\\* 应用数 \\* 端口段个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'CreateTime' => ['description' => '创建策略的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'ApplicationNameList' => [ + 'description' => '应用名称列表。', + 'type' => 'array', + 'items' => ['description' => 'VPC边界防火墙访问控制策略支持的应用类型列表。取值:'."\n" ."\n" - .'- **0**:基于FQDN'."\n" - .'- **1**:基于DNS动态解析'."\n" - .'- **2**:基于FQDN与DNS动态解析', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'SpreadCnt' => [ - 'description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" - .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 应用数 \\* 端口段个数。', - 'type' => 'string', - 'example' => '10,000', - ], - 'CreateTime' => [ - 'description' => '创建策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '修改策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + .'- **ANY**(表示查询访问控制策略所有的应用类型)', 'type' => 'string', 'example' => '['."\n" + .' "HTTPS", '."\n" + .' "SMTPS", '."\n" + .' "SSL"'."\n" + .']'], ], 'RepeatType' => [ 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" @@ -36598,13 +30248,7 @@ .'- **Weekly**:每周'."\n" .'- **Monthly**:每月', 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], 'example' => 'Permanent', ], 'RepeatDays' => [ @@ -36618,141 +30262,210 @@ .' 例如:[1, 31]'."\n" .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'RepeatStartTime' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', - ], + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + 'RepeatStartTime' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', 'type' => 'string', 'example' => '08:00'], + 'RepeatEndTime' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', 'type' => 'string', 'example' => '23:30'], + 'StartTime' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694761200'], + 'EndTime' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'example' => '1694764800'], + 'DomainResolveType' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'example' => 'FQDN'], ], + 'description' => '', ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUnmarshalJSON', - 'errorMessage' => 'An error occurred while parsing JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The appId is invalid.', 'description' => '无效的AppId'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询指定的VPC边界防火墙的所有访问控制策略信息', + 'description' => '本接口一般用于查询VPC边界防火墙的访问控制策略。VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量或防护通过高速通道连接的两个VPC之间的流量时,使用不同的访问控制策略。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-11-21T03:28:36.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-06T08:23:29.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-08T02:27:21.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2023-09-14T06:09:44.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-09-11T09:00:25.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-11-12T03:11:43.000Z', 'description' => '请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2021-10-28T02:53:01.000Z', 'description' => '请求参数发生变更、响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallControlPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": \\"20\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"AclUuid\\": \\"4037fbf7-3e39-4634-92a4-d0155247****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"ApplicationId\\": \\"10**\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"192.0.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"198.51.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"ModifyTime\\": 1761062400,\\n \\"SpreadCnt\\": 10000,\\n \\"CreateTime\\": 1761062400,\\n \\"ApplicationNameList\\": [\\n \\"[\\\\n \\\\\\"HTTPS\\\\\\", \\\\n \\\\\\"SMTPS\\\\\\", \\\\n \\\\\\"SSL\\\\\\"\\\\n]\\"\\n ],\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 192.0.XX.XX/24\\n 1\\n my_port_group\\n net\\n HTTP\\n 4037fbf7-3e39-4634-92a4-d0155247****\\n port\\n 192.0.XX.XX/24\\n net\\n 100\\n 80\\n test\\n accept\\n 10**\\n TCP\\n [\\"192.0.XX.XX/24\\", \\"192.0.XX.XX/32\\"]\\n [80,443]\\n [\\"192.0.XX.XX/24\\", \\"198.51.XX.XX/32\\"]\\n 258039427902****\\n true\\n ip\\n ip\\n \\n","errorExample":""}]', + ], + 'DescribeVpcFirewallDefaultIPSConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68418', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC 边界防火墙的实例 ID。取值:'."\n" + ."\n" + .'- VPC 边界防火墙防护云企业网内的网络实例时,实例 ID 使用云企业网实例 ID。云企业网基础版通过调用[DescribeVpcFirewallCenList](~~345777~~) 接口,查询云企业网的实例 ID。云企业网企业版通过调用 [DescribeTrFirewallsV2List ](~~2384695~~) 接口,查询云企业网的实例 ID。'."\n" + .'- VPC 边界防火墙防护通过高速通道连接的两个 VPC 之间的流量时,实例 ID 使用 VPC 边界防火墙实例 ID。您可以通过调用 [DescribeVpcFirewallList](~~342932~~) 接口,查询 VPC 边界防火墙的实例 ID。', 'type' => 'string', 'required' => true, 'example' => 'cen-****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-****-00090125adf1'], + 'RunMode' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + ."\n" + .'- **0**:观察模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'EnableAllPatch' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开。'."\n" + ."\n" + .'- **0**:关。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'BasicRules' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开。'."\n" + ."\n" + .'- **0**:关。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RuleClass' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => '无效的VPC防火墙ID。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'VPC防火墙ID无效'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": \\"28\\",\\n \\"RequestId\\": \\"F283567D-8A52-5BAE-9472-*****\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"111.0.XX.XX,112.0.XX.XX\\",\\n \\"ApplicationNameList\\": [\\n \\"[\'HTTP\', \'HTTPS\']\\"\\n ],\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"描述信息\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\n \\\\\\"112.0.XX.XX/24\\\\\\",\\\\n \\\\\\"112.0.XX.XX/32\\\\\\"\\\\n]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\'192.0.XX.XX/24\', \'192.0.XX.XX/32\']\\"\\n ],\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"NatGatewayId\\": \\"ngw-xxxxxx\\",\\n \\"DomainResolveType\\": 0,\\n \\"SpreadCnt\\": \\"10,000\\",\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取所有NAT防火墙访问控制策略的信息', - 'description' => '本接口一般用于分页查询NAT防火墙访问控制策略的信息。', - ], - 'DescribeNatFirewallPolicyPriorUsed' => [ - 'summary' => '查询NAT防火墙访问控制策略优先级生效范围。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取指定VPC边界防火墙的入侵防御配置信息', + 'summary' => '获取指定VPC边界防火墙的入侵防御配置信息。', + 'description' => '本接口用于获取指定VPC边界防火墙的入侵防御配置信息,需要先完成创建VPC防火墙实例。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2024-08-15T08:19:00.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-****-00090125adf1\\",\\n \\"RunMode\\": 0,\\n \\"EnableAllPatch\\": 1,\\n \\"BasicRules\\": 1,\\n \\"RuleClass\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125adf1\\n 0\\n 1\\n 1\\n","errorExample":""}]', + ], + 'DescribeVpcFirewallDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -36764,61 +30477,45 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171493', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68419', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Direction', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **out**:内对外流量。', - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'IpVersion', + 'name' => 'LocalVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**(默认):代表IPv4地址', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['description' => '本端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'PeerVpcId', + 'in' => 'query', + 'schema' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-90rq0anm6t8vbwbo****'], ], ], 'responses' => [ @@ -36826,503 +30523,425 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => '访问控制策略生效的优先级最低值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '28', - ], - 'Start' => [ - 'description' => '访问控制策略生效的优先级最高值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', + 'ConnectType' => ['description' => 'VPC边界防火墙的互通类型。取值:**expressconnect**,表示高速通道。'."\n" + ."\n", 'type' => 'string', 'example' => 'expressconnect'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125g4d2'], + 'Bandwidth' => ['description' => '高速通道的带宽规格。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'example' => 'vpc-firewall-test'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + .'- **opened**:已开启。'."\n" + .'- **closed**:已关闭。'."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" + .'- **configured**:表示已配置VPC边界防火墙。', 'type' => 'string', 'example' => 'opened'], + 'LocalVpc' => [ + 'description' => '本端VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => '本端VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****'], + 'VpcName' => ['description' => '本端VPC的实例名称。', 'type' => 'string', 'example' => 'vpc-test-instancel'], + 'RegionNo' => ['description' => '本端VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'EniPrivateIpAddress' => ['description' => '本端VPC中弹性网卡私网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'RouterInterfaceId' => ['description' => '本端VPC中路由器接口ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'EniId' => ['description' => '本端VPC中弹性网卡的实例ID。', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****'], + 'VpcCidrTableList' => [ + 'description' => '本端VPC的网段列表信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => '本端VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1234'], + 'RouteEntryList' => [ + 'description' => '本端VPC的路由条目列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => '本端VPC中的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => '本端VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'BCDF3907-1011-5504-B015-CC7603C0E6B6', + 'PeerVpc' => [ + 'description' => '对端VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-90rq0anm6t8vbwbo****'], + 'VpcName' => ['description' => '对端VPC的实例名称。', 'type' => 'string', 'example' => 'test-vpc2'], + 'RegionNo' => ['description' => '对端VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'EniPrivateIpAddress' => ['description' => '对端VPC中弹性网卡私网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'RouterInterfaceId' => ['description' => '对端VPC中路由器接口ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'EniId' => ['description' => '对端VPC中弹性网卡的实例ID。', 'type' => 'string', 'example' => 'eni-8vbhfosfqv2rff42****'], + 'VpcCidrTableList' => [ + 'description' => '对端VPC的网段列表信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => '对端VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1256'], + 'RouteEntryList' => [ + 'description' => '对端VPC路由条目列表信息。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => '对端VPC中的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => '对端VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + 'description' => '', + ], + ], + ], + 'description' => '', + ], + ], + ], ], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'example' => '258039427902****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorFirewallNotFound', 'errorMessage' => 'Firewall not found', 'description' => '防火墙不存在'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'firewall status error.', 'description' => '防火墙状态错误,请稍后再试。'], + ['errorCode' => 'ErrorVpcIdPara', 'errorMessage' => 'vpc id and firewall id parameter not exist.', 'description' => '防火墙VPC参数错误,请重新选择。'], + ['errorCode' => 'ErrorLocalVpcIdPeerVpcIdError', 'errorMessage' => 'local vpc id and peer vpc id cannot be empty at the same time.', 'description' => '防火墙VPC参数错误,请重新选择。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"End\\": 28,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"BCDF3907-1011-5504-B015-CC7603C0E6B6\\"\\n}","type":"json"}]', - 'title' => '查询NAT防火墙访问控制策略优先级使用范围', - 'description' => '本接口一般用于查询NAT防火墙内对外流量访问控制策略优先级生效范围。', - ], - 'CreateNatFirewallControlPolicy' => [ - 'summary' => '添加NAT防火墙访问控制策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询VPC边界防火墙的详情', + 'summary' => '查询VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的详细信息。', + 'description' => '本接口用于获取VPC边界防火墙的详细信息。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。'."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-12-08T02:43:33.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDetail'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125g4d2\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"vpc-firewall-test\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"VpcName\\": \\"vpc-test-instancel\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcId\\": \\"vpc-90rq0anm6t8vbwbo****\\",\\n \\"VpcName\\": \\"test-vpc2\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"EniPrivateIpAddress\\": \\"192.168.XX.XX\\",\\n \\"RouterInterfaceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"EniId\\": \\"eni-8vbhfosfqv2rff42****\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"MemberUid\\": \\"258039427902****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n expressconnect\\n vfw-m5e7dbc4y****\\n 850A84D6-0DE4-4797-A1E8-00090125g4d2\\n 2\\n 测试防火墙\\n opened\\n \\n vpc-8vbwbo90rq0anm6t****\\n 测试用实例\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n vpc-90rq0anm6t8vbwbo****\\n 测试vpc2\\n cn-hangzhou\\n 192.168.XX.XX\\n vrt-m5eb5me6c3l5sezae****\\n eni-8vbhfosfqv2rff42****\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n 258039427902****\\n","errorExample":""}]', + ], + 'DescribeVpcFirewallDomainList' => [ + 'summary' => '查询经过VPC防火墙访问的域名信息列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '170916', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**:(默认)中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclAction', - 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => true, - 'example' => 'log', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'StartTime', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '访问控制策略支持的应用类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略支持的应用类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - ], - 'required' => true, - 'maxItems' => 30, - ], + 'schema' => ['title' => '开始时间,Unix timestamp, 精确到秒', 'description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'Description', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => '放行流量', - ], + 'schema' => ['title' => '结束时间,Unix timestamp, 精确到秒', 'description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ - 'name' => 'DestPort', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中流量访问的目的端口。取值:'."\n" - ."\n" - .'- 当协议类型为ICMP时,DestPort取值为空。'."\n" - .' '."\n" - .'> 协议类型为ICMP时,不支持对目的端口进行访问控制。'."\n" - ."\n" - .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为group时,DestPort取值为空。'."\n" - ."\n" - .'> 访问控制策略目的端口类型选择group(目的端口地址簿)时,您无需设置具体的目的端口号。需要该访问控制策略管控的所有端口会包含在目的端口地址簿中。'."\n" - ."\n" - .'- 当协议类型为TCP、UDP或ANY时,并且目的端口类型(DestPortType)为port时,DestPort取值为目的端口号。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '分页参数:每页显示条数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'Destination', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址段。'."\n" - ."\n" - .'取值:'."\n" - .'- 当DestinationType为net时,Destination为目的CIDR。'."\n" - .' '."\n" - .' 例如:1.2.XX.XX/24'."\n" - ."\n" - .'- 当DestinationType为group时,Destination为目的地址簿名称。'."\n" - ."\n" - .' 例如:db_group'."\n" - ."\n" - .'- 当DestinationType为domain时,Destination为目的域名。'."\n" - ."\n" - .' 例如:*.aliyuncs.com'."\n" - ."\n" - .'- 当DestinationType为location时,Destination为目的区域。'."\n" - ."\n" - .' 例如: \\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => true, - 'example' => 'XX.XX.XX.XX/24', - ], + 'schema' => ['title' => '当前页', 'description' => '当前页。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'DestinationType', + 'name' => 'Domain', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['title' => '域名', 'description' => '域名,仅支持精确查询。', 'type' => 'string', 'required' => false, 'example' => 'www.example.com'."\n"], ], [ - 'name' => 'NatGatewayId', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-2vc2ustolqn6sr0******', - ], + 'schema' => ['title' => '公网IP', 'description' => '访问域名的源IP。', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x'], ], [ - 'name' => 'Proto', + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中流量访问的安全协议类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- ANY(表示查询所有协议类型)'."\n" - .'- TCP'."\n" - .'- UDP'."\n" - .'- ICMP'."\n" - ."\n" - .'> 访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', + 'title' => '顺序, 枚举值, 可选:asc, desc', + 'description' => '顺序, 枚举值, 可选:asc, desc。', 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [], - 'example' => 'ANY', + 'required' => false, + 'example' => 'desc', + 'enum' => [], ], ], [ - 'name' => 'Source', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中的源地址。'."\n" - ."\n" - .'取值:'."\n" + 'title' => '排序字段, 枚举值.'."\n" + .'默认值: SessionCount'."\n" + .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', + 'description' => '排序字段, 枚举值。'."\n" ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" + .'默认值: TotalBytes。'."\n" ."\n" - .' 例如:10.2.4.0/24'."\n" + .'可选值: '."\n" ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" + .'TotalBytes:根据总流量排序。'."\n" ."\n" - .' 例如:db_group', + .'SessionCount:根据会话数排序。', 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.25/32', + 'required' => false, + 'example' => 'SessionCount', + 'enum' => [], ], ], [ - 'name' => 'SourceType', + 'name' => 'SrcVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['description' => '源端VPC的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nlt09olhpazpoeg****'], ], [ - 'name' => 'NewOrder', + 'name' => 'IsAITraffic', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略生效的优先级。优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '是否仅统计访问AI服务的流量。默认取值为否。取值:'."\n" + ."\n" + .'- **true**:是'."\n" + .'- **false**:否', 'type' => 'string', 'required' => false, 'example' => 'true'], ], - [ - 'name' => 'DestPortType', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'port', - ], - ], + 'type' => 'object', + 'properties' => [ + 'TotalCount' => ['title' => '总数', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '133173B9-8010-5DF5-8B93-********'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['title' => '域名', 'description' => '域名。', 'type' => 'string', 'example' => 'www.a.com'], + 'RequestBytes' => ['title' => '入流量', 'description' => '请求该域名的流量大小。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '3214'], + 'SessionCount' => ['title' => '会话数', 'description' => '会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'GroupName' => ['title' => '规则中的组名称', 'description' => '该域名所属组织信息。', 'type' => 'string', 'example' => 'Google'], + 'ResponseBytes' => ['title' => '出流量', 'description' => '响应流量大小。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '4582'], + 'Business' => ['description' => '该域名所属业务。', 'type' => 'string', 'example' => 'Google'], + 'TotalBytes' => ['description' => '总流量大小。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '8111126106'], + 'ApplicationNameList' => [ + 'description' => '应用协议列表。', + 'type' => 'array', + 'items' => ['description' => '应用协议。', 'type' => 'string', 'example' => 'HTTP'], + ], + 'SrcIpCount' => ['description' => '访问该域名的源IP数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'SrcVpcCount' => ['description' => '访问该域名的源VPC数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '查询经过VPC防火墙访问的域名信息列表', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DestPortGroup', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中访问流量的目的端口地址簿名称。'."\n" - ."\n\n" - .'> DestPortType设置为group时,您需要设置目的端口地址簿名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.a.com\\",\\n \\"RequestBytes\\": 3214,\\n \\"SessionCount\\": 12,\\n \\"GroupName\\": \\"Google\\",\\n \\"ResponseBytes\\": 4582,\\n \\"Business\\": \\"Google\\",\\n \\"TotalBytes\\": 8111126106,\\n \\"ApplicationNameList\\": [\\n \\"HTTP\\"\\n ],\\n \\"SrcIpCount\\": 2,\\n \\"SrcVpcCount\\": 1\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallDomainRelationList' => [ + 'summary' => '查询经过VPC防火墙访问指定域名的关系列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Release', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'DomainResolveType', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'- **0**:基于FQDN'."\n" - .'- **1**:基于DNS动态解析'."\n" - .'- **2**:基于FQDN与DNS动态解析', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['title' => '开始时间,Unix timestamp, 精确到秒', 'description' => '开始时间,Unix timestamp, 精确到秒。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], ], [ - 'name' => 'IpVersion', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**(默认):代表IPv4地址', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'schema' => ['title' => '结束时间,Unix timestamp, 精确到秒', 'description' => '结束时间,Unix timestamp, 精确到秒。', 'type' => 'string', 'required' => true, 'example' => '1656750960'], ], [ - 'name' => 'Direction', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '分页参数:每页显示条数。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'RepeatType', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', - ], + 'schema' => ['title' => '当前页', 'description' => '当前页。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'RepeatDays', + 'name' => 'DomainList', 'in' => 'query', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'description' => '域名列表。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'items' => ['description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'example.com'."\n"], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'RepeatStartTime', + 'name' => 'SrcIP', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], + 'schema' => ['title' => '公网IP', 'description' => '访问的源IP。', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x'], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'SrcVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => '访问的源VPC的id。', 'type' => 'string', 'required' => false, 'example' => 'vpc-t4nlt09olhpazpoeg****'], ], [ - 'name' => 'StartTime', + 'name' => 'DstIP', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => '被访问的目的IP。', 'type' => 'string', 'required' => false, 'example' => '34.136.111.XXX'], ], [ - 'name' => 'EndTime', + 'name' => 'DstVpcId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => '被访问的目的VPC的id。', 'type' => 'string', 'required' => false, 'example' => 'vpc-bp10w5nb30r4jzfyc****'], + ], + [ + 'name' => 'Sort', + 'in' => 'query', + 'schema' => ['description' => '排序字段, 枚举值。'."\n" + ."\n" + .'默认值: TotalBytes。'."\n" + ."\n" + .'可选值: '."\n" + ."\n" + .'TotalBytes:根据总流量排序。'."\n" + ."\n" + .'SessionCount:根据会话数排序。', 'type' => 'string', 'required' => false, 'example' => 'TotalBytes'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => '顺序, 枚举值, 可选:asc, desc。', 'type' => 'string', 'required' => false, 'example' => 'desc'], ], ], 'responses' => [ @@ -37330,508 +30949,566 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => '安全访问控制策略的唯一标识ID。'."\n" - ."\n" - .'> 修改安全访问控制策略,需要提供该策略的唯一标识ID,该ID可调用DescribeNatFirewallControlPolicy接口获取。', - 'type' => 'string', - 'example' => '6504d2fb-ab36-49c3-92a6-*****', + 'TotalCount' => ['title' => '总数', 'description' => '总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'C5DDD596-1191-5F36-A504-8733045A****'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'Domain' => ['description' => '域名。', 'type' => 'string', 'example' => 'www.example.com'], + 'SrcIP' => ['description' => '源IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'DstIP' => ['description' => '目的IP。', 'type' => 'string', 'example' => '192.0.XX.XX'], + 'SrcVpcId' => ['description' => '源VPC的Id。', 'type' => 'string', 'example' => 'vpc-t4nlt09olhpazpoeg****'], + 'DstVpcId' => ['description' => '目的VPC的Id。', 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****'], + 'SrcVpcName' => ['description' => '源VPC的名称。', 'type' => 'string', 'example' => 'vpc-****'], + 'DstVpcName' => ['description' => '目的VPC的名称。', 'type' => 'string', 'example' => 'vpc-****'], + 'SrcRegionId' => ['description' => '源地域。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'DstRegionId' => ['description' => '目的地域。', 'type' => 'string', 'example' => 'cn-beijing'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '16287823'], + 'SessionCount' => ['description' => '会话总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'Business' => ['description' => '网站业务。', 'type' => 'string', 'example' => 'Google'], + 'GroupName' => ['description' => '组织信息。', 'type' => 'string', 'example' => 'Google'], + 'IpsHitCnt' => ['description' => 'IPS命中数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'FirstTime' => ['description' => '首次访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1767147003'], + 'LastTime' => ['description' => '最近访问时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1767147003'], + 'RequestBytes' => ['description' => '请求流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + 'ResponseBytes' => ['description' => '响应流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '10000'], + ], + ], ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', + 'DstVpcList' => [ + 'description' => '目的VPC列表。', + 'type' => 'array', + 'items' => [ + 'description' => '目的VPC列表。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => '目的VPC的Id。', 'type' => 'string', 'example' => 'vpc-bp10w5nb30r4jzfyc****'], + 'VpcName' => ['description' => '目的VPC的名称。', 'type' => 'string', 'example' => 'vpc-****'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorStartTimeOrEndTime', - 'errorMessage' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"6504d2fb-ab36-49c3-92a6-*****\\",\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', - 'title' => '添加NAT防火墙访问控制策略', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'ModifyNatFirewallControlPolicy' => [ - 'summary' => '修改NAT防火墙安全访问控制策略的配置信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询经过VPC防火墙访问指定域名的关系列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"DataList\\": [\\n {\\n \\"Domain\\": \\"www.example.com\\",\\n \\"SrcIP\\": \\"192.0.XX.XX\\",\\n \\"DstIP\\": \\"192.0.XX.XX\\",\\n \\"SrcVpcId\\": \\"vpc-t4nlt09olhpazpoeg****\\",\\n \\"DstVpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"SrcVpcName\\": \\"vpc-****\\",\\n \\"DstVpcName\\": \\"vpc-****\\",\\n \\"SrcRegionId\\": \\"cn-hangzhou\\",\\n \\"DstRegionId\\": \\"cn-beijing\\",\\n \\"TotalBytes\\": 16287823,\\n \\"SessionCount\\": 27,\\n \\"Business\\": \\"Google\\",\\n \\"GroupName\\": \\"Google\\",\\n \\"IpsHitCnt\\": 10,\\n \\"FirstTime\\": 1767147003,\\n \\"LastTime\\": 1767147003,\\n \\"RequestBytes\\": 10000,\\n \\"ResponseBytes\\": 10000\\n }\\n ],\\n \\"DstVpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-bp10w5nb30r4jzfyc****\\",\\n \\"VpcName\\": \\"vpc-****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallDropTrafficTrend' => [ + 'summary' => '查询VPC防火墙拦截趋势。', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171412', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], - 'autoTest' => true, - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '146117', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '183.237.161.XXX'], ], [ - 'name' => 'AclAction', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => false, - 'example' => 'log', - ], + 'schema' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1656664560'], ], [ - 'name' => 'Description', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。支持模糊查询。'."\n" - ."\n" - .'> 不设置该参数表示查询所有策略的描述信息。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '描述信息', - ], + 'schema' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1747792853'], ], [ - 'name' => 'DestPort', + 'name' => 'TrafficTime', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口。'."\n" - ."\n" - .'> 当**DestPortType**为`port`时,设置该参数。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => '流量时间点。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1739337840'], ], [ - 'name' => 'Destination', + 'name' => 'Sort', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的目的地址。'."\n" - ."\n" - .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" - .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" - .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" - .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => false, - 'example' => 'x.x.x.x/32', - ], + 'schema' => ['description' => '排序标准。', 'type' => 'string', 'required' => false, 'example' => 'LastTime'], ], [ - 'name' => 'DestinationType', + 'name' => 'Order', 'in' => 'query', + 'schema' => ['description' => '升降序。取值:'."\n" + ."\n" + .'- **asc**:升序。'."\n" + .'- **desc**(默认):降序。', 'type' => 'string', 'required' => false, 'example' => 'desc'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '安全访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'required' => false, - 'example' => 'net', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'DropSessionMax' => ['description' => '拦截最大连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C87C1797-02E6-5EEB-A943-4416207D****'], + 'DataList' => [ + 'description' => '返回数据列表。', + 'type' => 'array', + 'items' => [ + 'description' => '返回数据列表。', + 'type' => 'object', + 'properties' => [ + 'Time' => ['description' => '数据时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1659405600'], + 'AclDrop' => ['description' => 'ACL拦截数。', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'IpsDrop' => ['description' => 'IPS拦截数。', 'type' => 'integer', 'format' => 'int64', 'example' => '5'], + 'TotalSession' => ['description' => '总会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '153188'], + 'DataTime' => ['description' => '数据时间。使用字符串格式YYYY-MM-DD HH:mm:ss表示。', 'type' => 'string', 'example' => '2018-08-25 12:00:00'], + 'DropSession' => ['description' => '拦截次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + ], + ], + ], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询VPC防火墙拦截趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"DropSessionMax\\": 0,\\n \\"RequestId\\": \\"C87C1797-02E6-5EEB-A943-4416207D****\\",\\n \\"DataList\\": [\\n {\\n \\"Time\\": 1659405600,\\n \\"AclDrop\\": 12,\\n \\"IpsDrop\\": 5,\\n \\"TotalSession\\": 153188,\\n \\"DataTime\\": \\"2018-08-25 12:00:00\\",\\n \\"DropSession\\": 10\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallIPSWhitelist' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Proto', - 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量访问的安全协议类型。支持的应用类型有以下几种:'."\n" - ."\n" - .'- **ANY**'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - ."\n" - .'> **ANY**表示策略应用在所有类型的应用中。'."\n" - ."\n" - .'> 访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,可选配置TCP协议。选择TCP时,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '138368', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwMD8M6R', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], + ], + 'parameters' => [ [ - 'name' => 'Source', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.XX.XX/24'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.XX.XX/24', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + ."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclUuid', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用DescribeNatFirewallControlPolicy接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => '63ab1c02-926a-4d1b-9ef7-*****', - ], + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '176618****104675'], ], [ - 'name' => 'Direction', + 'name' => 'VpcFirewallId', 'in' => 'query', + 'schema' => ['description' => 'VPC 边界防火墙的实例 ID。取值:'."\n" + ."\n" + .'- VPC 边界防火墙防护云企业网内的网络实例时,实例 ID 使用云企业网实例 ID。云企业网基础版通过调用[DescribeVpcFirewallCenList](~~345777~~) 接口,查询云企业网的实例 ID。云企业网企业版通过调用 [DescribeTrFirewallsV2List ](~~2384695~~) 接口,查询云企业网的实例 ID。'."\n" + .'- VPC 边界防火墙防护通过高速通道连接的两个 VPC 之间的流量时,实例 ID 使用 VPC 边界防火墙实例 ID。您可以通过调用 [DescribeVpcFirewallList](~~342932~~) 接口,查询 VPC 边界防火墙的实例 ID。', 'type' => 'string', 'required' => true, 'example' => 'cen-***'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - .'- **out**:内对外流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'out', - 'default' => 'out', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B5EE02F9****AA49****F9F8D69483C1'], + 'Whitelists' => [ + 'description' => 'VPC边界防火墙IPS白名单的详细信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC边界防火墙IPS白名单的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'cen-l6t5yj5fi762******'], + 'WhiteType' => ['description' => '白名单类型。取值:'."\n" + .' - **1**:目的类型'."\n" + .'- **2**:源类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'ListValue' => ['description' => '对应列表类型的值。', 'type' => 'string', 'example' => '10.10.200.4/32,10.10.200.25/32'], + 'ListType' => ['description' => '列表类型。取值:'."\n" + .' - **1**:用户自定义类型'."\n" + .'- **2**:地址簿类型', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'WhiteListValue' => [ + 'description' => '列表类型数组的内容。', + 'type' => 'array', + 'items' => ['description' => '列表类型数组的内容。', 'type' => 'string', 'example' => '10.10.200.4/32'], + ], + ], + ], + ], + ], ], ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => '无效的Aliuid'], + ], + 400 => [ + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'VPC防火墙ID无效'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取VPC防火墙IPS白名单', + 'summary' => '获取VPC防火墙IPS白名单。', + 'changeSet' => [ + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-06-02T03:03:28.000Z', 'description' => 'OpenAPI 下线'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ], + ], + 'ramActions' => [ [ - 'name' => 'SourceType', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿', - 'type' => 'string', - 'required' => false, - 'example' => 'net', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5EE02F9****AA49****F9F8D69483C1\\",\\n \\"Whitelists\\": [\\n {\\n \\"VpcFirewallId\\": \\"cen-l6t5yj5fi762******\\",\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallList' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DestPortType', - 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68420', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'tenant', + ], + 'parameters' => [ [ - 'name' => 'DestPortGroup', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中访问流量的目的端口地址簿名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'my_dest_port_group', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Release', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的状态。取值:'."\n" - ."\n" - .'- **true**:策略开启状态'."\n" - ."\n" - .'- **false**:策略关闭状态', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'RegionNo', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '应用名称', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略支持的应用类型列表。', - 'type' => 'string', - 'required' => false, - 'example' => 'ANY', - ], - 'required' => false, - 'maxItems' => 30, - ], + 'schema' => ['description' => 'VPC所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], ], [ - 'name' => 'DomainResolveType', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'- **0**:基于FQDN'."\n" - .'- **1**:基于DNS动态解析'."\n" - .'- **2**:基于FQDN与DNS动态解析', - 'type' => 'string', - 'required' => false, - 'example' => '0', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], ], [ - 'name' => 'RepeatType', + 'name' => 'FirewallSwitchStatus', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', - ], + 'schema' => ['description' => 'VPC边界防火墙的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启。'."\n" + .'- **closed**:已关闭。'."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙。'."\n" + .'- **configured**:表示已配置VPC边界防火墙。'."\n" + ."\n" + .'> 不设置该参数表示查询所有状态的VPC边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'opened'], ], [ - 'name' => 'RepeatDays', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], - 'required' => false, - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'RepeatStartTime', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => false, 'example' => 'test-vpc-firewall'], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => '分页查询时,设置当前页面的页码。'."\n" + ."\n" + .'默认值为**1**,表示返回第**1**页数据。', 'type' => 'string', 'required' => false, 'example' => '1'], ], [ - 'name' => 'StartTime', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => '分页查询时,设置每页包含VPC边界防火墙的数量。'."\n" + ."\n" + .'默认值为**10**,表示每页包含**10**条结果。最大值为**50**。', 'type' => 'string', 'required' => false, 'example' => '10'], ], [ - 'name' => 'EndTime', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'ConnectSubType', + 'in' => 'query', + 'schema' => ['description' => '连接子类型。取值:'."\n" + ."\n" + .'- **vpc2vpc**:高速通道。'."\n" + .'- **vpcpeer**:对等连接。', 'type' => 'string', 'required' => false, 'example' => 'vpcpeer'], + ], + [ + 'name' => 'PeerUid', + 'in' => 'query', + 'schema' => ['description' => '对端VPC云账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => 'VPC防火墙的列表。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '3768197C-E6E8-52CD-8358-*****', + 'TotalCount' => ['description' => 'VPC边界防火墙的总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k8g2'], + 'VpcFirewalls' => [ + 'description' => 'VPC边界防火墙的详细信息。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC边界防火墙的详细信息。', + 'type' => 'object', + 'properties' => [ + 'ConnectType' => ['description' => 'VPC边界防火墙的互通类型。取值:**expressconnect**,表示高速通道。', 'type' => 'string', 'example' => 'expressconnect'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'RegionStatus' => ['description' => '地域开放状态。取值:'."\n" + ."\n" + .'- **enable**:已开放,表示该地域允许配置VPC边界防火墙。'."\n" + .'- **disable**:未开放,表示该地域不允许配置VPC边界防火墙。', 'type' => 'string', 'example' => 'enable'], + 'Bandwidth' => ['description' => '高速通道的带宽规格。单位:Mbps。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'VpcFirewallName' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'example' => 'test-firewall'], + 'FirewallSwitchStatus' => ['description' => 'VPC边界防火墙开关的状态。取值:'."\n" + ."\n" + .'- **opened**:已开启。'."\n" + .'- **closed**:已关闭。'."\n" + .'- **notconfigured**:表示暂未配置VPC边界防火墙。', 'type' => 'string', 'example' => 'opened'], + 'LocalVpc' => [ + 'description' => '本端VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcName' => ['description' => '本端VPC的实例名称。', 'type' => 'string', 'example' => 'test-vpc1'], + 'VpcId' => ['description' => '本端VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****'], + 'AuthorizationStatus' => ['description' => '本端VPC的授权状态。取值:authorized,表示已授权。', 'type' => 'string', 'example' => 'authorized'], + 'OwnerId' => ['description' => '本端VPC所属阿里云账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****'], + 'RegionNo' => ['description' => '本端VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'VpcCidrTableList' => [ + 'description' => '本端VPC的网段列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => '本端VPC的网段列表信息。', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => '本端VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1234'], + 'RouteEntryList' => [ + 'description' => '本端VPC的路由条目列表。', + 'type' => 'array', + 'items' => [ + 'description' => '本端VPC的路由条目列表。', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => '本端VPC的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => '本端VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + ], + ], + ], + ], + ], + ], + ], + 'PeerVpc' => [ + 'description' => '对端VPC的详细信息。', + 'type' => 'object', + 'properties' => [ + 'VpcName' => ['description' => '对端VPC的实例名称。', 'type' => 'string', 'example' => 'test-vpc2'], + 'VpcId' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'example' => 'vpc-8vbwbo90rq0anm6t****'], + 'AuthorizationStatus' => ['description' => '对端VPC的授权状态。取值:**authorized**,表示已授权。', 'type' => 'string', 'example' => 'authorized'], + 'OwnerId' => ['description' => '对端VPC所属的阿里云账号的UID。', 'type' => 'integer', 'format' => 'int64', 'example' => '158039427902****'], + 'RegionNo' => ['description' => '对端VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + 'VpcCidrTableList' => [ + 'description' => '对端VPC网段列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => '对端VPC网段列表信息。', + 'type' => 'object', + 'properties' => [ + 'RouteTableId' => ['description' => '对端VPC的路由表ID。', 'type' => 'string', 'example' => 'vtb-1256'], + 'RouteEntryList' => [ + 'description' => '对端VPC路由条目列表信息。', + 'type' => 'array', + 'items' => [ + 'description' => '对端VPC路由条目列表信息。', + 'type' => 'object', + 'properties' => [ + 'NextHopInstanceId' => ['description' => '对端VPC的下一跳实例ID。', 'type' => 'string', 'example' => 'vrt-m5eb5me6c3l5sezae****'], + 'DestinationCidr' => ['description' => '对端VPC的目标网段。', 'type' => 'string', 'example' => '192.168.XX.XX/24'], + ], + ], + ], + ], + ], + ], + ], + ], + 'IpsConfig' => [ + 'description' => 'IPS配置信息。', + 'type' => 'object', + 'properties' => [ + 'BasicRules' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开启状态。'."\n" + .'- **0**:关闭状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'EnableAllPatch' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开启状态。'."\n" + .'- **0**:关闭状态。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RunMode' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + .'- **0**:观察模式。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'RuleClass' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + ], + 'MemberUid' => ['description' => '阿里云成员账号的UID。', 'type' => 'string', 'example' => '258039427902****'], + 'ResultCode' => ['description' => '创建VPC边界防火墙的操作结果代码。取值:'."\n" + ."\n" + .'- **Unauthorized**:表示存在未授权的VPC, 不允许创建VPC边界防火墙。'."\n" + .'- **RegionDisable**:表示VPC所在的地域是VPC边界防火墙不支持的地域, 不允许创建VPC边界防火墙。'."\n" + .'- **空字符串**:表示该网络实例可以正常创建VPC边界防火墙。', 'type' => 'string', 'example' => 'Unauthorized'], + 'ConnectSubType' => ['description' => '连接子类型。取值:'."\n" + ."\n" + .'- **vpc2vpc**:高速通道。'."\n" + .'- **vpcpeer**:对等连接。', 'type' => 'string', 'example' => 'vpcpeer'], + 'AclConfig' => [ + 'description' => 'ACL引擎模式。', + 'type' => 'object', + 'properties' => [ + 'StrictMode' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:启用严格模式 '."\n" + .'- 0:禁用严格模式', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'default' => '0'], + ], + ], + ], + ], ], ], ], @@ -37839,144 +31516,67 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersDestinationCount', - 'errorMessage' => 'Exceeding the number of countries in a single ACL.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorFirewallStatus', 'errorMessage' => 'Firewall status error, please try again later.', 'description' => '防火墙状态错误,请稍后再试'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3768197C-E6E8-52CD-8358-*****\\"\\n}","type":"json"}]', - 'title' => '修改NAT防火墙访问控制策略的配置信息', - 'description' => '本接口一般用于修改流量通过NAT防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。', - ], - 'ModifyNatFirewallControlPolicyPosition' => [ - 'summary' => '修改NAT防火墙访问控制策略的优先级。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取高速通道防火墙列表', + 'summary' => '查询VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的信息。', + 'description' => '本接口一般用于分页查询VPC边界防火墙的信息。该VPC边界防火墙是防护通过高速通道连接两个VPC之间的流量。'."\n" + ."\n" + .'### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2025-04-02T11:10:59.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2024-08-15T08:18:59.000Z', 'description' => '错误码发生变更、响应参数发生变更'], + ['createdAt' => '2022-11-17T09:33:00.000Z', 'description' => '错误码发生变更、请求参数发生变更、响应参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、响应参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 10,\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k8g2\\",\\n \\"VpcFirewalls\\": [\\n {\\n \\"ConnectType\\": \\"expressconnect\\",\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RegionStatus\\": \\"enable\\",\\n \\"Bandwidth\\": 2,\\n \\"VpcFirewallName\\": \\"test-firewall\\",\\n \\"FirewallSwitchStatus\\": \\"opened\\",\\n \\"LocalVpc\\": {\\n \\"VpcName\\": \\"test-vpc1\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1234\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"PeerVpc\\": {\\n \\"VpcName\\": \\"test-vpc2\\",\\n \\"VpcId\\": \\"vpc-8vbwbo90rq0anm6t****\\",\\n \\"AuthorizationStatus\\": \\"authorized\\",\\n \\"OwnerId\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"VpcCidrTableList\\": [\\n {\\n \\"RouteTableId\\": \\"vtb-1256\\",\\n \\"RouteEntryList\\": [\\n {\\n \\"NextHopInstanceId\\": \\"vrt-m5eb5me6c3l5sezae****\\",\\n \\"DestinationCidr\\": \\"192.168.XX.XX/24\\"\\n }\\n ]\\n }\\n ]\\n },\\n \\"IpsConfig\\": {\\n \\"BasicRules\\": 1,\\n \\"EnableAllPatch\\": 1,\\n \\"RunMode\\": 0,\\n \\"RuleClass\\": 1\\n },\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"ResultCode\\": \\"Unauthorized\\",\\n \\"ConnectSubType\\": \\"vpcpeer\\",\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 10\\n 850A84D6-0DE4-4797-A1E8-00090125k8g2\\n \\n expressconnect\\n vfw-m5e7dbc4y****\\n enable\\n 2\\n 测试防火墙\\n opened\\n \\n 测试用实例\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1234\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 测试vpc2\\n vpc-8vbwbo90rq0anm6t****\\n authorized\\n cn-hangzhou\\n \\n vtb-1256\\n \\n vrt-m5eb5me6c3l5sezae****\\n 192.168.XX.XX/24\\n \\n \\n \\n \\n 1\\n 1\\n 0\\n \\n 258039427902****\\n \\n","errorExample":""}]', + ], + 'DescribeVpcFirewallManualVSwitchList' => [ + 'summary' => '查询VPC防火墙手动模式交换机列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171422', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68422', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -37984,64 +31584,38 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => ' NAT网关的ID。 ', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ - 'name' => 'Direction', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **out**:内对外流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'out', - 'default' => 'out', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-qingdao'], ], [ - 'name' => 'NewOrder', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '为NAT防火墙IPv4访问控制策略设置一个新的优先级。'."\n" - .'优先级使用数字表示,输入数字1表示优先级最高,数字越大优先级越低。'."\n" - ."\n" - .'> 新的优先级数字不能超出您已创建的NAT防火墙IPv4策略优先级的范围,否则会导致调用该接口时出错。'."\n" - ."\n" - .'建议您在调用该接口前,先调用DescribeNatFirewallPolicyPriorUsed查询NAT防火墙指定流量方向的IPv4策略优先级范围。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '5', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-m5ewlqkuf7orclr1****'], ], [ - 'name' => 'AclUuid', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => true, - 'example' => '66461eea-e659-4225-84c9-*****', - ], + 'schema' => ['description' => '成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '18820897691****'], ], ], 'responses' => [ @@ -38049,164 +31623,117 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '68617208-F5F7-5B44-BB1E-*****', + 'TotalCount' => ['description' => '返回结果的总条数。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '6EED3674-74E7-54DC-8FD4-6A374133****'], + 'VSwitchList' => [ + 'description' => '交换机列表。', + 'type' => 'array', + 'items' => [ + 'description' => '交换机列表。', + 'type' => 'object', + 'properties' => [ + 'Status' => ['description' => '状态。', 'type' => 'string', 'example' => 'Available'], + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-uf62kq7c364sil2z2****'], + 'VSwitchId' => ['description' => '交换机ID。', 'type' => 'string', 'example' => 'vsw-bp10d0kcp907721z****'], + 'CidrBlock' => ['description' => 'IPv4网段。', 'type' => 'string', 'example' => '10.0.31.0/24'], + 'AvailableIpAddressCount' => ['description' => '交换机中可用的IP地址数量。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'RegionNo' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'example' => 'cn-beijing'], + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-a'], + 'AliUid' => ['description' => '阿里云账号的UID。'."\n" + ."\n" + .'> 云防火墙成员账号的主账号。', 'type' => 'integer', 'format' => 'int64', 'example' => '122167357026****'], + 'RouteTableId' => ['description' => '关联路由表ID。', 'type' => 'string', 'example' => 'vtb-2zet3gyk01o07so****'], + 'OwnerId' => ['description' => '所属用户ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '137578716100****'], + 'VSwitchName' => ['description' => '交换机的名称。', 'type' => 'string', 'example' => 'vsw-test'], + ], + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorOwnerId', 'errorMessage' => 'owner id invalid.', 'description' => '所属账号错误,请重新输入。'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region invalid.', 'description' => '地域选择错误, 请重新输入。'], + ['errorCode' => 'ErrorVpcIdError', 'errorMessage' => 'Vpc ID invalid.', 'description' => 'VPC选择错误,请重新选择。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => '调用 VPC API 失败'], + ['errorCode' => 'ErrorVswitchNotFound', 'errorMessage' => 'vswitch not found', 'description' => 'vswitch 不存在, 请重新选择'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68617208-F5F7-5B44-BB1E-*****\\"\\n}","type":"json"}]', - 'title' => '修改NAT防火墙访问控制策略的优先级', - ], - 'ResetNatFirewallRuleHitCount' => [ - 'summary' => '重置NAT防火墙命中数。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询VPC防火墙手动模式交换机列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallManualVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"6EED3674-74E7-54DC-8FD4-6A374133****\\",\\n \\"VSwitchList\\": [\\n {\\n \\"Status\\": \\"Available\\",\\n \\"VpcId\\": \\"vpc-uf62kq7c364sil2z2****\\",\\n \\"VSwitchId\\": \\"vsw-bp10d0kcp907721z****\\",\\n \\"CidrBlock\\": \\"10.0.31.0/24\\",\\n \\"AvailableIpAddressCount\\": 10,\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ZoneId\\": \\"cn-hangzhou-a\\",\\n \\"AliUid\\": 0,\\n \\"RouteTableId\\": \\"vtb-2zet3gyk01o07so****\\",\\n \\"OwnerId\\": 0,\\n \\"VSwitchName\\": \\"vsw-test\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallPolicyPriorUsed' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171494', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], + 'abilityTreeCode' => '68424', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略唯一标识。', - 'type' => 'string', - 'required' => true, - 'example' => '3de3aed5-6de7-4ecd-9106-cfe994b9c49f', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', - ], + 'schema' => ['description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" + ."\n" + .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" + ."\n" + .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], ], ], 'responses' => [ @@ -38214,374 +31741,384 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666', - ], + 'End' => ['description' => '访问控制策略生效的优先级最低值。', 'type' => 'integer', 'format' => 'int32', 'example' => '150'], + 'Start' => ['description' => '访问控制策略生效的优先级最高值。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666\\"\\n}","type":"json"}]', - 'title' => '重置NAT防火墙命中数', - ], - 'DeleteNatFirewallControlPolicy' => [ - 'summary' => '删除NAT防火墙访问控制策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询VPC防火墙策略组访问控制策略优先级生效范围', + 'summary' => '查询指定VPC防火墙策略组访问控制策略优先级生效范围。', + 'description' => '本接口一般用于查询指定VPC防火墙策略组访问控制策略优先级生效范围。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallPolicyPriorUsed'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPolicyPriorUsed', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n1\\n150\\n","errorExample":""}]', + ], + 'DescribeVpcFirewallPrecheckDetail' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', - 'deprecated' => false, + 'operationType' => 'read', 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '171413', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '120839', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclUuid', + 'name' => 'NetworkInstanceType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用DescribeNatFirewallControlPolicy接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'b6c8f905-2eb6-442a-ba35-9416e9dbb2c5', - ], + 'schema' => ['description' => '网络实例的类型。取值:'."\n" + ."\n" + .'- **cen_firewall**:cen基础版防火墙'."\n" + ."\n" + .'- **cen_tr_firewall**:cen-tr防火墙', 'type' => 'string', 'required' => false, 'example' => 'cen_firewall'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-xxxxxx', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2zev8s8rxao33xt****'], ], [ - 'name' => 'Direction', + 'name' => 'Region', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略管控的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **out**:流量从内到外。', - 'type' => 'string', - 'required' => true, - 'example' => 'out', - ], + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + ], + [ + 'name' => 'CenId', + 'in' => 'query', + 'schema' => ['description' => '云企业网实例ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-hxsqf2bv6di1a****'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'TransitRouterId', + 'in' => 'query', + 'schema' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-2vcn4u2g86tm72****'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '134388541648****'], ], ], 'responses' => [ 200 => [ + 'headers' => [], 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '31306819-C4BC-56F3-BBE6-*****', + 'IsFound' => ['description' => '是否存在任务。', 'type' => 'boolean', 'example' => 'false'], + 'PrecheckDetail' => [ + 'description' => '预检查的详细信息。', + 'type' => 'object', + 'properties' => [ + 'NetworkInstanceId' => ['description' => '网络实例ID。', 'type' => 'string', 'example' => 'vpc-m5emh0w6v2e15****'], + 'RegionNo' => ['description' => '所在地域ID。', 'type' => 'string', 'example' => 'cn-shanghai'], + 'FirewallId' => ['description' => '防火墙实例ID。', 'type' => 'string', 'example' => 'vfw-tr-7a9c8901ed394****'], + 'PrecheckTimestamp' => ['description' => '预检查时间戳。', 'type' => 'string', 'example' => '1715136000'], + 'PrecheckStatus' => ['description' => '预检查状态。取值:'."\n" + ."\n" + .'- **running**:预检查正在进行中'."\n" + ."\n" + .'- **passed**:预检查已通过'."\n" + ."\n" + .'- **failed**:预检查未通过', 'type' => 'string', 'example' => 'failed'], + 'PrecheckEntityGroups' => [ + 'description' => '预检查环节的分组列表。', + 'type' => 'array', + 'items' => [ + 'description' => '预检查环节的分组列表。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '预检查实例名。', 'type' => 'string', 'example' => 'test'], + 'PrecheckEntities' => [ + 'description' => '各预检查项的执行情况。', + 'type' => 'array', + 'items' => [ + 'description' => '各预检查项的执行情况。', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => '预检查项目名称。', 'type' => 'string', 'example' => 'Precheck test'], + 'Status' => ['description' => '各预检查项的状态。取值:'."\n" + ."\n" + .'- **running**:预检查正在进行中'."\n" + ."\n" + .'- **passed**:预检查已通过'."\n" + ."\n" + .'- **failed**:预检查未通过', 'type' => 'string', 'example' => 'passed'], + 'Info' => ['description' => '检查不通过的信息', 'type' => 'string', 'example' => 'VPC Firewall Quota Full'], + 'Suggestion' => ['description' => '处理建议', 'type' => 'string', 'example' => 'The VPC firewall quota is full. We recommend that you increase the firewall quota'], + ], + ], + ], + 'PrecheckEntityGroupStatus' => ['description' => '预检查的状态。取值:'."\n" + ."\n" + .'- **running**'."\n" + ."\n" + .'- **passed**'."\n" + ."\n" + .'- **failed**', 'type' => 'string', 'example' => 'running'], + 'FailedCount' => ['description' => '预检查未通过的规则数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + ], + ], + ], + ], ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParametersNatGatewayId', - 'errorMessage' => 'Invalid parameters NatGatewayId.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => '地域选择错误, 请重新输入'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPreCheckDoing', 'errorMessage' => 'Pre-check in progress, please try again later.', 'description' => ''], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\"\\n}","type":"json"}]', - 'title' => '删除NAT防火墙访问控制策略', - 'description' => '本接口一般用于删除NAT防火墙流量方向为内对外的访问控制策略。', - ], - 'DeleteNatFirewallControlPolicyBatch' => [ - 'summary' => '批量删除NAT防火墙策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取VPC防火墙预检查详情', + 'summary' => '获取VPC防火墙预检查详情。', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2022-02-24T13:48:33.000Z', 'description' => 'OpenAPI 下线'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IsFound\\": false,\\n \\"PrecheckDetail\\": {\\n \\"NetworkInstanceId\\": \\"vpc-m5emh0w6v2e15****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"FirewallId\\": \\"vfw-tr-7a9c8901ed394****\\",\\n \\"PrecheckTimestamp\\": \\"1715136000\\",\\n \\"PrecheckStatus\\": \\"failed\\",\\n \\"PrecheckEntityGroups\\": [\\n {\\n \\"Name\\": \\"test\\",\\n \\"PrecheckEntities\\": [\\n {\\n \\"Name\\": \\"Precheck test\\",\\n \\"Status\\": \\"passed\\",\\n \\"Info\\": \\"VPC Firewall Quota Full\\",\\n \\"Suggestion\\": \\"The VPC firewall quota is full. We recommend that you increase the firewall quota\\"\\n }\\n ],\\n \\"PrecheckEntityGroupStatus\\": \\"running\\",\\n \\"FailedCount\\": 3\\n }\\n ]\\n },\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\"\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallSummaryInfo' => [ + 'summary' => '获取VPC防火墙总结信息', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '173710', - 'abilityTreeNodes' => [ - 'FEATUREcfw7YI1ZZ', - ], + 'abilityTreeCode' => '68427', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclUuidList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'ACL uuid 列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACL uuid。', - 'type' => 'string', - 'required' => true, - 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', - ], - 'required' => true, - 'maxItems' => 100, - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NatGatewayId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ngw-uf6j0426ap74vd6vrb676', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Direction', + 'name' => 'UserType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - .'- **out**:内对外流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'out', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', - ], - ], + 'schema' => ['description' => '用户类型。取值:'."\n" + ."\n" + .'**buy**: 付费用户'."\n" + ."\n" + .'**free**: 免费用户', 'type' => 'string', 'required' => false, 'example' => 'buy'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AvailableVpcFirewallQuota' => ['description' => 'vpc防火墙剩余可用配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'CenExpressConnectVpcCount' => ['description' => '通过CEN方式连接的 VPC 数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'CenFirewallVpcCount' => ['description' => '云企业网VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CenTrVpcCount' => ['description' => '总的centr的vpc数。', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + 'ClosedCenFirewallCount' => ['description' => '未开启已配置的云企业网防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ClosedExpressConnectFirewallCount' => ['description' => '未开启已配置的高速通道防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'ClosedVpcFirewallCount' => ['description' => '未开启已配置的所有边界防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ConfiguredCenFirewallCount' => ['description' => '已配置的cen基础版防火墙实例数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ConfiguredCenFirewallRegionCount' => ['description' => '已配置的云企业网地域数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ConfiguredCenFirewallVpcCount' => ['description' => '已配置的云企业网VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '18'], + 'ConfiguredCenTrFirewallCount' => ['description' => '已配置的centr防火墙实例数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ConfiguredExpressConnectFirewallCount' => ['description' => '已配置的高速通道数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ConfiguredExpressConnectVpcCount' => ['description' => '已配置的高速通道VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'ConfiguredVpcFirewallCount' => ['description' => '已配置的所有边界防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ConfiguredVpcFirewallVpcCount' => ['description' => '已配置防火墙的VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'ExpressConnectVpcCount' => ['description' => '高速通道VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'NotConfiguredCenFirewallCount' => ['description' => '未配置的云企业网防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NotConfiguredCenTrFirewallCount' => ['description' => '未配置的centr防火墙实例数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'NotConfiguredExpressConnectFirewallCount' => ['description' => '未配置的高速通道防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '7'], + 'NotConfiguredVpcFirewallCount' => ['description' => '未配置的所有边界防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'], + 'OpenedCenExpressConnectVpcCount' => ['description' => '已开启并正常工作的 VPC 连接数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'OpenedCenFirewallCount' => ['description' => '已开启的云企业网防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'OpenedCenFirewallVpcCount' => ['description' => '云企业网已防护VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'OpenedCenTrFirewallVpcCount' => ['description' => '已防护的centr的vpc数。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'OpenedEcrCount' => ['description' => '云企业网ECR数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'OpenedExpressConnectFirewallCount' => ['description' => '已开启高速通道防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '15'], + 'OpenedExpressConnectVpcCount' => ['description' => '高速通道已防护VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'OpenedPeerTrCount' => ['description' => '已防护cen-tr的的跨地域连接。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'], + 'OpenedVbrCount' => ['description' => '已防护cen-tr的vbr总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'OpenedVpcCount' => ['description' => '总的已防护VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '17'], + 'OpenedVpcFirewallCount' => ['description' => '已开启的所有边界防火墙数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '9'], + 'OpenedVpnCount' => ['description' => '已防护cen-tr的vpn总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '8AABEF64-7ABF-52CB-BA6C-0598E3DB****'], + 'TotalEcrCount' => ['description' => '总的ECR数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalPeerTrCount' => ['description' => '总的cen-tr的跨地域连接数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '6'], + 'TotalVbrCount' => ['description' => '总的cen-tr的vbr数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TotalVpcCount' => ['description' => '总的互联VPC数。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'], + 'TotalVpcFirewallQuota' => ['description' => '总vpc防火墙配额。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'TotalVpnCount' => ['description' => '总的cen-tr的vpn数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParamUuidOrOrderMiss', - 'errorMessage' => 'Either uuid or oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\"\\n}","type":"json"}]', - 'title' => '批量删除NAT防火墙策略', - ], - 'DescribeVpcFirewallAssetRegionList' => [ - 'summary' => '查询VPC防火墙资产已开墙地域。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', + 'title' => '获取VPC防火墙总结信息', + 'description' => '### QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'security' => [ + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallSummaryInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AvailableVpcFirewallQuota\\": 4,\\n \\"CenExpressConnectVpcCount\\": 7,\\n \\"CenFirewallVpcCount\\": 10,\\n \\"CenTrVpcCount\\": 13,\\n \\"ClosedCenFirewallCount\\": 1,\\n \\"ClosedExpressConnectFirewallCount\\": 10,\\n \\"ClosedVpcFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallCount\\": 5,\\n \\"ConfiguredCenFirewallRegionCount\\": 2,\\n \\"ConfiguredCenFirewallVpcCount\\": 18,\\n \\"ConfiguredCenTrFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectFirewallCount\\": 2,\\n \\"ConfiguredExpressConnectVpcCount\\": 2,\\n \\"ConfiguredVpcFirewallCount\\": 5,\\n \\"ConfiguredVpcFirewallVpcCount\\": 1,\\n \\"ExpressConnectVpcCount\\": 2,\\n \\"NotConfiguredCenFirewallCount\\": 0,\\n \\"NotConfiguredCenTrFirewallCount\\": 6,\\n \\"NotConfiguredExpressConnectFirewallCount\\": 7,\\n \\"NotConfiguredVpcFirewallCount\\": 12,\\n \\"OpenedCenExpressConnectVpcCount\\": 10,\\n \\"OpenedCenFirewallCount\\": 4,\\n \\"OpenedCenFirewallVpcCount\\": 0,\\n \\"OpenedCenTrFirewallVpcCount\\": 4,\\n \\"OpenedEcrCount\\": 0,\\n \\"OpenedExpressConnectFirewallCount\\": 15,\\n \\"OpenedExpressConnectVpcCount\\": 2,\\n \\"OpenedPeerTrCount\\": 3,\\n \\"OpenedVbrCount\\": 0,\\n \\"OpenedVpcCount\\": 17,\\n \\"OpenedVpcFirewallCount\\": 9,\\n \\"OpenedVpnCount\\": 6,\\n \\"RequestId\\": \\"8AABEF64-7ABF-52CB-BA6C-0598E3DB****\\",\\n \\"TotalEcrCount\\": 2,\\n \\"TotalPeerTrCount\\": 6,\\n \\"TotalVbrCount\\": 5,\\n \\"TotalVpcCount\\": 2,\\n \\"TotalVpcFirewallQuota\\": 5,\\n \\"TotalVpnCount\\": 1\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallTrafficAssetList' => [ + 'summary' => '查询经过VPC防火墙访问域名的资产列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ 'AK' => [], ], @@ -38589,78 +32126,171 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231484', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68328', + 'abilityTreeNodes' => ['FEATUREcfwG6EEQD'], ], 'parameters' => [ [ - 'name' => 'MemberUid', + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['title' => '语言, 枚举值.'."\n" + .'默认值: zh'."\n" + .'可选值: en', 'description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['title' => '开始时间,Unix timestamp, 精确到秒', 'description' => '开始时间,Unix timestamp, 精确到秒。', 'type' => 'string', 'required' => true, 'example' => '1656664560'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['title' => '结束时间,Unix timestamp, 精确到秒', 'description' => '结束时间,Unix timestamp, 精确到秒。', 'type' => 'string', 'required' => true, 'example' => '1656750960'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['title' => '每页条数, 不得超过100, 超过100会设置为100', 'description' => '分页参数:每页显示条数。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['title' => '当前页', 'description' => '当前页。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'IP', + 'in' => 'query', + 'schema' => ['title' => '公网IP', 'description' => '资产IP。', 'type' => 'string', 'required' => false, 'example' => '47.92.x.x'], + ], + [ + 'name' => 'Domain', + 'in' => 'query', + 'schema' => ['title' => '公网IP', 'description' => '域名。', 'type' => 'string', 'required' => false, 'example' => 'www.****.com'], + ], + [ + 'name' => 'Sort', 'in' => 'query', 'schema' => [ - 'description' => '成员账号UID。', + 'title' => '顺序, 枚举值, 可选:asc, desc', + 'description' => '顺序, 枚举值, 可选:asc, desc。', 'type' => 'string', 'required' => false, - 'example' => '258039427902****', + 'example' => 'desc', + 'enum' => [], ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Order', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', + 'title' => '排序字段, 枚举值.'."\n" + .'默认值: SessionCount'."\n" + .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', + 'description' => '排序字段, 枚举值。'."\n" + ."\n" + .'默认值: TotalBytes。'."\n" + ."\n" + .'可选值: '."\n" + ."\n" + .'TotalBytes:根据总流量排序。'."\n" + ."\n" + .'SessionCount:根据会话数排序。', 'type' => 'string', 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', + 'example' => 'SessionCount', + 'enum' => [], ], ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => '资产所在的VPC。', 'type' => 'string', 'required' => false, 'example' => 'vpc-m5ewlqkuf7orclr1****'], + ], + [ + 'name' => 'IsAITraffic', + 'in' => 'query', + 'schema' => ['description' => '是否仅统计访问AI服务的流量。', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '00933CCB-65A4-5E51-B180-3D154281****', - ], - 'RegionNoList' => [ - 'description' => '地域列表。', + 'TotalCount' => ['title' => '总数', 'description' => '总数', 'type' => 'integer', 'format' => 'int32', 'example' => '132'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****'], + 'DataList' => [ + 'description' => '返回数据列表。', 'type' => 'array', 'items' => [ - 'description' => '地域列表。', - 'type' => 'string', - 'example' => '[\'cn-hangzhou\', \'cn-shenzhen\']', + 'description' => '数据列表。', + 'type' => 'object', + 'properties' => [ + 'IP' => ['title' => '域名', 'description' => '资产IP。', 'type' => 'string', 'example' => 'a.com'], + 'VpcId' => ['title' => '域名', 'description' => '资产所在的VPC。', 'type' => 'string', 'example' => 'a.com'], + 'TotalBytes' => ['description' => '总流量。单位:byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '253023143'], + 'SessionCount' => ['title' => '会话数', 'description' => '会话数', 'type' => 'integer', 'format' => 'int64', 'example' => '12'], + 'IpsHitCnt' => ['description' => 'IPS命中数。', 'type' => 'integer', 'format' => 'int64', 'example' => '10'], + 'VpcName' => ['description' => '资产所在的VPC的名称。', 'type' => 'string', 'example' => 'vpc-bp1mos0vhefmx5ah6****'], + ], ], ], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorIpFormat', 'errorMessage' => 'The IP address is invalid.', 'description' => '无效的IP'], + ['errorCode' => 'ErrorSecuritySuggest', 'errorMessage' => 'The security suggest is invalid.', 'description' => '无效的security suggest'], + ['errorCode' => 'ErrorSortError', 'errorMessage' => 'The sort is invalid.', 'description' => '无效的排序字段'], + ['errorCode' => 'ErrorOrderFailed', 'errorMessage' => 'The order is invalid.', 'description' => '无效的order'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorDomainName', 'errorMessage' => 'The domain name is invalid.', 'description' => '无效的域名'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"00933CCB-65A4-5E51-B180-3D154281****\\",\\n \\"RegionNoList\\": [\\n \\"[\'cn-hangzhou\', \'cn-shenzhen\']\\"\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙资产已开墙地域', - ], - 'DescribeVpcFirewallAclGroupList' => [ - 'summary' => '获取VPC防火墙所有访问控制策略组信息。', - 'methods' => [ - 'post', - 'get', + 'title' => '查询经过VPC防火墙访问域名的资产列表', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallTrafficAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\",\\n \\"DataList\\": [\\n {\\n \\"IP\\": \\"a.com\\",\\n \\"VpcId\\": \\"a.com\\",\\n \\"TotalBytes\\": 253023143,\\n \\"SessionCount\\": 12,\\n \\"IpsHitCnt\\": 10,\\n \\"VpcName\\": \\"vpc-bp1mos0vhefmx5ah6****\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallTrafficTrend' => [ + 'summary' => '获取VPC防火墙流量趋势', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -38672,10 +32302,8 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68412', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], + 'abilityTreeCode' => '68431', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -38683,58 +32311,39 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):表示中文'."\n" + .'- **en**:表示英文', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'FirewallConfigureStatus', + 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC防火墙的配置状态。'."\n" - .'- **configured**:VPC边界防火墙已配置(即已创建了防火墙)。'."\n" - .'- 不填:表示查询所有VPC边界防火墙的访问控制策略。', - 'type' => 'string', - 'required' => false, - 'example' => 'configured', - ], + 'schema' => ['description' => '开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1780626107'], ], [ - 'name' => 'CurrentPage', + 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的当前页的页码。'."\n" - .'默认值为1。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1767493189'], ], [ - 'name' => 'PageSize', + 'name' => 'VpcId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。'."\n" - .'可设置值最大为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vpc-j6cnofg4lg1ujx3xj****'], ], [ - 'name' => 'FirewallId', + 'name' => 'PeerVpcId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-5b202e7f0be64611****', - ], + 'schema' => ['description' => '对端VPC的实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-j6c7mscdg4hfqanfi****'], + ], + [ + 'name' => 'PrivateIP', + 'in' => 'query', + 'schema' => ['description' => '私网IP。', 'type' => 'string', 'required' => false, 'example' => '10.21.186.XXX'], ], ], 'responses' => [ @@ -38742,142 +32351,75 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => 'VPC防火墙访问控制策略组的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'AclGroupList' => [ - 'description' => 'VPC防火墙访问控制策略组的信息。', + 'MaxTotalBps' => ['description' => '出方向和入方向总的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '61947852'], + 'AvgInBps' => ['description' => '入方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '1264110'], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '45F8B9E6-8583-56B3-A127-1B421C9E****'], + 'MaxInBps' => ['description' => '入方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '1436'], + 'MaxOutBps' => ['description' => '出方向的峰值网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2128'], + 'AvgSession' => ['description' => '平均请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1995'], + 'MaxSession' => ['description' => '峰值请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2003'], + 'AvgTotalBps' => ['description' => '出方向和入方向总的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '34291'], + 'AvgOutBps' => ['description' => '出方向的平均网络吞吐率(每秒发送多少bit)。单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '68915'], + 'MaxBandwidthTime' => ['description' => '峰值带宽发生时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1768008060'], + 'TotalInBytes' => ['description' => '入方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '2659635037'], + 'TotalOutBytes' => ['description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '399762701'], + 'TotalBytes' => ['description' => '总流量,单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '141688156232'], + 'TotalSession' => ['description' => '总请求次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1078757'], + 'DataList' => [ + 'description' => '返回数据列表。', 'type' => 'array', 'items' => [ - 'description' => '无', + 'description' => '数据列表。', 'type' => 'object', 'properties' => [ - 'AclGroupId' => [ - 'description' => 'VPC边界防火墙的访问控制策略组ID。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" - ."\n" - .' 例如:cen-ervw0g12b5jbw*\\*\\*\\*'."\n" - ."\n" - .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .' 例如:vfw-a42bbb7b887148c9*\\*\\*\\*', - 'type' => 'string', - 'example' => 'vfw-a42bbb7b887148c9****', - ], - 'AclGroupName' => [ - 'description' => 'VPC边界防火墙的访问控制策略组名称。'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,策略组名称使用云企业网名称。'."\n" - .'- VPC边界防火墙防护高速通道时,策略组名称使用VPC边界防火墙名称。', - 'type' => 'string', - 'example' => 'group_test', - ], - 'MemberUid' => [ - 'description' => '当前阿里云账号的成员账号ID。', - 'type' => 'string', - 'example' => '258039427902****', - ], - 'AclRuleCount' => [ - 'description' => 'VPC边界防火墙访问控制策略组的策略数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '9', - ], - 'IsDefault' => [ - 'description' => '是否是默认防火墙。取值:'."\n" - .'- **true**:是默认防火墙。'."\n" - .'- **false**:不是默认防火墙。', - 'type' => 'boolean', - 'enumValueTitles' => [ - 'true' => '是默认防火墙', - 'false' => '不是默认防火墙', - ], - 'example' => 'true', - ], - 'AclConfig' => [ - 'description' => 'ACL引擎模式。', - 'type' => 'object', - 'properties' => [ - 'StrictMode' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:启用严格模式 '."\n" - .'- 0:禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], + 'SessionCount' => ['description' => '会话数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'Time' => ['description' => '流量发生的时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int32', 'example' => '1758470400'], + 'InBps' => ['description' => '入方向带宽,单位:bps。', 'type' => 'integer', 'format' => 'int64', 'example' => '187'], + 'InPps' => ['description' => '入方向包转发率,单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'NewConn' => ['description' => '新建连接数。', 'type' => 'integer', 'format' => 'int64', 'example' => '27'], + 'OutBytes' => ['description' => '出方向的网络吞吐量(总共发送多少字节)。单位:Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '230'], + 'OutPps' => ['description' => '出方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'], + 'InBytes' => ['description' => '入方向流量,单位Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'], + 'OutBps' => ['description' => '出方向流量,单位 Byte。', 'type' => 'integer', 'format' => 'int64', 'example' => '45'], ], ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'The aliuid is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorConfigureStatus', - 'errorMessage' => 'firewall configure status invalid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorTrafficType', 'errorMessage' => 'The traffic type is invalid.', 'description' => '无效的流量类型'], + ['errorCode' => 'ErrorVpcId', 'errorMessage' => 'The VPC ID is invalid.', 'description' => '无效的VPCID'], + ['errorCode' => 'ErrorIntervalError', 'errorMessage' => 'The interval is invalid.', 'description' => '无效的时间间隔'], + ['errorCode' => 'ErrorTimeError', 'errorMessage' => 'The time is invalid.', 'description' => '时间选择错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDataTypeError', 'errorMessage' => 'The data type is invalid.', 'description' => '无效的数据类型'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"AclGroupList\\": [\\n {\\n \\"AclGroupId\\": \\"vfw-a42bbb7b887148c9****\\",\\n \\"AclGroupName\\": \\"group_test\\",\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"AclRuleCount\\": 9,\\n \\"IsDefault\\": true,\\n \\"AclConfig\\": {\\n \\"StrictMode\\": 1\\n }\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n vfw-a42bbb7b887148c9****\\n group_test\\n 258039427902****\\n \\n","errorExample":""}]', - 'title' => '获取VPC防火墙所有访问控制策略组信息', - 'description' => '本接口一般用于查询VPC防火墙所有访问控制策略组信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeVpcFirewallControlPolicy' => [ - 'summary' => '查询指定的VPC边界防火墙的所有访问控制策略信息。', - 'methods' => [ - 'post', - 'get', + 'gatewayOptions' => [ + 'gatewayProtocols' => [], ], - 'schemes' => [ - 'http', - 'https', + 'title' => '获取VPC防火墙流量趋势', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"MaxTotalBps\\": 61947852,\\n \\"AvgInBps\\": 1264110,\\n \\"RequestId\\": \\"45F8B9E6-8583-56B3-A127-1B421C9E****\\",\\n \\"MaxInBps\\": 1436,\\n \\"MaxOutBps\\": 2128,\\n \\"AvgSession\\": 1995,\\n \\"MaxSession\\": 2003,\\n \\"AvgTotalBps\\": 34291,\\n \\"AvgOutBps\\": 68915,\\n \\"MaxBandwidthTime\\": 1768008060,\\n \\"TotalInBytes\\": 2659635037,\\n \\"TotalOutBytes\\": 399762701,\\n \\"TotalBytes\\": 141688156232,\\n \\"TotalSession\\": 1078757,\\n \\"DataList\\": [\\n {\\n \\"SessionCount\\": 27,\\n \\"Time\\": 1758470400,\\n \\"InBps\\": 187,\\n \\"InPps\\": 2,\\n \\"NewConn\\": 27,\\n \\"OutBytes\\": 230,\\n \\"OutPps\\": 2,\\n \\"InBytes\\": 32,\\n \\"OutBps\\": 45\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcFirewallZone' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -38886,516 +32428,618 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68417', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], ], 'parameters' => [ + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '135809047715****'], + ], + [ + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-beijing'], + ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - ."\n" - .'- **en**:英文', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Environment', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。取值:'."\n" - ."\n" - .'- 当VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量时,该参数值使用云企业网实例ID。'."\n" - ."\n" - .'- 当VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,该参数值使用VPC边界防火墙实例ID。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', + 'description' => '环境。', 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', + 'required' => false, + 'enumValueTitles' => ['TransitRouter' => 'cen-tr企业版使用', 'VPC' => 'cen基础版使用'], + 'example' => 'TransitRouter', ], ], [ - 'name' => 'CurrentPage', + 'name' => 'CenId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '云企业网实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cen-4xbjup276au29r****'], ], [ - 'name' => 'PageSize', + 'name' => 'TransitRouterId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含VPC边界防火墙的访问控制策略数量。'."\n" - ."\n" - .'可设置值最大为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '转发路由器实例ID。', 'type' => 'string', 'required' => false, 'example' => 'tr-m5etmb2q7e0mxcur****'], ], [ - 'name' => 'Source', + 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '222.212.86.7XXX'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中的访问源地址。支持使用模糊查询。'."\n" - ."\n" - .'> Source可以是单个CIDR地址或地址簿名称。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], + 'ZoneList' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可用区。', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => '可用区ID', 'type' => 'string', 'example' => 'cn-hangzhou-c'], + 'LocalName' => ['description' => '可用区名称。', 'type' => 'string', 'example' => 'Hangzhou Zone C'], + ], + ], + ], + ], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => '地域选择错误, 请重新输入'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询VPC防火墙可用区', + 'summary' => '查询VPC防火墙可用区列表。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Destination', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中的目的地址。支持模糊查询。'."\n" - ."\n" - .'> Destination可以是单个CIDR地址或域名,也可以是地址薄名称。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\",\\n \\"ZoneList\\": [\\n [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-c\\",\\n \\"LocalName\\": \\"Hangzhou Zone C\\"\\n }\\n ]\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcListLite' => [ + 'summary' => '获取VPC列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Description', + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68434', + 'abilityTreeNodes' => ['FEATUREcfwE8FJHT'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略的描述信息。支持模糊查询。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '58.34.174.194'], ], [ - 'name' => 'Proto', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(查询所有协议类型)'."\n" - ."\n" - .'> 不设置该参数表示查询所有协议类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclAction', + 'name' => 'VpcName', + 'in' => 'query', + 'schema' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'required' => false, 'example' => 'vpc-shanghai'], + ], + [ + 'name' => 'VpcId', + 'in' => 'query', + 'schema' => ['description' => 'VPC实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-8vbwbo90rq0anm6t****'], + ], + [ + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => 'VPC所在的地域ID。'."\n" + ."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察'."\n" - ."\n" - .'> 不设置该参数表示查询所有动作。'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'accept', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '55E56A55-D93A-5614-AE00-BE2F8077F891'], + 'VpcList' => [ + 'description' => 'VPC信息列表。', + 'type' => 'array', + 'items' => [ + 'description' => 'VPC信息列表。', + 'type' => 'object', + 'properties' => [ + 'VpcId' => ['description' => 'VPC实例ID。', 'type' => 'string', 'example' => 'vpc-wz9dqhljd10fk0b4eh885'], + 'VpcName' => ['description' => 'VPC的实例名称。', 'type' => 'string', 'example' => 'Cloud_Firewall_VPC'], + 'RegionNo' => ['description' => 'VPC所属地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'], + ], + ], + ], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorJsonDecode', 'errorMessage' => 'decoding json failed', 'description' => 'json 解析失败'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => '访问的实例不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '获取VPC列表', + 'changeSet' => [ + ['createdAt' => '2024-08-22T09:16:02.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcListLite'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcListLite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55E56A55-D93A-5614-AE00-BE2F8077F891\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9dqhljd10fk0b4eh885\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVpcZone' => [ + 'summary' => '查询VPC zone。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '179270', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '1415189284827022'], ], [ - 'name' => 'AclUuid', + 'name' => 'RegionNo', + 'in' => 'query', + 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'Environment', 'in' => 'query', + 'schema' => ['description' => '环境。取值:'."\n" + .'- **VPC**:VPC'."\n" + .'- **TransitRouter**:TransitRouter', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => false, - 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '694DFBF3-C060-529F-92D0-7FC7E0DA1E21'], + 'ZoneList' => [ + 'description' => '可用区列表。', + 'type' => 'array', + 'items' => [ + 'description' => '可用区列表。', + 'type' => 'object', + 'properties' => [ + 'ZoneId' => ['description' => '可用区ID。', 'type' => 'string', 'example' => 'cn-hangzhou-b'], + 'LocalName' => ['description' => '可用区名称。', 'type' => 'string', 'example' => 'China East 1 Zone B'], + 'ZoneType' => ['description' => '查询到的可用区的类型,默认取值为 AvailabilityZone 即普通云上可用区。', 'type' => 'string', 'example' => 'AvailabilityZone'], + ], + ], + ], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'user credentials failed', 'description' => '未授权, 不可访问, 请先授权防火墙权限'], + ['errorCode' => 'ErrorVpcOpenApi', 'errorMessage' => 'vpc open api failed', 'description' => '调用 VPC API 失败'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorCenTRAssociationNotFound', 'errorMessage' => 'CEN-TR attachment association not found.', 'description' => '找不到CEN-TR附件关联。'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'Region is error, please reselect', 'description' => '地域选择错误, 请重新输入'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询VPC zone', + 'changeSet' => [ + ['createdAt' => '2024-12-17T08:38:49.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcZone'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Release', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"694DFBF3-C060-529F-92D0-7FC7E0DA1E21\\",\\n \\"ZoneList\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-b\\",\\n \\"LocalName\\": \\"China East 1 Zone B\\",\\n \\"ZoneType\\": \\"AvailabilityZone\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'DescribeVulnerabilityProtectedList' => [ + 'summary' => '获取云防火墙支持防护的漏洞列表。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68447', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfwIT6TRR', 'FEATUREcfwQROEEE', 'FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '112.239.XX.XX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '返回消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '返回消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询开始时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1655778046'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '设置查询结束时间。使用秒级时间戳格式表示。', 'type' => 'string', 'required' => true, 'example' => '1646063922'], + ], + [ + 'name' => 'VulnStatus', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的启用状态。取值:'."\n" + 'description' => '漏洞防护状态。取值:'."\n" ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', + .'- **partProtected** :部分防护中'."\n" + .'- **protected** :防护中'."\n" + .'- **unProtected** :未防护', 'type' => 'string', 'required' => false, - 'example' => 'true', + 'enumValueTitles' => ['protected' => 'protected', 'unProtected' => 'unProtected', 'partProtected' => 'partProtected'], + 'example' => 'protected', ], ], [ - 'name' => 'RepeatType', + 'name' => 'VulnCveName', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', + 'description' => '漏洞CVE编号。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', + 'enumValueTitles' => [], + 'example' => 'CVE-2022-2992', ], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => 'VPC边界防火墙访问控制策略的总数量。', - 'type' => 'string', - 'example' => '20', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'Policys' => [ - 'description' => 'VPC边界防火墙访问控制策略的信息。', + [ + 'name' => 'AttackType', + 'in' => 'query', + 'schema' => ['description' => '漏洞防护事件的攻击类型。取值:'."\n" + .'- **1**:异常连接'."\n" + .'- **2**:命令执行'."\n" + .'- **3**:暴力破解'."\n" + .'- **4**:扫描'."\n" + .'- **5**:其它'."\n" + .'- **6**:信息泄露'."\n" + .'- **7**:DoS攻击'."\n" + .'- **8**:溢出攻击'."\n" + .'- **9**:Web攻击'."\n" + .'- **10**:木马后门'."\n" + .'- **11**:病毒蠕虫'."\n" + .'- **12**:挖矿行为'."\n" + .'- **13**:反弹Shell'."\n" + ."\n" + .'>不设置该参数表示查询全部攻击类型。', 'type' => 'string', 'required' => false, 'example' => '13'], + ], + [ + 'name' => 'VulnType', + 'in' => 'query', + 'schema' => ['description' => '漏洞类型。取值:'."\n" + ."\n" + .'- **App**:应用漏洞'."\n" + .'- **emg**:应急漏洞'."\n" + .'- **cms**:Web-CMS漏洞', 'type' => 'string', 'required' => false, 'example' => 'emg'], + ], + [ + 'name' => 'VulnLevel', + 'in' => 'query', + 'schema' => ['description' => '漏洞风险等级。取值:'."\n" + ."\n" + .'- **high**:高危'."\n" + .'- **medium**:中危'."\n" + .'- **low**:低危', 'type' => 'string', 'required' => false, 'example' => 'medium'], + ], + [ + 'name' => 'CurrentPage', + 'in' => 'query', + 'schema' => ['description' => '分页查询时的当前页的页码。默认值为1。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。支持最大取值为50。', 'type' => 'string', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'SortKey', + 'in' => 'query', + 'schema' => ['description' => '排序依据。唯一取值:**attackCnt**,表示攻击次数。', 'type' => 'string', 'required' => false, 'example' => 'attackCnt'], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => '排序方式。取值:'."\n" + ."\n" + .'- **asc**:升序。'."\n" + .'- **desc**(默认):降序。', 'type' => 'string', 'required' => false, 'example' => 'desc'], + ], + [ + 'name' => 'VulnResource', + 'in' => 'query', + 'schema' => ['description' => '漏洞影响的资产数。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'UserType', + 'in' => 'query', + 'schema' => ['description' => '用户类型。唯一取值:**buy**,表示付费型。', 'type' => 'string', 'required' => false, 'example' => 'buy'], + ], + [ + 'name' => 'BuyVersion', + 'in' => 'query', + 'schema' => ['description' => '云防火墙的版本。按量付费版本填10,其它版本不需要填写。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '10'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'RuleTag', + 'in' => 'query', + 'schema' => ['title' => '规则标签:AI', 'description' => '漏洞标签,取值:'."\n" + ."\n" + .' - **AI**: AI组件相关漏洞', 'type' => 'string', 'required' => false, 'example' => 'AI'], + ], + ], + 'responses' => [ + 200 => [ + 'headers' => [], + 'schema' => [ + 'description' => 'DescribeVulnerabilityProtectedList 应答', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'D355C631-1537-59C5-A56E-F6C5037B99E5'], + 'TotalCount' => ['description' => '云防火墙已检测的漏洞总数量。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'], + 'ZeroResourceCount' => ['description' => '检测到的漏洞资产数为0的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'VulnList' => [ + 'description' => '漏洞信息集合。', 'type' => 'array', 'items' => [ + 'description' => '漏洞信息。', 'type' => 'object', 'properties' => [ - 'Destination' => [ - 'description' => 'VPC边界防火墙访问控制策略中的目的地址。取值:'."\n" - ."\n" - .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" - ."\n" - .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" - ."\n" - .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。'."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'Order' => [ - 'description' => 'VPC边界防火墙访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,表示优先级越高。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'DestPortGroup' => [ - 'description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口地址簿名称。', - 'type' => 'string', - 'example' => 'my_port_group', - ], - 'SourceType' => [ - 'description' => 'VPC边界防火墙访问控制策略中源地址类型。取值:'."\n" - ."\n" - .'- **net**:源CIDR地址'."\n" - .'- **group**:源地址簿'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => 'VPC边界防火墙访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" - ."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**(表示查询访问控制策略所有的应用类型)', - 'type' => 'string', - 'example' => 'HTTP', - ], - 'AclUuid' => [ - 'description' => 'VPC边界防火墙访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '4037fbf7-3e39-4634-92a4-d0155247****', - ], - 'DestPortType' => [ - 'description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口类型。取值:'."\n" - .'- **port**:单个端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => 'VPC边界防火墙访问控制策略中的访问源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为访问源CIDR地址。'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为地址簿名称。'."\n" - ."\n", - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => 'VPC边界防火墙访问控制策略中目的地址的类型。取值:'."\n" - ."\n" - .'- **net**:目的CIDR地址'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n", - 'type' => 'string', - 'example' => 'net', - ], - 'HitTimes' => [ - 'description' => 'VPC边界防火墙访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'DestPort' => [ - 'description' => 'VPC边界防火墙访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'example' => '80', - ], - 'Description' => [ - 'description' => 'VPC边界防火墙访问控制策略的描述信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'AclAction' => [ - 'description' => 'VPC边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'accept', - ], - 'ApplicationId' => [ - 'description' => 'VPC边界防火墙访问控制策略中设置访问流量的应用的ID。', - 'type' => 'string', - 'example' => '10**', - ], - 'Proto' => [ - 'description' => 'VPC边界防火墙访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(表示查询所有协议类型)', - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupCidrs' => [ - 'description' => 'VPC边界防火墙访问控制策略中目的地址簿中的网段信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙访问控制策略中目的地址簿中的网段列表。', - 'type' => 'string', - 'example' => '["192.0.XX.XX/24", "192.0.XX.XX/32"]', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => 'VPC边界防火墙访问控制策略中目的端口地址簿的详细信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙访问控制策略中目的端口地址簿中包含的端口列表。', - 'type' => 'string', - 'example' => '[80,443]', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => 'VPC边界防火墙访问控制策略中源地址簿的详细信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙访问控制策略中,源地址簿中的网段列表。', - 'type' => 'string', - 'example' => '["192.0.XX.XX/24", "198.51.XX.XX/32"]', - ], - ], - 'MemberUid' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'example' => '258039427902****', - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。唯一取值: **ip**。表示IP地址簿,包含一个或多个IP地址段。', - 'type' => 'string', - 'example' => 'ip', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。', - 'type' => 'string', - 'example' => 'ip', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'ModifyTime' => [ - 'description' => '修改策略的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'SpreadCnt' => [ - 'description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" - .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或域名个数)\\* 应用数 \\* 端口段个数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10,000', - ], - 'CreateTime' => [ - 'description' => '创建策略的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ApplicationNameList' => [ - 'description' => '应用名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙访问控制策略支持的应用类型列表。取值:'."\n" - ."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**(表示查询访问控制策略所有的应用类型)', - 'type' => 'string', - 'example' => '['."\n" - .' "HTTPS", '."\n" - .' "SMTPS", '."\n" - .' "SSL"'."\n" - .']', - ], - ], - 'RepeatType' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', - ], - 'RepeatDays' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'VulnName' => ['description' => '漏洞名称。', 'type' => 'string', 'example' => 'fastjson <= 1.2.80 Deserialization Arbitrary Code Execution Vulnerability'."\n"], + 'AttackType' => ['description' => '漏洞防护事件的攻击类型。取值:'."\n" + .'- **1**:异常连接'."\n" + .'- **2**:命令执行'."\n" + .'- **3**:暴力破解'."\n" + .'- **4**:扫描'."\n" + .'- **5**:其它'."\n" + .'- **6**:信息泄露'."\n" + .'- **7**:DoS攻击'."\n" + .'- **8**:溢出攻击'."\n" + .'- **9**:Web攻击'."\n" + .'- **10**:木马后门'."\n" + .'- **11**:病毒蠕虫'."\n" + .'- **12**:挖矿行为'."\n" + .'- **13**:反弹Shell', 'type' => 'integer', 'format' => 'int32', 'example' => '13'], + 'NeedRuleClass' => ['description' => '需要开启的RuleClass等级。取值:'."\n" + ."\n" + .'- **1**(默认):宽松'."\n" + .'- **2**:中等'."\n" + .'- **3**:严格', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'VulnType' => ['description' => '漏洞类型。取值:'."\n" + ."\n" + .'- **emg**:应急漏洞'."\n" + .'- **webcms**:Web-CMS漏洞'."\n" + .'- **app**:应用漏洞', 'type' => 'string', 'example' => 'emg'], + 'VulnKey' => ['description' => '漏洞编码。', 'type' => 'string', 'example' => 'dedecms-archive.helper.php-vul'], + 'VulnLevel' => ['description' => '漏洞等级。取值:'."\n" + ."\n" + .'- **high**:高危'."\n" + .'- **medium**:中危'."\n" + .'- **low**:低危', 'type' => 'string', 'example' => 'high'], + 'NeedOpenBasicRule' => ['description' => '漏洞对应基础防御规则的状态。取值:'."\n" + ."\n" + .'- **true**:开启'."\n" + .'- **false**:关闭'."\n" + .'> 当取值为true时,一键防护时需要设置该漏洞对应的基础防御状态为拦截。', 'type' => 'boolean', 'example' => 'false'], + 'CveId' => ['description' => 'CVE编号列表。', 'type' => 'string', 'example' => '12112131123, 1231123112'], + 'FirstTime' => ['description' => '首次发现时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1608687364'], + 'BasicRuleIds' => ['description' => '关联的规则ID。', 'type' => 'string', 'example' => '12,12'], + 'LastTime' => ['description' => '最近发现时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1608687364'], + 'NeedOpenVirtualPatcheUuids' => ['description' => '需要升级为拦截模式的虚拟补丁规则UUID。', 'type' => 'string', 'example' => 'UUID-1231231234'], + 'NeedOpenBasicRuleUuids' => ['description' => '需要升级为拦截模式的基础防御规则UUID。', 'type' => 'string', 'example' => 'UUID-1231231'], + 'NeedOpenVirtualPatche' => ['description' => '漏洞对应虚拟补丁的状态。取值:'."\n" + ."\n" + .'- **true**:开启'."\n" + .'- **false**:关闭'."\n" + .'> 当取值为true时,一键防护时需要设置该漏洞对应的虚拟补丁状态为拦截。', 'type' => 'boolean', 'example' => 'true'], + 'VirtualPatcheIds' => ['description' => '关联的规则ID。', 'type' => 'string', 'example' => '13,13'], + 'HighlightTag' => ['description' => '该漏洞是否需要重要关注。取值:'."\n" + ."\n" + .'- **0**:不需要'."\n" + .'- **1**:需要', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'NeedOpenRunMode' => ['description' => '一键防护时是否需要设置威胁引擎运行模式。取值:'."\n" + ."\n" + .'- **true**:需要'."\n" + ."\n" + .'- **false**:不需要', 'type' => 'boolean', 'example' => 'true'], + 'VulnStatus' => ['description' => '漏洞防护状态。取值:'."\n" + ."\n" + .'- **partProtected**:部分防护中'."\n" + .'- **protected**:防护中'."\n" + .'- **unProtected**:未防护', 'type' => 'string', 'example' => 'protected'], + 'AttackCnt' => ['description' => '漏洞的攻击次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'ResourceCnt' => ['description' => '存在漏洞的资产数。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'MemberUid' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'example' => '119384235299****'], + 'ResourceList' => [ + 'description' => '漏洞资产列表。', 'type' => 'array', 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', + 'description' => '漏洞资产。', + 'type' => 'object', + 'properties' => [ + 'ResourceType' => ['description' => '漏洞资产类型。取值:'."\n" + ."\n" + .'- **SLB**'."\n" + .'- **EIP**'."\n" + .'- **ECS**', 'type' => 'string', 'example' => 'EIP'], + 'Eip' => ['description' => '实例的EIP。', 'type' => 'string', 'example' => '203.107.XX.XX'], + 'InternetIp' => ['description' => '实例的公网IP。', 'type' => 'string', 'example' => '47.96.XX.XX'], + 'VulnStatus' => ['description' => '漏洞防护状态。取值:'."\n" + ."\n" + .'- **partProtected**:部分防护中'."\n" + .'- **protected**:防护中'."\n" + .'- **unProtected**:未防护', 'type' => 'string', 'example' => 'protected'], + 'ResourceId' => ['description' => '实例ID。', 'type' => 'string', 'example' => 'vfw-m5e7dbc4y****'], + 'ResourceName' => ['description' => '实例的名称。', 'type' => 'string', 'example' => 'ECS'], + 'IntranetIp' => ['description' => '实例的私网IP。', 'type' => 'string', 'example' => '192.168.XX.XX'], + 'RegionId' => ['description' => '云防火墙所在的地域ID。'."\n" + .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', 'type' => 'string', 'example' => 'cn-beijing'], + ], ], ], - 'RepeatStartTime' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694761200', - ], - 'EndTime' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1694764800', - ], - 'DomainResolveType' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', + 'RuleTag' => [ + 'description' => '漏洞标签。', 'type' => 'string', - 'example' => 'FQDN', + 'enumValueTitles' => ['AI' => 'AI相关漏洞'], + 'example' => 'AI', ], ], ], @@ -39406,114 +33050,62 @@ ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The appId is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorAttackTypeError', 'errorMessage' => 'attack type invalid.', 'description' => '类型选择错误,请重新选择。'], + ['errorCode' => 'ErrorPageNo', 'errorMessage' => 'Either page number or page size is invalid.', 'description' => '无效的page number 或者 page size'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error.', 'description' => '内部错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"TotalCount\\": \\"20\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"Policys\\": [\\n {\\n \\"Destination\\": \\"192.0.XX.XX/24\\",\\n \\"Order\\": 1,\\n \\"DestPortGroup\\": \\"my_port_group\\",\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"HTTP\\",\\n \\"AclUuid\\": \\"4037fbf7-3e39-4634-92a4-d0155247****\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"DestPort\\": \\"80\\",\\n \\"Description\\": \\"test\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"ApplicationId\\": \\"10**\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"192.0.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"[80,443]\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"[\\\\\\"192.0.XX.XX/24\\\\\\", \\\\\\"198.51.XX.XX/32\\\\\\"]\\"\\n ],\\n \\"MemberUid\\": \\"258039427902****\\",\\n \\"Release\\": \\"true\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"ModifyTime\\": 1761062400,\\n \\"SpreadCnt\\": 0,\\n \\"CreateTime\\": 1761062400,\\n \\"ApplicationNameList\\": [\\n \\"[\\\\n \\\\\\"HTTPS\\\\\\", \\\\n \\\\\\"SMTPS\\\\\\", \\\\n \\\\\\"SSL\\\\\\"\\\\n]\\"\\n ],\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1694761200,\\n \\"EndTime\\": 1694764800,\\n \\"DomainResolveType\\": \\"FQDN\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 20\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 192.0.XX.XX/24\\n 1\\n my_port_group\\n net\\n HTTP\\n 4037fbf7-3e39-4634-92a4-d0155247****\\n port\\n 192.0.XX.XX/24\\n net\\n 100\\n 80\\n test\\n accept\\n 10**\\n TCP\\n [\\"192.0.XX.XX/24\\", \\"192.0.XX.XX/32\\"]\\n [80,443]\\n [\\"192.0.XX.XX/24\\", \\"198.51.XX.XX/32\\"]\\n 258039427902****\\n true\\n ip\\n ip\\n \\n","errorExample":""}]', - 'title' => '查询指定的VPC边界防火墙的所有访问控制策略信息', - 'description' => '本接口一般用于查询VPC边界防火墙的访问控制策略。VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量或防护通过高速通道连接的两个VPC之间的流量时,使用不同的访问控制策略。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeVpcFirewallPolicyPriorUsed' => [ - 'summary' => '查询指定VPC防火墙策略组访问控制策略优先级生效范围。', - 'methods' => [ - 'post', - 'get', + 'title' => '获取漏洞防护列表', + 'changeSet' => [ + ['createdAt' => '2024-08-29T06:59:53.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-30T02:35:39.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVulnerabilityProtectedList'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVulnerabilityProtectedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"D355C631-1537-59C5-A56E-F6C5037B99E5\\",\\n \\"TotalCount\\": 5,\\n \\"ZeroResourceCount\\": 1,\\n \\"VulnList\\": [\\n {\\n \\"VulnName\\": \\"fastjson <= 1.2.80 Deserialization Arbitrary Code Execution Vulnerability\\\\n\\",\\n \\"AttackType\\": 13,\\n \\"NeedRuleClass\\": 1,\\n \\"VulnType\\": \\"emg\\",\\n \\"VulnKey\\": \\"dedecms-archive.helper.php-vul\\",\\n \\"VulnLevel\\": \\"high\\",\\n \\"NeedOpenBasicRule\\": false,\\n \\"CveId\\": \\"12112131123, 1231123112\\",\\n \\"FirstTime\\": 1608687364,\\n \\"BasicRuleIds\\": \\"12,12\\",\\n \\"LastTime\\": 1608687364,\\n \\"NeedOpenVirtualPatcheUuids\\": \\"UUID-1231231234\\",\\n \\"NeedOpenBasicRuleUuids\\": \\"UUID-1231231\\",\\n \\"NeedOpenVirtualPatche\\": true,\\n \\"VirtualPatcheIds\\": \\"13,13\\",\\n \\"HighlightTag\\": 0,\\n \\"NeedOpenRunMode\\": true,\\n \\"VulnStatus\\": \\"protected\\",\\n \\"AttackCnt\\": 0,\\n \\"ResourceCnt\\": 0,\\n \\"MemberUid\\": \\"119384235299****\\",\\n \\"ResourceList\\": [\\n {\\n \\"ResourceType\\": \\"EIP\\",\\n \\"Eip\\": \\"203.107.XX.XX\\",\\n \\"InternetIp\\": \\"47.96.XX.XX\\",\\n \\"VulnStatus\\": \\"protected\\",\\n \\"ResourceId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"ResourceName\\": \\"ECS\\",\\n \\"IntranetIp\\": \\"192.168.XX.XX\\",\\n \\"RegionId\\": \\"cn-beijing\\"\\n }\\n ],\\n \\"RuleTag\\": \\"AI\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n D355C631-1537-59C5-A56E-F6C5037B99E5\\n 5\\n 1\\n \\n fastjson <= 1.2.80 反序列化任意代码执行漏洞\\n 13\\n 1\\n emg\\n dedecms-archive.helper.php-vul\\n high\\n false\\n 12112131123, 1231123112\\n 1608687364\\n 12,12\\n 1608687364\\n UUID-1231231234\\n UUID-1231231\\n true\\n 13,13\\n 0\\n true\\n protected\\n 0\\n 0\\n \\n EIP\\n 203.107.XX.XX\\n 47.96.XX.XX\\n protected\\n vfw-m5e7dbc4y****\\n ECS\\n 192.168.XX.XX\\n cn-beijing\\n \\n \\n","errorExample":""}]', + ], + 'DisableSdlProtectedAsset' => [ + 'summary' => '关闭资产敏感数据发现防护。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68424', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '247433', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -39521,535 +33113,730 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'IpList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" - ."\n" - .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" - ."\n" - .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', + 'description' => 'IP资产列表。', + 'type' => 'array', + 'items' => ['description' => 'IP资产列表。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "47.99.108.XXX",'."\n" + .' "47.99.109.XXX"'."\n" + .']'], + 'required' => false, + 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'End' => [ - 'description' => '访问控制策略生效的优先级最低值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '150', - ], - 'Start' => [ - 'description' => '访问控制策略生效的优先级最高值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F93A490D-9E92-5AA4-BA79-600FFC09****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '关闭资产敏感数据发现防护', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DisableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"End\\": 150,\\n \\"Start\\": 1,\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n1\\n150\\n","errorExample":""}]', - 'title' => '查询VPC防火墙策略组访问控制策略优先级生效范围', - 'description' => '本接口一般用于查询指定VPC防火墙策略组访问控制策略优先级生效范围。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F93A490D-9E92-5AA4-BA79-600FFC09****\\"\\n}","type":"json"}]', ], - 'CreateVpcFirewallControlPolicy' => [ - 'summary' => '为指定VPC防火墙策略组添加访问控制策略。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'EnableSdlProtectedAsset' => [ + 'summary' => '开启资产数据泄露保护。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68136', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '240055', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclAction', + 'name' => 'IpList', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => true, - 'example' => 'accept', + 'description' => 'IP资产列表。', + 'type' => 'array', + 'items' => ['description' => 'IP资产列表。', 'type' => 'string', 'required' => false, 'example' => '47.99.108.XX'], + 'required' => false, ], ], - [ - 'name' => 'ApplicationName', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略支持的应用类型。取值:'."\n" - ."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**(表示支持所有的应用类型)'."\n", - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'HTTP', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******'."\n"], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '开启资产数据泄露保护', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'test', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:EnableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\\\n\\"\\n}","type":"json"}]', + ], + 'GetTlsInspectCertificateDownloadUrl' => [ + 'summary' => '此接口用于获取TLS检查策略证书的下载路径。', + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'DestPort', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口。'."\n" - ."\n" - .'> 当**DestPortType**为`port`时,设置该参数。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcfwCM05W3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Destination', + 'name' => 'CaCertId', 'in' => 'query', + 'schema' => ['description' => 'CA证书ID。'."\n" + ."\n" + .'> 可通过ListTlsInspectCACertificates接口查询已有CA证书', 'type' => 'string', 'required' => true, 'example' => 'C3E91391-16CD-1BFC-A133-******D429'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的目的地址。取值:'."\n" - ."\n" - .'- 当**DestinationType**为`net`时,**Destination**为目的CIDR地址。'."\n" - ."\n" - .'- 当**DestinationType**为`group`时,**Destination**为目的地址簿名称。'."\n" - ."\n" - .'- 当**DestinationType**为`domain`时,**Destination**为目的域名。', - 'type' => 'string', - 'required' => true, - 'example' => '10.2.XX.XX/24', + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-******h4j6'], + 'DownloadUrl' => ['description' => '证书下载路径。', 'type' => 'string', 'example' => 'https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****'], + 'CaCertId' => ['description' => 'CA证书ID。', 'type' => 'string', 'example' => '1f07c104-99ed-6b9a-b0bb-2938c9b8****'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorCasInnerApiFailed', 'errorMessage' => 'API call failed, please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '获取TLS检查策略证书下载路径', + 'description' => '接口返回的是CA证书临时下载链接,链接有效时间为1分钟。超时链接失效,需要重新使用此接口获取下载链接。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'DestinationType', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:GetTlsInspectCertificateDownloadUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-******h4j6\\",\\n \\"DownloadUrl\\": \\"https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****\\",\\n \\"CaCertId\\": \\"1f07c104-99ed-6b9a-b0bb-2938c9b8****\\"\\n}","type":"json"}]', + ], + 'ListTlsInspectCACertificates' => [ + 'path' => '', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略组ID。'."\n" - .'- 当VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量时,策略组ID使用云企业网实例ID。'."\n" - .' '."\n" - .'- 当VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .'> 您可以调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'AK' => [], ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'list', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcfwCM05W3'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'Proto', + 'name' => 'CaCertId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的安全协议类型。取值:'."\n" - ."\n" - .'- **ANY**(不确定具体协议类型时可设置为ANY)'."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**', - 'type' => 'string', - 'required' => true, - 'example' => 'TCP', - ], + 'schema' => ['description' => 'CA证书ID.', 'type' => 'string', 'required' => false, 'example' => 'C3E91391-16CD-1BFC-A133-******D429'], ], [ - 'name' => 'Source', + 'name' => 'CurrentPage', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中的源地址。'."\n" - ."\n" - .'- 当SourceType为`net`时,Source为源CIDR。'."\n" - .'- 当SourceType为`group`时,Source为源地址簿名称。'."\n", - 'type' => 'string', - 'required' => true, - 'example' => '10.2.XX.XX/24', - ], + 'schema' => ['description' => '分页查询时的页码。默认值为1。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], [ - 'name' => 'SourceType', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR)'."\n" - ."\n" - .'- **group**:源地址簿'."\n", - 'type' => 'string', - 'required' => true, - 'example' => 'net', + 'schema' => ['description' => '分页查询时,显示的每页数据的最大条数。默认值为20。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果。', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-******837D'], + 'Certificates' => [ + 'description' => '证书列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'CaCertId' => ['description' => 'CA证书ID。', 'type' => 'string', 'example' => '2732BB48-2969-5716-B5D9-******CA85'], + 'ExpirationTime' => ['description' => '到期的时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1934***149'], + 'CaCertType' => ['description' => 'CA 证书的类型,取值:'."\n" + ."\n" + .'- **ROOT**:表示根 CA 证书。'."\n" + .'- **SUB_ROOT**:表示子 CA 证书。', 'type' => 'string', 'example' => 'ROOT'], + 'AliasName' => ['description' => '证书别名。', 'type' => 'string', 'example' => 'rsa_ml_***_root'], + 'Algorithm' => ['description' => 'CA 证书的加密算法类型, 取值:'."\n" + .'- **RSA**:表示 RSA 算法。'."\n" + .'- **ECC**:表示 ECC 算法。'."\n" + .'- **SM2**:表示 SM2(国密)算法。', 'type' => 'string', 'example' => 'RSA'], + 'Status' => ['description' => '证书状态,取值:'."\n" + .'- **ISSUE**:启用。'."\n" + .'- **REVOKE**:已吊销。', 'type' => 'string', 'example' => 'ISSUE'], + 'KeySize' => ['description' => 'CA证书的密钥长度。', 'type' => 'integer', 'format' => 'int32', 'example' => '2048'], + 'SignAlgorithm' => ['description' => 'CA证书的签名算法。', 'type' => 'string', 'example' => 'SHA256WITHRSA'], + 'ParentCaCertId' => ['description' => '父CA证书ID。', 'type' => 'string', 'example' => '340BB48-2969-5716-B5D9-****ACA85'], + ], + 'description' => '', + ], + ], + 'TotalCount' => ['description' => '总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrCasOpenApiFailed', 'errorMessage' => 'Error querying certificate, please try again later.', 'description' => ''], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '查询TLS检查CA证书', + 'summary' => '此接口用于查询TLS检查CA证书。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'NewOrder', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ListTlsInspectCACertificates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-******837D\\",\\n \\"Certificates\\": [\\n {\\n \\"CaCertId\\": \\"2732BB48-2969-5716-B5D9-******CA85\\",\\n \\"ExpirationTime\\": 0,\\n \\"CaCertType\\": \\"ROOT\\",\\n \\"AliasName\\": \\"rsa_ml_***_root\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"ParentCaCertId\\": \\"340BB48-2969-5716-B5D9-****ACA85\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', + ], + 'ModifyAddressBook' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'DestPortType', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68460', + 'abilityTreeNodes' => ['FEATUREcfwC140SS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口类型。取值:'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'DestPortGroup', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口地址簿名称。'."\n" - ."\n" - .'> 当**DestPortType**为`group`时,设置该参数。', + 'description' => '语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'my_port_group', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'MemberUid', + 'name' => 'AddressList', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '地址簿中的地址列表,多个地址间用英文逗号分隔,一个地址元素用空格分隔地址和描述。当GroupType为**ip**、**port**或**domain**时,您必须配置此参数。'."\n" + ."\n" + .'- 当GroupType为**ip**时,地址列表中填写IP地址,例如:1.2.XX.XX/32 开发网段,10.0.0.X/24,1.2.XX.XX/24 测试网段。'."\n" + ."\n" + .'- 当GroupType为**port**时,地址列表中填写端口或端口范围,例如:80/80 HTTP端口,100/200,3306 数据库端口。'."\n" + ."\n" + .'- 当GroupType为**domain**时,地址列表中填写域名,例如:demo1.aliyun.com 测试域名,demo2.aliyun.com,www.aliyun.com 阿里云官网。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/32 ,192.0.XX.XX/24'], ], [ - 'name' => 'Release', + 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '地址簿的描述信息。', 'type' => 'string', 'required' => true, 'example' => 'bj-001', 'maxLength' => 256, 'minLength' => 2], ], [ - 'name' => 'ApplicationNameList', + 'name' => 'GroupName', + 'in' => 'query', + 'schema' => ['description' => '地址簿的名称。', 'type' => 'string', 'required' => true, 'example' => 'bj-001', 'maxLength' => 128, 'minLength' => 2], + ], + [ + 'name' => 'GroupUuid', + 'in' => 'query', + 'schema' => ['description' => '地址簿的唯一标识ID。'."\n" + ."\n" + .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', 'type' => 'string', 'required' => true, 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****'], + ], + [ + 'name' => 'AutoAddTagEcs', 'in' => 'query', - 'style' => 'repeatList', 'schema' => [ - 'description' => '访问控制策略支持的应用类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有类型的应用)'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型,使用`["HTTP","HTTPS",……]`格式表示;Proto为UDP、ICMP或ANY协议类型时,ApplicationNameList仅支持选择ANY。ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "ANY"'."\n" - .']', - ], + 'description' => '是否自动添加新匹配标签的ECS公网IP到地址簿。', + 'type' => 'string', 'required' => false, - 'maxItems' => 30, + 'enumValueTitles' => ['不自动添加', '自动添加'], + 'example' => '1', ], ], [ - 'name' => 'RepeatType', + 'name' => 'TagRelation', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', + 'description' => '多个ECS标签间的关系。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], - 'example' => 'Permanent', + 'enumValueTitles' => ['or' => '多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', 'and' => '多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。'], + 'example' => 'and', ], ], [ - 'name' => 'RepeatDays', + 'name' => 'TagList', 'in' => 'query', - 'style' => 'flat', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'description' => 'ECS标签列表。', 'type' => 'array', 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'ECS标签。', + 'type' => 'object', + 'properties' => [ + 'TagValue' => ['description' => 'ECS标签值。', 'type' => 'string', 'required' => false, 'example' => '1'], + 'TagKey' => ['description' => 'ECS标签键。', 'type' => 'string', 'required' => false, 'example' => 'TXY'], + ], 'required' => false, - 'example' => '1', ], 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'RepeatStartTime', + 'name' => 'ModifyMode', 'in' => 'query', + 'allowEmptyValue' => false, 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', + 'description' => '修改方式。'."\n" + ."\n" + .'>当 GroupType 为 **ip**、**ipv6**、**port** 或 **domain** 时,不配置该参数时,默认采用**Cover**方式修改地址簿。'."\n" + .'>当 GroupType 为 **tag** 时,该参数必须为空。>', 'type' => 'string', 'required' => false, - 'example' => '08:00', + 'enumValueTitles' => ['Delete' => '在地址簿中删除使用AddressList参数的值。', 'Cover' => '使用AddressList参数的值覆盖原地址簿。', 'Append' => '在原地址簿后,使用AddressList参数的值追加修改的地址。'], + 'example' => 'Cover', + 'enum' => ['Cover', 'Append', 'Delete'], ], ], [ - 'name' => 'RepeatEndTime', + 'name' => 'AckNamespaces', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', + 'title' => 'ACK集群容器组命名空间列表。', + 'description' => 'ACK集群容器组命名空间列表。'."\n" + .'> 数量最多10个。', + 'type' => 'array', + 'items' => ['title' => 'ACK集群容器组命名空间。', 'description' => 'ACK集群容器组命名空间。取值来源:'."\n" + .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~):批量查询ACK集群命名空间。'."\n" + ."\n" + .'> 当**GroupType**为**ackNamespace**时,必填。', 'type' => 'string', 'required' => false, 'example' => 'default'], 'required' => false, - 'example' => '23:30', ], ], [ - 'name' => 'StartTime', + 'name' => 'AckLabels', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', + 'title' => 'ACK集群容器组标签列表。', + 'description' => 'ACK集群容器组标签列表。'."\n" + ."\n" + .'> 数量最多10个。', + 'type' => 'array', + 'items' => [ + 'title' => 'ACK集群容器组标签。', + 'description' => 'ACK集群容器组标签。取值来源:'."\n" + .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~):批量查询ACK集群容器标签。'."\n" + ."\n" + .'> 当**GroupType**为**ackLabel**时,必填。', + 'type' => 'object', + 'properties' => [ + 'Key' => ['title' => 'ACK集群容器组标签的键。', 'description' => 'ACK集群容器组标签的键。', 'type' => 'string', 'required' => false, 'example' => 'app'], + 'Value' => ['title' => 'ACK集群容器组标签的值。', 'description' => 'ACK集群容器组标签的值。', 'type' => 'string', 'required' => false, 'example' => 'storage-operator'], + ], + 'required' => false, + ], 'required' => false, - 'example' => '1694761200', ], ], [ - 'name' => 'EndTime', + 'name' => 'AssetMemberUids', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', + 'title' => '资产地址簿,成员账号列表。', + 'description' => '资产地址簿,成员账号列表。', + 'type' => 'array', + 'items' => ['title' => '成员账号列表。', 'description' => '成员账号列表。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '13580xxxxxx6271'], 'required' => false, - 'example' => '1694764800', ], ], [ - 'name' => 'DomainResolveType', + 'name' => 'AssetRegionResourceTypes', 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'string', + 'title' => '资产地址簿,地域和资源类型列表。', + 'description' => '资产地址簿,地域和资源类型列表。', + 'type' => 'array', + 'items' => [ + 'title' => '地域和资源类型列表。', + 'description' => '地域和资源类型列表。', + 'type' => 'object', + 'properties' => [ + 'AssetRegionId' => [ + 'title' => '资产地域ID。', + 'description' => '资产地域ID。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['all' => '全部地域'], + 'example' => 'all', + ], + 'ResourceType' => [ + 'title' => '资产类型。', + 'description' => '资产类型。', + 'type' => 'object', + 'properties' => [ + 'Ipv4' => [ + 'title' => 'IPv4资产类型。', + 'description' => 'IPv4资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbEIP' => [ + 'title' => '资产类型:SlbEIP。', + 'description' => '资产类型:SlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'true', + ], + 'NatPublicIP' => [ + 'title' => '资产类型:NatPublicIP。', + 'description' => '资产类型:NatPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIngressIP' => [ + 'title' => '资产类型:BastionHostIngressIP。', + 'description' => '资产类型:BastionHostIngressIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIP' => [ + 'title' => '资产类型:EniEIP。', + 'description' => '资产类型:EniEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbEIP' => [ + 'title' => '资产类型:NlbEIP。', + 'description' => '资产类型:NlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIP' => [ + 'title' => '资产类型:ApigEIP。', + 'description' => '资产类型:ApigEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsPublicIP' => [ + 'title' => '资产类型:EcsPublicIP。', + 'description' => '资产类型:EcsPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostIP' => [ + 'title' => '资产类型:BastionHostIP。', + 'description' => '资产类型:BastionHostIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'BastionHostEgressIP' => [ + 'title' => '资产类型:BastionHostEgressIP。', + 'description' => '资产类型:BastionHostEgressIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbEIP' => [ + 'title' => '资产类型:AlbEIP。', + 'description' => '资产类型:AlbEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIP' => [ + 'title' => '资产类型:GaEIP。', + 'description' => '资产类型:GaEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIP' => [ + 'title' => '资产类型:AIGatewayEIP。', + 'description' => '资产类型:AIGatewayEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EIP' => [ + 'title' => '资产类型:EIP。', + 'description' => '资产类型:EIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NatEIP' => [ + 'title' => '资产类型:NatEIP。', + 'description' => '资产类型:NatEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'SlbPublicIP' => [ + 'title' => '资产类型:SlbPublicIP。', + 'description' => '资产类型:SlbPublicIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsEIP' => [ + 'title' => '资产类型:EcsEIP。', + 'description' => '资产类型:EcsEIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'HAVIP' => [ + 'title' => '资产类型:HAVIP。', + 'description' => '资产类型:HAVIP。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + ], + 'required' => false, + ], + 'Ipv6' => [ + 'title' => 'IPv6资产类型。', + 'description' => 'IPv6资产类型。', + 'type' => 'object', + 'properties' => [ + 'SlbIPv6' => [ + 'title' => '资产类型:SlbIPv6。', + 'description' => '资产类型:SlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'NlbIPv6' => [ + 'title' => '资产类型:NlbIPv6。', + 'description' => '资产类型:NlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EniEIPv6' => [ + 'title' => '资产类型:EniEIPv6。', + 'description' => '资产类型:EniEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AlbIPv6' => [ + 'title' => '资产类型:AlbIPv6。', + 'description' => '资产类型:AlbIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'GaEIPv6' => [ + 'title' => '资产类型:GaEIPv6。', + 'description' => '资产类型:GaEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'AiGatewayEIPv6' => [ + 'title' => '资产类型:AIGatewayEIPv6。', + 'description' => '资产类型:AIGatewayEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'EcsIPv6' => [ + 'title' => '资产类型:EcsIPv6。', + 'description' => '资产类型:EcsIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + 'ApiGatewayEIPv6' => [ + 'title' => '资产类型:ApigEIPv6。', + 'description' => '资产类型:ApigEIPv6。', + 'type' => 'boolean', + 'required' => false, + 'enumValueTitles' => ['true' => '开启', 'false' => '关闭'], + 'example' => 'false', + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'FQDN', ], ], ], @@ -40058,414 +33845,342 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred. Try again later.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorParametersGroupAddress', 'errorMessage' => 'The IP address of the address group is invalid.', 'description' => '地址簿IP地址错误'], + ['errorCode' => 'ErrorParamDomain', 'errorMessage' => 'The parameter Domain is invalid.', 'description' => '地址簿域名地址错误'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParametersGroupPort', 'errorMessage' => 'The group port is invalid.', 'description' => '地址簿端口错误'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorAddressGroupExist', 'errorMessage' => 'The address group already exists.', 'description' => '分组已存在'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorParametersAddressGroupAddressNotFound', 'errorMessage' => 'The address to be deleted does not exist in the address book.', 'description' => '地址簿中不存在需要删除的地址。'], + ['errorCode' => 'InvalidParameter.AddressBook.AddressDuplicate', 'errorMessage' => 'The address book address %s is already exist.', 'description' => '地址簿中的地址%s已存在。'], + ['errorCode' => 'ErrorAckClusterConnectorBusy', 'errorMessage' => 'The ACK cluster connector is operating.', 'description' => '指定的ACK集群连接器正在操作中。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersMemberUidMismatch', 'errorMessage' => 'The memberUid mismatch the aliUid.', 'description' => '成员账号和aliUid不匹配。'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"AclUuid\\": \\"00281255-d220-4db1-8f4f-c4df221ad84c\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 00281255-d220-4db1-8f4f-c4df221ad84c\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '为指定VPC防火墙策略组添加访问控制策略', - 'description' => '本接口一般用于为指定VPC边界防火墙策略组添加访问控制策略。VPC边界防火墙防护通过云企业网连接的两个VPC之间的流量或防护通过高速通道连接的两个VPC之间的流量时,使用不同的访问控制策略。'."\n" + 'title' => '修改地址簿', + 'summary' => '修改地址簿。', + 'description' => '本接口一般用于修改地址簿。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyVpcFirewallControlPolicy' => [ - 'summary' => '修改指定VPC防火墙策略组的访问控制策略的配置信息。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-12-30T03:12:26.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-09-05T03:01:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-07T07:26:13.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-02-25T06:01:01.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAddressBook'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', + ], + 'ModifyCfwInstance' => [ + 'summary' => '更新用户实例相关信息,用于按量付费2.0用户。', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'update', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68496', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68399', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'InstanceId', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => true, 'docRequired' => true, 'example' => 'cfw_elasticity_public_cn-zsk39m******'], + ], + [ + 'name' => 'UpdateList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**:(默认)中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'description' => '更新的实例属性的列表。', + 'type' => 'array', + 'items' => [ + 'description' => '更新的实例属性的列表。', + 'type' => 'object', + 'properties' => [ + 'Code' => ['description' => '更新的实例属性的Code。'."\n" + .'目前支持:'."\n" + ."\n" + .'- Code:MajorVersion,对应Value可选值:2。仅对按量付费1.0用户支持,即按量付费1.0升级为按量付费2.0。'."\n" + .'>请确保已充分了解按量付费2.0的收费方式和价格。>'."\n" + .'>请注意,若升级前已开启日志投递,升级后日志投递会继续开启,且会切换至新日志库。>'."\n" + .'- Code: ThreatIntelligence,对应Value可选值:0,1。仅对按量付费2.0用户支持,用于按量付费2.0用户开关威胁情报。'."\n" + .'- Code: Sdl,对应Value可选值:0,1。仅对按量付费2.0用户支持,用于按量付费2.0用户开关敏感数据泄漏检测。', 'type' => 'string', 'required' => false, 'example' => 'Sdl'], + 'Value' => ['description' => '对应Code的Value。可选值详见Code描述。', 'type' => 'string', 'required' => false, 'example' => '1'], + ], + 'required' => false, + ], + 'required' => true, + 'docRequired' => true, + 'maxItems' => 100, + ], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + ], + 'description' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改云防火墙实例', + 'description' => '请确保在使用该接口前,已充分了解云防火墙产品按量版的收费方式和[价格](https://help.aliyun.com/zh/cloud-firewall/cloudfirewall/product-overview/pay-as-you-go)。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyCfwInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'ModifyControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'high', + 'chargeType' => 'free', + 'abilityTreeCode' => '68467', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], [ 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => false, 'example' => 'accept'], ], [ 'name' => 'ApplicationName', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略支持的应用类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- ANY(表示查询所有类型的应用)'."\n" - .'- FTP'."\n" - .'- HTTP'."\n" - .'- HTTPS'."\n" - .'- MySQL'."\n" - .'- SMTP'."\n" - .'- SMTPS'."\n" - .'- RDP'."\n" - .'- VNC'."\n" - .'- SSH'."\n" - .'- Redis'."\n" - .'- MQTT'."\n" - .'- MongoDB'."\n" - .'- Memcache'."\n" - .'- SSL', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => 'HTTP', - ], + 'schema' => ['description' => '安全访问控制策略支持的应用类型。支持的应用类型有以下几种:'."\n" + ."\n" + .'- **ANY**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **MySQL**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **RDP**'."\n" + .'- **VNC**'."\n" + .'- **SSH**'."\n" + .'- **Redis**'."\n" + .'- **MQTT**'."\n" + .'- **MongoDB**'."\n" + .'- **Memcache**'."\n" + .'- **SSL**'."\n" + ."\n" + .'> **ANY**表示策略应用在所有类型的应用中。'."\n" + ."\n" + .'> ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP'], ], [ 'name' => 'Description', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '安全访问控制策略的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], ], [ 'name' => 'DestPort', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => '安全访问控制策略中流量访问的目的端口。', 'type' => 'string', 'required' => false, 'example' => '80'], ], [ 'name' => 'Destination', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址。'."\n" - ."\n" - .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" - .' '."\n" - .' 例如:10.2.3.0/24'."\n" - ."\n" - .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。'."\n" - ."\n" - .' 例如:db_group'."\n" - ."\n" - .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" - ."\n" - .' 例如:*.aliyuncs.com'."\n", - 'type' => 'string', - 'required' => false, - 'example' => '10.2.X.X/XX', - ], + 'schema' => ['description' => '安全访问控制策略中的目的地址。'."\n" + ."\n" + .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.XX.XX/24'."\n" + .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" + .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" + .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24'], ], [ 'name' => 'DestinationType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的目的地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名', - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => '安全访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'required' => false, 'example' => 'net'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,该参数值使用云企业网实例ID。'."\n" - ."\n" - .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" - ."\n" - .'- VPC边界防火墙防护高速通道时,该参数值使用VPC边界防火墙实例ID。'."\n" - .' '."\n" - .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => '安全访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- **in**:外对内流量访问控制'."\n" + .'- **out**:内对外流量访问控制', 'type' => 'string', 'required' => false, 'example' => 'in'], ], [ 'name' => 'Proto', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中流量访问的安全协议类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- ANY(表示查询所有协议类型)'."\n" - .'- TCP'."\n" - .'- UDP'."\n" - .'- ICMP', - 'type' => 'string', - 'required' => false, - 'example' => 'TCP', - ], + 'schema' => ['description' => '安全访问控制策略中流量访问的安全协议类型。支持的应用类型有以下几种:'."\n" + ."\n" + .'- **ANY**'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + ."\n" + .'> **ANY**表示策略应用在所有类型的应用中。'."\n" + ."\n" + .'> 流量方向为出向时,访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,可选配置TCP/ANY协议。选择TCP时,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种,选择ANY时,应用可选ANY。', 'type' => 'string', 'required' => false, 'example' => 'TCP'], ], [ 'name' => 'Source', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" - ."\n" - .' 例如:10.2.4.0/24'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" - ."\n" - .' 例如:db_group', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.X.X/XX', - ], + 'schema' => ['description' => '安全访问控制策略中的源地址。'."\n" + ."\n" + .'- 当**SourceType**为net时,**Source**为源CIDR。例如:1.2.XX.XX/24'."\n" + .'- 当**SourceType**为group时,**Source**为源地址簿名称。例如:db_group'."\n" + .'- 当**SourceType**为location时,**Source**为源区域(具体区域位置编码见后文)。例如\\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX/24'], ], [ 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'修改访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], + 'schema' => ['description' => '安全访问控制策略的唯一标识ID。'."\n" + ."\n" + .'> 修改安全访问控制策略,需要提供该策略的唯一标识ID,该ID可调用[DescribeControlPolicy](~~138866~~)接口获取。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221ad84c'], ], [ 'name' => 'SourceType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'net', - ], + 'schema' => ['description' => '安全访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR)'."\n" + .'- **group**:源地址簿'."\n" + ."\n" + .'- **location**:源区域', 'type' => 'string', 'required' => false, 'example' => 'net'], ], [ 'name' => 'DestPortType', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" - ."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'required' => false, - 'example' => 'port', - ], + 'schema' => ['description' => '安全访问控制策略中流量访问的目的端口类型。取值:'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, 'example' => 'port'], ], [ 'name' => 'DestPortGroup', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中访问流量的目的端口地址簿名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'my_port_group', - ], + 'schema' => ['description' => '安全访问控制策略中流量访问的目的端口地址簿名称。', 'type' => 'string', 'required' => false, 'example' => 'my_port_group'], ], [ 'name' => 'Release', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '安全访问控制策略的状态。取值:'."\n" + ."\n" + .'- true:策略开启状态'."\n" + .'- false:策略关闭状态', 'type' => 'string', 'required' => false, 'example' => 'true'], ], [ 'name' => 'ApplicationNameList', 'in' => 'query', 'style' => 'repeatList', 'schema' => [ - 'description' => '应用名称列表。', + 'description' => '应用名称列表。'."\n" + ."\n" + .'> ApplicationNameList和ApplicationName二选一,必须传其中一个,不能同时为空。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。', 'type' => 'array', - 'items' => [ - 'description' => '应用名称。', - 'type' => 'string', - 'required' => false, - 'example' => '["ANY"]', - ], + 'items' => ['description' => '应用名称。', 'type' => 'string', 'required' => false, 'example' => 'HTTP'], 'required' => false, 'maxItems' => 30, ], @@ -40482,13 +34197,7 @@ .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'Daily' => '每天', - 'Monthly' => '每月', - 'Permanent' => '总是', - 'Weekly' => '每周', - 'None' => '指定单次时间', - ], + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], 'example' => 'Permanent', ], ], @@ -40507,77 +34216,44 @@ .' 例如:[1, 31]'."\n" .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - ], + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], 'required' => false, ], ], [ 'name' => 'RepeatStartTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'required' => false, - 'example' => '08:00', - ], + 'schema' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', 'type' => 'string', 'required' => false, 'example' => '08:00'], ], [ 'name' => 'RepeatEndTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'required' => false, - 'example' => '23:30', - ], + 'schema' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:00。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', 'type' => 'string', 'required' => false, 'example' => '23:30'], ], [ 'name' => 'StartTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694761200', - ], + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], ], [ 'name' => 'EndTime', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1694764800', - ], + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], ], [ 'name' => 'DomainResolveType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'string', - 'required' => false, - 'example' => 'FQDN', - ], + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'required' => false, 'example' => 'FQDN'], ], ], 'responses' => [ @@ -40585,237 +34261,138 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersFtpNotSupport', - 'errorMessage' => 'domain destination not support ftp.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationName', - 'errorMessage' => 'Specified parameter ApplicationName is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersApplicationNameList', - 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorParametersVpcFirewallId', - 'errorMessage' => 'Specified parameter VpcFirewallId is not valid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '修改VPC防火墙策略组的访问控制策略', - 'description' => '本接口一般用于修改指定VPC防火墙策略组的访问控制策略的配置信息。防护每个云企业网的VPC防火墙实例和防护每个高速通道的VPC防火墙实例使用不同的访问控制策略。'."\n" + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'Acl策略生效时间非永久时,不允许更新状态。'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => '超出一条ACL选取区域个数, 建议拆分成多条ACL'], + ['errorCode' => 'ErrorEmptyDomainResolveType', 'errorMessage' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'description' => '不支持空的域名解析模式。'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => '访问控制策略支持的应用类型不合法。'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorParametersProtoAppsMismatch', 'errorMessage' => 'The protocol and applicationName mismatch.', 'description' => '协议和应用不匹配。'], + ['errorCode' => 'ErrorApplicationTemplateNotFound', 'errorMessage' => 'Application template not found.', 'description' => '应用程序模版不存在'], + ['errorCode' => 'ErrorWebFilterTemplateNotFound', 'errorMessage' => 'Web filter template not found.', 'description' => 'Web过滤模版不存在'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改安全访问控制策略的配置信息', + 'summary' => '修改安全访问控制策略的配置信息。', + 'description' => '本接口一般用于修改流量通过云防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', 'requestParamsDescription' => ' ', 'responseParamsDescription' => ' ', 'extraInfo' => ' ', - ], - 'ModifyVpcFirewallControlPolicyPosition' => [ - 'summary' => '修改指定VPC防火墙策略组访问控制策略的优先级。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-11-06T08:10:48.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-10-28T10:01:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-22T07:46:59.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-25T02:35:12.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-12-22T02:42:25.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-12-22T02:04:01.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-11-02T06:37:19.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-06-21T09:44:30.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-02-24T09:19:47.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-12-16T10:37:20.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicy'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', + ], + 'ModifyControlPolicyPosition' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], 'operationType' => 'write', - 'deprecated' => false, + 'deprecated' => true, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68497', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68468', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" - .' '."\n" - .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" - ."\n" - .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- zh(默认):中文。'."\n" + .'- en:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'NewOrder', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略优先级修改后,该策略的新优先级。'."\n" - .'> 新优先级的取值范围,请参见[查询优先级生效范围API](~~474145~~)', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '互联网边界防火墙IPv4访问控制策略的流量方向。取值:'."\n" + ."\n" + .'- in:外对内流量。'."\n" + .'- out:内对外流量。', 'type' => 'string', 'required' => true, 'example' => 'in'], ], [ - 'name' => 'OldOrder', + 'name' => 'NewOrder', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略优先级修改前,该策略的原优先级。'."\n" - ."\n" - .'> 此参数不推荐使用, 建议使用AclUuid参数指定要修改的策略。', - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], + 'schema' => ['description' => '为互联网边界防火墙IPv4访问控制策略设置一个新的优先级。'."\n" + .'优先级使用数字表示,输入数字1表示优先级最高,数字越大优先级越低。'."\n" + ."\n" + .'> 新的优先级数字不能超出您已创建的互联网边界防火墙IPv4策略优先级的范围,否则会导致调用该接口时出错。'."\n" + .'> 建议您在调用该接口前,先调用[DescribePolicyPriorUsed](~~138862~~)查询互联网边界防火墙指定流量方向的IPv4策略优先级范围。', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'AclUuid', + 'name' => 'OldOrder', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'修改访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', - 'type' => 'string', - 'required' => false, - 'example' => '2746d9ff-5d7c-449d-a2a9-ccaa15fe****', - ], + 'schema' => ['description' => '要修改的互联网边界防火墙IPv4访问控制策略当前的优先级。', 'type' => 'string', 'required' => true, 'example' => '5'], ], ], 'responses' => [ @@ -40823,128 +34400,67 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorAclEffectiveTimeNonPermanent', - 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorParametersOldOrder', 'errorMessage' => 'The oldOrder is invalid.', 'description' => '无效的oldOrder'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], ], ], 'staticInfo' => [ + 'substitutions' => ['Cloudfw::2017-12-07::ModifyControlPolicyPriority'], 'returnType' => 'synchronous', ], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => '修改VPC防火墙策略组访问控制策略优先级', - 'description' => '本接口一般用于修改指定VPC防火墙策略组访问控制策略的优先级。'."\n" + 'title' => '修改访问控制策略的优先级(废弃)', + 'summary' => '修改互联网边界防火墙IPv4访问控制策略(表示访问控制策略中的访问源IP、目的IP使用IPv4格式)的优先级。', + 'description' => '本接口一般用于修改互联网边界防火墙IPv4访问控制策略的优先级。暂不支持以调用接口的方式修改互联网边界防火墙IPv6访问控制策略的优先级。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyVpcFirewallAclEngineMode' => [ - 'summary' => '修改VPC防火墙ACL引擎模式。', - 'methods' => [ - 'post', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicyPosition'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', + ], + 'ModifyControlPolicyPriority' => [ + 'summary' => '修改访问控制策略的优先级。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -40953,49 +34469,22 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68469', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], ], 'parameters' => [ [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'VpcFirewallId', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '访问控制策略唯一标识。', 'type' => 'string', 'required' => true, 'example' => '3770d603-3534-4878-b845-f00095ee****'], ], [ - 'name' => 'StrictMode', + 'name' => 'Order', 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '是否启用严格模式'."\n" - ."\n" - .'- 1:严格模式'."\n" - .'- 0:宽松模式', - 'type' => 'string', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '访问控制策略生效的优先级。', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ @@ -41003,54 +34492,193 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', - ], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '586F34E8-3F16-4C08-9FFC-8FFDC64B****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorParametersOldOrder', 'errorMessage' => 'The oldOrder is invalid.', 'description' => '无效的oldOrder'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred. Try again later.', 'description' => '请求错误,请稍后重试。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改访问控制策略的优先级', + 'description' => '本接口一般用于修改流量通过云防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPriority', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"586F34E8-3F16-4C08-9FFC-8FFDC64B****\\"\\n}","type":"json"}]', + ], + 'ModifyDefaultIPSConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68470', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'CtiRules', + 'in' => 'query', + 'schema' => ['description' => '威胁情报开关。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'BasicRules', + 'in' => 'query', + 'schema' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'PatchRules', + 'in' => 'query', + 'schema' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开启。'."\n" + ."\n" + .'- **0**:关闭。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + ."\n" + .'- **0**:观察模式。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '0'], + ], + [ + 'name' => 'RuleClass', + 'in' => 'query', + 'schema' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'MaxSdl', + 'in' => 'query', + 'schema' => ['description' => '敏感数据检测每日检测流量上限。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '100'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '65885B52-00EC-5728-96******'], + ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - 'title' => '修改VPC防火墙ACL引擎模式', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ResetVpcFirewallRuleHitCount' => [ - 'summary' => '将指定的VPC防火墙策略组访问控制策略的命中计数清零。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改默认IPS配置', + 'summary' => '修改默认IPS配置。', + 'changeSet' => [ + ['createdAt' => '2025-02-21T05:55:20.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2025-01-08T02:47:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-22T09:15:57.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultIPSConfig'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65885B52-00EC-5728-96******\\"\\n}","type":"json"}]', + ], + 'ModifyDnsFirewallPolicy' => [ + 'summary' => '修改DNS防火墙规则', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41062,39 +34690,90 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68521', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68471', + 'abilityTreeNodes' => ['FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => false, 'example' => 'log'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中的目的地址。'."\n" + ."\n" + .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" + .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" + .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" + .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => false, 'example' => 'db_group'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名', 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.21.**/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', 'type' => 'string', 'required' => false, 'example' => '192.0.21.**/24'], ], [ 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的唯一标识ID。'."\n" - ."\n" - .'重置访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df221a****', - ], + 'schema' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df22****'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR)'."\n" + ."\n" + .'- **group**:源地址簿', 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'Priority', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略优先级修改前,该策略的优先级。', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -41102,64 +34781,61 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorAclRuleDuplicate', 'errorMessage' => 'acl rule duplicate.', 'description' => '相同策略以存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => '将VPC防火墙问控制策略命中计数清零', - 'description' => '本接口一般用于将指定的VPC防火墙策略组访问控制策略的命中计数清零。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteVpcFirewallControlPolicy' => [ - 'summary' => '删除指定VPC防火墙策略组的访问控制策略。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改DNS防火墙规则', + 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79****\\"\\n}","type":"json"}]', + ], + 'ModifyFirewallV2RoutePolicySwitch' => [ + 'summary' => '修改路由策略开关。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41168,60 +34844,49 @@ 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68166', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '142877', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'- **zh**:中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclUuid', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙访问控制策略的唯一标识ID。'."\n" - ."\n" - .'删除安全访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df2214****', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-5b202e7f0be64611****'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'TrFirewallRoutePolicyId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" - ."\n" - .' 例如:cen-ervw0g12b5jbw*\\*\\*\\*'."\n" - ."\n" - .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" - .' '."\n" - .' 例如:vfw-a42bbb7b887148c9*\\*\\*\\*', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c91****', - ], + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => false, 'example' => 'policy-93684cc5caa44b2e****'], + ], + [ + 'name' => 'TrFirewallRoutePolicySwitchStatus', + 'in' => 'query', + 'schema' => ['description' => '策略开关。取值:'."\n" + ."\n" + .'- open:开启'."\n" + ."\n" + .'- close:关闭', 'type' => 'string', 'required' => false, 'example' => 'open'], + ], + [ + 'name' => 'ShouldRecover', + 'in' => 'query', + 'schema' => ['description' => '是否恢复引流配置。取值:'."\n" + ."\n" + .'- true:路由回滚'."\n" + ."\n" + .'- false:路由撤销', 'type' => 'string', 'required' => false, 'example' => 'false'], ], ], 'responses' => [ @@ -41229,232 +34894,158 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '1F6D4A8D-EC01-5996-A61A-AA3B56490C00'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAppId', - 'errorMessage' => 'The AppId parameter is incorrect.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersProto', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestPort', - 'errorMessage' => 'The dst_port is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'An error occurred while resolving the domain.', - ], - [ - 'errorCode' => 'ErrorParametersAclUuid', - 'errorMessage' => 'Specified parameter AclUuid is not valid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorIllegalRoutePolicyStatusUpdate', 'errorMessage' => 'Can not update policy status.', 'description' => '无法更新路由模板状态,请检查路由模板状态是否正在更新中。'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => '无法操作防火墙,防火墙处在更新状态, 请检查是否有引流模板正在创建、删除、更新中、开启或关闭中。'], + ['errorCode' => 'ErrorTrFwBackUpAssocationNotExist', 'errorMessage' => 'Tr firewall back up association not Exist.', 'description' => '无法获取到开启引流场景之前的路由表配置,开启引流场景之前的路由表可能已被删除。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => 'TR防火墙引流场景不存在'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', - 'title' => '删除VPC防火墙策略组访问控制策略', - 'description' => '本接口一般用于删除指定VPC防火墙策略组的访问控制策略。防护每个云企业网的VPC防火墙实例和防护每个高速通道的VPC防火墙实例使用不同的访问控制策略。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'BatchDeleteVpcFirewallControlPolicy' => [ - 'summary' => '批量删除VPC防火墙访问控制策略。', - 'methods' => [ - 'get', - 'post', + 'title' => '修改路由策略开关', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFirewallV2RoutePolicySwitch'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyFirewallV2RoutePolicySwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1F6D4A8D-EC01-5996-A61A-AA3B56490C00\\"\\n}","type":"json"}]', + ], + 'ModifyInstanceMemberAttributes' => [ + 'summary' => '更新云防火墙成员账号信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '195162', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68474', + 'abilityTreeNodes' => ['FEATUREcfw98HUGQ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], - ], - [ - 'name' => 'AclUuidList', + 'name' => 'Members', 'in' => 'query', - 'style' => 'repeatList', + 'style' => 'flat', 'schema' => [ - 'description' => 'ACL UUID 列表。', + 'description' => '云防火墙成员账号。', 'type' => 'array', 'items' => [ - 'description' => 'ACL UUID 列表。', - 'type' => 'string', + 'description' => '需要修改属性的成员账号信息列表。', + 'type' => 'object', + 'properties' => [ + 'MemberDesc' => ['description' => '云防火墙成员账号的备注信息。', 'type' => 'string', 'required' => true, 'example' => 'renewal'], + 'MemberUid' => ['description' => '云防火墙成员账号的UID。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '123412341234****'], + ], 'required' => false, - 'example' => '6fb052a4-baad-4d86-8e2e-b79cc060535c', ], 'required' => true, - 'maxItems' => 100, ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'AB74E747-BA5C-492C-87DD-CEA67FCFFFE5'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParamUuidOrOrderMiss', - 'errorMessage' => 'Either uuid or oldOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => '无效的参数'], + ['errorCode' => 'ErrorInstanceTooManyMembersOnce', 'errorMessage' => 'too many members once.', 'description' => '单次添加或删除的成员数量超限。'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","type":"json"}]', - 'title' => '批量删除VPC防火墙访问控制策略', - ], - 'DescribeVpcListLite' => [ - 'summary' => '获取VPC列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '更新云防火墙成员账号信息', + 'description' => '本接口一般用于更新云防火墙成员账号信息。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-08-22T09:15:45.000Z', 'description' => '错误码发生变更'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMemberAttributes'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyInstanceMemberAttributes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\n","errorExample":""}]', + ], + 'ModifyIpsRules' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41466,67 +35057,74 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68434', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68475', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '218.1.147.XXX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => [ + 'description' => '请求和接收消息的语言类型。', + 'type' => 'string', 'required' => false, - 'example' => '58.34.174.194', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], + 'example' => 'zh', ], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', + 'description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'VpcName', + 'name' => 'RuleType', 'in' => 'query', 'schema' => [ - 'description' => 'VPC的实例名称。', + 'description' => '规则类型。', 'type' => 'string', - 'required' => false, - 'example' => 'vpc-shanghai', + 'required' => true, + 'enumValueTitles' => ['patchRule' => 'patchRule', 'basicRule' => 'basicRule'], + 'example' => 'basicRule', ], ], [ - 'name' => 'VpcId', + 'name' => 'RuleAction', 'in' => 'query', 'schema' => [ - 'description' => 'VPC实例ID。', + 'description' => '规则动作。', 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + 'required' => true, + 'enumValueTitles' => ['drop' => 'drop', 'alert' => 'alert', 'close' => 'close'], + 'example' => 'alert', ], ], [ - 'name' => 'RegionNo', + 'name' => 'Rules', + 'in' => 'query', + 'schema' => ['description' => '规则列表。', 'type' => 'string', 'required' => true, 'example' => '[\\"4664138c-4f81-4650-9c8d-2230ea0d****\\"]'], + ], + [ + 'name' => 'FirewallType', 'in' => 'query', 'schema' => [ - 'description' => 'VPC所在的地域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', + 'description' => '云防火墙类型。', 'type' => 'string', 'required' => false, - 'example' => 'cn-shanghai', + 'enumValueTitles' => ['VpcFirewall' => 'VPC边界', 'InternetFirewall' => '互联网边界'], + 'example' => 'VpcFirewall', + 'default' => 'InternetFirewall', ], ], ], @@ -41535,80 +35133,51 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '55E56A55-D93A-5614-AE00-BE2F8077F891', - ], - 'VpcList' => [ - 'description' => 'VPC信息列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC信息列表。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-wz9dqhljd10fk0b4eh885', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'Cloud_Firewall_VPC', - ], - 'RegionNo' => [ - 'description' => 'VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '30FB7F84-1FC5-5A3D-BBBE-5779FC74****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorJsonDecode', - 'errorMessage' => 'decoding json failed', - ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => '更新操作日志错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"55E56A55-D93A-5614-AE00-BE2F8077F891\\",\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9dqhljd10fk0b4eh885\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取VPC列表', - ], - 'DescribeDnsFirewallPolicy' => [ - 'summary' => '获取DNS防火墙ACL列表。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改IPS规则', + 'summary' => '修改IPS规则。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30FB7F84-1FC5-5A3D-BBBE-5779FC74****\\"\\n}","type":"json"}]', + ], + 'ModifyIpsRulesToDefault' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -41620,706 +35189,719 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68243', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', + 'abilityTreeCode' => '68476', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '140.205.118.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'CurrentPage', + 'name' => 'RuleType', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的当前页的页码。默认值为1。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '规则类型。 取值:'."\n" + .'- **basicRule**'."\n" + .'- **customize**', 'type' => 'string', 'required' => true, 'example' => 'customize'], ], [ - 'name' => 'PageSize', + 'name' => 'Rules', 'in' => 'query', - 'schema' => [ - 'description' => '本次查询获取的数量。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '规则列表。', 'type' => 'string', 'required' => false, 'example' => '['."\n" + .' "uuid_1",'."\n" + .' "uuid_2"'."\n" + .']'], ], [ - 'name' => 'Source', + 'name' => 'AttackApp', 'in' => 'query', - 'schema' => [ - 'description' => 'DNS边界防火墙访问控制策略中的访问源地址。支持使用模糊查询。'."\n" - ."\n" - .'> Source可以是单个CIDR地址或地址簿名称。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/24', - ], + 'schema' => ['description' => '攻击应用。', 'type' => 'string', 'required' => false, 'example' => 'PHP'], ], [ - 'name' => 'Destination', + 'name' => 'FirewallType', 'in' => 'query', + 'schema' => ['description' => '云防火墙类型。取值:'."\n" + .'- **VpcFirewall**:表示VPC边界防火墙。'."\n" + .'- **InternetFirewall**(默认):表示互联网边界防火墙。', 'type' => 'string', 'required' => false, 'example' => 'InternetFirewall', 'default' => 'InternetFirewall'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'DNS边界防火墙访问控制策略中的目的地址。支持模糊查询。'."\n" - ."\n" - .'> Destination可以是单个CIDR地址或域名,也可以是地址薄名称。', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.XX.XX/24', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'B713361D-62E2-5FF0-9D29-BBFAAF40****'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => '更新操作日志错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改IPS规则为默认', + 'summary' => '修改IPS规则为默认', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRulesToDefault', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B713361D-62E2-5FF0-9D29-BBFAAF40****\\"\\n}","type":"json"}]', + ], + 'ModifyNatFirewallControlPolicy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Description', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '171412', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'DNS边界防火墙策略的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'AclAction', 'in' => 'query', - 'schema' => [ - 'description' => 'DNS边界防火墙访问控制策略中设置的访问流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察'."\n" - ."\n" - .'> 不设置该参数表示查询所有动作。', - 'type' => 'string', - 'required' => false, - 'example' => 'accept', - ], + 'schema' => ['description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => false, 'example' => 'log'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。支持模糊查询。'."\n" + ."\n" + .'> 不设置该参数表示查询所有策略的描述信息。'."\n", 'type' => 'string', 'required' => false, 'example' => 'test description'], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙访问控制策略中流量访问的目的端口。'."\n" + ."\n" + .'> 当**DestPortType**为`port`时,设置该参数。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中的目的地址。'."\n" + ."\n" + .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" + .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" + .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" + .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', 'type' => 'string', 'required' => false, 'example' => 'x.x.x.x/32'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中的目的地址类型。取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名'."\n" + .'- **location**:目的区域', 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'NatGatewayId', + 'in' => 'query', + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx'], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中流量访问的安全协议类型。支持的应用类型有以下几种:'."\n" + ."\n" + .'- **ANY**'."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + ."\n" + .'> **ANY**表示策略应用在所有类型的应用中。'."\n" + ."\n" + .'> 访问的目的地址为域名类型的威胁情报地址簿或云服务地址簿时,可选配置TCP协议。选择TCP时,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL五种。', 'type' => 'string', 'required' => false, 'example' => 'TCP'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.XX.XX/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', 'type' => 'string', 'required' => false, 'example' => '10.2.XX.XX/24'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'删除安全访问控制策略,需要提供该策略的唯一标识ID。您可调用DescribeNatFirewallControlPolicy接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => '63ab1c02-926a-4d1b-9ef7-*****'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。取值:'."\n" + .'- **out**:内对外流量。', 'type' => 'string', 'required' => false, 'example' => 'out', 'default' => 'out'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿', 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, 'example' => 'port'], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的目的端口地址簿名称。', 'type' => 'string', 'required' => false, 'example' => 'my_dest_port_group'], ], [ 'name' => 'Release', 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略的状态。取值:'."\n" + ."\n" + .'- **true**:策略开启状态'."\n" + ."\n" + .'- **false**:策略关闭状态', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', + 'description' => '应用名称', + 'type' => 'array', + 'items' => ['description' => '访问控制策略支持的应用类型列表。', 'type' => 'string', 'required' => false, 'example' => 'ANY'], 'required' => false, - 'example' => 'true', + 'maxItems' => 30, ], ], [ - 'name' => 'AclUuid', + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'- **0**:基于FQDN'."\n" + .'- **1**:基于DNS动态解析'."\n" + .'- **2**:基于FQDN与DNS动态解析'."\n" + ."\n" + .'> 域名识别模式包含FQDN时,只允许配置TCP协议,应用可选HTTP/HTTPS/SMTP/SMTPS/SSL/IMAPS/POPS。', 'type' => 'string', 'required' => false, 'example' => '0'], + ], + [ + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '防火墙规则的唯一标识id。', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'example' => 'b6c8f905-2eb6-442a-ba35-9416e****', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', ], ], [ - 'name' => 'IpVersion', + 'name' => 'RepeatDays', 'in' => 'query', - 'allowEmptyValue' => true, + 'style' => 'flat', 'schema' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**:代表IPv4地址'."\n" - .'- **6**:代表IPv6地址', - 'type' => 'string', + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], 'required' => false, - 'example' => '4', - 'enum' => [ - '4', - '6', - ], ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', 'type' => 'string', 'required' => false, 'example' => '08:00'], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', 'type' => 'string', 'required' => false, 'example' => '23:30'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '本次查询获取的数量。', - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '0A4ACDE9-9F9F-56C1-B3B7-60971BA1****', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'string', - 'example' => '10', - ], - 'Policys' => [ - 'description' => 'DNS防火墙访问控制策略的信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'DNS防火墙访问控制策略的信息。', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'example' => 'in', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。', - 'type' => 'string', - 'example' => 'ip', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'Destination' => [ - 'description' => 'DNS边界防火墙访问控制策略中的目的地址。取值:'."\n" - ."\n" - .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" - ."\n" - .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" - ."\n" - .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。', - 'type' => 'string', - 'example' => 'x.x.x.x/32', - ], - 'SourceType' => [ - 'description' => 'DNS边界防火墙访问控制策略中源地址类型。取值:'."\n" - ."\n" - .'- **net**:源CIDR地址'."\n" - .'- **group**:源地址簿', - 'type' => 'string', - 'example' => 'net', - ], - 'AclUuid' => [ - 'description' => '访问控制策略的唯一标识id。', - 'type' => 'string', - 'example' => '01281255-d220-4db1-8f4f-c4df221a****', - ], - 'Priority' => [ - 'description' => '访问控制策略优先级。数字越小,优先级越高。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '110', - ], - 'Source' => [ - 'description' => '访问控制策略中的访问源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" - .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。', - 'type' => 'string', - 'example' => '192.0.XX.XX/24', - ], - 'DestinationType' => [ - 'description' => '访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'example' => 'net', - ], - 'HitTimes' => [ - 'description' => '访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'IpVersion' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**:代表IPv4地址'."\n" - .'- **6**:代表IPv6地址', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'Description' => [ - 'description' => 'DNS边界防火墙访问控制策略的描述信息。', - 'type' => 'string', - 'example' => 'test', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', - 'type' => 'string', - 'example' => 'ip', - ], - 'AclAction' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'accept', - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'DestinationAddrs' => [ - 'description' => '目的地址簿的地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '目的地址簿的地址列表。', - 'type' => 'string', - 'example' => '192.0.XX.XX/24'."\n", - ], - ], - 'SourceAddrs' => [ - 'description' => '源地址。', - 'type' => 'array', - 'items' => [ - 'description' => '源地址。', - 'type' => 'string', - 'example' => '10.2.XX.XX/24'."\n", - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '3768197C-E6E8-52CD-8358-*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorParametersDestinationCount', 'errorMessage' => 'Exceeding the number of countries in a single ACL.', 'description' => '超出一条ACL选取区域个数, 建议拆分成多条ACL'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'Acl策略生效时间非永久时,不允许更新状态。'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"0A4ACDE9-9F9F-56C1-B3B7-60971BA1****\\",\\n \\"TotalCount\\": \\"10\\",\\n \\"Policys\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"DestinationGroupType\\": \\"ip\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"Destination\\": \\"x.x.x.x/32\\",\\n \\"SourceType\\": \\"net\\",\\n \\"AclUuid\\": \\"01281255-d220-4db1-8f4f-c4df221a****\\",\\n \\"Priority\\": 110,\\n \\"Source\\": \\"192.0.XX.XX/24\\",\\n \\"DestinationType\\": \\"net\\",\\n \\"HitTimes\\": 100,\\n \\"IpVersion\\": 6,\\n \\"Description\\": \\"test\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"AclAction\\": \\"accept\\",\\n \\"Release\\": \\"true\\",\\n \\"DestinationAddrs\\": [\\n \\"192.0.XX.XX/24\\\\n\\"\\n ],\\n \\"SourceAddrs\\": [\\n \\"10.2.XX.XX/24\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取DNS防火墙ACL列表', - ], - 'DescribePrefixLists' => [ - 'summary' => '查询前缀列表。', - 'methods' => [ - 'get', + 'title' => '修改NAT防火墙访问控制策略的配置信息', + 'summary' => '修改NAT防火墙安全访问控制策略的配置信息。', + 'description' => '本接口一般用于修改流量通过NAT防火墙方式为放行、拒绝或观察的访问控制策略的配置信息。', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-10-28T10:01:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-22T07:46:59.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-12-07T06:51:11.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:17.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3768197C-E6E8-52CD-8358-*****\\"\\n}","type":"json"}]', + ], + 'ModifyNatFirewallControlPolicyPosition' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '157353', - 'abilityTreeNodes' => [ - 'FEATUREcfw4TUC5U', - ], + 'abilityTreeCode' => '171422', + 'abilityTreeNodes' => ['FEATUREcfw7YI1ZZ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RegionNo', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shenzhen', - ], + 'schema' => ['description' => ' NAT网关的ID。 ', 'type' => 'string', 'required' => true, 'example' => 'ngw-xxxxxx'], + ], + [ + 'name' => 'Direction', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **out**:内对外流量。', 'type' => 'string', 'required' => false, 'example' => 'out', 'default' => 'out'], + ], + [ + 'name' => 'NewOrder', + 'in' => 'query', + 'schema' => ['description' => '为NAT防火墙IPv4访问控制策略设置一个新的优先级。'."\n" + .'优先级使用数字表示,输入数字1表示优先级最高,数字越大优先级越低。'."\n" + ."\n" + .'> 新的优先级数字不能超出您已创建的NAT防火墙IPv4策略优先级的范围,否则会导致调用该接口时出错。'."\n" + ."\n" + .'建议您在调用该接口前,先调用DescribeNatFirewallPolicyPriorUsed查询NAT防火墙指定流量方向的IPv4策略优先级范围。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '5'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => '66461eea-e659-4225-84c9-*****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '67FD76C2-C493-5815-8107-643FD7AB77C7', - ], - 'PrefixList' => [ - 'description' => '前缀列表信息组成的数组。', - 'type' => 'array', - 'items' => [ - 'description' => '前缀列表信息组成的数组。', - 'type' => 'object', - 'properties' => [ - 'PrefixListId' => [ - 'description' => '前缀列表ID。', - 'type' => 'string', - 'example' => 'pl-uf64nco3ujjqchx6aaji', - ], - 'PrefixListName' => [ - 'description' => '前缀列表的名称。', - 'type' => 'string', - 'example' => 'participant-name', - ], - 'Description' => [ - 'description' => '描述。', - 'type' => 'string', - 'example' => 'TCP_14900-14911', - ], - 'CreationTime' => [ - 'description' => '创建时间。', - 'type' => 'string', - 'example' => '2023-10-16T08:31:06Z', - ], - 'AssociationCount' => [ - 'description' => '关联资源的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'MaxEntries' => [ - 'description' => '前缀列表支持的最大条目容量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'AddressFamily' => [ - 'description' => '前缀列表的地址族。可能值:'."\n" - ."\n" - .'- IPv4。'."\n" - .'- IPv6。', - 'type' => 'string', - 'example' => 'IPv4', - ], - ], - ], - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '68617208-F5F7-5B44-BB1E-*****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'parameters invalid.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorParametersNatGatewayId', 'errorMessage' => 'Invalid parameters NatGatewayId.', 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParametersPageSizeOrNo', 'errorMessage' => 'Either pageSize or pageNo is invalid.', 'description' => '无效的pageSize或者pageNo'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersNewOrder', 'errorMessage' => 'The newOrder is invalid.', 'description' => '无效的newOrder'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"67FD76C2-C493-5815-8107-643FD7AB77C7\\",\\n \\"PrefixList\\": [\\n {\\n \\"PrefixListId\\": \\"pl-uf64nco3ujjqchx6aaji\\",\\n \\"PrefixListName\\": \\"participant-name\\",\\n \\"Description\\": \\"TCP_14900-14911\\",\\n \\"CreationTime\\": \\"2023-10-16T08:31:06Z\\",\\n \\"AssociationCount\\": 2,\\n \\"MaxEntries\\": 20,\\n \\"AddressFamily\\": \\"IPv4\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询前缀列表', - ], - 'AddDnsFirewallPolicy' => [ - 'summary' => '添加DNS防火墙ACL。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改NAT防火墙访问控制策略的优先级', + 'summary' => '修改NAT防火墙访问控制策略的优先级。', + 'changeSet' => [ + ['createdAt' => '2024-03-13T11:58:30.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-12-07T06:51:11.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicyPosition'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicyPosition', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"68617208-F5F7-5B44-BB1E-*****\\"\\n}","type":"json"}]', + ], + 'ModifyObjectGroupOperation' => [ + 'summary' => '修改对象组操作。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', + 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68096', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], + 'abilityTreeCode' => '68478', + 'abilityTreeNodes' => ['FEATUREcfwY8M1K1'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.97', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '123.xxx.251.60'], ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AclAction', + 'name' => 'ObjectOperation', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => true, - 'example' => 'log', - ], + 'schema' => ['description' => '操作加白、取消加白或关注、取消关注。'."\n" + .'取值:'."\n" + ."\n" + .'- **subscribe**:关注。'."\n" + .'- **unsubscribe**:取消关注。'."\n" + .'- **ignore**:加白。'."\n" + .'- **cancelIgnore**:取消加白。', 'type' => 'string', 'required' => true, 'example' => 'ignore'], ], [ - 'name' => 'Description', + 'name' => 'ObjectType', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'test', - ], + 'schema' => ['description' => '外联加白或关注类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **assetsIp**:资产ip。'."\n" + .'- **destinationIp**:目的ip。'."\n" + .'- **destinationPort**:目的端口。'."\n" + .'- **destinationDomain**:目的域名。', 'type' => 'string', 'required' => true, 'example' => 'destinationDomain'], ], [ - 'name' => 'Destination', + 'name' => 'Direction', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的目的地址。'."\n" - ."\n" - .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" - .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" - .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" - .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => true, - 'example' => 'db_group', - ], + 'schema' => ['description' => '安全访问控制策略管控的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **in**:流量从外到内。'."\n" + .'- **out**:流量从内到外。', 'type' => 'string', 'required' => true, 'example' => 'out'], ], [ - 'name' => 'DestinationType', + 'name' => 'ObjectList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问控制策略中的目的地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名', - 'type' => 'string', + 'description' => '操作对象列表。', + 'type' => 'array', + 'items' => ['description' => '操作对象列表。', 'type' => 'string', 'required' => false, 'example' => '8.25.xxx.55'], 'required' => true, - 'example' => 'domain', + 'maxItems' => 200, ], ], [ - 'name' => 'Direction', + 'name' => 'Comment', 'in' => 'query', + 'allowEmptyValue' => true, + 'schema' => ['description' => '操作的备注信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'required' => false, - 'example' => 'out', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CB32593D************775F41D6ED84'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorOutgoingIgnoredReachLimit', 'errorMessage' => 'outgoing ignored list reach limit', 'description' => '主动外联白名单个数达到最大'], + ['errorCode' => 'ErrorSourceCodeError', 'errorMessage' => 'The source code is invalid.', 'description' => '无效的source code'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorObjectOperation', 'errorMessage' => 'The objectOperation is invalid.', 'description' => '无效的objectOperation '], + ['errorCode' => 'ErrorDirectionError', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorObjectType', 'errorMessage' => 'The objectType is invalid.', 'description' => '无效的objectType '], + ['errorCode' => 'ErrorObjectList', 'errorMessage' => 'The objectList is invalid.', 'description' => '无效的objectList '], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => '内部错误:数据库删除错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改对象组操作', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyObjectGroupOperation'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.XX.XX/24'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', - 'type' => 'string', - 'required' => true, - 'example' => '192.168.0.223/32', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyObjectGroupOperation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB32593D************775F41D6ED84\\"\\n}","type":"json"}]', + ], + 'ModifyPolicyAdvancedConfig' => [ + 'summary' => '开启或关闭访问控制策略严格模式。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68479', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'SourceType', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR)'."\n" - ."\n" - .'- **group**:源地址簿', - 'type' => 'string', - 'required' => true, - 'example' => 'net', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'Priority', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略优先级修改前,该策略的优先级。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Release', + 'name' => 'InternetSwitch', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => true, - 'example' => 'true', - ], + 'schema' => ['description' => '修改访问控制策略严格模式的开关状态。取值:'."\n" + ."\n" + .'- **on**:开启严格模式。'."\n" + .'- **off**:关闭严格模式。', 'type' => 'string', 'required' => true, 'example' => 'off'], ], [ - 'name' => 'IpVersion', + 'name' => 'Eips', 'in' => 'query', + 'style' => 'flat', 'schema' => [ - 'description' => '支持的IP地址版本。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **4**:表示IPv4地址'."\n" - ."\n" - .'- **6**:表示IPv6地址', - 'type' => 'string', - 'required' => true, - 'example' => '4', - 'enum' => [ - '4', - '6', - ], + 'description' => 'IP列表,多个IP的协议版本需要保持一致,数量最多100个。', + 'type' => 'array', + 'items' => ['description' => 'IP。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.1'], + 'required' => false, + 'maxItems' => 100, ], ], ], @@ -42328,466 +35910,307 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'AclUuid' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => 'f88dae6f-XXX-XXX-613de9ab2be8', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '71209DFE-XXX-XXX-52B4A4E9DA3B', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorAclRuleDuplicate', - 'errorMessage' => 'acl rule duplicate.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AclUuid\\": \\"f88dae6f-XXX-XXX-613de9ab2be8\\",\\n \\"RequestId\\": \\"71209DFE-XXX-XXX-52B4A4E9DA3B\\"\\n}","type":"json"}]', - 'title' => '添加DNS防火墙ACL', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'ModifyDnsFirewallPolicy' => [ - 'summary' => '修改DNS防火墙规则。', - 'methods' => [ - 'post', - 'get', + 'title' => '开启或关闭访问控制策略严格模式', + 'description' => '本接口一般用于开启或关闭访问控制策略严格模式。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-04-15T07:05:18.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPolicyAdvancedConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', + ], + 'ModifyPrivateDnsEndpoint' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68471', - 'abilityTreeNodes' => [ - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '226261', + 'abilityTreeNodes' => ['FEATUREcfwTW8EA1'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'AccessInstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '实例ID', 'type' => 'string', 'required' => true, 'example' => 'pd-12345'], ], [ - 'name' => 'Lang', + 'name' => 'PrivateDnsType', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '私有DNS类型。取值:'."\n" + .'- **PrivateZone**'."\n" + .'- **Custom**', 'type' => 'string', 'required' => true, 'example' => 'Custom'], ], [ - 'name' => 'AclAction', + 'name' => 'PrimaryDns', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中流量通过云防火墙的方式。取值:'."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'required' => false, - 'example' => 'log', - ], + 'schema' => ['description' => '主DNS。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.1'], ], [ - 'name' => 'Description', + 'name' => 'StandbyDns', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], + 'schema' => ['description' => '备DNS。', 'type' => 'string', 'required' => false, 'example' => '1.1.1.2'], ], [ - 'name' => 'Destination', + 'name' => 'AccessInstanceName', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略中的目的地址。'."\n" - ."\n" - .'- 当**DestinationType**为net时,**Destination**为目的CIDR。例如:1.2.3.4/24'."\n" - .'- 当**DestinationType**为group时,**Destination**为目的地址簿名称。例如:db_group'."\n" - .'- 当**DestinationType**为domain时,**Destination**为目的域名。例如:*.aliyuncs.com'."\n" - .'- 当**DestinationType**为location时,**Destination**为目的区域(具体区域位置编码见后文)。例如: \\["BJ11", "ZB"\\]', - 'type' => 'string', - 'required' => false, - 'example' => 'db_group', - ], + 'schema' => ['description' => '私有实例名称。', 'type' => 'string', 'required' => true, 'example' => 'Test'], ], [ - 'name' => 'DestinationType', + 'name' => 'RegionNo', 'in' => 'query', + 'schema' => ['description' => '实例所在的地域ID。', 'type' => 'string', 'required' => true, 'example' => 'cn-hangzhou'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '访问控制策略中的目的地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名', - 'type' => 'string', - 'required' => false, - 'example' => 'net', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54'], + ], ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorPrivateDnsNotFound', 'errorMessage' => 'private dns not found.', 'description' => '指定的私有DNS不存在'], + ['errorCode' => 'ErrorPrivateDnsIpAddress', 'errorMessage' => 'private dns ip address error.', 'description' => '私有DNS IP错误'], + ['errorCode' => 'ErrorPrivateDnsIpSame', 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', 'description' => '私有DNS的主备DNS IP不能相同'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改私网DNS终端节点', + 'summary' => '修改私网DNS终端节点', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Source', - 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略中的源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址,例如:10.2.21.**/24'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称,例如:db_group。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.21.**/24', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\"\\n}","type":"json"}]', + ], + 'ModifyResourceTypeAutoEnable' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'AclUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => true, - 'example' => '00281255-d220-4db1-8f4f-c4df22****', - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '240055', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'autoTest' => true, + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'SourceType', + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR)'."\n" - ."\n" - .'- **group**:源地址簿', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'example' => 'net', + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], [ - 'name' => 'Release', + 'name' => 'ResourceTypeAutoEnable', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'required' => false, - 'example' => 'true', - ], + 'schema' => ['description' => '资源类型开启自动保护。', 'type' => 'string', 'required' => false, 'example' => '{"SlbEIP":true,"GaEIP":false,"EcsIPv6":true,"NatPublicIP":true,"SlbIPv6":false,"BastionHostIngressIP":false,"EIP":true,"NatEIP":true,"SlbPublicIP":true,"EcsEIP":true,"EniEIP":true,"HAVIP":true,"NlbEIP":true,"NlbIPv6":false,"EniEIPv6":false,"EcsPublicIP":true,"AlbIPv6":true,"BastionHostIP":false,"BastionHostEgressIP":true,"GaEIPV6":false,"AlbEIP":false}'], ], [ - 'name' => 'Priority', + 'name' => 'RegionNo', 'in' => 'query', - 'schema' => [ - 'description' => '访问控制策略优先级修改前,该策略的优先级。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '地区编号', 'description' => '地区编号', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAclNotExist', - 'errorMessage' => 'The ACL does not exist.', - ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersDestination', - 'errorMessage' => 'The Destination parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAction', - 'errorMessage' => 'The action is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - [ - 'errorCode' => 'ErrorAclRuleDuplicate', - 'errorMessage' => 'acl rule duplicate.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改新增资产自动保护', + 'summary' => '修改新增资产自动保护。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79****\\"\\n}","type":"json"}]', - 'title' => '修改DNS防火墙规则', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', ], - 'DeleteDnsFirewallPolicy' => [ - 'summary' => '删除DNS防火墙规则。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifySensitiveSwitch' => [ + 'summary' => '修改敏感数据开关', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68148', - 'abilityTreeNodes' => [ - 'FEATUREcfwBM3Y9U', - ], + 'abilityTreeCode' => '247466', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], + 'autoTest' => true, 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '140.210.39.***', - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'SensitiveCategory', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '类型', 'type' => 'string', 'required' => false, 'example' => 'id_card'], ], [ - 'name' => 'AclUuid', + 'name' => 'SwitchStatus', 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'required' => true, - 'example' => '498946f4-c98a-45c0-9038-635c******', - ], + 'schema' => ['description' => '状态。取值:'."\n" + .'- **1**:开启。'."\n" + .'- **0**:关闭。', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '32314C1E-82CF-582C-853A-B1773F******', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改敏感数据开关', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"32314C1E-82CF-582C-853A-B1773F******\\"\\n}","type":"json"}]', - 'title' => '删除DNS防火墙规则', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', ], - 'DescribeThreatIntelligenceSwitch' => [ - 'summary' => '查询威胁情报配置的信息。', - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'ModifySlsDispatchStatus' => [ + 'summary' => '修改SLS投递。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -42796,105 +36219,119 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', + 'abilityTreeCode' => '68482', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'EnableStatus', + 'in' => 'query', + 'schema' => ['title' => '投递: true:有效,false:不投递。', 'description' => '是否投递: true:有效,false:不投递。', 'type' => 'boolean', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'DispatchValue', + 'in' => 'query', + 'schema' => ['title' => '分类日志的key'."\n" + .'共有以下取值:'."\n" + .'['."\n" + .'"internet_log",'."\n" + .'"vpc_firewall_log",'."\n" + .'"nat_firewall_log",'."\n" + .'"ipv6_firewall_log",'."\n" + .'"dns_firewall_log"'."\n" + .']', 'description' => '分类日志的key。取值:'."\n" + ."\n" + .'**internet_log**'."\n" + ."\n" + .'**vpc_firewall_log**'."\n" + ."\n" + .'**nat_firewall_log**'."\n" + ."\n" + .'**ipv6_firewall_log**'."\n" + ."\n" + .'**dns_firewall_log**。', 'type' => 'string', 'required' => false, 'example' => 'internet_log'], + ], + [ + 'name' => 'FilterKeys', + 'in' => 'query', + 'schema' => ['title' => '查询指定过滤条件的场景。用 ","拼接'."\n" + .'['."\n" + .'"attack.acl,other",'."\n" + .'"attack",'."\n" + .'"acl",'."\n" + .'"other",'."\n" + .'"acl,other"'."\n" + .']。', 'description' => '支持的过滤条件。取值:'."\n" + ."\n" + .'**attack**'."\n" + ."\n" + .'**acl**'."\n" + ."\n" + .'**other**。', 'type' => 'string', 'required' => false, 'example' => 'attack,acl'], + ], + [ + 'name' => 'NewRegionId', + 'in' => 'query', + 'schema' => ['title' => '区域。', 'description' => '区域。', 'type' => 'string', 'required' => false, 'example' => 'cn-shanghai'], + ], + [ + 'name' => 'Site', + 'in' => 'query', + 'schema' => ['title' => '这个字段用来指示修改哪个站点,如果日志版本为1,这个字段可以不填,或者global,如果日志版本为2,这个字段必须填,cn或者intl', 'description' => '这个字段用来指示修改哪个站点,如果日志版本为1,这个字段可以不填,或者global,如果日志版本为2,这个字段必须填,cn或者intl。', 'type' => 'string', 'required' => false, 'example' => 'cn'], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '24', - ], - 'CategoryList' => [ - 'description' => '威胁情报分类列表。', - 'type' => 'array', - 'items' => [ - 'description' => '威胁情报分类列表。', - 'type' => 'object', - 'properties' => [ - 'CategoryId' => [ - 'description' => '威胁情报分类ID。', - 'type' => 'string', - 'example' => '3000037', - ], - 'CategoryName' => [ - 'description' => '类型名称。', - 'type' => 'string', - 'example' => 'Tor出口恶意IP'."\n", - ], - 'CategoryDescribe' => [ - 'description' => '类别描述。', - 'type' => 'string', - 'example' => 'Tor出口恶意IP'."\n", - ], - 'CategoryParentId' => [ - 'description' => '威胁情报父级分类 ID。', - 'type' => 'string', - 'example' => '123', - ], - 'Action' => [ - 'description' => '规则动作。取值:'."\n" - ."\n" - .' **alert**:观察.'."\n" - ."\n" - .' **drop**:拦截.', - 'type' => 'string', - 'example' => 'alert', - ], - 'EnableStatus' => [ - 'description' => '开关状态。取值:'."\n" - ."\n" - .' **1**:开启。'."\n" - ."\n" - .' **0**:关闭。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6B8E0379-2629-59A1-B811-96F3E****', - ], + 'RequestId' => ['title' => '返回结果的请求id。', 'description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CE901E31-4AE9-579D-AC37-D2F1BB43****'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'IllegalOperation', 'errorMessage' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', 'description' => '非法操作, 5分钟内不能操作, 请5分钟后重试.'], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 24,\\n \\"CategoryList\\": [\\n {\\n \\"CategoryId\\": \\"3000037\\",\\n \\"CategoryName\\": \\"Tor出口恶意IP\\\\n\\",\\n \\"CategoryDescribe\\": \\"Tor出口恶意IP\\\\n\\",\\n \\"CategoryParentId\\": \\"123\\",\\n \\"Action\\": \\"alert\\",\\n \\"EnableStatus\\": 1\\n }\\n ],\\n \\"RequestId\\": \\"6B8E0379-2629-59A1-B811-96F3E****\\"\\n}","type":"json"}]', - 'title' => '查询威胁情报配置的信息', - 'description' => '本接口一般用于分页查询NAT防火墙访问控制策略的信息。', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改SLS投递状态', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE901E31-4AE9-579D-AC37-D2F1BB43****\\"\\n}","type":"json"}]', ], 'ModifyThreatIntelligenceSwitch' => [ - 'summary' => '修改威胁情报配置的信息。', + 'summary' => '修改威胁情报配置的信息', 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], + 'methods' => ['get', 'post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], @@ -42906,9 +36343,7 @@ 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ @@ -42923,32 +36358,18 @@ 'description' => '威胁情报分类列表。', 'type' => 'object', 'properties' => [ - 'CategoryId' => [ - 'description' => '威胁情报分类ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'IpOutThreatTorExit', - ], - 'Action' => [ - 'description' => '规则动作。取值:'."\n" - .'- **alert**:观察'."\n" - .'- **drop**:拦截', - 'type' => 'string', - 'required' => false, - 'example' => 'alert', - ], - 'EnableStatus' => [ - 'description' => '开关状态。取值:'."\n" - .'- **1**:开启'."\n" - .'- **0**:关闭', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'CategoryId' => ['description' => '威胁情报分类ID。', 'type' => 'string', 'required' => false, 'example' => 'IpOutThreatTorExit'], + 'Action' => ['description' => '规则动作。取值:'."\n" + .'- **alert**:观察'."\n" + .'- **drop**:拦截', 'type' => 'string', 'required' => false, 'example' => 'alert'], + 'EnableStatus' => ['description' => '开关状态。取值:'."\n" + .'- **1**:开启'."\n" + .'- **0**:关闭', 'type' => 'string', 'format' => 'int64', 'required' => false, 'example' => '1'], ], 'required' => false, ], 'required' => false, + 'maxItems' => 100, ], ], ], @@ -42959,134 +36380,68 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-0009012****', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-0009012****'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', + 'staticInfo' => ['returnType' => 'synchronous'], 'title' => '修改威胁情报配置的信息', - ], - 'ModifyIpsRulesToDefault' => [ - 'summary' => '修改IPS规则为默认。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', + ], + 'ModifyTrFirewallV2Configuration' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68476', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '143829', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '140.205.118.XXX', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'RuleType', - 'in' => 'query', - 'schema' => [ - 'description' => '规则类型。 取值:'."\n" - .'- **basicRule**'."\n" - .'- **customize**', - 'type' => 'string', - 'required' => true, - 'example' => 'customize', - ], - ], - [ - 'name' => 'Rules', - 'in' => 'query', - 'schema' => [ - 'description' => '规则列表。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "uuid_1",'."\n" - .' "uuid_2"'."\n" - .']', - ], - ], - [ - 'name' => 'AttackApp', + 'name' => 'FirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '攻击应用。', - 'type' => 'string', - 'required' => false, - 'example' => 'PHP', - ], + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => false, 'example' => 'vfw-tr-bcdf89d405ce4bd2****'], ], [ - 'name' => 'FirewallType', + 'name' => 'FirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **VpcFirewall**:表示VPC边界防火墙。'."\n" - .'- **InternetFirewall**(默认):表示互联网边界防火墙。', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewall', - 'default' => 'InternetFirewall', - ], + 'schema' => ['description' => 'VPC边界防火墙实例名。', 'type' => 'string', 'required' => false, 'example' => 'vpc-firewall'], ], ], 'responses' => [ @@ -43094,173 +36449,57 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'B713361D-62E2-5FF0-9D29-BBFAAF40****', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorTrFirewallNotExist', 'errorMessage' => 'Cen TR firewall not exist.', 'description' => '云企业网企业版防火墙不存在。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => '防火墙已配置,不能重复配置。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B713361D-62E2-5FF0-9D29-BBFAAF40****\\"\\n}","type":"json"}]', - 'title' => '修改IPS规则为默认', - ], - 'DescribeSignatureLibVersion' => [ - 'summary' => '查询特征库版本信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '185095', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + 'title' => '修改TR防火墙配置', + 'summary' => '修改TR防火墙配置。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2Configuration'], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '9C50C2A9-4BBB-5504-8ADA-C41A79B8C946', - ], - 'Version' => [ - 'description' => '版本信息。', - 'type' => 'array', - 'items' => [ - 'description' => '版本号。', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'title' => '类型', - 'description' => '类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'ips' => '基础防御和虚拟补丁', - 'intelligence' => '威胁情报', - ], - 'example' => 'ips', - ], - 'Version' => [ - 'title' => '版本', - 'description' => '版本。', - 'type' => 'string', - 'example' => 'IPS-2307-02', - ], - 'UpdateTime' => [ - 'description' => '更新时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1741067915', - ], - ], - ], - ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2Configuration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], ], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"9C50C2A9-4BBB-5504-8ADA-C41A79B8C946\\",\\n \\"Version\\": [\\n {\\n \\"Type\\": \\"ips\\",\\n \\"Version\\": \\"IPS-2307-02\\",\\n \\"UpdateTime\\": 1741067915\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询特征库版本信息', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"A74C8FDD-2BEF-52D5-8B01-EB6FD94606F9\\"\\n}","type":"json"}]', ], - 'DescribeDefaultIPSConfig' => [ - 'summary' => '互联网IPS防护功能。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ModifyTrFirewallV2RoutePolicyScope' => [ + 'summary' => '修改TR防火墙路由策略范围。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43269,121 +36508,163 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68241', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '142854', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'TrFirewallRoutePolicyId', + 'in' => 'query', + 'schema' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'required' => true, 'example' => 'policy-4d724d0139df48f1****'], + ], + [ + 'name' => 'FirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-tr-6520de0253bc4669****'], + ], + [ + 'name' => 'SrcCandidateList', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', + 'description' => '主引流实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '主引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4sha****'."\n"], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'required' => false, 'example' => 'VPC'."\n"], + ], + 'required' => false, + ], + 'required' => false, + ], + ], + [ + 'name' => 'DestCandidateList', + 'in' => 'query', + 'style' => 'json', + 'schema' => [ + 'description' => '子引流实例列表。', + 'type' => 'array', + 'items' => [ + 'description' => '子引流实例。', + 'type' => 'object', + 'properties' => [ + 'CandidateId' => ['description' => '引流实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'vpc-2ze9epancaw8t4uzi****'."\n"], + 'CandidateType' => ['description' => '引流实例类型。', 'type' => 'string', 'required' => false, 'example' => 'VPC'], + ], + 'required' => false, + ], 'required' => false, - 'example' => 'zh', ], ], + [ + 'name' => 'ShouldRecover', + 'in' => 'query', + 'schema' => ['description' => '是否恢复引流配置。取值:'."\n" + ."\n" + .'- true:路由回滚'."\n" + ."\n" + .'- false:路由撤销', 'type' => 'string', 'required' => false, 'example' => 'false'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - 'RuleClass' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'CtiRules' => [ - 'description' => '威胁情报。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'PatchRules' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RunMode' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - ."\n" - .'- **0**:观察模式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'BasicRules' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'MaxSdl' => [ - 'description' => '敏感数据检测每日检测流量上限。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'TrFirewallRoutePolicyId' => ['description' => '防火墙路由策略ID。', 'type' => 'string', 'example' => 'policy-4d724d0139df48f1****'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'E7D4D635-0C70-5CEB-A609-851E94D51FBB'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Error Parameters', 'description' => '参数错误'], + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'authentication error', 'description' => '鉴权失败'], + ['errorCode' => 'ErrorDBNoRow', 'errorMessage' => 'No rows in database.', 'description' => '没有数据'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorPolicySrcAndDestConflict', 'errorMessage' => 'Policy has same destination candidate as source candidtes.', 'description' => '引流模板中主引流实例与子引流实例冲突。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorTrFirewallEndToEndTrToAll', 'errorMessage' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'description' => '参数错误, 点到多点场景, TR实例不支持配置ALL。'], + ['errorCode' => 'ErrorCannotEditRoutePolicyWhenClose', 'errorMessage' => 'Can not edit route policy when policy closed.', 'description' => '无法在防火墙引流模板创建、删除或关闭时更新引流模板。'], + ['errorCode' => 'ErrorFirewallUpdating', 'errorMessage' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'description' => '无法操作防火墙,防火墙处在更新状态, 请检查是否有引流模板正在创建、删除、更新中、开启或关闭中。'], + ['errorCode' => 'ErrorIllegalRoutePolicyScopeUpdate', 'errorMessage' => 'Can not update policy scope.', 'description' => '点对点场景无法配置更新引流模板范围。'], + ['errorCode' => 'ErrorCannotEditToAllPolicy', 'errorMessage' => 'Can not modify policy scope for policy contains All type candidate.', 'description' => '不能编辑含有ALL类型的引流模板。'], + ['errorCode' => 'ErrorCandidateNoRouteTable', 'errorMessage' => 'Please attach candidate with transit router before create routing template.', 'description' => '请在创建引流模板前先将引流实例绑定到某个转发路由器路由表上。'], + ['errorCode' => 'ErrorTrFirewallRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has route map conflict.', 'description' => '云企业网路由表和云防火墙存在路由策略冲突。'], + ['errorCode' => 'ErrorUserCredentials', 'errorMessage' => 'User credentials failed.', 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['errorCode' => 'ErrorTrFirewallDoNotSupportPrefixList', 'errorMessage' => 'Cen TR firewall do not support prefix list.', 'description' => '云企业网企业版云防火墙不支持前缀列表。'], + ['errorCode' => 'ErrorCandidateHasStaticRoute', 'errorMessage' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', 'description' => '引流实例绑定的转发路由器路由表中有自定义路由,云防火墙不支持此种类型引流实例。请删除对应路由后重试。'], + ['errorCode' => 'ErrorTrRouteTableContainsRejectRoutes', 'errorMessage' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', 'description' => '转发路由器路由表中存在路由冲突,请先解决路由冲突再创建防火墙引流场景。'], + ['errorCode' => 'ErrorTrFwVswCidrConflict', 'errorMessage' => 'Illegal tr firewall cidr configuration.', 'description' => 'Tr 防火墙配置网段不合法。'], + ['errorCode' => 'ErrorFirewallCandidateReference', 'errorMessage' => 'Firewall Candidate referrence count greater than one.', 'description' => '引流实例存在于多个引流场景中。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'errorMessage' => 'TR firewall cannot only contain both ECR and TR.', 'description' => 'TR防火墙不能仅包含ECR和TR'], + ['errorCode' => 'ErrorTrFirewallPolicyNotFound', 'errorMessage' => 'TR firewall policy does not exist.', 'description' => 'TR防火墙引流场景不存在'], + ['errorCode' => 'ErrorTrFirewallEcmpRoute', 'errorMessage' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'description' => '云企业网企业版中等价路由的下一跳必须同时加入云防火墙引流场景。'], + ['errorCode' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'errorMessage' => 'Cen TR firewall route table has cen managed route map conflict.', 'description' => '存在优先级为5000的老版本cen企业版路由策略,请联系售后更新路由策略。'], + ['errorCode' => 'ErrorCandidateHasIPv6Route', 'errorMessage' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'description' => '云企业网TR企业版防火墙不支持Ipv6路由'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\",\\n \\"RuleClass\\": 3,\\n \\"CtiRules\\": 0,\\n \\"PatchRules\\": 0,\\n \\"RunMode\\": 0,\\n \\"BasicRules\\": 0,\\n \\"MaxSdl\\": 10\\n}","type":"json"}]', - 'title' => '互联网IPS防护功能', - ], - 'DescribeUserIPSWhitelist' => [ - 'summary' => '查询互联网边界IPS白名单。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改TR防火墙路由策略范围', + 'description' => '支持*点到多点*和*多点间互联*场景的修改,不支持*点到点*场景的修改。', + 'changeSet' => [ + ['createdAt' => '2024-11-12T06:32:51.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-11-06T01:38:25.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-03-13T11:58:28.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-03-01T02:18:41.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2RoutePolicyScope'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2RoutePolicyScope', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TrFirewallRoutePolicyId\\": \\"policy-4d724d0139df48f1****\\",\\n \\"RequestId\\": \\"E7D4D635-0C70-5CEB-A609-851E94D51FBB\\"\\n}","type":"json"}]', + ], + 'ModifyUserAlarmConfig' => [ + 'summary' => '修改用户告警配置。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43392,234 +36673,179 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68405', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '68489', + 'abilityTreeNodes' => ['FEATUREcfwHNNY65'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', + 'schema' => ['description' => '访问者源IP', 'type' => 'string', 'required' => false, 'example' => '117.129.64.XXX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AlarmConfig', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => '47.100.XX.XX', + 'description' => '报警配置。', + 'type' => 'array', + 'items' => [ + 'description' => '报警配置。', + 'type' => 'object', + 'properties' => [ + 'AlarmValue' => [ + 'description' => '报警通知消息。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => [], + 'example' => 'on', + ], + 'AlarmType' => [ + 'description' => '告警类型。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['weeklyReport' => 'weeklyReport', 'trafficPreAlert' => 'trafficPreAlert', 'outgoingRiskAll' => 'outgoingRiskAll', 'ipsMiddlethreat' => 'ipsMiddlethreat', 'bandwidth' => 'bandwidth', 'ipsHighthreat' => 'ipsHighthreat', 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', 'ipsIgnoreResolved' => 'ipsIgnoreResolved'], + 'example' => 'bandwidth', + ], + 'AlarmPeriod' => [ + 'description' => '告警周期。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['8:00~20:00', '24小时'], + 'example' => '0', + ], + 'AlarmHour' => ['description' => '告警通知小时。', 'type' => 'string', 'required' => false, 'example' => '10'], + 'AlarmNotify' => [ + 'description' => '通知方式。', + 'type' => 'string', + 'required' => false, + 'enumValueTitles' => ['sms/email', 'sms', 'email', 'none'], + 'example' => '0', + ], + 'AlarmWeekDay' => ['description' => '告警通知星期。', 'type' => 'string', 'required' => false, 'example' => '2'], + ], + 'required' => false, + ], + 'required' => true, + 'maxItems' => 100, ], ], [ - 'name' => 'Lang', + 'name' => 'ContactConfig', 'in' => 'query', + 'allowEmptyValue' => true, + 'style' => 'json', 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', + 'description' => '联系人配置。', + 'type' => 'array', + 'items' => [ + 'description' => '联系人配置。', + 'type' => 'object', + 'properties' => [ + 'Status' => [ + 'description' => '报警状态。', + 'type' => 'integer', + 'required' => false, + 'enumValueTitles' => ['关闭', '开启'], + 'example' => '1', + 'format' => 'int32', + ], + 'Email' => ['description' => '邮箱。', 'type' => 'string', 'required' => false, 'example' => '91632****@qq.com'], + 'MobilePhone' => ['description' => '手机号。', 'type' => 'string', 'required' => false, 'example' => '1351234****'."\n"], + 'Name' => ['description' => '告警通知接收人。', 'type' => 'string', 'required' => false, 'example' => 'Ben'], + ], + 'required' => false, ], - 'example' => 'zh', + 'required' => false, + 'maxItems' => 100, ], ], [ - 'name' => 'Lang', + 'name' => 'AlarmLang', 'in' => 'query', + 'allowEmptyValue' => true, 'schema' => [ - 'description' => '语言。', + 'description' => '消息通知的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], + [ + 'name' => 'UseDefaultContact', + 'in' => 'query', + 'schema' => ['description' => '使用默认联系方式。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '04F788A5-6A47-5EA9-AC30-CA4DB98AD520', - ], - 'Whitelists' => [ - 'description' => '互联网边界IPv4的入侵防御系统白名单列表。', - 'type' => 'array', - 'items' => [ - 'description' => '互联网边界IPv4的入侵防御系统白名单。', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '互联网边界的IPv4流量方向。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '入向', - '出向', - ], - 'example' => '1', - ], - 'WhiteType' => [ - 'description' => '互联网边界IPv4白名单生效的源或目的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '目的IP白名单', - '源IP白名单', - ], - 'example' => '1', - ], - 'ListValue' => [ - 'description' => '互联网边界IPv4白名单的值。'."\n" - ."\n" - .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" - ."\n" - .'- 当白名单类型为`地址簿引用`时:IPv4。', - 'type' => 'string', - 'example' => '10.10.200.4/32,10.10.200.25/32', - ], - 'ListType' => [ - 'description' => '互联网IPv4白名单地址的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - '暂不设置', - '自定义输入', - '地址簿引用', - ], - 'example' => '1', - ], - 'WhiteListValue' => [ - 'description' => '互联网IPv4白名单列表。', - 'type' => 'array', - 'items' => [ - 'description' => '互联网IPv4白名单。'."\n" - ."\n" - .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" - ."\n" - .'- 当白名单类型为`地址簿引用`时:IPv4。', - 'type' => 'string', - 'example' => '10.10.200.4/32', - ], - ], - ], - ], - ], - 'Ipv6Whitelists' => [ - 'description' => '互联网边界IPv6的入侵防御系统白名单列表。', - 'type' => 'array', - 'items' => [ - 'description' => '互联网边界IPv6的入侵防御系统白名单。', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '互联网边界的IPv6流量方向。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '入向', - '出向', - ], - 'example' => '1', - ], - 'WhiteType' => [ - 'description' => '互联网边界IPv6白名单生效的源或目的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - 1 => '目的IP白名单', - '源IP白名单', - ], - 'example' => '2', - ], - 'ListValue' => [ - 'description' => '互联网边界IPv6白名单的值。'."\n" - ."\n" - .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" - ."\n" - .'- 当白名单类型为`地址簿引用`时:IPv6。', - 'type' => 'string', - 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128', - ], - 'ListType' => [ - 'description' => '互联网IPv6白名单地址的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'enumValueTitles' => [ - '暂不设置', - '自定义输入', - '地址簿引用', - ], - 'example' => '0', - ], - 'WhiteListValue' => [ - 'description' => '互联网IPv6白名单列表。', - 'type' => 'array', - 'items' => [ - 'description' => '互联网IPv6白名单。'."\n" - ."\n" - .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" - ."\n" - .'- 当白名单类型为`地址簿引用`时:IPv6。', - 'type' => 'string', - 'example' => '2408:400a:81a:7900:a77d:ea36:fcbf:de40/128'."\n", - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '3B168A0F-A43D-5FD0-8059-B51BDD6E****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersAlarmConfig', 'errorMessage' => 'invalid alarmConfig.', 'description' => 'AlarmConfig参数错误。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorParametersNotifyConfig', 'errorMessage' => 'invalid notifyConfig.', 'description' => 'NotifyConfig参数错误。'], + ['errorCode' => 'ErrorParamSms', 'errorMessage' => 'invalid sms number.', 'description' => '短信地址错误。'], + ['errorCode' => 'ErrorParamEmail', 'errorMessage' => 'invalid email address.', 'description' => '邮件地址错误。'], + ['errorCode' => 'ErrorParamCountExceed', 'errorMessage' => 'sms or email count exceed.', 'description' => '地址个数超出限制。'], + ['errorCode' => 'ErrorDBDeleteError', 'errorMessage' => 'A database delete error occurred.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql update.', 'description' => '请求错误,请稍后重试。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'internal error: sql insert.', 'description' => '请求错误,数据库插入失败。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"04F788A5-6A47-5EA9-AC30-CA4DB98AD520\\",\\n \\"Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ],\\n \\"Ipv6Whitelists\\": [\\n {\\n \\"Direction\\": 1,\\n \\"WhiteType\\": 2,\\n \\"ListValue\\": \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\",\\n \\"ListType\\": 0,\\n \\"WhiteListValue\\": [\\n \\"2408:400a:81a:7900:a77d:ea36:fcbf:de40/128\\\\n\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取用户IPS白名单', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'ModifyIpsRules' => [ - 'summary' => '修改IPS规则。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改用户告警配置', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B168A0F-A43D-5FD0-8059-B51BDD6E****\\"\\n}","type":"json"}]', + ], + 'ModifyUserIPSWhitelist' => [ + 'summary' => '修改互联网边界IPS白名单。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43628,36 +36854,27 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68475', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68490', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '218.1.147.XXX', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '47.100.XX.XX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '语言。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], @@ -43665,68 +36882,67 @@ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '请求和接收消息的语言类型。', + 'description' => '语言。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], 'example' => 'zh', ], ], [ - 'name' => 'RuleType', + 'name' => 'Direction', 'in' => 'query', 'schema' => [ - 'description' => '规则类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'patchRule' => 'patchRule', - 'basicRule' => 'basicRule', - ], - 'example' => 'basicRule', + 'description' => '互联网边界的流量方向。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enumValueTitles' => [1 => '入向', '出向'], + 'example' => '1', ], ], [ - 'name' => 'RuleAction', + 'name' => 'WhiteType', 'in' => 'query', 'schema' => [ - 'description' => '规则动作。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'drop' => 'drop', - 'alert' => 'alert', - 'close' => 'close', - ], - 'example' => 'alert', + 'description' => '互联网边界白名单生效的源或目的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enumValueTitles' => [1 => '目的IP白名单', '源IP白名单'], + 'example' => '2', ], ], [ - 'name' => 'Rules', + 'name' => 'ListType', 'in' => 'query', 'schema' => [ - 'description' => '规则列表。', - 'type' => 'string', - 'required' => true, - 'example' => '[\\"4664138c-4f81-4650-9c8d-2230ea0d****\\"]', + 'description' => '互联网I白名单地址的类型。', + 'type' => 'integer', + 'format' => 'int64', + 'required' => false, + 'enumValueTitles' => ['暂不设置', '自定义输入', '地址簿引用'], + 'example' => '2', ], ], [ - 'name' => 'FirewallType', + 'name' => 'ListValue', + 'in' => 'query', + 'schema' => ['description' => '互联网边界白名单的值。'."\n" + ."\n" + .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" + ."\n" + .'- 当白名单类型为`地址簿引用`时:IPv4。', 'type' => 'string', 'required' => false, 'example' => '115.236.36.114/32'], + ], + [ + 'name' => 'IpVersion', 'in' => 'query', 'schema' => [ - 'description' => '云防火墙类型。', + 'description' => 'IP版本。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'VpcFirewall' => 'VPC边界', - 'InternetFirewall' => '互联网边界', - ], - 'example' => 'VpcFirewall', - 'default' => 'InternetFirewall', + 'enumValueTitles' => ['ipv4' => 'IPv4', 'ipv6' => 'IPv6'], + 'example' => 'ipv4', ], ], ], @@ -43735,63 +36951,56 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '30FB7F84-1FC5-5A3D-BBBE-5779FC74****', - ], + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => '36E89955-1E5D-5810-970C-74646F378085'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'invalid aliUid.', 'description' => '无效的Aliuid。'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'Internal error: sql delete.', 'description' => '内部错误:SQL删除操作'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorParametersWhitelistIP', 'errorMessage' => 'Invalid whitelistIp.', 'description' => 'IP地址不合法。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => '更新操作日志错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"30FB7F84-1FC5-5A3D-BBBE-5779FC74****\\"\\n}","type":"json"}]', - 'title' => '修改IPS规则', - ], - 'ModifyDefaultIPSConfig' => [ - 'summary' => '修改默认IPS配置。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改用户IPS白名单', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36E89955-1E5D-5810-970C-74646F378085\\"\\n}","type":"json"}]', + ], + 'ModifyUserSlsLogStorageTime' => [ + 'summary' => '修改用户日志存储时间', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -43800,117 +37009,44 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68470', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68491', + 'abilityTreeNodes' => ['FEATUREcfwQ1YIKB', 'FEATUREcfwG8G31D'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'CtiRules', - 'in' => 'query', - 'schema' => [ - 'description' => '威胁情报开关。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '0', - ], - ], - [ - 'name' => 'BasicRules', - 'in' => 'query', - 'schema' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PatchRules', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开启。'."\n" - ."\n" - .'- **0**:关闭。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['title' => '云防火墙的id。', 'description' => '实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'vipcloudfw-cn-uqm3fz****'], ], [ - 'name' => 'RunMode', + 'name' => 'StorageTime', 'in' => 'query', - 'schema' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - ."\n" - .'- **0**:观察模式。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['title' => '日志存储时间(单位:天)。可选值:-**0**:最近一天-**30**:最近30天', 'description' => '需要指定的存储时长(单位:天)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '180'], ], [ - 'name' => 'RuleClass', + 'name' => 'LogVersion', 'in' => 'query', 'schema' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', + 'title' => '日志版本,主要有1(1个logStore)和2(2个logStore)', + 'description' => '日志版本,主要有1(1个logStore)和2(2个logStore)', 'type' => 'integer', 'format' => 'int32', 'required' => false, + 'docRequired' => false, + 'enumValueTitles' => [1 => '旧版日志格式,投递单个日志库', '新版日志格式,支持投递两个日志库'], 'example' => '1', + 'default' => '1', + 'enum' => ['1', '2'], ], ], [ - 'name' => 'MaxSdl', + 'name' => 'SlsRegionId', 'in' => 'query', - 'schema' => [ - 'description' => '敏感数据检测每日检测流量上限。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '100', - ], + 'schema' => ['title' => 'SLS地域ID。', 'description' => 'SLS地域ID。', 'type' => 'string', 'required' => false, 'example' => 'ap-southeast-1'], ], ], 'responses' => [ @@ -43918,164 +37054,166 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '65885B52-00EC-5728-96******', - ], + 'RequestId' => ['title' => '本次请求的id。', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"65885B52-00EC-5728-96******\\"\\n}","type":"json"}]', - 'title' => '修改默认IPS配置', - ], - 'ModifyUserIPSWhitelist' => [ - 'summary' => '修改互联网边界IPS白名单。', - 'methods' => [ - 'post', - 'get', + 'title' => '修改用户日志存储时间', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserSlsLogStorageTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallAclEngineMode' => [ + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68490', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - ], + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.XX.XX', - ], + 'schema' => ['description' => '云防火墙成员账号的UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'Lang', + 'name' => 'StrictMode', 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:严格模式'."\n" + .'- 0:宽松模式', 'type' => 'string', 'required' => true, 'example' => '0'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'B14757D0-4640-4B44-AC67-7F558F****'], ], - 'example' => 'zh', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改VPC防火墙ACL引擎模式', + 'summary' => '修改VPC防火墙ACL引擎模式', + 'description' => '## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '互联网边界的流量方向。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enumValueTitles' => [ - 1 => '入向', - '出向', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallAclEngineMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => '1', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallCenConfigure' => [ + 'summary' => '修改VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的配置信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'WhiteType', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68493', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '互联网边界白名单生效的源或目的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enumValueTitles' => [ - 1 => '目的IP白名单', - '源IP白名单', - ], - 'example' => '2', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ListType', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '互联网I白名单地址的类型。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'enumValueTitles' => [ - '暂不设置', - '自定义输入', - '地址簿引用', - ], - 'example' => '2', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'ListValue', + 'name' => 'VpcFirewallName', 'in' => 'query', - 'schema' => [ - 'description' => '互联网边界白名单的值。'."\n" - ."\n" - .'- 当白名单类型为`自定义输入`时:地址簿名称。'."\n" - ."\n" - .'- 当白名单类型为`地址簿引用`时:IPv4。', - 'type' => 'string', - 'required' => false, - 'example' => '115.236.36.114/32', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => true, 'example' => 'Test instance'], ], [ - 'name' => 'IpVersion', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => 'IP版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ipv4' => 'IPv4', - 'ipv6' => 'IPv6', - ], - 'example' => 'ipv4', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ @@ -44083,167 +37221,116 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '36E89955-1E5D-5810-970C-74646F378085', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'invalid aliUid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'Internal error: sql delete.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersWhitelistIP', - 'errorMessage' => 'Invalid whitelistIp.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorVpcFirewallIdNotFound', 'errorMessage' => 'The VPC firewall ID is not found.', 'description' => '找不到VPC防火墙ID'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorRegionNoError', 'errorMessage' => 'The region is invalid.', 'description' => '无效的区域'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => ' 防火墙ID参数错误'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => '防火墙名错误,请重新输入。'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => '防火墙已配置,不能重复配置。'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => '当前防火墙状态, 不允许配置'], + ['errorCode' => 'ErrorRegionNoDisable', 'errorMessage' => 'There are unsupported regions, please reselect', 'description' => '存在不支持的地域,请重新选择'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"36E89955-1E5D-5810-970C-74646F378085\\"\\n}","type":"json"}]', - 'title' => '修改用户IPS白名单', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeIpsPrivateAssoc' => [ - 'summary' => '查询IPS私网溯源列表。', - 'methods' => [ - 'get', - 'post', + 'title' => '修改VPC边界防火墙的配置信息(云企业网)', + 'description' => '本接口一般用于修改VPC边界防火墙的配置信息。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。'."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2021-11-18T09:47:07.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenConfigure'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallCenSwitchStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240655', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68494', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'ResourceId', - 'in' => 'query', - 'schema' => [ - 'description' => '资源ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '查询每页数目。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PublicIp', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '实例的公网IP。', - 'type' => 'string', - 'required' => false, - 'example' => '203.0.113.1', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'Status', + 'name' => 'FirewallSwitch', 'in' => 'query', - 'schema' => [ - 'description' => '状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'close', - ], + 'schema' => ['description' => '设置VPC边界防火墙的开关状态。取值:'."\n" + ."\n" + .'- **open**:开启。'."\n" + ."\n" + .'- **close**:关闭。', 'type' => 'string', 'required' => true, 'example' => 'open'], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '资源所属aliUid。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ @@ -44251,514 +37338,776 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'IpsPrivateAssoc' => [ - 'description' => 'IPS私网溯源列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'IPS私网溯源。', - 'type' => 'object', - 'properties' => [ - 'AssocInfoStatus' => [ - 'description' => '私网溯源状态。', - 'type' => 'string', - 'example' => 'close', - ], - 'ErrorMsg' => [ - 'description' => '报错信息。', - 'type' => 'string', - 'example' => 'aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole', - ], - 'ProtectedIpList' => [ - 'description' => '已保护的IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => '已保护的IP。', - 'type' => 'string', - 'example' => '123.56.18.XX', - ], - ], - 'ResourceId' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'example' => 'cba48ec510bb640559c6f5161cde58014', - ], - 'ResourceName' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'example' => 'job-0000000061279FB000001BBB31F9D673', - ], - 'Status' => [ - 'description' => '状态。', - 'type' => 'string', - 'example' => 'closed', - ], - 'UnprotectedIpList' => [ - 'description' => '未保护的IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => '未保护的IP。', - 'type' => 'string', - 'example' => '60.205.197.X', - ], - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-wz92dxepli2pgnut796tf', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'vpc-uf62vdtifj7kffpxrydqd', - ], - 'RegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'MemberUid' => [ - 'description' => '资源所属aliUid。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1507956024994407', - ], - ], - ], - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'TotalOpenCount' => [ - 'description' => '开启IPS私网溯源的总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorVpcFirewallId', 'errorMessage' => 'The VPC firewall ID is invalid.', 'description' => '无效的VPC防火墙ID。'], + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => '防火墙开关参数错误,请重新选择'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => ' 防火墙ID参数错误'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorCenTRManualModifySwitchStatus', 'errorMessage' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', 'description' => 'CEN-TR手动模式不支持修改防火墙状态, 如需关闭请删除VPC边界防火墙。'], + ['errorCode' => 'ErrorCenRouteMapExist', 'errorMessage' => 'cen route map is exist.', 'description' => 'RouteMap已存在, 不允许创建VPC边界防火墙。请联系云防火墙售后技术支持处理。'], + ['errorCode' => 'ErrorFirewallNotConfig', 'errorMessage' => 'Firewall not config', 'description' => ' 防火墙未配置'], + ['errorCode' => 'ErrorFirewallStatusClosed', 'errorMessage' => 'firewall is already closed.', 'description' => '防火墙已关闭。'], + ['errorCode' => 'ErrorNetworkInterfaceNotFound', 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', 'description' => '防火墙网卡错误, 请确认网卡配置'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorFirewallVSwitchCidrConflict', 'errorMessage' => 'Firewall switch network segment conflicts with business network segment.', 'description' => '防火墙交换机网段和业务网段冲突'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsPrivateAssoc\\": [\\n {\\n \\"AssocInfoStatus\\": \\"close\\",\\n \\"ErrorMsg\\": \\"aliuid:1096080848305847 assumeOssRole not exist,serviceName:aliyunesarealtimelogpushossrole\\",\\n \\"ProtectedIpList\\": [\\n \\"123.56.18.XX\\"\\n ],\\n \\"ResourceId\\": \\"cba48ec510bb640559c6f5161cde58014\\",\\n \\"ResourceName\\": \\"job-0000000061279FB000001BBB31F9D673\\",\\n \\"Status\\": \\"closed\\",\\n \\"UnprotectedIpList\\": [\\n \\"60.205.197.X\\"\\n ],\\n \\"VpcId\\": \\"vpc-wz92dxepli2pgnut796tf\\",\\n \\"VpcName\\": \\"vpc-uf62vdtifj7kffpxrydqd\\",\\n \\"RegionId\\": \\"cn-beijing\\",\\n \\"MemberUid\\": 1507956024994407\\n }\\n ],\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"TotalCount\\": 6,\\n \\"TotalOpenCount\\": 0\\n}","type":"json"}]', - 'title' => '查询IPS私网溯源列表', - 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" + 'title' => '修改VPC边界防火墙的开关状态(云企业网)', + 'summary' => '修改VPC边界防火墙(防护云企业网内的网络实例和指定VPC之间的互访流量)的开关状态。', + 'description' => '本接口一般用于修改VPC边界防火墙的开关状态。该VPC边界防火墙是防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量。打开VPC边界防火墙的开关后,云企业网内的网络实例和指定VPC之间的互访流量会受VPC边界防火墙防护。关闭VPC边界防火墙的开关后,VPC边界防火墙不再防护云企业网内的网络实例和指定VPC之间的互访流量。'."\n" + ."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallCenConfigure](~~345772~~)接口创建了VPC边界防火墙。'."\n" ."\n" .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'CreateIpsPrivateAssoc' => [ - 'summary' => '创建IPS私网溯源。', - 'methods' => [ - 'get', - 'post', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenSwitchStatus'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallConfigure' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240771', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68495', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'ResourceId', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'VpcFirewallName', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例名称。', 'type' => 'string', 'required' => true, 'example' => 'test-vpc-firewall'], + ], + [ + 'name' => 'LocalVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => '本端VPC的网段信息,以JSON格式表示,具体包含以下参数:'."\n" + ."\n" + .'- **RouteTableId**:表示本端VPC的路由表ID。'."\n" + ."\n" + .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示本端VPC的目标网段)和NextHopInstanceId(表示本端VPC的下一跳实例ID)。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallDetail](~~342892~~)接口查询VPC边界防火墙的本端VPC网段信息。', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]'], + ], + [ + 'name' => 'PeerVpcCidrTableList', + 'in' => 'query', + 'schema' => ['description' => '对端VPC的网段信息,以JSON格式表示,具体包含以下参数:'."\n" + ."\n" + .'- **RouteTableId**:表示对端VPC的路由表ID。'."\n" + ."\n" + .'- **RouteEntryList**:该参数使用JSON格式,包含DestinationCidr(表示对端VPC的目标网段)和NextHopInstanceId(表示对端VPC的下一跳实例ID)。'."\n" + ."\n" + .'> 您可以调用[DescribeVpcFirewallDetail](~~342892~~)接口查询VPC边界防火墙的对端VPC网段信息。', 'type' => 'string', 'required' => true, 'example' => '[{"RouteTableId":"vtb-1234","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]},{"RouteTableId":"vtb-1235","RouteEntryList":[{"DestinationCidr":"192.168.XX.XX/24","NextHopInstanceId":"vrt-m5eb5me6c3l5sezae****"}]}]'], + ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '99A65AA0-C5B5-5092-BFCF-8111B436****', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6f8'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'The aliuid is invalid.', 'description' => '无效的用户id'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'The specified VPC firewall does not exist. Please select again.', 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorUnmarshalJSON', 'errorMessage' => 'An error occurred while parsing JSON.', 'description' => '内部错误:JSON解码错误'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => ''], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => ' 防火墙ID参数错误'], + ['errorCode' => 'ErrorFirewallName', 'errorMessage' => 'Firewall name invalid.', 'description' => '防火墙名错误,请重新输入。'], + ['errorCode' => 'ErrorDestCidrError', 'errorMessage' => 'The destination CIDR block is invalid.', 'description' => '目标网段错误,请正确配置目标网段'], + ['errorCode' => 'ErrorDestCidrEmpty', 'errorMessage' => 'The target network segment is empty and cannot be created', 'description' => '目标网段为空, 不允许创建.'], + ['errorCode' => 'ErrorVpcFirewallExist', 'errorMessage' => 'Vpc firewall already exist.', 'description' => '防火墙已配置,不能重复配置。'], + ['errorCode' => 'ErrorFirewallStatusCannotModify', 'errorMessage' => 'Current firewall status, configuration not allowed', 'description' => '当前防火墙状态, 不允许配置'], + ['errorCode' => 'ErrorSameCidrIp', 'errorMessage' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'description' => '相同网段不能重复配置, 请重新选择网段'], + ['errorCode' => 'ErrorCustomRouteEntryMax', 'errorMessage' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', 'description' => '目标网段数量超过最大数量限制, 请减少网段数量.'], + ['errorCode' => 'ErrorCidrFormat', 'errorMessage' => 'Cidr ip format error.', 'description' => '网段CIDR格式错误,请重新选择'], + ['errorCode' => 'ErrorCidrIpAddress', 'errorMessage' => 'Target network segment error, please reselect', 'description' => '目标网段错误, 请重新选择'], + ['errorCode' => 'ErrorRouteTableIdNotFound', 'errorMessage' => 'Route table id not found.', 'description' => '路由表ID未找到'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"99A65AA0-C5B5-5092-BFCF-8111B436****\\"\\n}","type":"json"}]', - 'title' => '创建IPS私网溯源', - ], - 'DeleteIpsPrivateAssoc' => [ - 'summary' => '创建IPS私网关联信息。', - 'methods' => [ - 'get', - 'post', + 'title' => '修改VPC边界防火墙的配置信息', + 'summary' => '修改VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的配置信息。', + 'description' => '本接口一般用于修改VPC边界防火墙的配置信息。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。'."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2024-08-22T09:15:45.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], ], - 'schemes' => [ - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallConfigure'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], + ], ], ], - 'operationType' => 'readAndWrite', + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6f8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6f8\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallControlPolicy' => [ + 'summary' => '修改指定VPC防火墙策略组的访问控制策略的配置信息。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'update', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '240774', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68496', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**:(默认)中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclAction', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中访问流量通过云防火墙的方式(动作)。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'required' => false, 'example' => 'accept'], + ], + [ + 'name' => 'ApplicationName', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略支持的应用类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- ANY(表示查询所有类型的应用)'."\n" + .'- FTP'."\n" + .'- HTTP'."\n" + .'- HTTPS'."\n" + .'- MySQL'."\n" + .'- SMTP'."\n" + .'- SMTPS'."\n" + .'- RDP'."\n" + .'- VNC'."\n" + .'- SSH'."\n" + .'- Redis'."\n" + .'- MQTT'."\n" + .'- MongoDB'."\n" + .'- Memcache'."\n" + .'- SSL', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'HTTP'], + ], + [ + 'name' => 'Description', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'required' => false, 'example' => 'test'], + ], + [ + 'name' => 'DestPort', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的目的端口。', 'type' => 'string', 'required' => false, 'example' => '80'], + ], + [ + 'name' => 'Destination', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址。'."\n" + ."\n" + .'- 当**DestinationType**为`net`时,Destination为目的CIDR地址。'."\n" + .' '."\n" + .' 例如:10.2.3.0/24'."\n" + ."\n" + .'- 当**DestinationType**为`group`时,Destination为目的地址簿名称。'."\n" + ."\n" + .' 例如:db_group'."\n" + ."\n" + .'- 当**DestinationType**为`domain`时,Destination为目的域名。'."\n" + ."\n" + .' 例如:*.aliyuncs.com'."\n", 'type' => 'string', 'required' => false, 'example' => '10.2.X.X/XX'], + ], + [ + 'name' => 'DestinationType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的目的地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名', 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'VpcFirewallId', + 'in' => 'query', + 'schema' => ['description' => 'VPC边界防火墙的实例ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,该参数值使用云企业网实例ID。'."\n" + ."\n" + .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" + ."\n" + .'- VPC边界防火墙防护高速通道时,该参数值使用VPC边界防火墙实例ID。'."\n" + .' '."\n" + .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], + ], + [ + 'name' => 'Proto', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中流量访问的安全协议类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- ANY(表示查询所有协议类型)'."\n" + .'- TCP'."\n" + .'- UDP'."\n" + .'- ICMP', 'type' => 'string', 'required' => false, 'example' => 'TCP'], + ], + [ + 'name' => 'Source', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" + ."\n" + .' 例如:10.2.4.0/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" + ."\n" + .' 例如:db_group', 'type' => 'string', 'required' => false, 'example' => '10.2.X.X/XX'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'修改访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221a****'], + ], + [ + 'name' => 'SourceType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中的源地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n", 'type' => 'string', 'required' => false, 'example' => 'net'], + ], + [ + 'name' => 'DestPortType', + 'in' => 'query', + 'schema' => ['description' => '安全访问控制策略中访问流量的目的端口类型。'."\n" + ."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'required' => false, 'example' => 'port'], + ], + [ + 'name' => 'DestPortGroup', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略中访问流量的目的端口地址簿名称。', 'type' => 'string', 'required' => false, 'example' => 'my_port_group'], + ], + [ + 'name' => 'Release', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ApplicationNameList', + 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', + 'description' => '应用名称列表。', + 'type' => 'array', + 'items' => ['description' => '应用名称。', 'type' => 'string', 'required' => false, 'example' => '["ANY"]'], 'required' => false, - 'example' => 'zh', + 'maxItems' => 30, ], ], [ - 'name' => 'ResourceId', + 'name' => 'RepeatType', 'in' => 'query', 'schema' => [ - 'description' => '实例ID。', + 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'required' => false, - 'example' => 'ngw-c5vhmjdfp5t****', + 'enumValueTitles' => ['Daily' => '每天', 'Monthly' => '每月', 'Permanent' => '总是', 'Weekly' => '每周', 'None' => '指定单次时间'], + 'example' => 'Permanent', + ], + ], + [ + 'name' => 'RepeatDays', + 'in' => 'query', + 'style' => 'flat', + 'schema' => [ + 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', + 'type' => 'array', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期。'."\n" + .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" + .'> RepeatType设置为Monthly时,取值范围:1~31。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'], + 'required' => false, ], ], + [ + 'name' => 'RepeatStartTime', + 'in' => 'query', + 'schema' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', 'type' => 'string', 'required' => false, 'example' => '08:00'], + ], + [ + 'name' => 'RepeatEndTime', + 'in' => 'query', + 'schema' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', 'type' => 'string', 'required' => false, 'example' => '23:30'], + ], + [ + 'name' => 'StartTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的开始时间。使用秒级时间戳格式表示。必须为整点或半点时间,且小于结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,StartTime为空。当RepeatType为None、Daily、Weekly、Monthly时,StartTime必须有值,您需要设置开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694761200'], + ], + [ + 'name' => 'EndTime', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1694764800'], + ], + [ + 'name' => 'DomainResolveType', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'string', 'required' => false, 'example' => 'FQDN'], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5*****', - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'Acl策略生效时间非永久时,不允许更新状态。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'A domain resolution error occurred.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorParametersFtpNotSupport', 'errorMessage' => 'domain destination not support ftp.', 'description' => '策略目的为域名时不支持FTP应用'], + ['errorCode' => 'ErrorParametersApplicationName', 'errorMessage' => 'Specified parameter ApplicationName is not valid.', 'description' => '访问控制策略支持的应用类型不合法。'], + ['errorCode' => 'ErrorParametersApplicationNameList', 'errorMessage' => 'Specified parameter ApplicationNameList is not valid.', 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['errorCode' => 'ErrorParametersAclUuid', 'errorMessage' => 'Specified parameter AclUuid is not valid.', 'description' => '指定的ACL uuid不合法。'], + ['errorCode' => 'ErrorAddressGroupNotExist', 'errorMessage' => 'The address group does not exist.', 'description' => '地址簿不存在'], + ['errorCode' => 'ErrorParametersVpcFirewallId', 'errorMessage' => 'Specified parameter VpcFirewallId is not valid.', 'description' => '指定的VpcFirewallId不合法。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5*****\\"\\n}","type":"json"}]', - 'title' => '创建IPS私网关联信息', - ], - 'DescribeVfwIPSConfigList' => [ - 'summary' => '查询VPC防火墙IPS配置列表。', - 'methods' => [ - 'get', + 'title' => '修改VPC防火墙策略组的访问控制策略', + 'description' => '本接口一般用于修改指定VPC防火墙策略组的访问控制策略的配置信息。防护每个云企业网的VPC防火墙实例和防护每个高速通道的VPC防火墙实例使用不同的访问控制策略。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更、请求参数发生变更'], + ['createdAt' => '2024-10-28T10:01:55.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2024-08-13T07:13:38.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-10-12T01:49:16.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-09-11T09:00:25.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-02-23T03:06:51.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicy'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallControlPolicyPosition' => [ + 'summary' => '修改指定VPC防火墙策略组访问控制策略的优先级。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '230059', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68497', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageNo', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => 'VPC边界防火墙的访问控制策略组ID。您可调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网时,策略组ID使用云企业网实例ID。'."\n" + .' '."\n" + .' 例如cen-ervw0g12b5jbw*\\*\\*\\*'."\n" + ."\n" + .'- VPC边界防火墙防护高速通道时,策略组ID使用VPC边界防火墙实例ID。'."\n" + ."\n" + .' 例如vfw-a42bbb7b887148c9*\\*\\*\\*', 'type' => 'string', 'required' => true, 'example' => 'vfw-a42bbb7b887148c9****'], ], [ - 'name' => 'PageSize', + 'name' => 'NewOrder', 'in' => 'query', - 'schema' => [ - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => '访问控制策略优先级修改后,该策略的新优先级。'."\n" + .'> 新优先级的取值范围,请参见[查询优先级生效范围API](~~474145~~)', 'type' => 'string', 'required' => true, 'example' => '1'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'OldOrder', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '访问控制策略优先级修改前,该策略的原优先级。'."\n" + ."\n" + .'> 此参数不推荐使用, 建议使用AclUuid参数指定要修改的策略。', 'type' => 'string', 'required' => false, 'example' => '5'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'修改访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', 'type' => 'string', 'required' => false, 'example' => '2746d9ff-5d7c-449d-a2a9-ccaa15fe****'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'PageNo' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'title' => 'TotalCount本次请求条件下的数据总量,此参数为可选参数,默认可不返回', - 'description' => '当前页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'VfwIpsSwitchConfigList' => [ - 'description' => '配置列表。', - 'type' => 'array', - 'items' => [ - 'description' => '配置列表。', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'example' => '134646920647****', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'cen-h678sl4wv3yd5v****', - ], - 'VpcFirewallName' => [ - 'description' => 'VPC边界防火墙实例名称。', - 'type' => 'string', - 'example' => 'vpc-test', - ], - 'RunMode' => [ - 'description' => '防御模式。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '观察模式', - '拦截模式', - ], - 'example' => '1', - ], - 'BasicRules' => [ - 'description' => '基础规则开关。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '关闭', - '开启', - ], - 'example' => '1', - ], - 'PatchRules' => [ - 'description' => '虚拟补丁开关。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '关闭', - '开启', - ], - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => '拦截模式规则。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '宽松', - '中等', - '严格', - ], - 'example' => '1', - ], - 'VpcFirewallIdList' => [ - 'description' => 'VPC边界防火墙的实例ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙的实例ID列表。', - 'type' => 'string', - 'example' => 'vfw-9f39c248f9f447c****', - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - ], + ['errorCode' => 'ErrorParametersAppId', 'errorMessage' => 'The AppId parameter is incorrect.', 'description' => 'AppId不正确'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ['errorCode' => 'ErrorAclEffectiveTimeNonPermanent', 'errorMessage' => 'ACL rule is not allowed to update status when effective is not permanent.', 'description' => 'Acl策略生效时间非永久时,不允许更新状态。'], + ['errorCode' => 'ErrorUUIDNew', 'errorMessage' => 'The UUID is invalid.', 'description' => '内部错误:UUID错误'], + ['errorCode' => 'ErrorParameterIpVersion', 'errorMessage' => 'The IP version is invalid.', 'description' => 'IP版本参数错误'], + ['errorCode' => 'ErrorParametersDirection', 'errorMessage' => 'The direction is invalid.', 'description' => '无效的方向'], + ['errorCode' => 'ErrorParametersSource', 'errorMessage' => 'The source is invalid.', 'description' => '无效的来源'], + ['errorCode' => 'ErrorDomainResolve', 'errorMessage' => 'An error occurred while resolving the domain.', 'description' => '域名解析错误'], + ['errorCode' => 'ErrorParametersDestination', 'errorMessage' => 'The Destination parameter is invalid.', 'description' => 'Destination参数非法'], + ['errorCode' => 'ErrorParametersProto', 'errorMessage' => 'The protocol is invalid.', 'description' => '无效的协议'], + ['errorCode' => 'ErrorParametersDestPort', 'errorMessage' => 'The dst_port is invalid.', 'description' => '无效的目的端口'], + ['errorCode' => 'ErrorParametersAction', 'errorMessage' => 'The action is invalid.', 'description' => '无效的动作'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorAclExtendedCountExceed', 'errorMessage' => 'ACL or extended ACL rules are not matched.', 'description' => 'ACL或扩展ACL规格超出限制'], + ['errorCode' => 'ErrorAclDomainAnyCountExceed', 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '修改VPC防火墙策略组访问控制策略优先级', + 'description' => '本接口一般用于修改指定VPC防火墙策略组访问控制策略的优先级。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-07-31T03:27:44.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-07-13T07:07:45.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2022-09-27T08:09:23.000Z', 'description' => '错误码发生变更'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 2,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"VfwIpsSwitchConfigList\\": [\\n {\\n \\"MemberUid\\": \\"134646920647****\\",\\n \\"VpcFirewallId\\": \\"cen-h678sl4wv3yd5v****\\",\\n \\"VpcFirewallName\\": \\"vpc-test\\",\\n \\"RunMode\\": 1,\\n \\"BasicRules\\": 1,\\n \\"PatchRules\\": 1,\\n \\"RuleClass\\": 1,\\n \\"VpcFirewallIdList\\": [\\n \\"vfw-9f39c248f9f447c****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询VPC防火墙IPS配置列表', - ], - 'DescribeVpcFirewallDefaultIPSConfig' => [ - 'summary' => '获取指定VPC边界防火墙的入侵防御配置信息。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallDefaultIPSConfig' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68418', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68498', + 'abilityTreeNodes' => ['FEATUREcfw516PD4', 'FEATUREcfw8B8ITI'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], [ 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC 边界防火墙的实例 ID。取值:'."\n" - ."\n" - .'- VPC 边界防火墙防护云企业网内的网络实例时,实例 ID 使用云企业网实例 ID。云企业网基础版通过调用[DescribeVpcFirewallCenList](~~345777~~) 接口,查询云企业网的实例 ID。云企业网企业版通过调用 [DescribeTrFirewallsV2List ](~~2384695~~) 接口,查询云企业网的实例 ID。'."\n" - .'- VPC 边界防火墙防护通过高速通道连接的两个 VPC 之间的流量时,实例 ID 使用 VPC 边界防火墙实例 ID。您可以通过调用 [DescribeVpcFirewallList](~~342932~~) 接口,查询 VPC 边界防火墙的实例 ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cen-****', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。取值:'."\n" + ."\n" + .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,实例ID使用云企业网实例ID。您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口,查询云企业网的实例ID。'."\n" + ."\n" + .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的互访流量时,实例ID使用VPC边界防火墙实例ID。您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口,查询VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], + ], + [ + 'name' => 'BasicRules', + 'in' => 'query', + 'schema' => ['description' => '基础规则开关。取值:'."\n" + ."\n" + .'- **1**:开。'."\n" + ."\n" + .'- **0**:关。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'EnableAllPatch', + 'in' => 'query', + 'schema' => ['description' => '虚拟补丁开关。取值:'."\n" + ."\n" + .'- **1**:开。'."\n" + ."\n" + .'- **0**:关。', 'type' => 'string', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'RunMode', + 'in' => 'query', + 'schema' => ['description' => 'IPS防御模式。取值:'."\n" + ."\n" + .'- **1**:拦截模式。'."\n" + ."\n" + .'- **0**:观察模式。', 'type' => 'string', 'required' => true, 'example' => '0'], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + [ + 'name' => 'RuleClass', + 'in' => 'query', + 'schema' => ['description' => 'IPS规则组。取值:'."\n" + ."\n" + .'- **1**:宽松规则组。'."\n" + ."\n" + .'- **2**:中等规则组。'."\n" + ."\n" + .'- **3**:严格规则组。', 'type' => 'string', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -44766,165 +38115,115 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-****-00090125adf1', - ], - 'RunMode' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - ."\n" - .'- **0**:观察模式。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'EnableAllPatch' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开。'."\n" - ."\n" - .'- **0**:关。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'BasicRules' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开。'."\n" - ."\n" - .'- **0**:关。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RuleClass' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '3B51B5BF-3C26-5009-ADAB-190E58DE4D6E'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorVpcFirewallId', - 'errorMessage' => 'The VPC firewall ID is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'VPC防火墙ID无效'], + ['errorCode' => 'ErrorParametersMemberUid', 'errorMessage' => 'invalid memberUid.', 'description' => '无效的memberUid。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => '更新操作日志错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-****-00090125adf1\\",\\n \\"RunMode\\": 0,\\n \\"EnableAllPatch\\": 1,\\n \\"BasicRules\\": 1,\\n \\"RuleClass\\": 1\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125adf1\\n 0\\n 1\\n 1\\n","errorExample":""}]', - 'title' => '获取指定VPC边界防火墙的入侵防御配置信息', - 'description' => '本接口用于获取指定VPC边界防火墙的入侵防御配置信息,需要先完成创建VPC防火墙实例。'."\n" + 'title' => '修改VPC边界防火墙的入侵防御配置信息', + 'summary' => '修改VPC边界防火墙的入侵防御配置信息。', + 'description' => '本接口一般用于修改VPC边界防火墙的入侵防御配置信息。'."\n" ."\n" .'## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallIPSWhitelist' => [ - 'summary' => '获取VPC防火墙IPS白名单。', - 'methods' => [ - 'get', - 'post', + 'changeSet' => [ + ['createdAt' => '2024-11-20T03:18:54.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-08-15T08:19:00.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2023-05-30T02:35:37.000Z', 'description' => '请求参数发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallDefaultIPSConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\n","errorExample":""}]', + ], + 'ModifyVpcFirewallIPSWhitelist' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '138368', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwIT6TRR', - 'FEATUREcfwQROEEE', - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '138370', + 'abilityTreeNodes' => ['FEATUREcfw1FTUMS'], + 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - ."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '176618****104675', - ], + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1415189284827022'], ], [ 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC 边界防火墙的实例 ID。取值:'."\n" - ."\n" - .'- VPC 边界防火墙防护云企业网内的网络实例时,实例 ID 使用云企业网实例 ID。云企业网基础版通过调用[DescribeVpcFirewallCenList](~~345777~~) 接口,查询云企业网的实例 ID。云企业网企业版通过调用 [DescribeTrFirewallsV2List ](~~2384695~~) 接口,查询云企业网的实例 ID。'."\n" - .'- VPC 边界防火墙防护通过高速通道连接的两个 VPC 之间的流量时,实例 ID 使用 VPC 边界防火墙实例 ID。您可以通过调用 [DescribeVpcFirewallList](~~342932~~) 接口,查询 VPC 边界防火墙的实例 ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cen-***', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'required' => true, 'example' => 'vfw-d7b8ce273791475b9b0b'], + ], + [ + 'name' => 'WhiteType', + 'in' => 'query', + 'schema' => ['description' => '白名单类型。取值:'."\n" + .' - **1**:目的类型'."\n" + .'- **2**:源类型', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'ListType', + 'in' => 'query', + 'schema' => ['description' => '列表类型。取值:'."\n" + .' - **1**:用户自定义类型'."\n" + .'- **2**:地址簿类型', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'], + ], + [ + 'name' => 'ListValue', + 'in' => 'query', + 'schema' => ['description' => '对应列表类型的值。', 'type' => 'string', 'required' => false, 'example' => '10.130.0.0/20,10.130.17.11/32'], ], ], 'responses' => [ @@ -44934,99 +38233,60 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B5EE02F9****AA49****F9F8D69483C1', - ], - 'Whitelists' => [ - 'description' => 'VPC边界防火墙IPS白名单的详细信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙IPS白名单的详细信息。', - 'type' => 'object', - 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'cen-l6t5yj5fi762******', - ], - 'WhiteType' => [ - 'description' => '白名单类型。取值:'."\n" - .' - **1**:目的类型'."\n" - .'- **2**:源类型', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'ListValue' => [ - 'description' => '对应列表类型的值。', - 'type' => 'string', - 'example' => '10.10.200.4/32,10.10.200.25/32', - ], - 'ListType' => [ - 'description' => '列表类型。取值:'."\n" - .' - **1**:用户自定义类型'."\n" - .'- **2**:地址簿类型', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'WhiteListValue' => [ - 'description' => '列表类型数组的内容。', - 'type' => 'array', - 'items' => [ - 'description' => '列表类型数组的内容。', - 'type' => 'string', - 'example' => '10.10.200.4/32', - ], - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8'], ], ], ], ], 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', - ], - ], 400 => [ - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParametersFirewallId', 'errorMessage' => 'Invalid VPC firewall ID.', 'description' => 'VPC防火墙ID无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorAddressCountExceed', 'errorMessage' => 'The maximum number of addresses is exceeded.', 'description' => '地址簿内地址数量超出上限'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorParametersWhitelistIP', 'errorMessage' => 'Invalid whitelistIp.', 'description' => 'IP地址不合法。'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'update operation log error.', 'description' => '更新操作日志错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'internal error: marshal json.', 'description' => '请求错误,请稍后重试。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'title' => '修改VPC防火墙IPS白名单', + 'summary' => '修改VPC防火墙IPS白名单。', + 'changeSet' => [ + ['createdAt' => '2024-08-29T06:59:53.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-30T08:28:56.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2022-06-02T03:03:28.000Z', 'description' => 'OpenAPI 下线'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B5EE02F9****AA49****F9F8D69483C1\\",\\n \\"Whitelists\\": [\\n {\\n \\"VpcFirewallId\\": \\"cen-l6t5yj5fi762******\\",\\n \\"WhiteType\\": 1,\\n \\"ListValue\\": \\"10.10.200.4/32,10.10.200.25/32\\",\\n \\"ListType\\": 1,\\n \\"WhiteListValue\\": [\\n \\"10.10.200.4/32\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取VPC防火墙IPS白名单', - ], - 'ModifyVpcFirewallDefaultIPSConfig' => [ - 'summary' => '修改VPC边界防火墙的入侵防御配置信息。', - 'methods' => [ - 'post', - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallIPSWhitelist'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8\\"\\n}","type":"json"}]', + ], + 'ModifyVpcFirewallSwitchStatus' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -45038,120 +38298,143 @@ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68498', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', - 'FEATUREcfw8B8ITI', - ], + 'abilityTreeCode' => '68499', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'Lang', + 'name' => 'VpcFirewallId', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => 'VPC边界防火墙的实例ID。'."\n" + ."\n" + .'> 您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口查询VPC边界防火墙的实例ID。'."\n", 'type' => 'string', 'required' => true, 'example' => 'vfw-m5e7dbc4y****'], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'FirewallSwitch', 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,实例ID使用云企业网实例ID。您可以通过调用[DescribeVpcFirewallCenList](~~345777~~)接口,查询云企业网的实例ID。'."\n" - ."\n" - .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的互访流量时,实例ID使用VPC边界防火墙实例ID。您可以通过调用[DescribeVpcFirewallList](~~342932~~)接口,查询VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-m5e7dbc4y****', - ], + 'schema' => ['description' => '设置VPC边界防火墙的开关状态。取值:'."\n" + ."\n" + .'- **open**:开启。'."\n" + ."\n" + .'- **close**:关闭。', 'type' => 'string', 'required' => true, 'example' => 'open'], ], [ - 'name' => 'BasicRules', + 'name' => 'MemberUid', 'in' => 'query', + 'schema' => ['description' => '当前阿里云账号的成员账号UID。', 'type' => 'string', 'required' => false, 'example' => '258039427902****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '基础规则开关。取值:'."\n" - ."\n" - .'- **1**:开。'."\n" - ."\n" - .'- **0**:关。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090125afj2'], + ], + 'description' => '', ], ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorFirewallSwitch', 'errorMessage' => 'The firewall enabling parameter is incorrect. Please select again.', 'description' => '防火墙开关参数错误,请重新选择'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorInvalidMemberUid', 'errorMessage' => 'Member uid is invalid', 'description' => '成员账号错误.'], + ['errorCode' => 'ErrorFirewallId', 'errorMessage' => 'Firewall ID is invalid.', 'description' => ' 防火墙ID参数错误'], + ['errorCode' => 'ErrorVpcFirewallNotFound', 'errorMessage' => 'Vpc firewall not found.', 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorNetworkInterfaceNotFound', 'errorMessage' => 'The NIC of the firewall is invalid. Check its configurations.', 'description' => '防火墙网卡错误, 请确认网卡配置'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '修改VPC边界防火墙的开关状态', + 'summary' => '修改VPC边界防火墙(防护通过高速通道连接的两个VPC之间的流量)的开关状态。', + 'description' => '本接口一般用于修改VPC边界防火墙的开关状态。该VPC边界防火墙是防护通过高速通道连接的两个VPC之间的流量。打开VPC边界防火墙的开关后,高速通道连接的两个VPC之间的互访流量会受VPC边界防火墙防护。关闭VPC边界防火墙的开关后,VPC边界防火墙不再防护通过高速通道连接的两个VPC之间的互访流量。'."\n" + ."\n" + .'调用本接口前,必须已经调用[CreateVpcFirewallConfigure](~~342893~~)接口创建了VPC边界防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2024-08-22T09:15:45.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2021-10-28T12:03:10.000Z', 'description' => '请求参数发生变更、错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallSwitchStatus'], + ], + ], + 'ramActions' => [ [ - 'name' => 'EnableAllPatch', - 'in' => 'query', - 'schema' => [ - 'description' => '虚拟补丁开关。取值:'."\n" - ."\n" - .'- **1**:开。'."\n" - ."\n" - .'- **0**:关。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125afj2\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125afj2\\n","errorExample":""}]', + ], + 'PutDisableAllFwSwitch' => [ + 'summary' => '关闭所有防火墙开关。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'RunMode', + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68508', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'IPS防御模式。取值:'."\n" - ."\n" - .'- **1**:拦截模式。'."\n" - ."\n" - .'- **0**:观察模式。', - 'type' => 'string', - 'required' => true, - 'example' => '0', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'MemberUid', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'RuleClass', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'IPS规则组。取值:'."\n" - ."\n" - .'- **1**:宽松规则组。'."\n" - ."\n" - .'- **2**:中等规则组。'."\n" - ."\n" - .'- **3**:严格规则组。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '云防火墙的ID。', 'type' => 'string', 'required' => false, 'example' => 'i-2ze8v2x5kd9qyvp2****', 'default' => '0'], ], ], 'responses' => [ @@ -45159,485 +38442,561 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '3B51B5BF-3C26-5009-ADAB-190E58DE4D6E', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorParametersMemberUid', - 'errorMessage' => 'invalid memberUid.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => '实例状态不允许当前操作'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 3B51B5BF-3C26-5009-ADAB-190E58DE4D6E\\n","errorExample":""}]', - 'title' => '修改VPC边界防火墙的入侵防御配置信息', - 'description' => '本接口一般用于修改VPC边界防火墙的入侵防御配置信息。'."\n" + 'title' => '关闭所有防火墙开关', + 'description' => '本接口用于关闭所有防火墙开关。'."\n" ."\n" .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ModifyVpcFirewallIPSWhitelist' => [ - 'summary' => '修改VPC防火墙IPS白名单。', - 'methods' => [ - 'get', - 'post', + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:39.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableAllFwSwitch'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nB2841452-CB8D-4F7D-B247-38E1CF7334F8\\r\\n","errorExample":""}]', + ], + 'PutDisableFwSwitch' => [ + 'summary' => '关闭防火墙开关。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '138370', - 'abilityTreeNodes' => [ - 'FEATUREcfw1FTUMS', - ], + 'abilityTreeCode' => '68509', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], + ], [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'MemberUid', + 'name' => 'IpaddrList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', + 'description' => 'IP地址列表。'."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => 'IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], 'required' => false, - 'example' => '1415189284827022', + 'example' => '["192.0.XX.XX","192.0.XX.XX"]', + 'maxItems' => 200, ], ], [ - 'name' => 'VpcFirewallId', + 'name' => 'RegionList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-d7b8ce273791475b9b0b', + 'description' => '区域列表。'."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => '区域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'], + 'required' => false, + 'example' => '["cn-hangzhou","cn-shanghai"]', + 'maxItems' => 200, ], ], [ - 'name' => 'WhiteType', + 'name' => 'ResourceTypeList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => '白名单类型。取值:'."\n" - .' - **1**:目的类型'."\n" - .'- **2**:源类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', + 'description' => '资产类型列表。取值:'."\n" + ."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => '资产类型列表。取值:'."\n" + ."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIP'], + 'required' => false, + 'example' => '["EcsPublicIp","NatEip"]', + 'maxItems' => 200, ], ], [ - 'name' => 'ListType', + 'name' => 'MemberUid', 'in' => 'query', - 'schema' => [ - 'description' => '列表类型。取值:'."\n" - .' - **1**:用户自定义类型'."\n" - .'- **2**:地址簿类型', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['title' => '成员唯一标识符', 'description' => '成员唯一标识符', 'type' => 'string', 'required' => false, 'example' => '1234'], ], [ - 'name' => 'ListValue', + 'name' => 'IpVersion', 'in' => 'query', - 'schema' => [ - 'description' => '对应列表类型的值。', - 'type' => 'string', - 'required' => false, - 'example' => '10.130.0.0/20,10.130.17.11/32', - ], + 'schema' => ['title' => 'IP版本号', 'description' => 'IP版本号', 'type' => 'string', 'required' => false, 'example' => '4'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersFirewallId', - 'errorMessage' => 'Invalid VPC firewall ID.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorParametersWhitelistIP', - 'errorMessage' => 'Invalid whitelistIp.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'update operation log error.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error: marshal json.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => '实例状态不允许当前操作'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F2E8D49A-E5AA-5FF8-8822-25282DCF4BE8\\"\\n}","type":"json"}]', - 'title' => '修改VPC防火墙IPS白名单', - ], - 'ListTlsInspectCACertificates' => [ - 'summary' => '此接口用于查询TLS检查CA证书。', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'title' => '关闭防火墙开关', + 'description' => '本接口用于关闭防火墙开关,关闭防火墙开关后流量不经过云防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。'."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'changeSet' => [ + ['createdAt' => '2023-05-30T02:35:39.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableFwSwitch'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', + ], + 'PutEnableAllFwSwitch' => [ + 'summary' => '开启所有防火墙开关。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwCM05W3', - ], + 'abilityTreeCode' => '68511', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CaCertId', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => 'CA证书ID.', - 'type' => 'string', - 'required' => false, - 'example' => 'C3E91391-16CD-1BFC-A133-******D429', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], ], [ - 'name' => 'CurrentPage', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时的页码。默认值为1。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageSize', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为20。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => '云防火墙的ID。', 'type' => 'string', 'required' => false, 'example' => 'i-2ze8v2x5kd9qyvp2****', 'default' => '0'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-******837D', - ], - 'Certificates' => [ - 'description' => '证书列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'CaCertId' => [ - 'description' => 'CA证书ID。', - 'type' => 'string', - 'example' => '2732BB48-2969-5716-B5D9-******CA85', - ], - 'ExpirationTime' => [ - 'description' => '到期的时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1934***149', - ], - 'CaCertType' => [ - 'description' => 'CA 证书的类型,取值:'."\n" - ."\n" - .'- **ROOT**:表示根 CA 证书。'."\n" - .'- **SUB_ROOT**:表示子 CA 证书。', - 'type' => 'string', - 'example' => 'ROOT', - ], - 'AliasName' => [ - 'description' => '证书别名。', - 'type' => 'string', - 'example' => 'rsa_ml_***_root', - ], - 'Algorithm' => [ - 'description' => 'CA 证书的加密算法类型, 取值:'."\n" - .'- **RSA**:表示 RSA 算法。'."\n" - .'- **ECC**:表示 ECC 算法。'."\n" - .'- **SM2**:表示 SM2(国密)算法。', - 'type' => 'string', - 'example' => 'RSA', - ], - 'Status' => [ - 'description' => '证书状态,取值:'."\n" - .'- **ISSUE**:启用。'."\n" - .'- **REVOKE**:已吊销。', - 'type' => 'string', - 'example' => 'ISSUE', - ], - 'KeySize' => [ - 'description' => 'CA证书的密钥长度。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'SignAlgorithm' => [ - 'description' => 'CA证书的签名算法。', - 'type' => 'string', - 'example' => 'SHA256WITHRSA', - ], - 'ParentCaCertId' => [ - 'description' => '父CA证书ID。', - 'type' => 'string', - 'example' => '340BB48-2969-5716-B5D9-****ACA85', - ], - ], - ], - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], + 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrCasOpenApiFailed', - 'errorMessage' => 'Error querying certificate, please try again later.', - ], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => '实例状态不允许当前操作'], + ['errorCode' => 'ErrorInstanceOpenIpNumExceed', 'errorMessage' => 'The maximum number of protected assets has been reached.', 'description' => '防护资产的个数达到上限'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'An error occurred while updating the operation log.', 'description' => '写日志失败'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', 'errorMessage' => 'open ip region num exceed.', 'description' => '您的区域防护配额不足。'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-******837D\\",\\n \\"Certificates\\": [\\n {\\n \\"CaCertId\\": \\"2732BB48-2969-5716-B5D9-******CA85\\",\\n \\"ExpirationTime\\": 0,\\n \\"CaCertType\\": \\"ROOT\\",\\n \\"AliasName\\": \\"rsa_ml_***_root\\",\\n \\"Algorithm\\": \\"RSA\\",\\n \\"Status\\": \\"ISSUE\\",\\n \\"KeySize\\": 2048,\\n \\"SignAlgorithm\\": \\"SHA256WITHRSA\\",\\n \\"ParentCaCertId\\": \\"340BB48-2969-5716-B5D9-****ACA85\\"\\n }\\n ],\\n \\"TotalCount\\": 1\\n}","type":"json"}]', - 'title' => '查询TLS检查CA证书', - ], - 'GetTlsInspectCertificateDownloadUrl' => [ - 'summary' => '此接口用于获取TLS检查策略证书的下载路径。', - 'path' => '', - 'methods' => [ - 'get', - 'post', + 'title' => '开启所有防火墙开关', + 'description' => '本接口用于防护您阿里云账号的所有公网IP。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。'."\n" + .'调用API的请求格式,请参见本文**示例**中的请求示例。', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2024-08-22T09:15:45.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableAllFwSwitch'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', + ], + 'PutEnableFwSwitch' => [ + 'summary' => '开启防火墙开关。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwCM05W3', - ], + 'abilityTreeCode' => '68512', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ', 'FEATUREcfwMD8M6R', 'FEATUREcfwOG6NL8', 'FEATUREcfwBM3Y9U'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'CaCertId', + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => '192.0.XX.XX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。'."\n" + ."\n" + .'- **zh**:中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'IpaddrList', 'in' => 'query', + 'style' => 'repeatList', 'schema' => [ - 'description' => 'CA证书ID。'."\n" + 'description' => 'IP地址列表。'."\n" ."\n" - .'> 可通过ListTlsInspectCACertificates接口查询已有CA证书', - 'type' => 'string', - 'required' => true, - 'example' => 'C3E91391-16CD-1BFC-A133-******D429', + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => 'IP地址列表。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', 'type' => 'string', 'required' => false, 'example' => '192.0.XX.XX'], + 'required' => false, + 'example' => '["192.0.X.X","192.0.X.X"]', + 'maxItems' => 200, + ], + ], + [ + 'name' => 'RegionList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '区域列表。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => '区域列表。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou,cn-shanghai'], + 'required' => false, + 'example' => '["cn-hangzhou","cn-shanghai"]', + 'maxItems' => 200, + ], + ], + [ + 'name' => 'ResourceTypeList', + 'in' => 'query', + 'style' => 'repeatList', + 'schema' => [ + 'description' => '资产类型列表。'."\n" + ."\n" + .'取值:'."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', + 'type' => 'array', + 'items' => ['description' => '资产类型列表。'."\n" + ."\n" + .'取值:'."\n" + .'- **BastionHostEgressIP**:堡垒机出口IP。'."\n" + .'- **BastionHostIngressIP**:堡垒机入口IP。'."\n" + .'- **EcsEIP**:ECS EIP。'."\n" + .'- **EcsPublicIP**:ECS公网IP。'."\n" + .'- **EIP**:弹性公网IP。'."\n" + .'- **EniEIP**:弹性网卡EIP。'."\n" + .'- **NatEIP**:NAT EIP。'."\n" + .'- **SlbEIP**:SLB EIP(CLB EIP)。'."\n" + .'- **SlbPublicIP**:SLB 公网IP(CLB 公网IP)。'."\n" + .'- **NatPublicIP**:NAT公网IP。'."\n" + .'- **HAVIP**:高可用虚拟IP。'."\n" + .'- **NlbEIP**:NLB EIP。'."\n" + .'- **ApiGatewayEIP**:API网关公网IP。'."\n" + .'- **AlbEIP**:ALB EIP。'."\n" + .'- **AiGatewayEIP**:AI网关公网IP。'."\n" + .'- **GaEIP**:GA EIP。'."\n" + .'- **SwasEIP**:轻量应用服务器公网IP。'."\n" + .'- **EcdEIP**:无影公网IP。'."\n" + .'- **BastionHostIP**:堡垒机IP。'."\n" + ."\n" + .'> IpaddrList、RegionList、ResourceTypeList三个参数不允许同时为空,必须为其中一个参数设置取值。', 'type' => 'string', 'required' => false, 'example' => 'EcsPublicIp,NatEip'], + 'required' => false, + 'example' => '["EcsPublicIp","NatEip"]', + 'maxItems' => 200, ], ], + [ + 'name' => 'MemberUid', + 'in' => 'query', + 'schema' => ['title' => '成员唯一标识符', 'description' => '成员唯一标识符', 'type' => 'string', 'required' => false, 'example' => '1234'], + ], + [ + 'name' => 'IpVersion', + 'in' => 'query', + 'schema' => ['title' => 'IP版本号', 'description' => 'IP版本号', 'type' => 'string', 'required' => false, 'example' => '4'], + ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结果。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-******h4j6', - ], - 'DownloadUrl' => [ - 'description' => '证书下载路径。', - 'type' => 'string', - 'example' => 'https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****', - ], - 'CaCertId' => [ - 'description' => 'CA证书ID。', - 'type' => 'string', - 'example' => '1f07c104-99ed-6b9a-b0bb-2938c9b8****', + 'RequestId' => ['description' => '请求ID。', 'type' => 'string', 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8'], + 'AbnormalResourceStatusList' => [ + 'description' => '资产未同步时的状态信息列表。', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Resource' => ['description' => '资产IP。', 'type' => 'string', 'example' => '203.0.113.0'], + 'Status' => ['description' => '资产未同步时的状态。取值:'."\n" + .'- ip_not_sync:资产未同步。', 'type' => 'string', 'example' => 'ip_not_sync'], + 'Msg' => ['description' => '资产未同步时的信息。取值:'."\n" + .'- cloudfirewall do not sync this ip address:云防火墙没有同步这个资产IP。', 'type' => 'string', 'example' => 'cloudfirewall do not sync this ip address'], + ], + 'description' => '', + ], ], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorCasInnerApiFailed', - 'errorMessage' => 'API call failed, please try again later.', - ], + ['errorCode' => 'ErrorInstanceOpenIpNumExceed', 'errorMessage' => 'The maximum number of protected assets has been reached.', 'description' => '防护资产的个数达到上限'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => '实例状态不允许当前操作'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorParamsInvalid', 'errorMessage' => 'Invalid Params', 'description' => '无效的参数'], + ['errorCode' => 'ErrorInstanceOpenIpRegionNumExceed', 'errorMessage' => 'open ip region num exceed.', 'description' => '您的区域防护配额不足。'], + ['errorCode' => 'ErrorBandwidthPenalty', 'errorMessage' => 'Cloud Firewall bandwidth is being overused.', 'description' => '云防火墙带宽超量使用处置中。'], + ['errorCode' => 'ErrorGeneralInstanceSpecFull', 'errorMessage' => 'Cloud Firewall instance specifications are full.', 'description' => '云防火墙实例规格已满。'], + ], + [ + ['errorCode' => 'ErrorAuthentication', 'errorMessage' => 'An authentication error occurred.', 'description' => '认证失败'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-******h4j6\\",\\n \\"DownloadUrl\\": \\"https://cfw-tls-inspect-cn-hangzhou.oss-cn-hangzhou.aliyuncs.com/tls_cert%2F2025-08-13%2F1850****\\",\\n \\"CaCertId\\": \\"1f07c104-99ed-6b9a-b0bb-2938c9b8****\\"\\n}","type":"json"}]', - 'title' => '获取TLS检查策略证书下载路径', - 'description' => '接口返回的是CA证书临时下载链接,链接有效时间为1分钟。超时链接失效,需要重新使用此接口获取下载链接。', - ], - 'DescribeAclCheckQuota' => [ - 'summary' => '查询ACL检查额度。', - 'methods' => [ - 'get', + 'title' => '开启防火墙开关', + 'description' => '本接口用于开启防火墙开关,防火墙开关开启后流量才会经过云防火墙。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为5次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [ + ['createdAt' => '2023-08-29T10:57:57.000Z', 'description' => '响应参数发生变更'], + ['createdAt' => '2023-05-30T02:35:38.000Z', 'description' => '请求参数发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableFwSwitch'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"AbnormalResourceStatusList\\": [\\n {\\n \\"Resource\\": \\"203.0.113.0\\",\\n \\"Status\\": \\"ip_not_sync\\",\\n \\"Msg\\": \\"cloudfirewall do not sync this ip address\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n B2841452-CB8D-4F7D-B247-38E1CF7334F8\\n","errorExample":""}]', + ], + 'ReleaseExpiredInstance' => [ + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -45649,333 +39008,165 @@ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219328', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '139427', + 'abilityTreeNodes' => ['FEATUREcfwVPGXSE'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => true, 'example' => 'cfw-y3gpqq705****'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7D5483BF-2262-586D-8706-BDDB8B42****', - ], - 'Quota' => [ - 'description' => '配额。', - 'type' => 'object', - 'properties' => [ - 'AvailableQuota' => [ - 'description' => '可用额度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '500', - ], - 'ConsumedQuota' => [ - 'description' => '已消耗额度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1500', - ], - 'TotalQuota' => [ - 'description' => '总额度。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2000', - ], - 'UpdateTime' => [ - 'description' => '额度最新更新时间,单位:秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], + 'HttpStatusCode' => ['description' => 'http状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => '9EC1DB0F-EE53-5D36-B5DA-71CB******'], + 'Success' => ['description' => '本次请求是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ReleaseStatus' => ['description' => '是否释放成功:'."\n" + .'- **true**:成功。'."\n" + .'- **false**:失败。', 'type' => 'string', 'example' => 'true'], ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7D5483BF-2262-586D-8706-BDDB8B42****\\",\\n \\"Quota\\": {\\n \\"AvailableQuota\\": 500,\\n \\"ConsumedQuota\\": 1500,\\n \\"TotalQuota\\": 2000,\\n \\"UpdateTime\\": \\"1724982259\\"\\n }\\n}","type":"json"}]', - 'title' => '查询ACL检查额度', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAclChecks' => [ - 'summary' => '批量查询ACL检查列表。', - 'methods' => [ - 'get', + 'title' => '释放已到期防火墙实例', + 'summary' => '释放已过期的实例', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleaseExpiredInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"9EC1DB0F-EE53-5D36-B5DA-71CB******\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": \\"true\\"\\n}","type":"json"}]', + ], + 'ReleasePostInstance' => [ + 'summary' => '释放按量付费防火墙。', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219331', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '103471', + 'abilityTreeNodes' => ['FEATUREcfwATUJ57'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'AclType', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => 'ACL检查类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'NAT' => 'NAT边界', - 'AddressBook' => '地址簿', - 'VPC' => 'VPC边界', - 'Internet' => '互联网边界', - ], - 'example' => 'VPC', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'AddressBook', - ], - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-xxx'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9AABB1B7-C81F-5158-9EF9-B2DD5D3D****', - ], - 'CheckRecords' => [ - 'description' => 'ACL检查记录列表。', - 'type' => 'object', - 'properties' => [ - 'AclType' => [ - 'description' => 'ACL检查类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'NAT' => 'NAT边界', - 'AddressBook' => '地址簿', - 'VPC' => 'VPC边界', - 'Internet' => '互联网边界', - ], - 'example' => 'Internet', - ], - 'Records' => [ - 'description' => 'ACL检查记录列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACL检查记录。', - 'type' => 'object', - 'properties' => [ - 'CheckName' => [ - 'description' => 'ACL检查名称。', - 'type' => 'string', - 'enumValueTitles' => [ - 'PolicyDuplicate' => '重复冗余策略', - 'PolicyConflict' => '业务冲突策略', - 'AddressBookIpSeparated' => 'IP地址簿重复、重叠、分散', - 'DefaultPolicyNotDeny' => '默认兜底策略不是Deny All白名单机制', - 'PolicySourceDestinationSame' => '源和目的对象相同无效策略', - 'PolicyPortHighRisk' => '高风险端口放行风险策略', - 'PolicyTooLoose' => '管控策略过于宽松', - 'PolicyHitCountZero' => '无流量命中策略', - 'AddressBookPortSeparated' => '端口地址簿重复、重叠、分散', - 'AddressBookDomainValid' => '域名地址簿合法性校验', - ], - 'example' => 'AddressBookDomainValid', - ], - 'CheckStatus' => [ - 'description' => 'ACL检查项状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Checked' => '已检查', - 'Unchecked' => '待检查', - 'Checking' => '检查中', - ], - 'example' => 'Checked', - ], - 'CheckType' => [ - 'description' => 'ACL检查类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'InvalidPolicy' => '无效策略', - 'AddressBookGather' => '地址簿聚合', - 'HighRisk' => '减少风险', - ], - 'example' => 'AddressBookGather', - ], - 'LastCheckTime' => [ - 'description' => '最新检测时间戳,单位为秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '风险等级。', - 'type' => 'string', - 'enumValueTitles' => [ - 'High' => '高', - 'Low' => '低', - 'Medium' => '中', - ], - 'example' => 'Medium', - ], - 'AclPendingCount' => [ - 'description' => 'ACL检查任务待处理的数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'AclTotalCount' => [ - 'description' => 'ACL检查总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'TaskId' => [ - 'description' => 'ACK检查任务ID。', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - ], - ], - ], - ], - ], + 'HttpStatusCode' => ['description' => 'HTTP状态码。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'], + 'RequestId' => ['description' => '本次调用请求的ID,是由阿里云为该请求生成的唯一标识符,可用于排查和定位问题。', 'type' => 'string', 'example' => 'EE316A19-xxxx-5043-9DF1-C04458ABC570'], + 'Success' => ['description' => '本次请求是否成功。', 'type' => 'boolean', 'example' => 'true'], + 'ReleaseStatus' => ['description' => '是否释放成功:'."\n" + .'- **true**:调用成功。'."\n" + .'- **false**:调用失败。', 'type' => 'boolean', 'example' => 'true'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9AABB1B7-C81F-5158-9EF9-B2DD5D3D****\\",\\n \\"CheckRecords\\": {\\n \\"AclType\\": \\"Internet\\",\\n \\"Records\\": [\\n {\\n \\"CheckName\\": \\"AddressBookDomainValid\\",\\n \\"CheckStatus\\": \\"Checked\\",\\n \\"CheckType\\": \\"AddressBookGather\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"Medium\\",\\n \\"AclPendingCount\\": 1,\\n \\"AclTotalCount\\": 10,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '批量查询ACL检查列表', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAclCheck' => [ - 'summary' => '查询ACL检查详情。', - 'methods' => [ - 'get', + 'title' => '释放按量付费防火墙', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleasePostInstance'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleasePostInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"EE316A19-xxxx-5043-9DF1-C04458ABC570\\",\\n \\"Success\\": true,\\n \\"ReleaseStatus\\": true\\n}","type":"json"}]', + ], + 'ResetNatFirewallRuleHitCount' => [ + 'summary' => '重置NAT防火墙命中数。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219336', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '171494', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => '132', - ], + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'PageNo', + 'name' => 'AclUuid', 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '1', - ], + 'schema' => ['description' => '访问控制策略唯一标识。', 'type' => 'string', 'required' => true, 'example' => '3de3aed5-6de7-4ecd-9106-cfe994b9c49f'], ], [ - 'name' => 'PageSize', + 'name' => 'NatGatewayId', 'in' => 'query', - 'schema' => [ - 'description' => '每页数目。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '10', - ], + 'schema' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'required' => false, 'example' => 'ngw-zm0h3c1exm5bifuorg8c5'], ], ], 'responses' => [ @@ -45983,671 +39174,87 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '25E655B0-CAED-53D4-8054-F983126****', - ], - 'CheckRecord' => [ - 'description' => '检查记录。', - 'type' => 'object', - 'properties' => [ - 'AclTotalCount' => [ - 'description' => '检查时的ACL策略总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'RecordAssessmentDetail' => [ - 'description' => 'ACL检查的研判详情。', - 'type' => 'string', - 'example' => '建议删除无效策略,同时可帮助节省规格。', - ], - 'CheckName' => [ - 'description' => 'ACL检查名称。', - 'type' => 'string', - 'example' => 'PolicyHitCountZero', - ], - 'Description' => [ - 'description' => 'ACL检查项说明。', - 'type' => 'string', - 'example' => '由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。', - ], - 'LastCheckTime' => [ - 'description' => '最近检查时间戳,单位:秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '风险等级。', - 'type' => 'string', - 'example' => 'High', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - 'Acls' => [ - 'description' => 'ACL检查结果列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACL检查结果。', - 'type' => 'object', - 'properties' => [ - 'Acl' => [ - 'description' => 'ACL检查结果。', - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '互联网流量方向。取值:'."\n" - ."\n" - .'- **in**:外对内流量访问控制'."\n" - .'- **out**:内对外流量访问控制', - 'type' => 'string', - 'example' => 'out', - ], - 'Order' => [ - 'description' => '访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'SourceType' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n" - .'- **location**:源区域', - 'type' => 'string', - 'example' => 'group', - ], - 'ApplicationName' => [ - 'description' => 'VPC边界防火墙访问控制策略支持的应用类型,推荐使用ApplicationNameList。取值:'."\n" - ."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**(表示查询访问控制策略所有的应用类型)', - 'type' => 'string', - 'example' => 'ANY', - ], - 'HitTimes' => [ - 'description' => '访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'example' => 'test_policy', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'DNS解析结果。', - 'type' => 'string', - 'example' => '192.0.XX.XX', - ], - 'Proto' => [ - 'description' => '访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(表示所有协议类型)'."\n" - .'> 不设置该参数表示查询所有协议类型。', - 'type' => 'string', - 'example' => 'TCP', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。'."\n", - 'type' => 'string', - 'example' => 'domain', - ], - 'Destination' => [ - 'description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" - ."\n" - .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" - ."\n" - .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" - ."\n" - .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" - ."\n" - .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的目的地址。', - 'type' => 'string', - 'example' => 'kms.cn-shanghai.aliyuncs.com', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'my_port_group'."\n", - ], - 'AclUuid' => [ - 'description' => '访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '997b38e0-01fa-4db7-8d30-02ebf6fdb747', - ], - 'DestPortType' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '访问控制策略中的访问源地址。取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,访问源为CIDR格式的IP地址段。例如:192.0.XX.XX/24。'."\n" - .'- 当**SourceType**为`group`时,访问源地址为源地址簿名称。例如:db_group。'."\n" - .'- 当**SourceType**为`location`时,访问源地址为区域(具体区域位置编码请参见[AddControlPolicy](~~138867~~))。例如: \\["BJ11", "ZB"\\]。'."\n", - 'type' => 'string', - 'example' => '172.28.7.167', - ], - 'DestinationType' => [ - 'description' => '访问控制策略中的目的地址类型。取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名'."\n" - .'- **location**:目的区域', - 'type' => 'string', - 'example' => 'domain', - ], - 'DestPort' => [ - 'description' => '访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'example' => '80/80', - ], - 'IpVersion' => [ - 'description' => '支持的IP地址版本。取值:'."\n" - ."\n" - .'- **4**:代表IPv4地址'."\n" - .'- **6**:代表IPv6地址', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AclAction' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'log', - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - ."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => '访问控制策略中设置访问流量的应用ID。', - 'type' => 'string', - 'example' => 'plugin_idp4_ciam', - ], - 'DestinationGroupCidrs' => [ - 'description' => '访问控制策略中的目的地址簿中的网段。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的目的地址簿中的网段。', - 'type' => 'string', - 'example' => '192.0.XX.XX/32', - ], - ], - 'DestPortGroupPorts' => [ - 'description' => '目的端口地址簿中包含的端口。', - 'type' => 'array', - 'items' => [ - 'description' => '目的端口地址簿中包含的端口。', - 'type' => 'string', - 'example' => '80/80', - ], - ], - 'SourceGroupCidrs' => [ - 'description' => '访问控制策略中的源地址簿中的网段。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的源地址簿中的网段。', - 'type' => 'string', - 'example' => '111.48.54.39/32', - ], - ], - 'ApplicationNameList' => [ - 'description' => '访问控制策略支持的应用类型列表。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - .'- **ANY**(表示所有应用类型)', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC边界防火墙访问控制策略支持的应用类型列表。取值:'."\n" - ."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **MySQL**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **RDP**'."\n" - .'- **VNC**'."\n" - .'- **SSH**'."\n" - .'- **Redis**'."\n" - .'- **MQTT**'."\n" - .'- **MongoDB**'."\n" - .'- **Memcache**'."\n" - .'- **SSL**'."\n" - .'- **ANY**(表示查询访问控制策略所有的应用类型)', - 'type' => 'string', - 'example' => 'ANY', - ], - ], - 'SpreadCnt' => [ - 'description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" - .'单条策略占用的规格数 = 源地址个数(IP地址段个数或区域个数)\\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 端口段个数 \\* 应用数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CreateTime' => [ - 'description' => '创建策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '修改策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'example' => 'Permanent', - ], - 'RepeatDays' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期。'."\n" - .'> RepeatType设置为Weekly时,取值范围:0~6,每周开始于周日。'."\n" - .'> RepeatType设置为Monthly时,取值范围:1~31。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - ], - 'RepeatStartTime' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'example' => '08:00'."\n", - ], - 'RepeatEndTime' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '设置查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1730318400', - ], - 'EndTime' => [ - 'description' => '访问控制策略的策略有效期的结束时间。使用秒级时间戳格式表示。必须为整点或半点时间,且大于开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent时,EndTime为空。当RepeatType为None、Daily、Weekly、Monthly时,EndTime必须有值,您需要设置结束时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1758334822', - ], - 'AddressListCount' => [ - 'description' => '地址簿中包含地址的个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupUuid' => [ - 'description' => '地址簿的唯一标识ID。'."\n" - ."\n" - .'删除安全访问控制的地址簿,需要提供该地址簿的唯一标识ID,该ID可调用[DescribeAddressBook](~~138869~~)接口获取。', - 'type' => 'string', - 'example' => 'b91d86c3-2b52-4534-aae9-8d0339b12a48', - ], - 'AutoAddTagEcs' => [ - 'description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GroupName' => [ - 'description' => '地址簿的名称。', - 'type' => 'string', - 'example' => '钟馗开门白名单', - ], - 'ReferenceCount' => [ - 'description' => '地址簿被引用次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupType' => [ - 'description' => '地址簿的类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿。'."\n" - ."\n" - .'- **domain**:域名地址簿。'."\n" - ."\n" - .'- **port**:端口地址簿。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿。'."\n" - ."\n" - .'- **allCloud**:云服务地址簿。'."\n" - ."\n" - .'- **threat**:威胁情报地址簿。', - 'type' => 'string', - 'example' => 'ip', - ], - 'TagRelation' => [ - 'description' => '多个ECS标签间的关系。取值:'."\n" - ."\n" - .'- **and**:多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。'."\n" - ."\n" - .'- **or**:多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', - 'type' => 'string', - 'example' => 'or', - ], - 'TagList' => [ - 'description' => 'ECS标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS标签。', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'ECS标签值。', - 'type' => 'string', - 'example' => 'tfTestAcc0', - ], - 'TagKey' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'example' => 'ss', - ], - ], - ], - ], - 'AddressList' => [ - 'description' => '地址簿的地址信息。', - 'type' => 'array', - 'items' => [ - 'description' => '地址簿的地址信息。', - 'type' => 'string', - 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', - ], - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-2ze4w62zbdkwjmoqeokgl', - ], - 'DomainResolveType' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'FQDN', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-925514970c2c4bcab222', - ], - 'Addresses' => [ - 'description' => '地址和描述备注信息列表。', - 'type' => 'array', - 'items' => [ - 'description' => '地址和描述备注信息。', - 'type' => 'object', - 'properties' => [ - 'Address' => [ - 'description' => '地址簿的地址信息。', - 'type' => 'string', - 'example' => '192.0.XX.XX/32', - ], - 'Note' => [ - 'description' => '描述备注信息。', - 'type' => 'string', - 'example' => '已审核', - ], - ], - ], - ], - ], - ], - 'AclStatus' => [ - 'description' => 'ACL检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Pending' => '待处理', - 'Ignored' => '已忽略', - 'Processed' => '已处理', - ], - 'example' => 'Pending', - ], - 'AclAssessmentDetail' => [ - 'description' => '该条ACL策略的研判详情。', - 'type' => 'string', - 'example' => '无流量命中策略。', - ], - ], - ], - ], - ], - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666'], ], + 'description' => '', ], ], ], 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], 400 => [ - [ - 'errorCode' => 'ErrorAclCheckNotExist', - 'errorMessage' => 'ACL check not exist.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"25E655B0-CAED-53D4-8054-F983126****\\",\\n \\"CheckRecord\\": {\\n \\"AclTotalCount\\": 10,\\n \\"RecordAssessmentDetail\\": \\"建议删除无效策略,同时可帮助节省规格。\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"out\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"group\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.0.XX.XX\\",\\n \\"Proto\\": \\"TCP\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"my_port_group\\\\n\\",\\n \\"AclUuid\\": \\"997b38e0-01fa-4db7-8d30-02ebf6fdb747\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"172.28.7.167\\",\\n \\"DestinationType\\": \\"domain\\",\\n \\"DestPort\\": \\"80/80\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"plugin_idp4_ciam\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.0.XX.XX/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"80/80\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"111.48.54.39/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"ANY\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"Permanent\\",\\n \\"RepeatDays\\": [\\n 6\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\\\n\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1730318400,\\n \\"EndTime\\": 1758334822,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"b91d86c3-2b52-4534-aae9-8d0339b12a48\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"钟馗开门白名单\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"or\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"ss\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-2ze4w62zbdkwjmoqeokgl\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"vfw-925514970c2c4bcab222\\",\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.0.XX.XX/32\\",\\n \\"Note\\": \\"已审核\\"\\n }\\n ]\\n },\\n \\"AclStatus\\": \\"Pending\\",\\n \\"AclAssessmentDetail\\": \\"无流量命中策略。\\"\\n }\\n ]\\n }\\n}","type":"json"}]', - 'title' => '查询ACL检查详情', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'CreateAclCheck' => [ - 'summary' => '创建ACL检查。', - 'methods' => [ - 'post', + 'title' => '重置NAT防火墙命中数', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetNatFirewallRuleHitCount'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetNatFirewallRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5CAA0FFD-4B94-5BB9-8B0A-ECFC86A0E666\\"\\n}","type":"json"}]', + ], + 'ResetRuleHitCount' => [ + 'summary' => '重置规则命中数', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'readAndWrite', + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219356', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - ], + 'abilityTreeCode' => '68520', + 'abilityTreeNodes' => ['FEATUREcfw516PD4'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', + 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], + 'schema' => ['description' => '访问者源IP地址。', 'type' => 'string', 'required' => false, 'example' => '112.64.126.XXX'], ], [ - 'name' => 'AclType', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => 'ACL检查类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'NAT' => 'NAT边界', - 'AddressBook' => '地址簿', - 'VPC' => 'VPC边界', - 'Internet' => '互联网边界', - ], - 'example' => 'Internet', - 'enum' => [ - 'Internet', - 'NAT', - 'VPC', - 'AddressBook', - ], - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'CheckNames', + 'name' => 'AclUuid', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => 'ACL检查名称列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACL检查名称。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'PolicyDuplicate' => '重复冗余策略', - 'PolicyConflict' => '业务冲突策略', - 'AddressBookIpSeparated' => 'IP地址簿重复、重叠、分散', - 'DefaultPolicyNotDeny' => '默认兜底策略不是Deny All白名单机制', - 'PolicySourceDestinationSame' => '源和目的对象相同无效策略', - 'PolicyPortHighRisk' => '高风险端口放行风险策略', - 'PolicyTooLoose' => '管控策略过于宽松', - 'PolicyHitCountZero' => '无流量命中策略', - 'AddressBookPortSeparated' => '端口地址簿重复、重叠、分散', - 'AddressBookDomainValid' => '域名地址簿合法性校验', - ], - 'example' => 'PolicyHitCountZero', - 'enum' => [ - 'PolicyHitCountZero', - 'PolicySourceDestinationSame', - 'PolicyDuplicate', - 'PolicyConflict', - 'DefaultPolicyNotDeny', - 'PolicyPortHighRisk', - 'PolicyTooLoose', - 'AddressBookIpSeparated', - 'AddressBookPortSeparated', - 'AddressBookDomainValid', - ], - ], - 'required' => false, - 'maxItems' => 7, - 'minItems' => 1, - ], + 'schema' => ['description' => '访问控制策略的唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => '211fd804-30f5-470f-ab26-c465a4****'], ], ], 'responses' => [ @@ -46655,131 +39262,550 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '4FB718F0-CC04-5A12-B17B-188CFC3F****', - ], - 'TaskIds' => [ - 'description' => '任务ID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42'."\n", - ], - ], + 'Module' => ['description' => '应用模块', 'type' => 'string', 'example' => 'sg_server'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '706B2093-CBA0-51B2-BEBF-58903FC6****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorAclCheckQuotaUnavailable', - 'errorMessage' => 'ACL check quota unavailable.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorAclCheckBusy', - 'errorMessage' => 'ACL check is busy.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4FB718F0-CC04-5A12-B17B-188CFC3F****\\",\\n \\"TaskIds\\": [\\n \\"task-c92d4544ef7b6a42\\\\n\\"\\n ]\\n}","type":"json"}]', - 'title' => '创建ACL检查', - ], - 'UpdateAclCheckDetailStatus' => [ - 'summary' => '修改ACL检查详情状态。', - 'methods' => [ - 'post', + 'title' => '重置规则命中数', + 'description' => '本接口一般用于将指定的VPC防火墙策略组访问控制策略的命中计数清零。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"706B2093-CBA0-51B2-BEBF-58903FC6****\\"\\n}","type":"json"}]', + ], + 'ResetVpcFirewallRuleHitCount' => [ + 'summary' => '将指定的VPC防火墙策略组访问控制策略的命中计数清零。', + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'read', + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68521', + 'abilityTreeNodes' => ['FEATUREcfw8B8ITI'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AclUuid', + 'in' => 'query', + 'schema' => ['description' => '访问控制策略的唯一标识ID。'."\n" + ."\n" + .'重置访问控制策略时,需要提供该策略的唯一标识ID。您可调用[DescribeVpcFirewallControlPolicy](~~159758~~)接口获取该ID。', 'type' => 'string', 'required' => true, 'example' => '00281255-d220-4db1-8f4f-c4df221a****'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], + ], + 400 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ['errorCode' => 'ErrorAclNotExist', 'errorMessage' => 'The ACL does not exist.', 'description' => 'ACL不存在'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '将VPC防火墙问控制策略命中计数清零', + 'description' => '本接口一般用于将指定的VPC防火墙策略组访问控制策略的命中计数清零。'."\n" + ."\n" + .'## QPS限制'."\n" + .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', + 'requestParamsDescription' => ' ', + 'responseParamsDescription' => ' ', + 'extraInfo' => ' ', + 'changeSet' => [ + ['createdAt' => '2025-01-16T08:08:01.000Z', 'description' => '错误码发生变更'], + ['createdAt' => '2024-07-31T03:27:43.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetVpcFirewallRuleHitCount'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetVpcFirewallRuleHitCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ], + ], + ], + ], + 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\r\\nCBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\r\\n","errorExample":""}]', + ], + 'SetAutoProtectNewAssets' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '219361', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + 'abilityTreeCode' => '68526', + 'abilityTreeNodes' => ['FEATUREcfwEWN5PJ'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'SourceIp', + 'in' => 'query', + 'schema' => ['description' => '访问者源ip地址。', 'type' => 'string', 'required' => false, 'example' => '60.182.79.XXX'], + ], + [ + 'name' => 'Lang', + 'in' => 'query', + 'schema' => ['description' => '语言类型。取值:-**zh**(默认值):中文-**en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'AutoProtect', + 'in' => 'query', + 'schema' => ['description' => '设置是否开启自动引流。取值:-**true**:开启。-**false**:不开启。', 'type' => 'boolean', 'required' => true, 'example' => 'true'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'description' => '返回值', + 'type' => 'object', + 'properties' => [ + 'Module' => ['description' => '防火墙模块。', 'type' => 'string', 'example' => 'api_server'], + 'RequestId' => ['description' => '结果的请求id。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], + ], + ], + ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorNoInstanceInDb', 'errorMessage' => 'no instance for process in db.', 'description' => '访问的实例不存在。'], + ['errorCode' => 'ErrorInstanceStatusNotNormal', 'errorMessage' => 'This operation is not supported when the instance is in the current state.', 'description' => '实例状态不允许当前操作'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '开启自动保护新入资产', + 'summary' => '开启自动保护新入资产', + 'description' => '每个云防火墙实例最多支持创建100个TLS检查策略的关联关系。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SetAutoProtectNewAssets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"api_server\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + 'SwitchSecurityProxy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68530', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + ."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + [ + 'name' => 'ProxyId', + 'in' => 'query', + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => true, 'example' => 'proxy-natbf******'], + ], + [ + 'name' => 'Switch', + 'in' => 'query', + 'schema' => ['description' => '安全防护开关。取值:'."\n" + .'- open:打开'."\n" + .'- close:关闭', 'type' => 'string', 'required' => true, 'example' => 'open'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '语言。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => '结果的请求ID。', 'type' => 'string', 'example' => 'F1E55690-3ABA-58FA-90E3-593EF******'], ], - 'example' => 'zh', + 'description' => '', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'NAT防火墙名称无效。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorProxyStatusNotNormal', 'errorMessage' => 'proxy status is not normal.', 'description' => '当前NAT实例未开启防火墙。'], + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'internal error.', 'description' => '内部错误:数据库更新错误。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '开/关NAT防火墙', + 'summary' => '开/关NAT防火墙。', + 'changeSet' => [ + ['createdAt' => '2025-02-20T01:44:01.000Z', 'description' => '错误码发生变更'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSecurityProxy'], + ], + ], + 'ramActions' => [ [ - 'name' => 'TaskId', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SwitchSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1E55690-3ABA-58FA-90E3-593EF******\\"\\n}","type":"json"}]', + ], + 'UpdateAITrafficAnalysisStatus' => [ + 'summary' => '修改AI流量分析开启状态', + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATUREcfwB677AM'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Status', 'in' => 'query', + 'schema' => ['description' => '开启状态。取值:'."\n" + ."\n" + .'- **open**:打开'."\n" + .'- **close**:关闭', 'type' => 'string', 'required' => false, 'example' => 'normal'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => 'ACL检查任务ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'task-c92d4544ef7b6a42', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '4E7F94C7-781F-5192-86CF-DB085013C810'], + ], ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改AI流量分析开启状态', + 'description' => '统计范围为该用户当前云防火墙实例,包括自购买之日起的所有数据。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'Uuid', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB085013C810\\"\\n}","type":"json"}]', + ], + 'UpdateAckClusterConnector' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '231709', + 'abilityTreeNodes' => ['FEATUREcfw0T2ZBS'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'ConnectorId', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'required' => true, 'example' => 'ac-7c1bad6c3cc84c33baab'], + ], + [ + 'name' => 'ConnectorName', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'ack-cluster-connector-name'], + ], + [ + 'name' => 'Ttl', + 'in' => 'query', + 'schema' => ['description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', 'type' => 'string', 'required' => false, 'example' => '30'], + ], + ], + 'responses' => [ + 200 => [ + 'schema' => [ + 'type' => 'object', + 'properties' => [ + 'AckClusterConnector' => [ + 'description' => 'ACK集群连接器。', + 'type' => 'object', + 'properties' => [ + 'ConnectorId' => ['description' => 'ACK集群连接器ID。取值来源:'."\n" + .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', 'type' => 'string', 'example' => 'ac-7c1bad6c3cc84c33baab'], + 'ConnectorName' => ['description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'example' => 'ack-cluster-connector-name'], + 'MemberUid' => ['description' => 'ACK集群资源所属的阿里云UID。', 'type' => 'string', 'example' => '135809047715****'."\n"], + 'RegionNo' => ['description' => 'ACK集群连接器地域ID。取值来源:'."\n" + .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" + ."\n" + .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', 'type' => 'string', 'example' => 'cn-beijing'], + 'ClusterId' => ['description' => 'ACK集群ID。取值来源:'."\n" + .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', 'type' => 'string', 'example' => 'c57ecf39ff32c415e8549a7df27a7e947'], + 'ClusterName' => ['description' => 'ACK集群名称。', 'type' => 'string', 'example' => 'ack-cluster-name'], + 'VpcId' => ['description' => 'ACK集群所属VPC实例ID。', 'type' => 'string', 'example' => 'vpc-j6cvhdscntzuvr0x****'], + 'PrimaryVswitchId' => ['description' => 'ACK集群连接器主交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2zerfbbje7dvnbii2****'], + 'PrimaryVswitchZoneId' => ['description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-g'], + 'PrimaryVswitchIp' => ['description' => 'ACK集群连接器主交换机IP。', 'type' => 'string', 'example' => '10.100.1.1'], + 'StandbyVswitchId' => ['description' => 'ACK集群连接器备交换机。取值来源:'."\n" + .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', 'type' => 'string', 'example' => 'vsw-2ze2gtlfozrab01cfo****'], + 'StandbyVswitchZoneId' => ['description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" + .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', 'type' => 'string', 'example' => 'cn-beijing-h'], + 'StandbyVswitchIp' => ['description' => 'ACK集群连接器备交换机IP。', 'type' => 'string', 'example' => '10.100.2.1'], + 'Ttl' => ['description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', 'type' => 'integer', 'format' => 'int32', 'example' => '30'], + 'ConnectorStatus' => [ + 'description' => 'ACK集群连接器实例状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'deleting' => '删除中', 'ready' => '正常'], + 'example' => 'ready', + ], + 'ConnectorHealthCheckStatus' => [ + 'description' => 'ACK集群连接器的健康检查状态。', + 'type' => 'string', + 'enumValueTitles' => ['init' => '初始化中', 'healthy' => '健康', 'unhealthy' => '不健康'], + 'example' => 'healthy', + ], + 'CreateTime' => ['description' => '创建ACK集群连接器的时间戳,单位:秒。', 'type' => 'string', 'example' => '1724982259'], + ], + ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '5D16AADE-DA2E-5CAB-AA3B-AA197D97****'], + ], + 'description' => '', + ], + ], + ], + 'errorCodes' => [ + 200 => [ + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid is invalid.', 'description' => '无效的Aliuid'], + ], + 400 => [ + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'errorMessage' => 'The ACK cluster connector status is not allow operate.', 'description' => '指定的ACK集群连接器状态不允许操作。'], + ], + 404 => [ + ['errorCode' => 'ErrorAckClusterConnectorNotFound', 'errorMessage' => 'The specified resource ACK cluster connector is not found.', 'description' => '指定资源的ACK集群连接器不存在。'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => '修改ACK集群连接器', + 'summary' => '修改ACK集群连接器。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c57ecf39ff32c415e8549a7df27a7e947\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"5D16AADE-DA2E-5CAB-AA3B-AA197D97****\\"\\n}","type":"json"}]', + ], + 'UpdateAclCheckDetailStatus' => [ + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '219361', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => 'ACL检查详情中的ACL策略唯一标识ID。', + 'description' => '语言。', 'type' => 'string', - 'required' => true, - 'example' => 'bbbb43c9-a931-4d89-9939-86d509139a20', + 'required' => false, + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文(默认)'], + 'example' => 'zh', ], ], + [ + 'name' => 'TaskId', + 'in' => 'query', + 'schema' => ['description' => 'ACL检查任务ID。', 'type' => 'string', 'required' => true, 'example' => 'task-c92d4544ef7b6a42'], + ], + [ + 'name' => 'Uuid', + 'in' => 'query', + 'schema' => ['description' => 'ACL检查详情中的ACL策略唯一标识ID。', 'type' => 'string', 'required' => true, 'example' => 'bbbb43c9-a931-4d89-9939-86d509139a20'], + ], [ 'name' => 'Status', 'in' => 'query', @@ -46787,17 +39813,9 @@ 'description' => '修改状态。', 'type' => 'string', 'required' => true, - 'enumValueTitles' => [ - 'Pending' => '待处理', - 'Ignored' => '已忽略', - 'Processed' => '已处理', - ], + 'enumValueTitles' => ['Pending' => '待处理', 'Ignored' => '已忽略', 'Processed' => '已处理'], 'example' => 'Pending', - 'enum' => [ - 'Pending', - 'Processed', - 'Ignored', - ], + 'enum' => ['Pending', 'Processed', 'Ignored'], ], ], ], @@ -46806,12 +39824,7 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '850A84D6************00090125EEB1'], 'CheckRecord' => [ 'description' => 'ACL检查记录。', 'type' => 'object', @@ -46827,285 +39840,153 @@ 'description' => 'ACL检查结果。', 'type' => 'object', 'properties' => [ - 'Direction' => [ - 'description' => '安全访问控制策略管控的流量方向。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **in**:流量从外到内。'."\n" - .'- **out**:流量从内到外。', - 'type' => 'string', - 'example' => 'in', - ], - 'Order' => [ - 'description' => '访问控制策略生效的优先级。'."\n" - ."\n" - .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'desc', - ], - 'SourceType' => [ - 'description' => '访问控制策略中的源地址类型。取值:'."\n" - ."\n" - .'- **net**:源网段(CIDR地址)'."\n" - .'- **group**:源地址簿'."\n" - .'- **location**:源区域', - 'type' => 'string', - 'example' => 'net', - ], - 'ApplicationName' => [ - 'description' => '访问控制策略支持的应用类型。取值:'."\n" - .'- **FTP**'."\n" - .'- **HTTP**'."\n" - .'- **HTTPS**'."\n" - .'- **Memcache**'."\n" - .'- **MongoDB**'."\n" - .'- **MQTT**'."\n" - .'- **MySQL**'."\n" - .'- **RDP**'."\n" - .'- **Redis**'."\n" - .'- **SMTP**'."\n" - .'- **SMTPS**'."\n" - .'- **SSH**'."\n" - .'- **SSL_No_Cert**'."\n" - .'- **SSL**'."\n" - .'- **VNC**'."\n" - ."\n" - .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", - 'type' => 'string', - 'example' => 'ANY', - ], - 'HitTimes' => [ - 'description' => '访问控制策略的命中次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'Description' => [ - 'description' => '访问控制策略的描述信息。', - 'type' => 'string', - 'example' => 'test_policy', - ], - 'SourceGroupType' => [ - 'description' => '访问控制策略中的源地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', - 'type' => 'string', - 'example' => 'ip', - ], - 'DnsResultTime' => [ - 'description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DnsResult' => [ - 'description' => 'DNS解析结果。', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - 'Proto' => [ - 'description' => '访问控制策略中访问流量的协议类型。取值:'."\n" - ."\n" - .'- **TCP**'."\n" - .'- **UDP**'."\n" - .'- **ICMP**'."\n" - .'- **ANY**(表示所有协议类型)'."\n" - .'> 不设置该参数表示查询所有协议类型。', - 'type' => 'string', - 'example' => 'ANY', - ], - 'DestinationGroupType' => [ - 'description' => '访问控制策略中的目的地址簿类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" - ."\n" - .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" - ."\n" - .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" - ."\n" - .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', - 'type' => 'string', - 'example' => 'domain', - ], - 'Destination' => [ - 'description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" - ."\n" - .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" - ."\n" - .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" - ."\n" - .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" - ."\n" - .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" - ."\n" - .'> 不设置该参数表示查询所有类型的目的地址。', - 'type' => 'string', - 'example' => 'kms.cn-shanghai.aliyuncs.com', - ], - 'HitLastTime' => [ - 'description' => '最新命中时间戳。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579261141', - ], - 'DestPortGroup' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => '所有端口', - ], - 'AclUuid' => [ - 'description' => '安全访问控制策略的唯一标识ID。', - 'type' => 'string', - 'example' => '1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c', - ], - 'DestPortType' => [ - 'description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" - .'- **port**:端口'."\n" - .'- **group**:端口地址簿', - 'type' => 'string', - 'example' => 'port', - ], - 'Source' => [ - 'description' => '访问控制策略中的源地址。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" - ."\n" - .' 例如:10.2.4.0/24'."\n" - ."\n" - .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" - ."\n" - .' 例如:db_group', - 'type' => 'string', - 'example' => '10.71.94.24', - ], - 'DestinationType' => [ - 'description' => '访问控制策略中的目的地址类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **net**:目的网段(CIDR地址)'."\n" - .'- **group**:目的地址簿'."\n" - .'- **domain**:目的域名', - 'type' => 'string', - 'example' => 'group', - ], - 'DestPort' => [ - 'description' => '访问控制策略中访问流量的目的端口。', - 'type' => 'string', - 'example' => '22/22', - ], - 'IpVersion' => [ - 'description' => '云防火墙防护的资产的IP版本。取值:'."\n" - ."\n" - .'- **4**(默认):IPv4。'."\n" - .'- **6**:IPv6。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'AclAction' => [ - 'description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" - ."\n" - .'- **accept**:放行'."\n" - .'- **drop**:拒绝'."\n" - .'- **log**:观察', - 'type' => 'string', - 'example' => 'log', - ], - 'Release' => [ - 'description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" - ."\n" - .'- **true**:启用访问控制策略'."\n" - .'- **false**:不启用访问控制策略', - 'type' => 'string', - 'example' => 'true', - ], - 'ApplicationId' => [ - 'description' => '访问控制策略中设置访问流量的应用ID。', - 'type' => 'string', - 'example' => 'HTTP', - ], + 'Direction' => ['description' => '安全访问控制策略管控的流量方向。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **in**:流量从外到内。'."\n" + .'- **out**:流量从内到外。', 'type' => 'string', 'example' => 'in'], + 'Order' => ['description' => '访问控制策略生效的优先级。'."\n" + ."\n" + .'优先级数字从1开始顺序递增,优先级数字越小,优先级越高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'SourceType' => ['description' => '访问控制策略中的源地址类型。取值:'."\n" + ."\n" + .'- **net**:源网段(CIDR地址)'."\n" + .'- **group**:源地址簿'."\n" + .'- **location**:源区域', 'type' => 'string', 'example' => 'net'], + 'ApplicationName' => ['description' => '访问控制策略支持的应用类型。取值:'."\n" + .'- **FTP**'."\n" + .'- **HTTP**'."\n" + .'- **HTTPS**'."\n" + .'- **Memcache**'."\n" + .'- **MongoDB**'."\n" + .'- **MQTT**'."\n" + .'- **MySQL**'."\n" + .'- **RDP**'."\n" + .'- **Redis**'."\n" + .'- **SMTP**'."\n" + .'- **SMTPS**'."\n" + .'- **SSH**'."\n" + .'- **SSL_No_Cert**'."\n" + .'- **SSL**'."\n" + .'- **VNC**'."\n" + ."\n" + .'> 支持的应用类型取值与协议类型(Proto)取值存在依赖关系。Proto为TCP协议时,ApplicationNameList支持选择以上所有应用类型。当ApplicationNameList和ApplicationName同时传值时,以ApplicationNameList为准。'."\n", 'type' => 'string', 'example' => 'ANY'], + 'HitTimes' => ['description' => '访问控制策略的命中次数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'Description' => ['description' => '访问控制策略的描述信息。', 'type' => 'string', 'example' => 'test_policy'], + 'SourceGroupType' => ['description' => '访问控制策略中的源地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', 'type' => 'string', 'example' => 'ip'], + 'DnsResultTime' => ['description' => 'DNS解析的时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DnsResult' => ['description' => 'DNS解析结果。', 'type' => 'string', 'example' => '192.168.0.1/32'], + 'Proto' => ['description' => '访问控制策略中访问流量的协议类型。取值:'."\n" + ."\n" + .'- **TCP**'."\n" + .'- **UDP**'."\n" + .'- **ICMP**'."\n" + .'- **ANY**(表示所有协议类型)'."\n" + .'> 不设置该参数表示查询所有协议类型。', 'type' => 'string', 'example' => 'ANY'], + 'DestinationGroupType' => ['description' => '访问控制策略中的目的地址簿类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿,包含一个或多个IP地址段。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿,包含一个或多个ECS标签下的IP地址。'."\n" + ."\n" + .'- **domain**:域名地址簿,包含一个或多个域名地址。'."\n" + ."\n" + .'- **threat**:威胁地址簿,包含一个或多个恶意IP或域名地址。'."\n" + ."\n" + .'- **backsrc**:回源地址簿,包含一个或多个DDoS防护实例或WAF实例的回源地址。', 'type' => 'string', 'example' => 'domain'], + 'Destination' => ['description' => '访问控制策略中的目的地址。支持模糊查询。DestinationType(目的类型)不同,目的地址的取值也不同。'."\n" + ."\n" + .'- 当DestinationType为`net`时,目的地址为CIDR格式的IP地址段。例如:10.0.3.0/24。'."\n" + ."\n" + .'- 当DestinationType为`domain`时,目的地址为域名。例如:aliyun。'."\n" + ."\n" + .'- 当DestinationType为`group`时,目的地址为地址簿的名称。例如:db_group。'."\n" + ."\n" + .'- 当DestinationType为`location`时,目的地址为区域名称(具体区域位置编码请参见AddControlPolicy。例如:["BJ11", "ZB"]。'."\n" + ."\n" + .'> 不设置该参数表示查询所有类型的目的地址。', 'type' => 'string', 'example' => 'kms.cn-shanghai.aliyuncs.com'], + 'HitLastTime' => ['description' => '最新命中时间戳。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1579261141'], + 'DestPortGroup' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'AclUuid' => ['description' => '安全访问控制策略的唯一标识ID。', 'type' => 'string', 'example' => '1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c'], + 'DestPortType' => ['description' => '访问控制策略中流量访问的目的端口类型。取值:'."\n" + .'- **port**:端口'."\n" + .'- **group**:端口地址簿', 'type' => 'string', 'example' => 'port'], + 'Source' => ['description' => '访问控制策略中的源地址。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- 当**SourceType**为`net`时,Source为源CIDR地址。'."\n" + ."\n" + .' 例如:10.2.4.0/24'."\n" + ."\n" + .'- 当**SourceType**为`group`时,Source为源地址簿名称。'."\n" + ."\n" + .' 例如:db_group', 'type' => 'string', 'example' => '10.71.94.24'], + 'DestinationType' => ['description' => '访问控制策略中的目的地址类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **net**:目的网段(CIDR地址)'."\n" + .'- **group**:目的地址簿'."\n" + .'- **domain**:目的域名', 'type' => 'string', 'example' => 'group'], + 'DestPort' => ['description' => '访问控制策略中访问流量的目的端口。', 'type' => 'string', 'example' => '22/22'], + 'IpVersion' => ['description' => '云防火墙防护的资产的IP版本。取值:'."\n" + ."\n" + .'- **4**(默认):IPv4。'."\n" + .'- **6**:IPv6。', 'type' => 'integer', 'format' => 'int32', 'example' => '4'], + 'AclAction' => ['description' => '访问控制策略中设置的流量通过云防火墙的方式(动作)。取值:'."\n" + ."\n" + .'- **accept**:放行'."\n" + .'- **drop**:拒绝'."\n" + .'- **log**:观察', 'type' => 'string', 'example' => 'log'], + 'Release' => ['description' => '访问控制策略的启用状态。策略创建后默认启用该策略。取值:'."\n" + ."\n" + .'- **true**:启用访问控制策略'."\n" + .'- **false**:不启用访问控制策略', 'type' => 'string', 'example' => 'true'], + 'ApplicationId' => ['description' => '访问控制策略中设置访问流量的应用ID。', 'type' => 'string', 'example' => 'HTTP'], 'DestinationGroupCidrs' => [ 'description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], + 'items' => ['description' => '访问控制策略中的目的地址簿中的网段列表。'."\n", 'type' => 'string', 'example' => '192.168.0.1/32'], ], 'DestPortGroupPorts' => [ 'description' => '目的端口地址簿中包含的端口列表。', 'type' => 'array', - 'items' => [ - 'description' => '目的端口地址簿中包含的端口列表。', - 'type' => 'string', - 'example' => '22/22', - ], + 'items' => ['description' => '目的端口地址簿中包含的端口列表。', 'type' => 'string', 'example' => '22/22'], ], 'SourceGroupCidrs' => [ 'description' => '访问控制策略中的源地址簿中的网段列表。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略中的源地址簿中的网段列表。', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], + 'items' => ['description' => '访问控制策略中的源地址簿中的网段列表。', 'type' => 'string', 'example' => '192.168.0.1/32'], ], 'ApplicationNameList' => [ 'description' => '访问控制策略支持的应用类型列表。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略支持的应用类型列表。', - 'type' => 'string', - 'example' => 'SSH', - ], - ], - 'SpreadCnt' => [ - 'description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" - .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 应用数 \\* 端口段个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'CreateTime' => [ - 'description' => '创建策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'ModifyTime' => [ - 'description' => '修改策略的时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1761062400', - ], - 'RepeatType' => [ - 'description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" - .'- **Permanent**(默认):总是'."\n" - .'- **None**:指定单次时间'."\n" - .'- **Daily**:每天'."\n" - .'- **Weekly**:每周'."\n" - .'- **Monthly**:每月', - 'type' => 'string', - 'example' => 'None', + 'items' => ['description' => '访问控制策略支持的应用类型列表。', 'type' => 'string', 'example' => 'SSH'], ], + 'SpreadCnt' => ['description' => '占用访问控制策略的规格数,即每条策略占用规格数的累加值。'."\n" + .'单条策略占用访问控制策略的规格数=访问源地址段个数 \\* 目的地址个数(IP地址段个数或区域个数或域名个数)\\* 应用数 \\* 端口段个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '10'], + 'CreateTime' => ['description' => '策略创建时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'ModifyTime' => ['description' => '策略最后修改时间。使用秒级Unix时间戳表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1761062400'], + 'RepeatType' => ['description' => '访问控制策略的策略有效期的重复类型。取值:'."\n" + .'- **Permanent**(默认):总是'."\n" + .'- **None**:指定单次时间'."\n" + .'- **Daily**:每天'."\n" + .'- **Weekly**:每周'."\n" + .'- **Monthly**:每月', 'type' => 'string', 'example' => 'None'], 'RepeatDays' => [ 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" @@ -47117,97 +39998,43 @@ .' 例如:[1, 31]'."\n" .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', 'type' => 'array', - 'items' => [ - 'description' => '访问控制策略的策略有效期的重复日期集合。'."\n" - .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" - .' 例如:[]'."\n" - .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" - .' 例如:[0, 6]'."\n" - .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" - .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" - .' 例如:[1, 31]'."\n" - .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - ], - 'RepeatStartTime' => [ - 'description' => '访问控制策略的策略有效期的重复开始时间。例如:08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', - 'type' => 'string', - 'example' => '08:00', - ], - 'RepeatEndTime' => [ - 'description' => '访问控制策略的策略有效期的重复结束时间。例如:23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" - .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', - 'type' => 'string', - 'example' => '23:30', - ], - 'StartTime' => [ - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1736130347', - ], - 'EndTime' => [ - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1752754426', - ], - 'AddressListCount' => [ - 'description' => '地址簿中包含地址的个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupUuid' => [ - 'description' => '地址簿的唯一标识ID。'."\n" - ."\n" - .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', - 'type' => 'string', - 'example' => '5a96a798-9b73-47f7-831e-1d7aa3c987a9', - ], - 'AutoAddTagEcs' => [ - 'description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'GroupName' => [ - 'description' => '地址簿的名称。', - 'type' => 'string', - 'example' => 'subscribe', - ], - 'ReferenceCount' => [ - 'description' => '地址簿被引用次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'GroupType' => [ - 'description' => '地址簿的类型。取值:'."\n" - ."\n" - .'- **ip**:IP地址簿。'."\n" - ."\n" - .'- **domain**:域名地址簿。'."\n" - ."\n" - .'- **port**:端口地址簿。'."\n" - ."\n" - .'- **tag**:ECS标签地址簿。'."\n" - ."\n" - .'- **allCloud**:云服务地址簿。'."\n" - ."\n" - .'- **threat**:威胁情报地址簿。', - 'type' => 'string', - 'example' => 'port', - ], - 'TagRelation' => [ - 'description' => '多个ECS标签间的关系。', - 'type' => 'string', - 'example' => 'and', + 'items' => ['description' => '访问控制策略的策略有效期的重复日期集合。'."\n" + .'- 当RepeatType为`Permanent`、`None`、`Daily`时,RepeatDays为空集合。'."\n" + .' 例如:[]'."\n" + .'- 当RepeatType为Weekly时,RepeatDays不能为空。'."\n" + .' 例如:[0, 6]'."\n" + .'> RepeatType设置为Weekly时,RepeatDays不允许重复。'."\n" + .'- 当RepeatType为`Monthly`时,RepeatDays不能为空。'."\n" + .' 例如:[1, 31]'."\n" + .'> RepeatType设置为Monthly时,RepeatDays不允许重复。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], ], + 'RepeatStartTime' => ['description' => '策略生效的重复开始时间。使用HH:mm格式的24小时制时间,如08:00,必须为整点或半点时间,且小于重复结束时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatStartTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatStartTime必须有值,您需要设置重复开始时间。', 'type' => 'string', 'example' => '08:00'], + 'RepeatEndTime' => ['description' => '策略生效的重复结束时间。使用HH:mm格式的24小时制时间,如23:30,必须为整点或半点时间,且大于重复开始时间至少半小时。'."\n" + .'> 当RepeatType为Permanent、None时,RepeatEndTime为空。当RepeatType为Daily、Weekly、Monthly时,RepeatEndTime必须有值,您需要设置重复结束时间。', 'type' => 'string', 'example' => '23:30'], + 'StartTime' => ['description' => '查询开始时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736130347'], + 'EndTime' => ['description' => '查询结束时间。使用秒级时间戳格式表示。', 'type' => 'integer', 'format' => 'int64', 'example' => '1752754426'], + 'AddressListCount' => ['description' => '地址簿中包含地址的个数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GroupUuid' => ['description' => '地址簿的唯一标识ID。'."\n" + ."\n" + .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', 'type' => 'string', 'example' => '5a96a798-9b73-47f7-831e-1d7aa3c987a9'], + 'AutoAddTagEcs' => ['description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'GroupName' => ['description' => '地址簿的名称。', 'type' => 'string', 'example' => 'subscribe'], + 'ReferenceCount' => ['description' => '地址簿被引用次数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'GroupType' => ['description' => '地址簿的类型。取值:'."\n" + ."\n" + .'- **ip**:IP地址簿。'."\n" + ."\n" + .'- **domain**:域名地址簿。'."\n" + ."\n" + .'- **port**:端口地址簿。'."\n" + ."\n" + .'- **tag**:ECS标签地址簿。'."\n" + ."\n" + .'- **allCloud**:云服务地址簿。'."\n" + ."\n" + .'- **threat**:威胁情报地址簿。', 'type' => 'string', 'example' => 'port'], + 'TagRelation' => ['description' => '多个ECS标签间的关系。', 'type' => 'string', 'example' => 'and'], 'TagList' => [ 'description' => 'ECS标签列表。', 'type' => 'array', @@ -47215,159 +40042,102 @@ 'description' => 'ECS标签。', 'type' => 'object', 'properties' => [ - 'TagValue' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'example' => 'tfTestAcc0', - ], - 'TagKey' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'example' => 'produce', - ], + 'TagValue' => ['description' => 'ECS标签键。', 'type' => 'string', 'example' => 'tfTestAcc0'], + 'TagKey' => ['description' => 'ECS标签键。', 'type' => 'string', 'example' => 'produce'], ], ], ], 'AddressList' => [ 'description' => '地址簿的地址列表信息。', 'type' => 'array', - 'items' => [ - 'description' => '地址簿的地址列表信息。', - 'type' => 'string', - 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32', - ], - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-gw85zno51npz7lgc04z89', - ], - 'DomainResolveType' => [ - 'description' => '访问控制策略的域名解析方式。取值:'."\n" - ."\n" - .'* **FQDN**:基于FQDN'."\n" - .'* **DNS**:基于DNS动态解析'."\n" - .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'cen-cw4z051hr8x53qniv5', + 'items' => ['description' => '地址簿的地址列表信息。', 'type' => 'string', 'example' => '183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32'], ], + 'NatGatewayId' => ['description' => 'NAT网关的ID。', 'type' => 'string', 'example' => 'ngw-gw85zno51npz7lgc04z89'], + 'DomainResolveType' => ['description' => '访问控制策略的域名解析方式。取值:'."\n" + ."\n" + .'* **FQDN**:基于FQDN'."\n" + .'* **DNS**:基于DNS动态解析'."\n" + .'* **FQDN_AND_DNS**:基于FQDN与DNS动态解析', 'type' => 'integer', 'format' => 'int32', 'example' => '0'], + 'VpcFirewallId' => ['description' => 'VPC边界防火墙的实例ID。', 'type' => 'string', 'example' => 'cen-cw4z051hr8x53qniv5'], ], ], - 'AclStatus' => [ - 'description' => 'ACL检查状态。', - 'type' => 'string', - 'example' => 'configuring', - ], - 'AclAssessmentDetail' => [ - 'description' => '该条ACL策略的研判详情。', - 'type' => 'string', - 'example' => '无流量命中策略。', - ], + 'AclStatus' => ['description' => 'ACL检查状态。', 'type' => 'string', 'example' => 'configuring'], + 'AclAssessmentDetail' => ['description' => '该条ACL策略的研判详情。', 'type' => 'string', 'example' => 'No traffic hit policy.'], ], ], ], - 'RecordAssessmentDetail' => [ - 'description' => '该条ACL检查研判详情。', - 'type' => 'string', - 'example' => '由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。', - ], - 'CheckName' => [ - 'description' => 'ACL检查名称。取值:'."\n" - ."\n" - .'- **PolicyHitCountZero**:无流量命中策略'."\n" - ."\n" - .'- **PolicySourceDestinationSame**:源和目的对象相同无效策略'."\n" - ."\n" - .'- **PolicyDuplicate**:重复冗余策略'."\n" - ."\n" - .'- **PolicyConflict**:业务冲突策略'."\n" - ."\n" - .'- **DefaultPolicyNotDeny**:默认兜底策略不是Deny All白名单机制'."\n" - ."\n" - .'- **PolicyPortHighRisk**:高风险端口放行风险策略'."\n" - ."\n" - .'- **PolicyTooLoose**: 管控策略过于宽松'."\n" - ."\n" - .'- **AddressBookIpSeparated**:IP地址簿重复、重叠、分散'."\n" - ."\n" - .'- **AddressBookPortSeparated**:端口地址簿重复、重叠、分散'."\n" - ."\n" - .'- **AddressBookDomainValid**:域名地址簿合法性校验', - 'type' => 'string', - 'example' => 'PolicyHitCountZero', - ], - 'Description' => [ - 'description' => '规则描述。', - 'type' => 'string', - 'example' => 'dwd_mysql_lingwan_faxing_chat_config_di', - ], - 'LastCheckTime' => [ - 'description' => '最新检测时间戳,单位为秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - 'Level' => [ - 'description' => '风险等级。', - 'type' => 'string', - 'example' => 'High', - ], - 'PolicyTotalCount' => [ - 'description' => '策略总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'TaskId' => [ - 'description' => 'ACL检查任务ID。', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAclCheckNotExist', - 'errorMessage' => 'ACL check not exist.', - ], - [ - 'errorCode' => 'ErrorAclCheckDetailNotExist', - 'errorMessage' => 'ACL check detail not exist.', + 'RecordAssessmentDetail' => ['description' => '该条ACL检查研判详情。', 'type' => 'string', 'example' => 'Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.'."\n"], + 'CheckName' => ['description' => 'ACL检查名称。取值:'."\n" + ."\n" + .'- **PolicyHitCountZero**:无流量命中策略'."\n" + ."\n" + .'- **PolicySourceDestinationSame**:源和目的对象相同无效策略'."\n" + ."\n" + .'- **PolicyDuplicate**:重复冗余策略'."\n" + ."\n" + .'- **PolicyConflict**:业务冲突策略'."\n" + ."\n" + .'- **DefaultPolicyNotDeny**:默认兜底策略不是Deny All白名单机制'."\n" + ."\n" + .'- **PolicyPortHighRisk**:高风险端口放行风险策略'."\n" + ."\n" + .'- **PolicyTooLoose**: 管控策略过于宽松'."\n" + ."\n" + .'- **AddressBookIpSeparated**:IP地址簿重复、重叠、分散'."\n" + ."\n" + .'- **AddressBookPortSeparated**:端口地址簿重复、重叠、分散'."\n" + ."\n" + .'- **AddressBookDomainValid**:域名地址簿合法性校验', 'type' => 'string', 'example' => 'PolicyHitCountZero'], + 'Description' => ['description' => '规则描述。', 'type' => 'string', 'example' => 'dwd_mysql_lingwan_faxing_chat_config_di'], + 'LastCheckTime' => ['description' => '最新检测时间戳,单位为秒。', 'type' => 'string', 'example' => '1724982259'], + 'Level' => ['description' => '风险等级。', 'type' => 'string', 'example' => 'High'], + 'PolicyTotalCount' => ['description' => '策略总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'], + 'TaskId' => ['description' => 'ACL检查任务ID。', 'type' => 'string', 'example' => 'task-c92d4544ef7b6a42'], + ], + ], + ], + 'description' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAclCheckNotExist', 'errorMessage' => 'ACL check not exist.', 'description' => 'ACL检查不存在。'], + ['errorCode' => 'ErrorAclCheckDetailNotExist', 'errorMessage' => 'ACL check detail not exist.', 'description' => 'ACL检查详情不存在。'], + ], ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"CheckRecord\\": {\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 0,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.168.0.1/32\\",\\n \\"Proto\\": \\"ANY\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"所有端口\\",\\n \\"AclUuid\\": \\"1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"10.71.94.24\\",\\n \\"DestinationType\\": \\"group\\",\\n \\"DestPort\\": \\"22/22\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"HTTP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"22/22\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"SSH\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"None\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1736130347,\\n \\"EndTime\\": 1752754426,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"5a96a798-9b73-47f7-831e-1d7aa3c987a9\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"subscribe\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"port\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"produce\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-gw85zno51npz7lgc04z89\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"cen-cw4z051hr8x53qniv5\\"\\n },\\n \\"AclStatus\\": \\"configuring\\",\\n \\"AclAssessmentDetail\\": \\"无流量命中策略。\\"\\n }\\n ],\\n \\"RecordAssessmentDetail\\": \\"由于业务下线或其它原因等,导致对象策略一段时间命中次数为0。\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"dwd_mysql_lingwan_faxing_chat_config_di\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"PolicyTotalCount\\": 1,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n}","type":"json"}]', 'title' => '修改ACL检查详情状态', + 'summary' => '修改ACL检查详情状态。', 'description' => '## QPS限制'."\n" .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAddressBook' => [ - 'summary' => '批量查询地址簿列表。', - 'methods' => [ - 'post', - 'get', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAclCheckDetailStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"CheckRecord\\": {\\n \\"Acls\\": [\\n {\\n \\"Acl\\": {\\n \\"Direction\\": \\"in\\",\\n \\"Order\\": 1,\\n \\"SourceType\\": \\"net\\",\\n \\"ApplicationName\\": \\"ANY\\",\\n \\"HitTimes\\": 1,\\n \\"Description\\": \\"test_policy\\",\\n \\"SourceGroupType\\": \\"ip\\",\\n \\"DnsResultTime\\": 1579261141,\\n \\"DnsResult\\": \\"192.168.0.1/32\\",\\n \\"Proto\\": \\"ANY\\",\\n \\"DestinationGroupType\\": \\"domain\\",\\n \\"Destination\\": \\"kms.cn-shanghai.aliyuncs.com\\",\\n \\"HitLastTime\\": 1579261141,\\n \\"DestPortGroup\\": \\"port\\",\\n \\"AclUuid\\": \\"1e8ed1b2-cebc-4b95-a9cc-0cb7ce2c0c2c\\",\\n \\"DestPortType\\": \\"port\\",\\n \\"Source\\": \\"10.71.94.24\\",\\n \\"DestinationType\\": \\"group\\",\\n \\"DestPort\\": \\"22/22\\",\\n \\"IpVersion\\": 4,\\n \\"AclAction\\": \\"log\\",\\n \\"Release\\": \\"true\\",\\n \\"ApplicationId\\": \\"HTTP\\",\\n \\"DestinationGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"DestPortGroupPorts\\": [\\n \\"22/22\\"\\n ],\\n \\"SourceGroupCidrs\\": [\\n \\"192.168.0.1/32\\"\\n ],\\n \\"ApplicationNameList\\": [\\n \\"SSH\\"\\n ],\\n \\"SpreadCnt\\": 10,\\n \\"CreateTime\\": 1761062400,\\n \\"ModifyTime\\": 1761062400,\\n \\"RepeatType\\": \\"None\\",\\n \\"RepeatDays\\": [\\n 1\\n ],\\n \\"RepeatStartTime\\": \\"08:00\\",\\n \\"RepeatEndTime\\": \\"23:30\\",\\n \\"StartTime\\": 1736130347,\\n \\"EndTime\\": 1752754426,\\n \\"AddressListCount\\": 1,\\n \\"GroupUuid\\": \\"5a96a798-9b73-47f7-831e-1d7aa3c987a9\\",\\n \\"AutoAddTagEcs\\": 0,\\n \\"GroupName\\": \\"subscribe\\",\\n \\"ReferenceCount\\": 1,\\n \\"GroupType\\": \\"port\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"tfTestAcc0\\",\\n \\"TagKey\\": \\"produce\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"183.2.201.71/32,60.28.235.22/32,210.51.58.107/32,60.28.235.81/32,210.51.58.51/32,60.28.235.52/32,1.1.1.1/32,154.212.141.143/32,167.94.146.55/32,185.226.197.47/32,101.251.238.174/32\\"\\n ],\\n \\"NatGatewayId\\": \\"ngw-gw85zno51npz7lgc04z89\\",\\n \\"DomainResolveType\\": 0,\\n \\"VpcFirewallId\\": \\"cen-cw4z051hr8x53qniv5\\"\\n },\\n \\"AclStatus\\": \\"configuring\\",\\n \\"AclAssessmentDetail\\": \\"No traffic hit policy.\\"\\n }\\n ],\\n \\"RecordAssessmentDetail\\": \\"Due to business offline or other reasons, the number of hits of the object policy in a period of time is 0.\\\\n\\",\\n \\"CheckName\\": \\"PolicyHitCountZero\\",\\n \\"Description\\": \\"dwd_mysql_lingwan_faxing_chat_config_di\\",\\n \\"LastCheckTime\\": \\"1724982259\\",\\n \\"Level\\": \\"High\\",\\n \\"PolicyTotalCount\\": 1,\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\"\\n }\\n}","type":"json"}]', + ], + 'UpdatePostpayUserInternetStatus' => [ + 'summary' => '更新按量付费用户互联网边界开关模块状态。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47376,342 +40146,81 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68175', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '205829', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿描述的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置当前页面的页码。'."\n" - ."\n" - .'默认值为1,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'default' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,设置每页包含的地址簿的数量。'."\n" - ."\n" - .'默认值为10,表示每页包含10条结果。最大值为50。', - 'type' => 'string', - 'required' => false, - 'docRequired' => false, - 'example' => '10', - 'default' => '10', - ], - ], - [ - 'name' => 'Query', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '搜索条件,输入待查询地址簿信息。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-zsk39m******'], ], [ - 'name' => 'GroupType', + 'name' => 'Operate', 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的类型。'."\n" - ."\n" - .'> 不设置该参数表示查询IP地址簿和ECS标签地址簿。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'allCloud' => '云服务地址簿', - 'port' => '端口地址簿', - 'ipv6' => 'IPv6地址簿', - 'ip' => 'IPv4地址簿(默认)', - 'domain' => '域名地址簿', - 'ack' => 'ACK地址簿', - 'tag' => 'ECS标签地址簿', - 'threat' => '情报地址簿', - ], - 'example' => 'ip', - ], + 'schema' => ['description' => '操作类型,目前只支持开通操作。'."\n" + ."\n" + .'- open: 开通', 'type' => 'string', 'required' => false, 'example' => 'open'], ], [ - 'name' => 'ContainPort', + 'name' => 'Lang', 'in' => 'query', - 'schema' => [ - 'description' => '查询包含指定端口的地址簿。仅当**GroupType**参数的值为**port**时,该参数才会作为本次查询的条件。', - 'type' => 'string', - 'required' => false, - 'example' => '80', - ], + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'PageNo' => [ - 'description' => '当前页面的页码。', - 'type' => 'string', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页包含的地址簿的数量。', - 'type' => 'string', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'B36F150A-1E27-43AA-B72C-D2AC712F09DA', - ], - 'TotalCount' => [ - 'description' => '地址簿的总数量。', - 'type' => 'string', - 'example' => '100', - ], - 'Acls' => [ - 'description' => '地址簿列表。', - 'type' => 'array', - 'items' => [ - 'description' => '地址簿信息。', - 'type' => 'object', - 'properties' => [ - 'AddressListCount' => [ - 'description' => '地址簿中包含地址的个数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'GroupUuid' => [ - 'description' => '地址簿的唯一标识ID。', - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'AutoAddTagEcs' => [ - 'description' => '是否自动添加新匹配标签的ECS(新购且完成标签设置的ECS或修改标签的ECS)公网IP到地址簿。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - '不自动添加', - '自动添加', - ], - 'example' => '1', - ], - 'Description' => [ - 'description' => '地址簿的描述信息。', - 'type' => 'string', - 'example' => 'DEMO地址簿', - ], - 'GroupName' => [ - 'description' => '地址簿的名称。', - 'type' => 'string', - 'example' => 'demo_address_book', - ], - 'ReferenceCount' => [ - 'description' => '地址簿被引用次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'GroupType' => [ - 'description' => '地址簿的类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'allCloud' => '云服务地址簿', - 'port' => '端口地址簿', - 'ipv6' => 'IPv6地址簿', - 'ip' => 'IPv4地址簿', - 'ack' => 'ACK地址簿', - 'tag' => 'ECS标签地址簿', - 'threat' => '情报地址簿', - ], - 'example' => 'ip', - ], - 'TagRelation' => [ - 'description' => '多个ECS标签间的关系。', - 'type' => 'string', - 'enumValueTitles' => [ - 'or' => '多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', - 'and' => '多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。', - ], - 'example' => 'and', - ], - 'TagList' => [ - 'description' => 'ECS标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS标签。', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'ECS标签值。', - 'type' => 'string', - 'example' => '全部VALUE', - ], - 'TagKey' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'example' => 'company', - ], - ], - ], - ], - 'AddressList' => [ - 'description' => '地址簿的地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '地址簿的地址信息。', - 'type' => 'string', - 'example' => '[ "192.168.XX.XX/32", "192.168.XX.XX/32" ]', - ], - ], - 'Addresses' => [ - 'description' => '地址簿的含单地址描述的地址列表。', - 'type' => 'array', - 'items' => [ - 'description' => '地址簿的含单地址描述的地址。', - 'type' => 'object', - 'properties' => [ - 'Address' => [ - 'description' => '地址簿的地址信息。', - 'type' => 'string', - 'example' => '192.168.0.1/32', - ], - 'Note' => [ - 'description' => '单地址描述。', - 'type' => 'string', - 'example' => '单地址描述', - ], - ], - ], - ], - 'AckClusterConnectorId' => [ - 'title' => 'ACK集群连接器ID。', - 'description' => 'ACK集群连接器ID。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'AckClusterConnectorName' => [ - 'title' => 'ACK集群连接器名称。', - 'description' => 'ACK集群连接器名称。', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'AckLabels' => [ - 'title' => 'ACK集群容器组标签列表。', - 'description' => 'ACK集群容器组标签列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组标签。', - 'description' => 'ACK集群容器组标签。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'description' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'description' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'example' => 'storage-operator', - ], - ], - ], - ], - 'AckNamespaces' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'description' => 'ACK集群容器组命名空间列表。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'description' => 'ACK集群容器组命名空间。', - 'type' => 'string', - 'example' => 'default', - ], - ], - 'RegionNo' => [ - 'title' => '当GroupType是ACK地址簿时,地址簿仅在该地域的ACL策略生效。', - 'description' => '当GroupType是ACK地址簿时,地址簿所属的ACK集群连接器的地域。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-000901******'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersGroupType', - 'errorMessage' => 'The group type is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], + ['errorCode' => 'ErrorDbFailed', 'errorMessage' => 'Query db failed.', 'description' => 'DB访问错误。'], + ['errorCode' => 'ErrorParamsNotEnough', 'errorMessage' => 'Parameters are insufficient.', 'description' => '参数不足'], ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"PageNo\\": \\"1\\",\\n \\"PageSize\\": \\"10\\",\\n \\"RequestId\\": \\"B36F150A-1E27-43AA-B72C-D2AC712F09DA\\",\\n \\"TotalCount\\": \\"100\\",\\n \\"Acls\\": [\\n {\\n \\"AddressListCount\\": 2,\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"AutoAddTagEcs\\": 1,\\n \\"Description\\": \\"DEMO地址簿\\",\\n \\"GroupName\\": \\"demo_address_book\\",\\n \\"ReferenceCount\\": 3,\\n \\"GroupType\\": \\"ip\\",\\n \\"TagRelation\\": \\"and\\",\\n \\"TagList\\": [\\n {\\n \\"TagValue\\": \\"全部VALUE\\",\\n \\"TagKey\\": \\"company\\"\\n }\\n ],\\n \\"AddressList\\": [\\n \\"[ \\\\\\"192.168.XX.XX/32\\\\\\", \\\\\\"192.168.XX.XX/32\\\\\\" ]\\"\\n ],\\n \\"Addresses\\": [\\n {\\n \\"Address\\": \\"192.168.0.1/32\\",\\n \\"Note\\": \\"单地址描述\\"\\n }\\n ],\\n \\"AckClusterConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"AckClusterConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RegionNo\\": \\"cn-beijing\\"\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n 1\\n 10\\n B36F150A-1E27-43AA-B72C-D2AC712F09DA\\n 100\\n \\n 2\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n 1\\n DEMO地址簿\\n demo_address_book\\n 3\\n ip\\n and\\n \\n 全部VALUE\\n company\\n \\n [ \\"192.168.XX.XX/32\\", \\"192.168.XX.XX/32\\" ]\\n \\n","errorExample":""}]', - 'title' => '批量查询地址簿列表', - 'description' => '本接口一般用于查询访问控制策略地址簿的详细信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'AddAddressBook' => [ - 'summary' => '创建地址簿,包括IPv4地址簿、ECS标签地址簿、IPv6地址簿、域名地址簿、ACK地址簿。', - 'methods' => [ - 'post', - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '更新按量付费用户互联网边界开关模块状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-000901******\\"\\n}","type":"json"}]', + ], + 'UpdatePostpayUserNatStatus' => [ + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], @@ -47720,231 +40229,204 @@ 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68093', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '200723', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ - 'name' => 'SourceIp', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-************'], + ], + [ + 'name' => 'Operate', + 'in' => 'query', + 'schema' => ['description' => '操作类型,目前只支持开通操作。'."\n" + ."\n" + .'- open: 开通', 'type' => 'string', 'required' => false, 'example' => 'open'], ], [ 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '接收消息的语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '地址簿描述的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '850A84D6-0DE4-4797-A1E8-00090******'], ], - 'example' => 'zh', ], ], + ], + 'errorCodes' => [ + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'A parameter error occurred.', 'description' => '参数错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '更新按量付费用户NAT边界开关模块状态', + 'summary' => '更新按量付费用户NAT边界开关模块状态。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'AddressList', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的地址列表,多个地址间用英文逗号分隔,一个地址元素用空格分隔地址和描述。'."\n" - ."\n" - .'> 当GroupType为`ip`、`port`或`domain`时必须设置。'."\n" - ."\n" - .'- 当GroupType为`ip`时,地址列表中填写IP地址。例如:192.0.XX.XX/32 开发网段,10.0.0.X/24,192.0.XX.XX/24 测试网段。'."\n" - ."\n" - .'- 当GroupType为`port`时,地址列表中填写端口或端口范围。例如:80 HTTP端口,100/200,3306 数据库端口。'."\n" - ."\n" - .'- 当GroupType为`domain`时,地址列表中填写域名。例如:example.com 测试域名,aliyundoc.com,www.aliyun.com 阿里云官网。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/32 开发网段,192.0.XX.XX/24 测试网段', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090******\\"\\n}","type":"json"}]', + ], + 'UpdatePostpayUserVpcStatus' => [ + 'summary' => '更新按量付费用户VPC边界开关模块状态。', + 'methods' => ['get', 'post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'sz-001', - 'maxLength' => 256, - 'minLength' => 2, - ], + 'AK' => [], ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '224794', + 'abilityTreeNodes' => ['FEATUREcfwMD8M6R'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ [ - 'name' => 'GroupName', + 'name' => 'InstanceId', 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'sz-001', - 'maxLength' => 128, - 'minLength' => 2, - ], + 'schema' => ['description' => '云防火墙实例的ID。', 'type' => 'string', 'required' => false, 'example' => 'cfw_elasticity_public_cn-************'], ], [ - 'name' => 'GroupType', + 'name' => 'Operate', 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的类型。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'port' => '端口', - 'ackLabel' => 'ACK集群容器组标签', - 'ipv6' => 'IPv6', - 'ip' => 'IPv4', - 'domain' => '域名', - 'ackNamespace' => 'ACK集群容器组命名空间', - 'tag' => 'ECS标签', - ], - 'example' => 'ip', - ], + 'schema' => ['description' => '操作类型,目前只支持开通操作。'."\n" + .'- open: 开通', 'type' => 'string', 'required' => false, 'example' => 'open'], ], [ - 'name' => 'AutoAddTagEcs', + 'name' => 'Lang', 'in' => 'query', + 'schema' => ['description' => '请求和接收消息的语言类型。'."\n" + ."\n" + .'取值:'."\n" + ."\n" + .'- **zh**(默认):中文'."\n" + .'- **en**:英文', 'type' => 'string', 'required' => false, 'example' => 'zh'], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '是否自动添加新匹配标签的ECS公网IP到地址簿。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '不自动添加(默认)', - '自动添加', + 'title' => 'Schema of Response', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '450D47F5-956E-543E-8502-2F71C8******'], ], - 'example' => '1', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => '更新按量付费用户VPC边界开关模块状态', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], + ], + 'ramActions' => [ [ - 'name' => 'TagRelation', - 'in' => 'query', - 'schema' => [ - 'description' => '待匹配的多个ECS标签间的关系。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'or' => '或。多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', - 'and' => '与(默认),多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'and', ], ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8******\\"\\n}","type":"json"}]', + ], + 'UpdateSecurityProxy' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'TagList', + 'AK' => [], + ], + ], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'update', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '68536', + 'abilityTreeNodes' => ['FEATUREcfwOG6NL8'], + 'tenantRelevance' => 'publicInformation', + ], + 'parameters' => [ + [ + 'name' => 'Lang', 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'ECS标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS标签。', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'ECS标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'TagKey' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'TXY', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], + 'schema' => ['description' => '语言类型。取值:'."\n" + ."\n" + .'- **zh**(默认):中文。'."\n" + ."\n" + .'- **en**:英文。', 'type' => 'string', 'required' => false, 'example' => 'zh'], ], [ - 'name' => 'AckClusterConnectorId', + 'name' => 'ProxyId', 'in' => 'query', - 'schema' => [ - 'title' => 'ACK集群连接器ID。', - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'required' => false, - 'example' => 'ac-7c1bad6c3cc84c33baab1 ', - ], + 'schema' => ['description' => 'NAT防火墙ID。', 'type' => 'string', 'required' => true, 'example' => 'proxy-natfdc73073e031****8e0d'], ], [ - 'name' => 'AckNamespaces', + 'name' => 'ProxyName', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'description' => 'ACK集群容器组命名空间列表。'."\n" - .'> 数量最多10个。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'description' => 'ACK集群容器组命名空间。取值来源:'."\n" - .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~):批量查询ACK集群命名空间。'."\n" - ."\n" - .'> 当**GroupType**为**ackNamespace**时,必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'kube-system', - ], - 'required' => false, - ], + 'schema' => ['description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为4~50个字符,且不能以下划线开头。', 'type' => 'string', 'required' => true, 'example' => 'proxy_auto_heyuan'], ], [ - 'name' => 'AckLabels', + 'name' => 'StrictMode', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组标签列表。', - 'description' => 'ACK集群容器组标签列表。'."\n" - ."\n" - .'> 数量最多10个。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组标签。', - 'description' => 'ACK集群容器组标签。取值来源:'."\n" - .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~):批量查询ACK集群容器标签。'."\n" - ."\n" - .'> 当**GroupType**为**ackLabel**时,必填。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'description' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'description' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'required' => false, - 'example' => 'storage-operator', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '是否启用严格模式'."\n" + ."\n" + .'- 1:严格模式'."\n" + .'- 0:宽松模式', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'], ], ], 'responses' => [ @@ -47952,11962 +40434,5343 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'GroupUuid' => [ - 'description' => '添加成功后返回的地址簿唯一标识ID。', - 'type' => 'string', - 'example' => 'f04ac7ce-628b-4cb7-be61-310222b7****', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****', - ], + 'Module' => ['description' => '应用模块', 'type' => 'string', 'example' => 'ips_server'], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => '9E2CCAB4-E789-5BC9-88DC-5CE0358E****'], ], + 'description' => '', ], ], ], 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersGroupType', - 'errorMessage' => 'The group type is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersGroupAddress', - 'errorMessage' => 'The IP address of the address group is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorAddressGroupExist', - 'errorMessage' => 'The address group already exists.', - ], - [ - 'errorCode' => 'ErrorParamDomain', - 'errorMessage' => 'The parameter Domain is invalid.', - ], - [ - 'errorCode' => 'ErrorUUIDNew', - 'errorMessage' => 'The UUID is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupCountExceed', - 'errorMessage' => 'The maximum number of address group is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorParametersTagKey', - 'errorMessage' => 'The tag key is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersTagList', - 'errorMessage' => 'The tag list is invalid.', - ], - [ - 'errorCode' => 'ErrorTagCountExceed', - 'errorMessage' => 'The maximum number of tag is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersTagRelation', - 'errorMessage' => 'The tag relation is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorPortCountExceed', - 'errorMessage' => 'The maixmum number of port in the group is exceeded.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorBusy', - 'errorMessage' => 'The ACK cluster connector is operating.', - ], + 200 => [ + ['errorCode' => 'ErrorDBUpdateError', 'errorMessage' => 'A database update error occurred.', 'description' => '内部错误:数据库更新错误'], ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], + 400 => [ + ['errorCode' => 'ErrorAliUid', 'errorMessage' => 'Aliuid invalid.', 'description' => 'aliuid无效'], + ['errorCode' => 'ErrorParamProxyNameError', 'errorMessage' => 'proxy name invalid.', 'description' => 'NAT防火墙名称无效。'], + ['errorCode' => 'ErrorDBTxError', 'errorMessage' => 'A database transaction error occurred.', 'description' => '内部错误:数据库事务错误'], + ['errorCode' => 'ErrorDBSelectError', 'errorMessage' => 'A database select error occurred.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorProxyStatusNotNormal', 'errorMessage' => 'proxy status is not normal.', 'description' => '当前NAT实例未开启防火墙。'], + ['errorCode' => 'ErrorDBInsertError', 'errorMessage' => 'A database insert error occurred.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorRecordLog', 'errorMessage' => 'record operation log error.', 'description' => '更新操作日志错误。'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"GroupUuid\\": \\"f04ac7ce-628b-4cb7-be61-310222b7****\\",\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\"\\n}","errorExample":""},{"type":"xml","example":"\\n f04ac7ce-628b-4cb7-be61-310222b7****\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2****\\n","errorExample":""}]', - 'title' => '创建地址簿', - 'description' => '本接口一般用于创建地址簿,包括IPv4地址簿、ECS标签地址簿、IPv6地址簿、域名地址簿、ACK地址簿。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'ModifyAddressBook' => [ - 'summary' => '修改地址簿。', - 'methods' => [ - 'post', - 'get', + 'title' => '更新NAT边界防火墙', + 'summary' => '更新NAT边界防火墙', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"ips_server\\",\\n \\"RequestId\\": \\"9E2CCAB4-E789-5BC9-88DC-5CE0358E****\\"\\n}","type":"json"}]', + ], + 'UseAclBackupData' => [ + 'methods' => ['post', 'get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'operationType' => 'write', + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '68460', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], + 'abilityTreeCode' => '68538', + 'abilityTreeNodes' => ['FEATUREcfwJZTBPW', 'FEATUREcfw7YI1ZZ', 'FEATUREcfw8B8ITI', 'FEATUREcfwO822TD', 'FEATUREcfwFIV6PB', 'FEATUREcfwTW8EA1', 'FEATUREcfwC140SS'], 'tenantRelevance' => 'publicInformation', ], 'parameters' => [ [ 'name' => 'SourceIp', 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], + 'schema' => ['description' => '访问源的IP地址。', 'type' => 'string', 'required' => false, 'example' => '123.113.99.XXX'], ], [ 'name' => 'Lang', 'in' => 'query', 'schema' => [ - 'description' => '语言类型。', + 'description' => '接收消息的语言类型。', 'type' => 'string', 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], + 'enumValueTitles' => ['en' => '英文', 'zh' => '中文'], 'example' => 'zh', ], ], [ - 'name' => 'AddressList', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿中的地址列表,多个地址间用英文逗号分隔,一个地址元素用空格分隔地址和描述。当GroupType为**ip**、**port**或**domain**时,您必须配置此参数。'."\n" - ."\n" - .'- 当GroupType为**ip**时,地址列表中填写IP地址,例如:1.2.XX.XX/32 开发网段,10.0.0.X/24,1.2.XX.XX/24 测试网段。'."\n" - ."\n" - .'- 当GroupType为**port**时,地址列表中填写端口或端口范围,例如:80/80 HTTP端口,100/200,3306 数据库端口。'."\n" - ."\n" - .'- 当GroupType为**domain**时,地址列表中填写域名,例如:demo1.aliyun.com 测试域名,demo2.aliyun.com,www.aliyun.com 阿里云官网。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX/32 开发网段,192.0.XX.XX/24 测试网段', - ], - ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的描述信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'bj-001', - 'maxLength' => 256, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupName', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'bj-001', - 'maxLength' => 128, - 'minLength' => 2, - ], - ], - [ - 'name' => 'GroupUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的唯一标识ID。'."\n" - ."\n" - .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', - 'type' => 'string', - 'required' => true, - 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', - ], - ], - [ - 'name' => 'AutoAddTagEcs', - 'in' => 'query', - 'schema' => [ - 'description' => '是否自动添加新匹配标签的ECS公网IP到地址簿。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '不自动添加', - '自动添加', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'TagRelation', - 'in' => 'query', - 'schema' => [ - 'description' => '多个ECS标签间的关系。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'or' => '多个标签间为“或”关系,即只要匹配一个标签的ECS公网IP就会被加入地址簿。', - 'and' => '多个标签间为“与”关系,即同时匹配多个标签的ECS公网IP才会被加入地址簿。', - ], - 'example' => 'and', - ], - ], - [ - 'name' => 'TagList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => 'ECS标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS标签。', - 'type' => 'object', - 'properties' => [ - 'TagValue' => [ - 'description' => 'ECS标签值。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - 'TagKey' => [ - 'description' => 'ECS标签键。', - 'type' => 'string', - 'required' => false, - 'example' => 'TXY', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'ModifyMode', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '修改方式。'."\n" - ."\n" - .'>当 GroupType 为 **ip**、**ipv6**、**port** 或 **domain** 时,不配置该参数时,默认采用**Cover**方式修改地址簿。'."\n" - .'>当 GroupType 为 **tag** 时,该参数必须为空。>', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'Delete' => '在地址簿中删除使用AddressList参数的值。', - 'Cover' => '使用AddressList参数的值覆盖原地址簿。', - 'Append' => '在原地址簿后,使用AddressList参数的值追加修改的地址。', - ], - 'example' => 'Cover', - 'enum' => [ - 'Cover', - 'Append', - 'Delete', - ], - ], - ], - [ - 'name' => 'AckNamespaces', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组命名空间列表。', - 'description' => 'ACK集群容器组命名空间列表。'."\n" - .'> 数量最多10个。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组命名空间。', - 'description' => 'ACK集群容器组命名空间。取值来源:'."\n" - .'- [DescribeAckClusterNamespaces](~~DescribeAckClusterNamespaces~~):批量查询ACK集群命名空间。'."\n" - ."\n" - .'> 当**GroupType**为**ackNamespace**时,必填。', - 'type' => 'string', - 'required' => false, - 'example' => 'default', - ], - 'required' => false, - ], - ], - [ - 'name' => 'AckLabels', + 'name' => 'BackUpTime', 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'title' => 'ACK集群容器组标签列表。', - 'description' => 'ACK集群容器组标签列表。'."\n" - ."\n" - .'> 数量最多10个。', - 'type' => 'array', - 'items' => [ - 'title' => 'ACK集群容器组标签。', - 'description' => 'ACK集群容器组标签。取值来源:'."\n" - .'- [DescribeAckClusterPodLabels](~~DescribeAckClusterPodLabels~~):批量查询ACK集群容器标签。'."\n" - ."\n" - .'> 当**GroupType**为**ackLabel**时,必填。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'title' => 'ACK集群容器组标签的键。', - 'description' => 'ACK集群容器组标签的键。', - 'type' => 'string', - 'required' => false, - 'example' => 'app', - ], - 'Value' => [ - 'title' => 'ACK集群容器组标签的值。', - 'description' => 'ACK集群容器组标签的值。', - 'type' => 'string', - 'required' => false, - 'example' => 'storage-operator', - ], - ], - 'required' => false, - ], - 'required' => false, - ], + 'schema' => ['description' => '备份时间。使用秒级Unix时间戳表示,如1672502400。', 'type' => 'string', 'required' => true, 'example' => '1743683400'."\n"], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'description' => '返回结果的请求ID。', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], + 'RequestId' => ['description' => '返回结果的请求ID。', 'type' => 'string', 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****'], ], ], ], ], 'errorCodes' => [ 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressCountExceed', - 'errorMessage' => 'The maximum number of addresses is exceeded.', - ], - [ - 'errorCode' => 'ErrorParametersGroupAddress', - 'errorMessage' => 'The IP address of the address group is invalid.', - ], - [ - 'errorCode' => 'ErrorParamDomain', - 'errorMessage' => 'The parameter Domain is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorParametersGroupPort', - 'errorMessage' => 'The group port is invalid.', - ], - [ - 'errorCode' => 'ErrorAclExtendedCountExceed', - 'errorMessage' => 'ACL or extended ACL rules are not matched.', - ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', - ], - [ - 'errorCode' => 'ErrorAddressGroupExist', - 'errorMessage' => 'The address group already exists.', - ], - [ - 'errorCode' => 'ErrorAclDomainAnyCountExceed', - 'errorMessage' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', - ], - [ - 'errorCode' => 'ErrorParametersAddressGroupAddressNotFound', - 'errorMessage' => 'The address to be deleted does not exist in the address book.', - ], - [ - 'errorCode' => 'InvalidParameter.AddressBook.AddressDuplicate', - 'errorMessage' => 'The address book address %s is already exist.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorBusy', - 'errorMessage' => 'The ACK cluster connector is operating.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], + ['errorCode' => 'ErrorParametersUid', 'errorMessage' => 'The aliUid parameter is invalid.', 'description' => 'aliUid 不合法'], + ['errorCode' => 'ErrorParameters', 'errorMessage' => 'Parameters error.', 'description' => '参数错误。'], + ['errorCode' => 'ErrorDBSelect', 'errorMessage' => 'An error occurred while querying database.', 'description' => '内部错误:数据库查询错误'], + ['errorCode' => 'ErrorDBDelete', 'errorMessage' => 'An error occurred while deleting the database.', 'description' => '内部错误:数据库删除错误'], + ['errorCode' => 'ErrorDBUpdate', 'errorMessage' => 'internal error: sql updat.', 'description' => '请求错误,数据库更新失败。'], + ['errorCode' => 'ErrorDBInsert', 'errorMessage' => 'An error occurred while performing an insert operation in the database.', 'description' => '内部错误:数据库插入错误'], + ['errorCode' => 'ErrorMarshalJSON', 'errorMessage' => 'An error occurred while encoding JSON.', 'description' => '内部错误:JSON编码错误'], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'eventInfo' => [ 'enable' => false, 'eventNames' => [], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\"\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n","errorExample":""}]', - 'title' => '修改地址簿', - 'description' => '本接口一般用于修改地址簿。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DeleteAddressBook' => [ - 'summary' => '删除地址簿。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68139', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - ], - 'tenantRelevance' => 'publicInformation', + 'title' => '恢复访问控制备份', + 'summary' => '恢复访问控制备份。', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', - ], - ], + 'ramActions' => [ [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UseAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'GroupUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '地址簿的唯一标识ID。'."\n" - ."\n" - .'>取值来源:[批量查询地址簿列表](~~DescribeAddressBook~~)。', - 'type' => 'string', - 'required' => true, - 'example' => '0657ab9d-fe8b-4174-b2a6-6baf358e****', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], - ], - ], - ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', + ], + ], + 'endpoints' => [ + ['regionId' => 'cn-qingdao', 'regionName' => '华北1(青岛)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-zhangjiakou', 'regionName' => '华北3(张家口)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-huhehaote', 'regionName' => '华北5(呼和浩特)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-wulanchabu', 'regionName' => '华北6(乌兰察布)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-heyuan', 'regionName' => '华南2(河源)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-chengdu', 'regionName' => '西南1(成都)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-northeast-1', 'regionName' => '日本(东京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-5', 'regionName' => '印度尼西亚(雅加达)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'ap-southeast-3', 'regionName' => '马来西亚(吉隆坡)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen', 'regionName' => '华南1(深圳)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => '华东2(上海)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-guangzhou', 'regionName' => '华南3(广州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', 'vpc' => 'cloudfw-intl.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'us-west-1', 'regionName' => '美国(硅谷)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-west-1', 'regionName' => '英国(伦敦)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'me-east-1', 'regionName' => '阿联酋(迪拜)', 'areaId' => 'middleEast', 'areaName' => '中东', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-shenzhen-finance-1', 'regionName' => '华南1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-shanghai-finance-1', 'regionName' => '华东2 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => 'cloudfw.vpc-proxy.aliyuncs.com'], + ['regionId' => 'cn-hangzhou-finance', 'regionName' => '华东1 金融云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-beijing-finance-1', 'regionName' => '华北2 金融云(邀测)', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ['regionId' => 'cn-north-2-gov-1', 'regionName' => '北京政务云', 'areaId' => 'industryCloud', 'areaName' => '行业云', 'public' => 'cloudfw.aliyuncs.com', 'endpoint' => 'cloudfw.aliyuncs.com', 'vpc' => ''], + ], + 'errorCodes' => [ + ['code' => 'ErrorAckClusterConnectorAddressGroupReference', 'message' => 'The ACK cluster connector has address group, can not be deleted.', 'http_code' => 400, 'description' => '指定ACK集群连接器有地址簿,不能被删除。'], + ['code' => 'ErrorAckClusterConnectorBusy', 'message' => 'The ACK cluster connector is operating.', 'http_code' => 400, 'description' => '指定的ACK集群连接器正在操作中。'], + ['code' => 'ErrorAckClusterConnectorExist', 'message' => 'The ACK cluster connector already exist.', 'http_code' => 400, 'description' => '指定的ACK集群连接器已存在。'], + ['code' => 'ErrorAckClusterConnectorNotFound', 'message' => 'The specified resource ACK cluster connector is not found.', 'http_code' => 404, 'description' => '指定资源的ACK集群连接器不存在。'], + ['code' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', 'message' => 'The IP is already allocated, failed to create reverse endpoint.', 'http_code' => 400, 'description' => '指定IP已经被分配,创建反向连接终端节点失败。'], + ['code' => 'ErrorAckClusterConnectorStatusNotAllowOperate', 'message' => 'The ACK cluster connector status is not allow operate.', 'http_code' => 400, 'description' => '指定的ACK集群连接器状态不允许操作。'], + ['code' => 'ErrorAckClusterMissingRoleForCloudFWRbacPermission', 'message' => 'The ACK cluster doesn\'t grant AliyunServiceRoleForCloudFW RBAC permission.', 'http_code' => 400, 'description' => 'ACK集群没有授权给AliyunServiceRoleForCloudFW角色RBAC权限。'], + ['code' => 'ErrorAckClusterNetworkOnlySupportTerway', 'message' => 'The ACK cluster network only support Terway.', 'http_code' => 400, 'description' => 'ACK集群的网络插件仅支持Terway。'], + ['code' => 'ErrorAckClusterNotFound', 'message' => 'The specified resource ACK cluster is not found.', 'http_code' => 400, 'description' => '指定的ACK集群不存在。'], + ['code' => 'ErrorAckClusterQueryClusterNamespace', 'message' => 'Failed to query cluster namespaces.', 'http_code' => 400, 'description' => '查询集群的命名空间失败。'], + ['code' => 'ErrorAckClusterSpecOnlySupportAckPro', 'message' => 'The ACK cluster spec only support ack.pro.small.', 'http_code' => 400, 'description' => 'ACK集群的规格仅支持集群 Pro 版。'], + ['code' => 'ErrorAckNotOpen', 'message' => 'ACK service is not open.', 'http_code' => 400, 'description' => 'ACK服务未开通。'], + ['code' => 'ErrorAckVpcAndVSwitchVpcMismatched', 'message' => 'The ACK VPC and vSwitch VPC are mismatched.', 'http_code' => 400, 'description' => 'ACK集群的VPC和VSwitch的VPC不匹配。'], + ['code' => 'ErrorAclCheckBusy', 'message' => 'ACL check is busy.', 'http_code' => 400, 'description' => 'ACL检查繁忙,请稍后再试。'], + ['code' => 'ErrorAclCheckDetailNotExist', 'message' => 'ACL check detail not exist.', 'http_code' => 400, 'description' => 'ACL检查详情不存在。'], + ['code' => 'ErrorAclCheckNotExist', 'message' => 'ACL check not exist.', 'http_code' => 400, 'description' => 'ACL检查不存在。'], + ['code' => 'ErrorAclCheckQuotaUnavailable', 'message' => 'ACL check quota unavailable.', 'http_code' => 400, 'description' => 'ACL检查额度不足。'], + ['code' => 'ErrorAclCoverage', 'message' => 'The ACL coverage is invalid.', 'http_code' => 400, 'description' => '无效的acl coverage'], + ['code' => 'ErrorAclDomainAnyCountExceed', 'message' => 'The number of resolved domain names cannot exceed 200. ACL configuration can be continued for HTTP, HTTPS, SMTP, SMTPS, and SSL applications.', 'http_code' => 400, 'description' => '域名解析数量超过200,应用http|https|smtp|smtps|ssl支持更多配置'], + ['code' => 'ErrorAclDomainConfigConflict', 'message' => 'A conflict occurred while configuring domains using ACL.', 'http_code' => 400, 'description' => 'ACL配置应用域名配置冲突'], + ['code' => 'ErrorAclEffectiveTimeNonPermanent', 'message' => 'ACL rule is not allowed to update status when effective is not permanent.', 'http_code' => 400, 'description' => 'Acl策略生效时间非永久时,不允许更新状态。'], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'ACL or extended ACL rules are not matched.', 'http_code' => 400, 'description' => 'ACL或扩展ACL规格超出限制'], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'acl or expand acl count exceed.', 'http_code' => 400, 'description' => 'ACL或扩展ACL规格超出限制.'], + ['code' => 'ErrorAclIdError', 'message' => 'The ACL ID is invalid.', 'http_code' => 400, 'description' => '无效的ACL ID'], + ['code' => 'ErrorAclNotExist', 'message' => 'The ACL does not exist.', 'http_code' => 400, 'description' => 'ACL不存在'], + ['code' => 'ErrorAclRuleDuplicate', 'message' => 'acl rule duplicate.', 'http_code' => 400, 'description' => '相同策略以存在。'], + ['code' => 'ErrorAclStartTimeOrEndTime', 'message' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'http_code' => 400, 'description' => '开始时间或结束时间不合法,时间必须是整点或半点,且开始时间早于结束时间30分钟。'], + ['code' => 'ErrorAddressCountExceed', 'message' => 'The maximum number of addresses is exceeded.', 'http_code' => 400, 'description' => '地址簿内地址数量超出上限'], + ['code' => 'ErrorAddressCountExceed', 'message' => 'address count exceed.', 'http_code' => 400, 'description' => '地址簿内地址数量超出上限。'], + ['code' => 'ErrorAddressGroupCountExceed', 'message' => 'The maximum number of address group is exceeded.', 'http_code' => 400, 'description' => '地址簿数量超出上限'], + ['code' => 'ErrorAddressGroupExist', 'message' => 'The address group already exists.', 'http_code' => 400, 'description' => '分组已存在'], + ['code' => 'ErrorAddressGroupNotExist', 'message' => 'The address group does not exist.', 'http_code' => 400, 'description' => '地址簿不存在'], + ['code' => 'ErrorAddressGroupReference', 'message' => 'The address group is in use and cannot be deleted.', 'http_code' => 400, 'description' => '地址簿在使用中,无法删除'], + ['code' => 'ErrorAliUid', 'message' => 'The aliuid is invalid.', 'http_code' => 400, 'description' => '无效的用户id'], + ['code' => 'ErrorAliUid', 'message' => 'Aliuid invalid.', 'http_code' => 400, 'description' => 'aliuid无效'], + ['code' => 'ErrorAliUidBlackList', 'message' => 'The specified aliUid is invalid.', 'http_code' => 400, 'description' => '无效的aliUid'], + ['code' => 'ErrorApiAuth', 'message' => 'The signature is invalid.', 'http_code' => 400, 'description' => '无效的签名'], + ['code' => 'ErrorApiAuth', 'message' => 'parameter sign error.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorApiAuth', 'message' => 'api authentication error.', 'http_code' => 400, 'description' => '请求错误,鉴权失败。'], + ['code' => 'ErrorApiError', 'message' => 'api error.', 'http_code' => 400, 'description' => 'API 错误。'], + ['code' => 'ErrorAppGroupIsExist', 'message' => 'app group name is exist.', 'http_code' => 400, 'description' => '应用组已存在。'], + ['code' => 'ErrorAppGroupNameTooLong', 'message' => 'app group name too long.', 'http_code' => 400, 'description' => '应用组名称过长。'], + ['code' => 'ErrorAppGroupNotEmpty', 'message' => 'app group name not empty.', 'http_code' => 400, 'description' => '应用组下存在应用。'], + ['code' => 'ErrorAppGroupNotMatchBiz', 'message' => 'app group not match biz.', 'http_code' => 400, 'description' => '应用组与该业务区不匹配。'], + ['code' => 'ErrorAppIdError', 'message' => 'An app ID error occurred.', 'http_code' => 400, 'description' => 'APP ID错误'], + ['code' => 'ErrorAppIdError', 'message' => 'app id error', 'http_code' => 400, 'description' => '应用选择错误, 请重试'], + ['code' => 'ErrorAppIsExist', 'message' => 'app is exist.', 'http_code' => 400, 'description' => '应用已存在。'], + ['code' => 'ErrorAppTooManyProc', 'message' => 'app with too many proc.', 'http_code' => 400, 'description' => '应用下进程数量超范围。'], + ['code' => 'ErrorAssetDirectionError', 'message' => 'Asset IP and direction must be specified at the same time.', 'http_code' => 400, 'description' => '资产IP和方向必须同时选择'], + ['code' => 'ErrorAssetIPPort', 'message' => 'The asset IP address and port cannot be empty at the same time.', 'http_code' => 400, 'description' => '资产IP和端口不能同时为空'], + ['code' => 'ErrorAssetsStatus', 'message' => 'assetStatus is invalid.', 'http_code' => 400, 'description' => '无效的资产状态'], + ['code' => 'ErrorAssetSynchronizationNotCompleted', 'message' => 'VPC firewall asset synchronization is not completed.', 'http_code' => 400, 'description' => 'VPC边界防火墙资产同步未完成'], + ['code' => 'ErrorAttackTypeError', 'message' => 'The attack type is invalid.', 'http_code' => 400, 'description' => '无效的攻击类型'], + ['code' => 'ErrorAttackTypeError', 'message' => 'attack type invalid.', 'http_code' => 400, 'description' => '类型选择错误,请重新选择。'], + ['code' => 'ErrorAuthentication', 'message' => 'An authentication error occurred.', 'http_code' => 401, 'description' => '认证失败'], + ['code' => 'ErrorAuthentication', 'message' => 'authentication error', 'http_code' => 400, 'description' => '鉴权失败'], + ['code' => 'ErrorBackupCountExceed', 'message' => 'The maximum number of backups is exceeded.', 'http_code' => 400, 'description' => '备份个数超出规格'], + ['code' => 'ErrorBeaverCaptureEnv', 'message' => 'Do not support directly issuing packet capture tasks for packet capture.', 'http_code' => 400, 'description' => '政务云,金融云环境不支持直接下发抓包任务进行抓包,请提工单开启抓包任务。'], + ['code' => 'ErrorBizIsExist', 'message' => 'biz is exist.', 'http_code' => 400, 'description' => '业务区已存在。'], + ['code' => 'ErrorBizNameTooLong', 'message' => 'biz name too long.', 'http_code' => 400, 'description' => '业务区名称过长。'], + ['code' => 'ErrorBizNotEmpty', 'message' => 'biz not empty.', 'http_code' => 400, 'description' => '业务区下存在应用组。'], + ['code' => 'ErrorCandidateAlreadyInToALlPolicy', 'message' => 'Candidate already in to aLl policy.', 'http_code' => 400, 'description' => '引流实例已经存在于某个有all类型的引流模板中。'], + ['code' => 'ErrorCandidateHasStaticRoute', 'message' => 'Tr firewall don\'t support candidate which associated with transit router route table contains custom route. Please retry after deleted the route.', 'http_code' => 400, 'description' => '引流实例绑定的转发路由器路由表中有自定义路由,云防火墙不支持此种类型引流实例。请删除对应路由后重试。'], + ['code' => 'ErrorCandidateNoRouteTable', 'message' => 'Please attach candidate with transit router before create routing template.', 'http_code' => 400, 'description' => '请在创建引流模板前先将引流实例绑定到某个转发路由器路由表上。'], + ['code' => 'ErrorCannotEditRoutePolicyWhenClose', 'message' => 'Can not edit route policy when policy closed.', 'http_code' => 400, 'description' => '无法在防火墙引流模板创建、删除或关闭时更新引流模板。'], + ['code' => 'ErrorCannotEditToAllPolicy', 'message' => 'Can not modify policy scope for policy contains All type candidate.', 'http_code' => 400, 'description' => '不能编辑含有ALL类型的引流模板。'], + ['code' => 'ErrorCanNotMakeAppToSysAppGroup', 'message' => 'can not make app to system reserved app group.', 'http_code' => 400, 'description' => '不支持创建或移动应用到系统保留应用组。'], + ['code' => 'ErrorCanNotMakeGroupToSysBiz', 'message' => 'can not make app group to system reserved biz.', 'http_code' => 400, 'description' => '不支持创建或移动应用组到系统保留业务区。'], + ['code' => 'ErrorCanNotUpdateSysApp', 'message' => 'can not modify system reserved app group.', 'http_code' => 400, 'description' => '不允许修改系统保留应用。'], + ['code' => 'ErrorCaptureInProgress', 'message' => 'capture in progress.', 'http_code' => 400, 'description' => '您获取的样本正在生成中,请勿重复操作。'], + ['code' => 'ErrorCaptureStatusError', 'message' => 'capture status mismatch.', 'http_code' => 400, 'description' => '抓包状态不匹配。'], + ['code' => 'ErrorCaptureTimeError', 'message' => 'capture time error.', 'http_code' => 400, 'description' => '超过允许查询的历史时间。'], + ['code' => 'ErrorCenExistCcnNotSupport', 'message' => 'cen exist ccn, not support config vpc firewall.', 'http_code' => 400, 'description' => '云企业网内存在CCN实例, 不支持开启VPC防火墙。'], + ['code' => 'ErrorCenExistPublicCidr', 'message' => 'cen domain route exist public route.', 'http_code' => 400, 'description' => '云企业网内存在公网网段, 不支持开启VPC边界防火墙。'], + ['code' => 'ErrorCenExistTrRoute', 'message' => 'Cen VPC route exist tr route.', 'http_code' => 400, 'description' => '云企业网内的VPC存在下一跳是TR的路由, 不支持开启VPC边界防火墙。'], + ['code' => 'ErrorCenFirewallRegionVpcNumInvalid', 'message' => 'the number of vpcs in this region is insufficient to open the firewall.', 'http_code' => 400, 'description' => '此地域VPC数量不足,无法开启VPC防火墙。'], + ['code' => 'ErrorCenFirewallVpcNumInvalid', 'message' => 'The number of VPCs in the cloud enterprise network is insufficient, and the VPC firewall cannot be opened', 'http_code' => 400, 'description' => '云企业网vpc数量不足, 无法开启VPC边界防火墙'], + ['code' => 'ErrorCenFirewallVpcNumInvalid', 'message' => 'the number of vpcs in this cen is insufficient to open the vpc firewall.', 'http_code' => 400, 'description' => '云企业网VPC数量不足,无法开启VPC边界防火墙。'], + ['code' => 'ErrorCenFirewallVpcNumInvalid', 'message' => 'The number of VPCs in the cloud enterprise network is insufficient, and the VPC firewall cannot be opened.', 'http_code' => 400, 'description' => '云企业网VPC数量不足, 无法开启VPC边界防火墙。'], + ['code' => 'ErrorCenFirewallVpcNumLimit', 'message' => 'The number of vpcs in this cen is limited to open the vpc firewall.', 'http_code' => 400, 'description' => '云企业网VPC数量限制,无法开启VPC边界防火墙'], + ['code' => 'ErrorCenId', 'message' => 'CEN ID is error', 'http_code' => 400, 'description' => 'cen id 错误'], + ['code' => 'ErrorCenManualFirewallCreate', 'message' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall.', 'http_code' => 400, 'description' => '此云企业网已存在手动模式的VPC边界防火墙, 不允许创建VPC防火墙。'], + ['code' => 'ErrorCenManualFirewallExist', 'message' => 'VPC firewall in manual mode already exists in this CEN network. You are not allowed to create a VPC firewall in automatic mode.', 'http_code' => 400, 'description' => '此云企业网已存在手动模式的VPC边界防火墙, 不允许创建自动模式的VPC防火墙。'], + ['code' => 'ErrorCenNotSupportCCN', 'message' => 'Cloud enterprise network CCN instance does not support opening VPC firewall', 'http_code' => 400, 'description' => 'VPC防火墙云企业网CCN实例, 不支持开启VPC防火墙'], + ['code' => 'ErrorCenNotSupportCCN', 'message' => 'vpc firewall CEN does not support ccn, cannot open vpc firewall.', 'http_code' => 400, 'description' => 'VPC防火墙云企业网CCN实例,不支持开启VPC防火墙。'], + ['code' => 'ErrorCenNotSupportMultipleAccounts', 'message' => 'The current version of Cloud Firewall does not support multiple accounts when it uses VPC Firewall to protect Cloud Enterprise Network. Upgrade the specifications and try again.', 'http_code' => 400, 'description' => '云防火墙当前版本VPC防火墙云企业网不支持多账号,请升级规格后重试'], + ['code' => 'ErrorCenNotSupportTREnterprise', 'message' => 'The VPC firewall does not support TR Enterprise edition in this region, and the VPC firewall cannot be enabled.', 'http_code' => 400, 'description' => 'VPC边界防火墙此地域暂不支持TR企业版, 无法开启VPC边界防火墙'], + ['code' => 'ErrorCenNotSupportTREnterprise', 'message' => 'VPC firewall does not support TR Enterprise Edition protection in this region.', 'http_code' => 400, 'description' => 'VPC边界防火墙此地域暂不支持TR企业版, 无法开启VPC边界防火墙。'], + ['code' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'message' => 'VPC firewall does not support TR Enterprise Edition auto mode protection, please use manual mode protection', 'http_code' => 400, 'description' => 'VPC 防火墙不支持 CEN-TR自动模式'], + ['code' => 'ErrorCenNotSupportTREnterpriseAutoMode', 'message' => 'This account does not support CEN Transit Router Enterprise Edition auto mode protection by default, please contact Cloud Firewall Support team.', 'http_code' => 400, 'description' => '此账号暂时不支持云企业网企业版云防火墙自动模式,请联系云防火墙服务团队加白后再操作。'], + ['code' => 'ErrorCenRouteMapExist', 'message' => 'cen route map is exist.', 'http_code' => 400, 'description' => 'RouteMap已存在, 不允许创建VPC边界防火墙。请联系云防火墙售后技术支持处理。'], + ['code' => 'ErrorCenTRAssociationCustomRouteTable', 'message' => 'CEN-TR association custom route table.', 'http_code' => 400, 'description' => 'VPC边界防火墙不支持CEN-TR网络实例连接关联自定义路由表, 无法开启VPC边界防火墙。'], + ['code' => 'ErrorCenTRAssociationNotFound', 'message' => 'CEN-TR attachment association not found.', 'http_code' => 400, 'description' => '找不到CEN-TR附件关联。'], + ['code' => 'ErrorCenTRManualModifySwitchStatus', 'message' => 'CEN-TR manual mode does not support modifying the firewall status, if you need to close it, please delete the VPC firewall.', 'http_code' => 400, 'description' => 'CEN-TR手动模式不支持修改防火墙状态, 如需关闭请删除VPC边界防火墙。'], + ['code' => 'ErrorCenVbrNotSupport', 'message' => 'The cloud enterprise network VBR does not support firewall', 'http_code' => 400, 'description' => '云企业网vbr不支持开防火墙'], + ['code' => 'ErrorCenVbrNotSupport', 'message' => 'CEN vbr not support firewall.', 'http_code' => 400, 'description' => '云企业网vbr不支持开防火墙'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The VPC of cloud enterprise network conflicts with the VPC of high-speed channel. The firewall cannot be opened. Please select again.', 'http_code' => 400, 'description' => '云企业网VPC和高速通道VPC冲突,无法开启防火墙,请重新选择'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The VPC of the cloud enterprise network conflicts with the VPC of the high-speed channel, and the firewall cannot be opened. Please select again', 'http_code' => 400, 'description' => '云企业网VPC和高速通道VPC冲突,无法开启防火墙,请重新选择'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'Cen vpc and ec vpc conflict.', 'http_code' => 400, 'description' => '云企业网VPC和高速通道VPC冲突, 无法开启防火墙,请重新选择。'], + ['code' => 'ErrorCenVpcFirewallExist', 'message' => 'VPC firewall in automatic mode already exists in this CEN network. You are not allowed to create a VPC firewall in manual mode.', 'http_code' => 400, 'description' => '此云企业网已存在自动模式的VPC边界防火墙, 不允许创建手动模式的VPC防火墙。'], + ['code' => 'ErrorCidrFormat', 'message' => 'Network segment CIDR format error, please select again', 'http_code' => 400, 'description' => '网段CIDR格式错误, 请重新选择'], + ['code' => 'ErrorCidrFormat', 'message' => 'cidr ip format error', 'http_code' => 400, 'description' => '网段CIDR格式错误, 请重新选择'], + ['code' => 'ErrorCidrFormat', 'message' => 'Cidr ip format error.', 'http_code' => 400, 'description' => '网段CIDR格式错误,请重新选择'], + ['code' => 'ErrorCidrIp', 'message' => 'strategy rule cidr ip invalid.', 'http_code' => 400, 'description' => '网段地址错误,请重新输入。'], + ['code' => 'ErrorCidrIpAddress', 'message' => 'Target network segment error, please reselect', 'http_code' => 400, 'description' => '目标网段错误, 请重新选择'], + ['code' => 'ErrorCidrIpAddress', 'message' => 'cidr ip error.', 'http_code' => 400, 'description' => '目标网段错误,请重新选择。'], + ['code' => 'ErrorCommitNotSupport', 'message' => 'strategy rule commit not support.', 'http_code' => 400, 'description' => '策略不支持提交。'], + ['code' => 'ErrorCommitStatus', 'message' => 'strategy commit status invalid.', 'http_code' => 400, 'description' => '状态错误,不允许提交。'], + ['code' => 'ErrorConfigureStatus', 'message' => 'firewall configure status invalid.', 'http_code' => 400, 'description' => '防火墙状态参数错误,请重新选择。'], + ['code' => 'ErrorConnectType', 'message' => 'connect type invalid', 'http_code' => 400, 'description' => '互通类型选择错误, 请重新选择'], + ['code' => 'ErrorConnectType', 'message' => 'Connect type invalid.', 'http_code' => 400, 'description' => '互通类型选择错误,请重新选择。'], + ['code' => 'ErrorCreateNetworkInterface', 'message' => 'network interface create failed', 'http_code' => 400, 'description' => '创建网络接口失败'], + ['code' => 'ErrorCreateSecurityGroup', 'message' => 'create security group failed', 'http_code' => 400, 'description' => '创建安全组失败'], + ['code' => 'ErrorCustomRouteEntryMax', 'message' => 'The number of target network segments exceeds the maximum limit. Please reduce the number of network segments', 'http_code' => 400, 'description' => '目标网段数量超过最大数量限制, 请减少网段数量.'], + ['code' => 'ErrorCustomRouteEntryMax', 'message' => 'custom route exceeds maximum limit.', 'http_code' => 400, 'description' => '目标网段数量超过最大数量限制,请减少网段数量。'], + ['code' => 'ErrorDataTypeError', 'message' => 'The data type is invalid.', 'http_code' => 400, 'description' => '无效的数据类型'], + ['code' => 'ErrorDataTypeLocalPeerIp', 'message' => 'The VPC firewall data type is invalid or the peer IP address is invalid.', 'http_code' => 400, 'description' => '无效的VPC防火墙数据类型或者无效的对端IP'], + ['code' => 'ErrorDataTypeVpcFirewall', 'message' => 'The VPC firewall data type is invalid.', 'http_code' => 400, 'description' => '无效的VPC防火墙数据类型'], + ['code' => 'ErrorDataValueError', 'message' => 'The data value is invalid.', 'http_code' => 400, 'description' => '无效值'], + ['code' => 'ErrorDBDelete', 'message' => 'An error occurred while deleting the database.', 'http_code' => 400, 'description' => '内部错误:数据库删除错误'], + ['code' => 'ErrorDBDelete', 'message' => 'Internal error: sql delete.', 'http_code' => 400, 'description' => '内部错误:SQL删除操作'], + ['code' => 'ErrorDBDeleteError', 'message' => 'A database delete error occurred.', 'http_code' => 400, 'description' => '内部错误:数据库删除错误'], + ['code' => 'ErrorDbFailed', 'message' => 'Query db failed.', 'http_code' => 400, 'description' => 'DB访问错误。'], + ['code' => 'ErrorDBInsert', 'message' => 'An error occurred while performing an insert operation in the database.', 'http_code' => 400, 'description' => '内部错误:数据库插入错误'], + ['code' => 'ErrorDBInsert', 'message' => 'internal error: sql insert.', 'http_code' => 400, 'description' => '请求错误,数据库插入失败。'], + ['code' => 'ErrorDBInsertError', 'message' => 'A database insert error occurred.', 'http_code' => 400, 'description' => '内部错误:数据库插入错误'], + ['code' => 'ErrorDBInsertError', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误:数据库插入错误。'], + ['code' => 'ErrorDBNoRow', 'message' => 'No rows in database.', 'http_code' => 400, 'description' => '没有数据'], + ['code' => 'ErrorDBOperation', 'message' => 'Internal error: db operation.', 'http_code' => 400, 'description' => '内部错误:数据库操作'], + ['code' => 'ErrorDBSelect', 'message' => 'An error occurred while querying database.', 'http_code' => 400, 'description' => '内部错误:数据库查询错误'], + ['code' => 'ErrorDBSelect', 'message' => 'internal error: sql select.', 'http_code' => 400, 'description' => '请求错误,数据库查询失败。'], + ['code' => 'ErrorDBSelectError', 'message' => 'A database select error occurred.', 'http_code' => 400, 'description' => '内部错误:数据库查询错误'], + ['code' => 'ErrorDBSelectError', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误: 数据库查询错误。'], + ['code' => 'ErrorDBTxError', 'message' => 'A database transaction error occurred.', 'http_code' => 400, 'description' => '内部错误:数据库事务错误'], + ['code' => 'ErrorDBTxError', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误: 数据库事务错误。'], + ['code' => 'ErrorDBUpdate', 'message' => 'internal error: sql updat.', 'http_code' => 400, 'description' => '请求错误,数据库更新失败。'], + ['code' => 'ErrorDBUpdate', 'message' => 'internal error: sql update.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorDBUpdateError', 'message' => 'A database update error occurred.', 'http_code' => 200, 'description' => '内部错误:数据库更新错误'], + ['code' => 'ErrorDBUpdateError', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误:数据库更新错误。'], + ['code' => 'ErrorDefaultRouteConflicts', 'message' => 'Default route conflicts.', 'http_code' => 400, 'description' => '所选交换机绑定的路由表中已存在默认路由。'], + ['code' => 'ErrorDeleteNetworkInterface', 'message' => 'network interface delete failed', 'http_code' => 400, 'description' => '删除网络接口失败, 请重试'], + ['code' => 'ErrorDeleteSecurityGroup', 'message' => 'delete security group failed', 'http_code' => 400, 'description' => '删除安全组失败'], + ['code' => 'ErrorDescription', 'message' => 'strategy rule description invalid.', 'http_code' => 400, 'description' => '描述内容错误,请重新输入'], + ['code' => 'ErrorDestCidrEmpty', 'message' => 'The target network segment is empty and cannot be created', 'http_code' => 400, 'description' => '目标网段为空, 不允许创建.'], + ['code' => 'ErrorDestCidrEmpty', 'message' => 'destination cidr empty.', 'http_code' => 400, 'description' => '目标网段为空,不允许创建。'], + ['code' => 'ErrorDestCidrError', 'message' => 'The target network segment is wrong. Please configure the target network segment correctly.', 'http_code' => 400, 'description' => '目标网段错误,请正确配置目标网段'], + ['code' => 'ErrorDestCidrError', 'message' => 'The destination CIDR block is invalid.', 'http_code' => 400, 'description' => '目标网段错误,请正确配置目标网段'], + ['code' => 'ErrorDestCidrError', 'message' => 'Destination CIDR invalid.', 'http_code' => 400, 'description' => '目标网段错误,请正确配置高速通道的目标网段。'], + ['code' => 'ErrorDifferentRegionNoError', 'message' => 'VPC firewall only supports the same region and does not support cross region', 'http_code' => 400, 'description' => 'VPC边界防火墙仅支持同地域, 不支持跨地域.'], + ['code' => 'ErrorDifferentRegionNoError', 'message' => 'the vpc border firewall only supports the same region and does not support cross-regional.', 'http_code' => 400, 'description' => 'VPC边界防火墙仅支持同地域,不支持跨地域。'], + ['code' => 'ErrorDirectionError', 'message' => 'The direction is invalid.', 'http_code' => 400, 'description' => '无效的方向'], + ['code' => 'ErrorDirectionError', 'message' => 'direction invalid.', 'http_code' => 400, 'description' => '方向选择错误,请重新选择。'], + ['code' => 'ErrorDnatNotSupport', 'message' => 'Secure proxy does not support DNAT entries.', 'http_code' => 400, 'description' => 'NAT防火墙暂不支持DNAT。'], + ['code' => 'ErrorDnatNotSupport', 'message' => 'NAT firewall does not support DAT entries.', 'http_code' => 400, 'description' => 'NAT防火墙不支持DNAT。'], + ['code' => 'ErrorDomainName', 'message' => 'The domain name is invalid.', 'http_code' => 400, 'description' => '无效的域名'], + ['code' => 'ErrorDomainResolve', 'message' => 'An error occurred while resolving the domain.', 'http_code' => 400, 'description' => '域名解析错误'], + ['code' => 'ErrorDomainResolve', 'message' => 'A domain resolution error occurred.', 'http_code' => 400, 'description' => '域名解析错误'], + ['code' => 'ErrorDstType', 'message' => 'The dst type is invalid.', 'http_code' => 400, 'description' => '无效的目的类型'], + ['code' => 'ErrorDuplicateTrFwPolicyName', 'message' => 'Duplicate firewall policy Name.', 'http_code' => 400, 'description' => '引流场景名称重复。'], + ['code' => 'ErrorEcsNotFound', 'message' => 'ECS is not found.', 'http_code' => 400, 'description' => '找不到ECS'], + ['code' => 'ErrorEcsOpenApi', 'message' => 'ecs open api failed', 'http_code' => 400, 'description' => '调用 ECS API 失败'], + ['code' => 'ErrorEmptyDomainResolveType', 'message' => 'Empty DomainResolveType only support HTTP/HTTPS/SSL/SMTP/SMTPS apps.', 'http_code' => 400, 'description' => '不支持空的域名解析模式。'], + ['code' => 'ErrorEniPermissionNotFound', 'message' => 'network interface permission not found', 'http_code' => 400, 'description' => 'ENI 接口权限未找到'], + ['code' => 'ErrorEwNotEnable', 'message' => 'east-west firewall not enable.', 'http_code' => 400, 'description' => '东西向防火墙未开启。'], + ['code' => 'ErrorFilterListError', 'message' => 'The filter list is invalid.', 'http_code' => 400, 'description' => '无效的过滤列表'], + ['code' => 'ErrorFirewallCandidateReference', 'message' => 'Firewall Candidate referrence count greater than one.', 'http_code' => 400, 'description' => '引流实例存在于多个引流场景中。'], + ['code' => 'ErrorFirewallCannotClose', 'message' => 'The firewall status is invalid, can not close.', 'http_code' => 400, 'description' => '防火墙状态错误, 不能关闭, 请稍后再试.'], + ['code' => 'ErrorFirewallCannotClose', 'message' => 'firewall cannot close.', 'http_code' => 400, 'description' => '防火墙状态错误,不能关闭,请稍后再试。'], + ['code' => 'ErrorFirewallCannotOpen', 'message' => 'The firewall status is invalid, can not open.', 'http_code' => 400, 'description' => '防火墙状态错误, 不能开启, 请稍后再试'], + ['code' => 'ErrorFirewallCannotOpen', 'message' => 'firewall cannot open.', 'http_code' => 400, 'description' => '防火墙状态错误,不能开启,请稍后再试。'], + ['code' => 'ErrorFirewallExistDeleting', 'message' => 'There is a VPC firewall that is being deleted, and it is not allowed to create.', 'http_code' => 400, 'description' => '存在删除中的VPC防火墙, 不允许创建。'], + ['code' => 'ErrorFirewallId', 'message' => 'Firewall ID is invalid.', 'http_code' => 400, 'description' => ' 防火墙ID参数错误'], + ['code' => 'ErrorFirewallInstanceNotReady', 'message' => 'firewall instance not ready, please try again later.', 'http_code' => 400, 'description' => '防火墙实例未就绪,请稍后再试。'], + ['code' => 'ErrorFirewallName', 'message' => 'firewall name invalid', 'http_code' => 400, 'description' => '防火墙名错误, 请重新输入'], + ['code' => 'ErrorFirewallName', 'message' => 'Firewall name invalid.', 'http_code' => 400, 'description' => '防火墙名错误,请重新输入。'], + ['code' => 'ErrorFirewallNotConfig', 'message' => 'Firewall not config', 'http_code' => 400, 'description' => ' 防火墙未配置'], + ['code' => 'ErrorFirewallNotConfig', 'message' => 'can\'t switch firewall, please configure firewall first.', 'http_code' => 400, 'description' => '防火墙未配置,请先新建配置。'], + ['code' => 'ErrorFirewallNotFound', 'message' => 'Firewall not found', 'http_code' => 400, 'description' => '防火墙不存在'], + ['code' => 'ErrorFirewallNotFound', 'message' => 'firewall not found.', 'http_code' => 400, 'description' => '指定的防火墙不存在,请重新选择。'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'The quota for VPC firewalls is exceeded.', 'http_code' => 400, 'description' => '配额不足,无法配置VPC防火墙,请先增加配额'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'insufficient quota, unable to configure firewall, please increase quota.', 'http_code' => 400, 'description' => '配额不足,无法配置VPC防火墙,请先增加配额。'], + ['code' => 'ErrorFirewallStatus', 'message' => 'Firewall status error, please try again later.', 'http_code' => 400, 'description' => '防火墙状态错误,请稍后再试'], + ['code' => 'ErrorFirewallStatus', 'message' => 'firewall status error.', 'http_code' => 400, 'description' => '防火墙状态错误,请稍后再试。'], + ['code' => 'ErrorFirewallStatusCannotModify', 'message' => 'Current firewall status, configuration not allowed', 'http_code' => 400, 'description' => '当前防火墙状态, 不允许配置'], + ['code' => 'ErrorFirewallStatusCannotModify', 'message' => 'The firewall staus can not modify.', 'http_code' => 400, 'description' => '当前防火墙状态, 不允许配置.'], + ['code' => 'ErrorFirewallStatusClosed', 'message' => 'firewall is already closed.', 'http_code' => 400, 'description' => '防火墙已关闭。'], + ['code' => 'ErrorFirewallStatusOpened', 'message' => 'Firewall already opened.', 'http_code' => 400, 'description' => '防火墙已开启'], + ['code' => 'ErrorFirewallStatusOpened', 'message' => 'firewall is already opened.', 'http_code' => 400, 'description' => '防火墙已开启。'], + ['code' => 'ErrorFirewallSwitch', 'message' => 'The firewall enabling parameter is incorrect. Please select again.', 'http_code' => 400, 'description' => '防火墙开关参数错误,请重新选择'], + ['code' => 'ErrorFirewallSwitch', 'message' => 'firewall switch invalid.', 'http_code' => 400, 'description' => '防火墙开关参数错误,请重新选择。'], + ['code' => 'ErrorFirewallType', 'message' => 'The specified firewall type is invalid.', 'http_code' => 400, 'description' => '无效的防火墙类型'], + ['code' => 'ErrorFirewallTypeDuplicates', 'message' => 'firewallType duplicates.', 'http_code' => 400, 'description' => '选择的防火墙边界已存在私有DNS终端节点'], + ['code' => 'ErrorFirewallUpdating', 'message' => 'Can not modify firewall, firewall is updating. Please check if there is a routing policy updating.', 'http_code' => 400, 'description' => '无法操作防火墙,防火墙处在更新状态, 请检查是否有引流模板正在创建、删除、更新中、开启或关闭中。'], + ['code' => 'ErrorFlowType', 'message' => 'The flow type is invalid.', 'http_code' => 400, 'description' => '无效的flow type'], + ['code' => 'ErrorGetAvailableEcs', 'message' => 'get available ecs failed', 'http_code' => 400, 'description' => '获取有效的 ECS 失败'], + ['code' => 'ErrorGetCenRoute', 'message' => 'get cen domain route failed.', 'http_code' => 400, 'description' => '互通类型选择错误,请重新选择。'], + ['code' => 'ErrorGetSlsLog', 'message' => 'Failed to get SLS log.', 'http_code' => 400, 'description' => '获取sls log失败'], + ['code' => 'ErrorGetSlsLog', 'message' => 'get sls log failed.', 'http_code' => 400, 'description' => '获取sls log失败。'], + ['code' => 'ErrorGetSlsLogStore', 'message' => 'Failed to get SLS logstore.', 'http_code' => 400, 'description' => '获取SLS log store失败'], + ['code' => 'ErrorGetSlsLogStore', 'message' => 'get sls log store failed', 'http_code' => 400, 'description' => '获取日志失败'], + ['code' => 'ErrorGroupNameFailed', 'message' => 'The group name is invalid.', 'http_code' => 400, 'description' => '无效的group name'], + ['code' => 'ErrorHubvpcCannotCreate', 'message' => 'HUB VPC could not create vpc firewall', 'http_code' => 400, 'description' => 'HUB VPC不允许创建防火墙'], + ['code' => 'ErrorIllegalFwStatusUpdate', 'message' => 'Can not set firewall status.', 'http_code' => 400, 'description' => '无法更新防火墙状态。'], + ['code' => 'ErrorIllegalRoutePolicyScopeUpdate', 'message' => 'Can not update policy scope.', 'http_code' => 400, 'description' => '点对点场景无法配置更新引流模板范围。'], + ['code' => 'ErrorIllegalRoutePolicyStatusUpdate', 'message' => 'Can not update policy status.', 'http_code' => 400, 'description' => '无法更新路由模板状态,请检查路由模板状态是否正在更新中。'], + ['code' => 'ErrorIllegalTrFirewallVswCidr', 'message' => 'Illegal tr firewall vswitch cidr.', 'http_code' => 400, 'description' => '非法的tr 防火墙子网网段, 请检查子网网段间是否有冲突。'], + ['code' => 'ErrorInstanceAliuidIsMember', 'message' => 'instance uid is member account.', 'http_code' => 400, 'description' => '待创建云防火墙的UID已经是防火墙成员UID。'], + ['code' => 'ErrorInstanceAliuidNotDaMa', 'message' => 'instance aliuid not DA or MA.', 'http_code' => 400, 'description' => '云防火墙实例主账号不是DA或者MA。'], + ['code' => 'ErrorInstanceMemberAlreadyExist', 'message' => 'instance member is already exist.', 'http_code' => 400, 'description' => '待添加的云防火墙实例成员已存在。'], + ['code' => 'ErrorInstanceMemberHasFirewall', 'message' => 'instance member has firewall resource.', 'http_code' => 400, 'description' => '成员账号拥有正向代理、DNS防火墙或手动模式vpc防火墙。'], + ['code' => 'ErrorInstanceMemberHasFirewall', 'message' => 'A forward proxy, DNS resolution, a DNS firewall, or a VPC firewall whose Routing Mode is Manual is created for the member.', 'http_code' => 400, 'description' => '成员账号拥有正向代理、DNS解析 、DNS防火墙或手动模式vpc防火墙。'], + ['code' => 'ErrorInstanceMemberIsMaster', 'message' => 'instance member is master account.', 'http_code' => 400, 'description' => '待添加的云防火墙实例成员已开防火墙。'], + ['code' => 'ErrorInstanceMemberNotBelongRd', 'message' => 'instance member not belong rd.', 'http_code' => 400, 'description' => '待添加的云防火墙实例成员不属于RD。'], + ['code' => 'ErrorInstanceMemberNotStsGrant', 'message' => 'instance member is not sts grant.', 'http_code' => 400, 'description' => '待添加的云防火墙实例成员未授权。'], + ['code' => 'ErrorInstanceNotInDB', 'message' => 'no instance for process in db', 'http_code' => 400, 'description' => '实例不存在'], + ['code' => 'ErrorInstanceNotPostpay', 'message' => 'instance is not postpay', 'http_code' => 400, 'description' => '此API仅允许按量付费版本调用'], + ['code' => 'ErrorInstanceOpenIpNumExceed', 'message' => 'The maximum number of protected assets has been reached.', 'http_code' => 400, 'description' => '防护资产的个数达到上限'], + ['code' => 'ErrorInstanceOpenIpRegionNumExceed', 'message' => 'open ip region num exceed.', 'http_code' => 400, 'description' => '您的区域防护配额不足。'], + ['code' => 'ErrorInstanceStatusNotNormal', 'message' => 'This operation is not supported when the instance is in the current state.', 'http_code' => 400, 'description' => '实例状态不允许当前操作'], + ['code' => 'ErrorInstanceTooManyMembersOnce', 'message' => 'too many members once.', 'http_code' => 400, 'description' => '单次添加或删除的成员数量超限。'], + ['code' => 'ErrorInteral', 'message' => 'Internal err.', 'http_code' => 400, 'description' => '未知错误。'], + ['code' => 'ErrorInternal', 'message' => 'internal error', 'http_code' => 400, 'description' => '内部错误'], + ['code' => 'ErrorInternal', 'message' => 'internal err.', 'http_code' => 400, 'description' => '内部错误'], + ['code' => 'ErrorIntervalError', 'message' => 'The interval is invalid.', 'http_code' => 400, 'description' => '无效的时间间隔'], + ['code' => 'ErrorInvalidLevel', 'message' => 'invalid level.', 'http_code' => 400, 'description' => '不支持的等级。'], + ['code' => 'ErrorInvalidMemberUid', 'message' => 'Member uid is invalid', 'http_code' => 400, 'description' => '成员账号错误.'], + ['code' => 'ErrorInvalidMemberUidStatus', 'message' => 'invalid member uid status.', 'http_code' => 400, 'description' => '成员账号状态不合法, 不支持此操作'], + ['code' => 'ErrorInvalidPrefixList', 'message' => 'The prefix list is invalid.', 'http_code' => 400, 'description' => '无效的前缀列表'], + ['code' => 'ErrorInvalidTrFirewallType', 'message' => 'Firewall type is invalid.', 'http_code' => 400, 'description' => '防火墙类型无法识别。'], + ['code' => 'ErrorIpFormat', 'message' => 'The IP address is invalid.', 'http_code' => 400, 'description' => '无效的IP'], + ['code' => 'ErrorIpFormat', 'message' => 'ip invalid.', 'http_code' => 400, 'description' => 'IP地址错误,请重新输入。'], + ['code' => 'ErrorIpProtocolError', 'message' => 'The protocol is invalid.', 'http_code' => 400, 'description' => '无效的协议'], + ['code' => 'ErrorIspError', 'message' => 'The ISP name is invalid.', 'http_code' => 400, 'description' => '运营商错误'], + ['code' => 'ErrorJsonDecode', 'message' => 'decoding json failed', 'http_code' => 400, 'description' => 'json 解析失败'], + ['code' => 'ErrorJsonEncode', 'message' => 'encoding json failed', 'http_code' => 400, 'description' => 'json编码失败'], + ['code' => 'ErrorLimitCountFailed', 'message' => 'The limit count is invalid.', 'http_code' => 400, 'description' => '无效的limit'], + ['code' => 'ErrorLimitFailed', 'message' => 'The limit is invalid.', 'http_code' => 400, 'description' => '无效的limit'], + ['code' => 'ErrorLocalVpcIdPeerVpcIdError', 'message' => 'local vpc id and peer vpc id cannot be empty at the same time.', 'http_code' => 400, 'description' => '防火墙VPC参数错误,请重新选择。'], + ['code' => 'ErrorLocationError', 'message' => 'The location name is invalid.', 'http_code' => 400, 'description' => '地区错误'], + ['code' => 'ErrorLocationMismatch', 'message' => 'The location is not supported.', 'http_code' => 400, 'description' => '不支持的区域类型'], + ['code' => 'ErrorMarshalJSON', 'message' => 'An error occurred while encoding JSON.', 'http_code' => 400, 'description' => '内部错误:JSON编码错误'], + ['code' => 'ErrorMarshalJSON', 'message' => 'An error occurred. Try again later.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorMarshalJSON', 'message' => 'internal error: marshal json.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorMarshalJSON', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误。'], + ['code' => 'ErrorMaxAppGroupNum', 'message' => 'reach max app group num.', 'http_code' => 400, 'description' => '超出最大应用组个数。'], + ['code' => 'ErrorMaxAppNum', 'message' => 'reach max app num.', 'http_code' => 400, 'description' => '超出最大应用个数。'], + ['code' => 'ErrorMaxBizNum', 'message' => 'reach max biz num.', 'http_code' => 400, 'description' => '超出最大业务区个数。'], + ['code' => 'ErrorMaxInstanceMemberNumExceed', 'message' => 'max instance member num exceed.', 'http_code' => 400, 'description' => '云防火墙实例成员个数超限。'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'The method is not supported.', 'http_code' => 400, 'description' => '方法不支持'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'method not support', 'http_code' => 400, 'description' => '方法不支持'], + ['code' => 'ErrorMethodNotSupport', 'message' => 'method not support.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorNatGatewayNotAvailable', 'message' => 'Nat gateway not available.', 'http_code' => 400, 'description' => 'NAT网关状态不可用, 不能操作。'], + ['code' => 'ErrorNetworkInstanceIdError', 'message' => 'Network InstanceId ID is invalid', 'http_code' => 400, 'description' => '网络实例id非法'], + ['code' => 'ErrorNetworkInstanceIdError', 'message' => 'Network InstanceId ID is invalid.', 'http_code' => 400, 'description' => '网络实例ID非法。'], + ['code' => 'ErrorNetworkInterfaceNotFound', 'message' => 'The NIC of the firewall is invalid. Check its configurations.', 'http_code' => 400, 'description' => '防火墙网卡错误, 请确认网卡配置'], + ['code' => 'ErrorNetworkInterfaceNotFound', 'message' => 'firewall network interface not found.', 'http_code' => 400, 'description' => '防火墙网卡错误,请确认网卡配置。'], + ['code' => 'ErrorNoAppGroupInDb', 'message' => 'no app group name in db.', 'http_code' => 400, 'description' => '应用组不存在。'], + ['code' => 'ErrorNoAppInDb', 'message' => 'no app in db.', 'http_code' => 400, 'description' => '应用不存在。'], + ['code' => 'ErrorNoBizInDb', 'message' => 'no biz in db.', 'http_code' => 400, 'description' => '业务区不存在。'], + ['code' => 'ErrorNoEcsFound', 'message' => 'no ecs found.', 'http_code' => 400, 'description' => 'ECS不存在。'], + ['code' => 'ErrorNoEcsFoundWithApp', 'message' => 'no ecs found with app.', 'http_code' => 400, 'description' => '应用对应的ECS不存在。'], + ['code' => 'ErrorNoInstanceInDb', 'message' => 'no instance for process in db.', 'http_code' => 400, 'description' => '访问的实例不存在。'], + ['code' => 'ErrorNotFound', 'message' => 'Not found.', 'http_code' => 200, 'description' => '没有找到'], + ['code' => 'ErrorNotNeedCommit', 'message' => 'strategy no need to submit, no rules change.', 'http_code' => 400, 'description' => '没有规则变化,不需要发布。'], + ['code' => 'ErrorNotPostpayUser', 'message' => 'not Postpay User.', 'http_code' => 400, 'description' => '非按量付费用户。'], + ['code' => 'ErrorObjectGroupName', 'message' => 'The object groupName is invalid.', 'http_code' => 400, 'description' => '无效的object groupName'], + ['code' => 'ErrorObjectList', 'message' => 'The objectList is invalid.', 'http_code' => 400, 'description' => '无效的objectList '], + ['code' => 'ErrorObjectOperation', 'message' => 'The objectOperation is invalid.', 'http_code' => 400, 'description' => '无效的objectOperation '], + ['code' => 'ErrorObjectType', 'message' => 'The objectType is invalid.', 'http_code' => 400, 'description' => '无效的objectType '], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'Only local addresses are allowed.', 'http_code' => 400, 'description' => '只允许本地访问'], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'Only requests from local addresses are allowed.', 'http_code' => 400, 'description' => '只允许本地地址访问'], + ['code' => 'ErrorOnlyLocalAllowed', 'message' => 'only local address request allowed.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorOpenApiError', 'message' => 'An OpenAPI interface error occurred.', 'http_code' => 400, 'description' => '内部错误:OPEN API 接口错误'], + ['code' => 'ErrorOpenApiError', 'message' => 'openapi error.', 'http_code' => 400, 'description' => '请求错误,外部接口调用失败。'], + ['code' => 'ErrorOpsFirewallMaxNum', 'message' => 'maximum number of vpc firewalls.', 'http_code' => 400, 'description' => '已配置的VPC防火墙达到最大数量,请购买扩容。'], + ['code' => 'ErrorOrderFailed', 'message' => 'The order is invalid.', 'http_code' => 400, 'description' => '无效的order'], + ['code' => 'ErrorOutgoingIgnoredReachLimit', 'message' => 'outgoing ignored list reach limit', 'http_code' => 400, 'description' => '主动外联白名单个数达到最大'], + ['code' => 'ErrorOwnerId', 'message' => 'owner id invalid.', 'http_code' => 400, 'description' => '所属账号错误,请重新输入。'], + ['code' => 'ErrorOwnerIdUnauthorized', 'message' => 'owner id not authorized.', 'http_code' => 400, 'description' => '所属账号未授权,未购买云防火墙。'], + ['code' => 'ErrorPageNo', 'message' => 'Either page number or page size is invalid.', 'http_code' => 400, 'description' => '无效的page number 或者 page size'], + ['code' => 'ErrorParamCountExceed', 'message' => 'sms or email count exceed.', 'http_code' => 400, 'description' => '地址个数超出限制。'], + ['code' => 'ErrorParamDomain', 'message' => 'The parameter Domain is invalid.', 'http_code' => 400, 'description' => '地址簿域名地址错误'], + ['code' => 'ErrorParamEmail', 'message' => 'invalid email address.', 'http_code' => 400, 'description' => '邮件地址错误。'], + ['code' => 'ErrorParameterIpVersion', 'message' => 'The IP version is invalid.', 'http_code' => 400, 'description' => 'IP版本参数错误'], + ['code' => 'ErrorParameters', 'message' => 'A parameter error occurred.', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'ErrorParameters', 'message' => 'Error Parameters', 'http_code' => 400, 'description' => '参数错误'], + ['code' => 'ErrorParameters', 'message' => 'Parameters error.', 'http_code' => 400, 'description' => '参数错误。'], + ['code' => 'ErrorParameters', 'message' => 'parameters invalid.', 'http_code' => 400, 'description' => '参数错误,请检查后重试。'], + ['code' => 'ErrorParametersAclUuid', 'message' => 'Specified parameter AclUuid is not valid.', 'http_code' => 400, 'description' => '指定的ACL uuid不合法。'], + ['code' => 'ErrorParametersAction', 'message' => 'The action is invalid.', 'http_code' => 400, 'description' => '无效的动作'], + ['code' => 'ErrorParametersAlarmConfig', 'message' => 'invalid alarmConfig.', 'http_code' => 400, 'description' => 'AlarmConfig参数错误。'], + ['code' => 'ErrorParametersAppId', 'message' => 'The appId is invalid.', 'http_code' => 400, 'description' => '无效的AppId'], + ['code' => 'ErrorParametersAppId', 'message' => 'The AppId parameter is incorrect.', 'http_code' => 400, 'description' => 'AppId不正确'], + ['code' => 'ErrorParametersAppId', 'message' => 'Invalid parameters applicationNameList.', 'http_code' => 400, 'description' => '无效参数。'], + ['code' => 'ErrorParametersAppIds', 'message' => 'Invalid parameters applicationNameList.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorParametersApplicationName', 'message' => 'Specified parameter ApplicationName is not valid.', 'http_code' => 400, 'description' => '访问控制策略支持的应用类型不合法。'], + ['code' => 'ErrorParametersApplicationNameList', 'message' => 'Specified parameter ApplicationNameList is not valid.', 'http_code' => 400, 'description' => '访问控制策略支持的应用类型列表不合法。'], + ['code' => 'ErrorParametersAppName', 'message' => 'Specified parameter ApplicationName is not valid.', 'http_code' => 400, 'description' => '访问控制策略支持的应用类型不合法。'], + ['code' => 'ErrorParametersDestination', 'message' => 'The destination is invalid.', 'http_code' => 400, 'description' => '无效的目的'], + ['code' => 'ErrorParametersDestination', 'message' => 'The Destination parameter is invalid.', 'http_code' => 400, 'description' => 'Destination参数非法'], + ['code' => 'ErrorParametersDestinationCount', 'message' => 'Exceeding the number of countries in a single ACL.', 'http_code' => 400, 'description' => '超出一条ACL选取区域个数, 建议拆分成多条ACL'], + ['code' => 'ErrorParametersDestPort', 'message' => 'The dst_port is invalid.', 'http_code' => 400, 'description' => '无效的目的端口'], + ['code' => 'ErrorParametersDirection', 'message' => 'The direction is invalid.', 'http_code' => 400, 'description' => '无效的方向'], + ['code' => 'ErrorParametersFirewallId', 'message' => 'Invalid VPC firewall ID.', 'http_code' => 400, 'description' => 'VPC防火墙ID无效'], + ['code' => 'ErrorParametersFtpNotSupport', 'message' => 'domain destination not support ftp.', 'http_code' => 400, 'description' => '策略目的为域名时不支持FTP应用'], + ['code' => 'ErrorParametersGroupAddress', 'message' => 'The IP address of the address group is invalid.', 'http_code' => 400, 'description' => '地址簿IP地址错误'], + ['code' => 'ErrorParametersGroupPort', 'message' => 'The group port is invalid.', 'http_code' => 400, 'description' => '地址簿端口错误'], + ['code' => 'ErrorParametersGroupPort', 'message' => 'invalid group port.', 'http_code' => 400, 'description' => '地址簿端口错误。'], + ['code' => 'ErrorParametersGroupType', 'message' => 'The group type is invalid.', 'http_code' => 400, 'description' => '无效的group类型'], + ['code' => 'ErrorParametersGroupType', 'message' => 'invalid group type.', 'http_code' => 400, 'description' => '无效的group类型。'], + ['code' => 'ErrorParametersHTTPHost', 'message' => 'The host is invalid.', 'http_code' => 400, 'description' => '无效的host'], + ['code' => 'ErrorParametersHTTPHost', 'message' => 'Invalid parameters httpHost.', 'http_code' => 400, 'description' => '无效的host。'], + ['code' => 'ErrorParametersMemberUid', 'message' => 'invalid memberUid.', 'http_code' => 400, 'description' => '无效的memberUid。'], + ['code' => 'ErrorParametersNatGatewayId', 'message' => 'Invalid parameters NatGatewayId.', 'http_code' => 400, 'description' => '请求参数NatGatewayId不合法或不存在。'], + ['code' => 'ErrorParametersNewOrder', 'message' => 'The newOrder is invalid.', 'http_code' => 400, 'description' => '无效的newOrder'], + ['code' => 'ErrorParametersNotifyConfig', 'message' => 'invalid notifyConfig.', 'http_code' => 400, 'description' => 'NotifyConfig参数错误。'], + ['code' => 'ErrorParametersOldOrder', 'message' => 'The oldOrder is invalid.', 'http_code' => 400, 'description' => '无效的oldOrder'], + ['code' => 'ErrorParametersPageSizeOrNo', 'message' => 'Either pageSize or pageNo is invalid.', 'http_code' => 400, 'description' => '无效的pageSize或者pageNo'], + ['code' => 'ErrorParametersPatches', 'message' => 'invalid patches.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorParametersProto', 'message' => 'The protocol is invalid.', 'http_code' => 400, 'description' => '无效的协议'], + ['code' => 'ErrorParametersProtoAppsMismatch', 'message' => 'The protocol and applicationName mismatch.', 'http_code' => 400, 'description' => '协议和应用不匹配。'], + ['code' => 'ErrorParametersSource', 'message' => 'The source is invalid.', 'http_code' => 400, 'description' => '无效的来源'], + ['code' => 'ErrorParametersSourceTarget', 'message' => 'Source and target firewall is same.', 'http_code' => 400, 'description' => '目标VPC和源VPC相同'], + ['code' => 'ErrorParametersSwitchPairs', 'message' => 'invalid switch pairs.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorParametersSwitchValue', 'message' => 'invalid switch value.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorParametersTagKey', 'message' => 'The tag key is invalid.', 'http_code' => 400, 'description' => '无效的tag key'], + ['code' => 'ErrorParametersTagKey', 'message' => 'invalid tag key.', 'http_code' => 400, 'description' => '无效的tag key。'], + ['code' => 'ErrorParametersTagList', 'message' => 'The tag list is invalid.', 'http_code' => 400, 'description' => '无效的tag list'], + ['code' => 'ErrorParametersTagList', 'message' => 'invalid tag list.', 'http_code' => 400, 'description' => '无效的tag list。'], + ['code' => 'ErrorParametersTagRelation', 'message' => 'The tag relation is invalid.', 'http_code' => 400, 'description' => '无效的tag relation'], + ['code' => 'ErrorParametersTagRelation', 'message' => 'invalid tag relation.', 'http_code' => 400, 'description' => '无效的tag relation。'], + ['code' => 'ErrorParametersTarget', 'message' => 'Target VPC Firewall ID not exist.', 'http_code' => 400, 'description' => '目标VPC不存在'], + ['code' => 'ErrorParametersUid', 'message' => 'The aliUid is invalid.', 'http_code' => 200, 'description' => '无效的Aliuid'], + ['code' => 'ErrorParametersUid', 'message' => 'The aliUid parameter is invalid.', 'http_code' => 400, 'description' => 'aliUid 不合法'], + ['code' => 'ErrorParametersUid', 'message' => 'invalid aliUid.', 'http_code' => 400, 'description' => '无效的Aliuid。'], + ['code' => 'ErrorParametersVfwUUID', 'message' => 'Vpc firewall ID invalid', 'http_code' => 400, 'description' => 'VPC 防火墙ID错误'], + ['code' => 'ErrorParametersVpcFirewallId', 'message' => 'Specified parameter VpcFirewallId is not valid.', 'http_code' => 400, 'description' => '指定的VpcFirewallId不合法。'], + ['code' => 'ErrorParametersWhitelistIP', 'message' => 'Invalid whitelistIp.', 'http_code' => 400, 'description' => 'IP地址不合法。'], + ['code' => 'ErrorParameterUseDnsLimit', 'message' => 'invalid acl domain destination appname', 'http_code' => 400, 'description' => 'acl外联域名应用类型错误'], + ['code' => 'ErrorParamProxyIdError', 'message' => 'proxy id invalid.', 'http_code' => 400, 'description' => 'proxyId 无效。'], + ['code' => 'ErrorParamProxyNameError', 'message' => 'proxy name invalid.', 'http_code' => 400, 'description' => 'NAT防火墙名称无效。'], + ['code' => 'ErrorParamsInvalid', 'message' => 'Invalid Params', 'http_code' => 400, 'description' => '无效的参数'], + ['code' => 'ErrorParamSms', 'message' => 'invalid sms number.', 'http_code' => 400, 'description' => '短信地址错误。'], + ['code' => 'ErrorParamsNotEnough', 'message' => 'Parameters are insufficient.', 'http_code' => 400, 'description' => '参数不足'], + ['code' => 'ErrorParamsOutOfRange', 'message' => 'params out of range.', 'http_code' => 400, 'description' => '参数超范围。'], + ['code' => 'ErrorParamUuidOrOrderMiss', 'message' => 'Either uuid or oldOrder is invalid.', 'http_code' => 400, 'description' => '无效的uuid或者oldOrder'], + ['code' => 'ErrorPeriodError', 'message' => 'The period is invalid.', 'http_code' => 400, 'description' => '无效的周期'], + ['code' => 'ErrorPeriodError', 'message' => 'period invalid.', 'http_code' => 400, 'description' => '时间范围选择错误,请重新选择。'], + ['code' => 'ErrorPolicySrcAndDestConflict', 'message' => 'Policy has same destination candidate as source candidtes.', 'http_code' => 400, 'description' => '引流模板中主引流实例与子引流实例冲突。'], + ['code' => 'ErrorPortCountExceed', 'message' => 'The maixmum number of port in the group is exceeded.', 'http_code' => 400, 'description' => '地址簿内端口数量超出上限'], + ['code' => 'ErrorPortError', 'message' => 'The port is invalid.', 'http_code' => 400, 'description' => '无效的端口'], + ['code' => 'ErrorPortError', 'message' => 'port invalid.', 'http_code' => 400, 'description' => '端口错误,请重新输入。'], + ['code' => 'ErrorPortRange', 'message' => 'strategy rule port range invalid.', 'http_code' => 400, 'description' => '策略端口错误,请重新输入。'], + ['code' => 'ErrorPrefixListNotMatchIPVer', 'message' => 'The prefix list does not match the address families.', 'http_code' => 400, 'description' => '前缀列表和其它IP地址族不匹配'], + ['code' => 'ErrorPrimaryStandbyVswitchSameZone', 'message' => 'The primary and standby vSwitch are in the same availability zone.', 'http_code' => 400, 'description' => '多可用区交换机不能是同一可用区。'], + ['code' => 'ErrorPrivateDnsDomainName', 'message' => 'private dns domain name error.', 'http_code' => 400, 'description' => '私有DNS域名错误'], + ['code' => 'ErrorPrivateDnsDomainNameMaxLimit', 'message' => 'the number of private DNS domain names exceeds the maximum limit.', 'http_code' => 400, 'description' => '私有DNS域名数量超过最大规格限制'], + ['code' => 'ErrorPrivateDnsIpAddress', 'message' => 'private dns ip address error.', 'http_code' => 400, 'description' => '私有DNS IP错误'], + ['code' => 'ErrorPrivateDnsIpSame', 'message' => 'the primary and backup DNS IP cannot be the same.', 'http_code' => 400, 'description' => '私有DNS的主备DNS IP不能相同'], + ['code' => 'ErrorPrivateDnsNotFound', 'message' => 'private dns not found.', 'http_code' => 400, 'description' => '指定的私有DNS不存在'], + ['code' => 'ErrorPrivateDnsOperationDenied', 'message' => 'private dns operation is not allowed.', 'http_code' => 400, 'description' => '不允许操作'], + ['code' => 'ErrorPrivateDnsPrivateZoneConfigure', 'message' => 'private dns parameter error.', 'http_code' => 400, 'description' => '私有DNS配置参数错误'], + ['code' => 'ErrorPrivateDnsRegionNotAvailable', 'message' => 'private dns region not available.', 'http_code' => 400, 'description' => '私有dns区域不可用。'], + ['code' => 'ErrorPrivateDnsType', 'message' => 'private dns type error.', 'http_code' => 400, 'description' => '私有DNS类型错误'], + ['code' => 'ErrorProcNameTooLong', 'message' => 'proc name too long.', 'http_code' => 400, 'description' => '进程名过长。'], + ['code' => 'ErrorProtocolError', 'message' => 'The IP protocol is invalid.', 'http_code' => 400, 'description' => '无效的IP协议'], + ['code' => 'ErrorProxyClusterNotAvailable', 'message' => 'Can not find available cluster for nat firewall.', 'http_code' => 400, 'description' => '无法为nat 防火墙分配集群。'], + ['code' => 'ErrorProxyExist', 'message' => 'firewall already exist.', 'http_code' => 400, 'description' => '防火墙已存在。'], + ['code' => 'ErrorProxyNumQuotaTop', 'message' => 'Proxy num reaches maximum.', 'http_code' => 400, 'description' => '配额不足。'], + ['code' => 'ErrorProxyRouteEntryConflicts', 'message' => 'Proxy custom route table Nat Gateway and Attachment route entry conflict.', 'http_code' => 400, 'description' => 'NAT网关的自定义路由表存在下一跳为NatGateway和Attachment的路由条目。'], + ['code' => 'ErrorProxySnatIpEmpty', 'message' => 'SNAT entry is empty.', 'http_code' => 400, 'description' => 'SNAT条目为空。'], + ['code' => 'ErrorProxyStatusCreating', 'message' => 'Proxy is configuring.', 'http_code' => 400, 'description' => 'NAT防火墙正在配置中, 不可操作。'], + ['code' => 'ErrorProxyStatusNotNormal', 'message' => 'proxy status is not normal.', 'http_code' => 400, 'description' => '当前NAT实例未开启防火墙。'], + ['code' => 'ErrorProxyVpcNotSupportAdvFeature', 'message' => 'This vpc advanced feature is not supported.', 'http_code' => 400, 'description' => '该VPC含有不支持VPC高级功能的ECS实例。'], + ['code' => 'ErrorProxyVswitchNoAvailable', 'message' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', 'http_code' => 400, 'description' => '指定的交换机是NAT防火墙自动创建的交换机, 请重新选择交换机'], + ['code' => 'ErrorPublicIPNotExist', 'message' => 'The public IP address does not exist.', 'http_code' => 400, 'description' => '公网IP不存在'], + ['code' => 'ErrorQueryEcsByUid', 'message' => 'An error occurred while querying ECS.', 'http_code' => 400, 'description' => '内部错误: 查询ECS错误'], + ['code' => 'ErrorQueryEcsByUid', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误: 查询ECS错误。'], + ['code' => 'ErrorReadBodyFailed', 'message' => 'Failed to read post body.', 'http_code' => 400, 'description' => '读取post body失败'], + ['code' => 'ErrorRecordLog', 'message' => 'An error occurred while updating the operation log.', 'http_code' => 400, 'description' => '写日志失败'], + ['code' => 'ErrorRecordLog', 'message' => 'update operation log error.', 'http_code' => 400, 'description' => '更新操作日志错误'], + ['code' => 'ErrorRecordLog', 'message' => 'record operation log error.', 'http_code' => 400, 'description' => '更新操作日志错误。'], + ['code' => 'ErrorRegionAssetError', 'message' => 'RegionId and asset IP cannot be specified at the same time.', 'http_code' => 400, 'description' => '地域和资产IP不能同时选择'], + ['code' => 'ErrorRegionNo', 'message' => 'regionNo error.', 'http_code' => 400, 'description' => '地域选择错误, 请重新输入。'], + ['code' => 'ErrorRegionNoDisable', 'message' => 'There are unsupported regions, please reselect', 'http_code' => 400, 'description' => '存在不支持的地域,请重新选择'], + ['code' => 'ErrorRegionNoDisable', 'message' => 'Region disable.', 'http_code' => 400, 'description' => '存在不支持的地域,请重新选择。'], + ['code' => 'ErrorRegionNoError', 'message' => 'The region is invalid.', 'http_code' => 400, 'description' => '无效的区域'], + ['code' => 'ErrorRegionNoError', 'message' => 'Region is error, please reselect', 'http_code' => 400, 'description' => '地域选择错误, 请重新输入'], + ['code' => 'ErrorRegionNoError', 'message' => 'Region invalid.', 'http_code' => 400, 'description' => '地域选择错误, 请重新输入。'], + ['code' => 'ErrorRemarkTooLong', 'message' => 'remark too long.', 'http_code' => 400, 'description' => '备注过长。'], + ['code' => 'ErrorReservedNameStartWithAt', 'message' => 'Reserved name start with letter At.', 'http_code' => 400, 'description' => '首字母为@的应用组或业务区名为系统保留。'], + ['code' => 'ErrorResourceIpFailed', 'message' => 'Resource type and IP cannot exist at the same time.', 'http_code' => 400, 'description' => '资源类型和IP不能同时出现'], + ['code' => 'ErrorResourceType', 'message' => 'The resource type is invalid.', 'http_code' => 400, 'description' => '无效的资源类型'], + ['code' => 'ErrorRevision', 'message' => 'strategy commit revision invalid.', 'http_code' => 400, 'description' => '版本号错误。'], + ['code' => 'ErrorRiskLevel', 'message' => 'The risk level is invalid.', 'http_code' => 400, 'description' => '无效的风险等级'], + ['code' => 'ErrorRouteEntryNotFound', 'message' => 'route entry not found.', 'http_code' => 400, 'description' => '路由条目不存在。'], + ['code' => 'ErrorRouteTableNotFound', 'message' => 'route table not found.', 'http_code' => 400, 'description' => '路由表不存在'], + ['code' => 'ErrorRuleCommitting', 'message' => 'strategy rule committing, please wait.', 'http_code' => 400, 'description' => '规则发布中,请稍后重试。'], + ['code' => 'ErrorRuleDirection', 'message' => 'strategy rule direction invalid.', 'http_code' => 400, 'description' => '规则方向配置错误。'], + ['code' => 'ErrorRuleExist', 'message' => 'strategy rule exist.', 'http_code' => 400, 'description' => '策略已存在。'], + ['code' => 'ErrorRuleGroupIdNetWorkType', 'message' => 'strategy rule group id network type invalid.', 'http_code' => 400, 'description' => '规则的网络类型错误,请重选。'], + ['code' => 'ErrorRuleGroupIdNotExist', 'message' => 'strategy group id not exist.', 'http_code' => 400, 'description' => '请求错误,策略组不存在。'], + ['code' => 'ErrorRuleGroupUUID', 'message' => 'strategy group uuid invalid.', 'http_code' => 400, 'description' => '请求错误,策略组不存在。'], + ['code' => 'ErrorRuleIpProtocol', 'message' => 'strategy rule ip protocol invalid.', 'http_code' => 400, 'description' => '规则协议配置错误。'], + ['code' => 'ErrorRuleMaxLimit', 'message' => 'strategy rule number specification limit.', 'http_code' => 400, 'description' => '页码不存在。'], + ['code' => 'ErrorRuleNotExist', 'message' => 'strategy rule not exist.', 'http_code' => 400, 'description' => '策略不存在。'], + ['code' => 'ErrorRuleOperation', 'message' => 'strategy rule operation invalid.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorRulePolicy', 'message' => 'strategy rule policy invalid.', 'http_code' => 400, 'description' => '规则策略配置错误。'], + ['code' => 'ErrorRulePriority', 'message' => 'strategy rule priority invalid.', 'http_code' => 400, 'description' => '策略优先级错误,请重新输入。'], + ['code' => 'ErrorRuleResultError', 'message' => 'The rule result is invalid.', 'http_code' => 400, 'description' => '无效的rule result'], + ['code' => 'ErrorRuleSourceError', 'message' => 'The rule source is invalid.', 'http_code' => 400, 'description' => '来源错误'], + ['code' => 'ErrorRuleUUID', 'message' => 'strategy rule uuid invalid.', 'http_code' => 400, 'description' => '策略规则uuid已禁用。'], + ['code' => 'ErrorSameCidrIp', 'message' => 'The same network segment cannot be configured repeatedly. Please reselect the network segment.', 'http_code' => 400, 'description' => '相同网段不能重复配置, 请重新选择网段'], + ['code' => 'ErrorSameCidrIp', 'message' => 'the same route exists in the configuration.', 'http_code' => 400, 'description' => '相同网段不能重复配置,请重新选择网段。'], + ['code' => 'ErrorSecurityRisk', 'message' => 'The security risk is invalid.', 'http_code' => 400, 'description' => '无效的安全风险'], + ['code' => 'ErrorSecuritySuggest', 'message' => 'The security suggest is invalid.', 'http_code' => 400, 'description' => '无效的security suggest'], + ['code' => 'ErrorShowPort', 'message' => 'The show port is invalid.', 'http_code' => 400, 'description' => '无效的show port'], + ['code' => 'ErrorSlbOpenApi', 'message' => 'An SLB OpenAPI error occurred.', 'http_code' => 400, 'description' => '内部错误:SLB OPEN API接口错误'], + ['code' => 'ErrorSlbOpenApi', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误:SLB OPEN API接口错误。'], + ['code' => 'ErrorSLSLog', 'message' => 'Failed to get SLS log.', 'http_code' => 400, 'description' => '获取log失败'], + ['code' => 'ErrorSLSLogStore', 'message' => 'Failed to get SLS logstore.', 'http_code' => 400, 'description' => '获取SLS logstore失败'], + ['code' => 'ErrorSnatIpQuotaExceed', 'message' => 'The number of SNAT IP exceeds the specification.', 'http_code' => 400, 'description' => 'NAT网关EIP个数超过单个NAT防火墙支持的规格。'], + ['code' => 'ErrorSortError', 'message' => 'The sort is invalid.', 'http_code' => 400, 'description' => '无效的排序字段'], + ['code' => 'ErrorSourceCodeError', 'message' => 'The source code is invalid.', 'http_code' => 400, 'description' => '无效的source code'], + ['code' => 'ErrorSrcDstIPError', 'message' => 'SrcPublicIP and DstPublicIP cannot be specified at the same time.', 'http_code' => 400, 'description' => '源公网IP和目的公网IP不能同时出现'], + ['code' => 'ErrorSrcMand', 'message' => 'Source is mandatory for this action.', 'http_code' => 400, 'description' => '此操作需要提供指定的 source。'], + ['code' => 'ErrorStartEcsFirewall', 'message' => 'start ecs firewall error.', 'http_code' => 400, 'description' => '防火墙开启失败,请重试。'], + ['code' => 'ErrorStartTimeOrEndTime', 'message' => 'The start time or end time is invalid. The time must be the hour or half hour, and the start time must be 30 minutes earlier than the end time.', 'http_code' => 400, 'description' => '开始时间或结束时间无效。时间必须是小时或半小时,并且开始时间必须比结束时间早30分钟。'], + ['code' => 'ErrorStopEcsFirewall', 'message' => 'stop ecs firewall error.', 'http_code' => 400, 'description' => '防火墙关闭失败,请重试。'], + ['code' => 'ErrorStrategyGroupInstanceLimit', 'message' => 'strategy group instance spec limit.', 'http_code' => 400, 'description' => '实例加入的策略组个数超出限制。'], + ['code' => 'ErrorStrategyGroupLimit', 'message' => 'strategy group count limit.', 'http_code' => 400, 'description' => '策略组个数超出限制。'], + ['code' => 'ErrorStrategyGroupNotAllowModify', 'message' => 'strategy group not allow modify.', 'http_code' => 400, 'description' => '策略组不允许编辑。'], + ['code' => 'ErrorStrategyGroupNotExist', 'message' => 'strategy group uuid not exist.', 'http_code' => 400, 'description' => 'ECS安全组不存在。'], + ['code' => 'ErrorStrategyGroupReferenced', 'message' => 'strategy group reference count is not 0.', 'http_code' => 400, 'description' => '策略组仍被引用。'], + ['code' => 'ErrorStrategyGroupRuleLimit', 'message' => 'strategy group rule spec limit.', 'http_code' => 400, 'description' => '策略组下规则数超出限制。'], + ['code' => 'ErrorStrategyTemplateAlreadExist', 'message' => 'strategy template alread exist.', 'http_code' => 400, 'description' => '策略组模板已经存在。'], + ['code' => 'ErrorStrategyTemplateNotExist', 'message' => 'strategy template not exist.', 'http_code' => 400, 'description' => '策略组模板不存在。'], + ['code' => 'ErrorTagCountExceed', 'message' => 'The maximum number of tag is exceeded.', 'http_code' => 400, 'description' => 'tag数量超出上限'], + ['code' => 'ErrorTagCountExceed', 'message' => 'tag count exceed.', 'http_code' => 400, 'description' => 'tag数量超出上限,。'], + ['code' => 'ErrorTimeError', 'message' => 'The time is invalid.', 'http_code' => 400, 'description' => '时间选择错误'], + ['code' => 'ErrorTimeError', 'message' => 'time range invalid.', 'http_code' => 400, 'description' => '时间选择错误,请重新选择。'], + ['code' => 'ErrorTimeRangeFailed', 'message' => 'start time must less then end time.', 'http_code' => 400, 'description' => '时间参数超范围。'], + ['code' => 'ErrorTrafficSlsFirewallType', 'message' => 'The firewall type of traffic log is invalid.', 'http_code' => 400, 'description' => '无效的防火墙类型'], + ['code' => 'ErrorTrafficType', 'message' => 'The traffic type is invalid.', 'http_code' => 400, 'description' => '无效的流量类型'], + ['code' => 'ErrorTrFirewallCenManegedRouteMapConflict', 'message' => 'Cen TR firewall route table has cen managed route map conflict.', 'http_code' => 400, 'description' => '存在优先级为5000的老版本cen企业版路由策略,请联系售后更新路由策略。'], + ['code' => 'ErrorTrFirewallDoNotSupportPrefixList', 'message' => 'Cen TR firewall do not support prefix list.', 'http_code' => 400, 'description' => '云企业网企业版云防火墙不支持前缀列表。'], + ['code' => 'ErrorTrFirewallEcmpRoute', 'message' => 'Cen TR ecmp next hop must add to route policy at the same time.', 'http_code' => 400, 'description' => '云企业网企业版中等价路由的下一跳必须同时加入云防火墙引流场景。'], + ['code' => 'ErrorTrFirewallEndToEndTrToAll', 'message' => 'Parameter error, point-to-multipoint scenario, TR instance does not support configuration ALL.', 'http_code' => 400, 'description' => '参数错误, 点到多点场景, TR实例不支持配置ALL。'], + ['code' => 'ErrorTrFirewallNotEmpty', 'message' => 'Can not delete firewall since firewall still attached to a firewall policy.', 'http_code' => 400, 'description' => '无法删除防火墙,防火墙内仍然有防火墙引流场景。'], + ['code' => 'ErrorTrFirewallNotExist', 'message' => 'Cen TR firewall not exist', 'http_code' => 400, 'description' => '云企业网企业版防火墙不存在'], + ['code' => 'ErrorTrFirewallNotExist', 'message' => 'Cen TR firewall not exist.', 'http_code' => 400, 'description' => '云企业网企业版防火墙不存在。'], + ['code' => 'ErrorTrFirewallOnlyContainsEcrAndTrCandidate', 'message' => 'TR firewall cannot only contain both ECR and TR.', 'http_code' => 400, 'description' => 'TR防火墙不能仅包含ECR和TR'], + ['code' => 'ErrorTrFirewallOnlyContainsVpnAndTrCandidate', 'message' => 'The Cloud Enterprise Edition firewall drainage template contains only CEN-TR or only VPN instances.', 'http_code' => 400, 'description' => '云企业网企业版防火墙引流模板仅包含CEN-TR或仅包含VPN实例。'], + ['code' => 'ErrorTrFirewallRouteMapConflict', 'message' => 'Cen TR firewall route table has route map conflict.', 'http_code' => 400, 'description' => '云企业网路由表和云防火墙存在路由策略冲突。'], + ['code' => 'ErrorTrFirewallRouteTableInUse', 'message' => 'Can not delete firewall. There\'s a firewall route table still associate with network instance.', 'http_code' => 400, 'description' => '无法删除防火墙,防火墙路由表仍然绑定在某些网络实例上。'], + ['code' => 'ErrorTrFwBackUpAssocationNotExist', 'message' => 'Tr firewall back up association not Exist.', 'http_code' => 400, 'description' => '无法获取到开启引流场景之前的路由表配置,开启引流场景之前的路由表可能已被删除。'], + ['code' => 'ErrorTrFwVswCidrConflict', 'message' => 'Illegal tr firewall cidr configuration.', 'http_code' => 400, 'description' => 'Tr 防火墙配置网段不合法。'], + ['code' => 'ErrorTrResourceNotReady', 'message' => 'Transit Router has not been detected by cloud firewall', 'http_code' => 400, 'description' => '云防火墙未同步到转发路由器'], + ['code' => 'ErrorTrRouteConflict', 'message' => 'There are routes have same destination cidr but next hop id in the same transit router route table.', 'http_code' => 400, 'description' => '云企业网转发路由表中存在有相同目的网段但是不同下一跳的路由。'], + ['code' => 'ErrorTrRouteTableContainsRejectRoutes', 'message' => 'There are routes conflict in transit router route table.Please resolve route conflict before create route policy.', 'http_code' => 400, 'description' => '转发路由器路由表中存在路由冲突,请先解决路由冲突再创建防火墙引流场景。'], + ['code' => 'ErrorTrRouteTableContainsRejectRoutes', 'message' => 'There are routes conflict in transit router route table. Please resolve route conflict before create route policy.', 'http_code' => 400, 'description' => '转发路由器路由表中存在路由冲突,请先解决路由冲突再创建防火墙引流场景。'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'An error occurred while parsing JSON.', 'http_code' => 400, 'description' => '内部错误:JSON解码错误'], + ['code' => 'ErrorUnMarshalJSON', 'message' => 'internal error.', 'http_code' => 400, 'description' => '内部错误'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'internal error: unmarshal json.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorUnmarshalJSON', 'message' => 'An error occurred. Try again later.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorUserCenTrNotEnabled', 'message' => 'This account has not enabled CEN Transit Router Enterprise Edition Cloud Firewal. Please contact Cloud Firewall Support team.', 'http_code' => 400, 'description' => '此账号暂时不支持云企业网企业版云防火墙,请联系云防火墙服务团队加白后再操作。'], + ['code' => 'ErrorUserCredentials', 'message' => 'user credentials failed', 'http_code' => 400, 'description' => '未授权, 不可访问, 请先授权防火墙权限'], + ['code' => 'ErrorUserCredentials', 'message' => 'User credentials failed.', 'http_code' => 400, 'description' => '未授权,不可访问,请先授权防火墙权限。'], + ['code' => 'ErrorUserNotFound', 'message' => 'User not found', 'http_code' => 400, 'description' => '用户不存在.'], + ['code' => 'ErrorUUIDNew', 'message' => 'The UUID is invalid.', 'http_code' => 400, 'description' => '内部错误:UUID错误'], + ['code' => 'ErrorUUIDNew', 'message' => 'internal error: uuid.', 'http_code' => 400, 'description' => '请求错误,请稍后重试。'], + ['code' => 'ErrorVfwVpcNoAvailable', 'message' => 'the vpc is cloud firewall vpc, please reselect vpc.', 'http_code' => 400, 'description' => '指定的VPC是云防火墙自动创建的VPC, 请重新选择VPC'], + ['code' => 'ErrorVpcAndTrNotInTheSameAccount', 'message' => 'Vpc and transit router should in the account when create cloud firewall manual mode.', 'http_code' => 400, 'description' => '云企业网手动模式创建云防火墙时,为防火墙配置的VPC和转发路由器需要在同一账号。'], + ['code' => 'ErrorVpcAndVSwitchMismatched', 'message' => 'The VPC and vSwitch are mismatched.', 'http_code' => 400, 'description' => 'VPC和VSwitch不匹配。'], + ['code' => 'ErrorVpcCustomRouteTableWithVswitch', 'message' => 'VPC has a custom routing table and is associated with vswitch. It is not allowed to create VPC firewall', 'http_code' => 400, 'description' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙'], + ['code' => 'ErrorVpcCustomRouteTableWithVswitch', 'message' => 'vpc exist custom route table with vswitch, can not create vpc firewall.', 'http_code' => 400, 'description' => 'VPC存在自定义路由表且关联了vswitch, 不允许创建VPC防火墙。'], + ['code' => 'ErrorVpcDoNotSupportSubnetRouting', 'message' => 'The VPC for which the firewall is created does not support subnet routing. Create a custom route table for the VPC to enable subnet routing first.', 'http_code' => 400, 'description' => '创建防火墙的VPC不支持子网路由特性,请先去该VPC手动创建自定义路由表启用特性。'], + ['code' => 'ErrorVpcFirewallExist', 'message' => 'The firewall has been configured and cannot be created repeatedly.', 'http_code' => 400, 'description' => '防火墙已配置,不能重复新建'], + ['code' => 'ErrorVpcFirewallExist', 'message' => 'Vpc firewall already exist.', 'http_code' => 400, 'description' => '防火墙已配置,不能重复配置。'], + ['code' => 'ErrorVpcFirewallId', 'message' => 'The VPC firewall ID is invalid.', 'http_code' => 400, 'description' => '无效的VPC防火墙ID。'], + ['code' => 'ErrorVpcFirewallIdNotFound', 'message' => 'The VPC firewall ID is not found.', 'http_code' => 400, 'description' => '找不到VPC防火墙ID'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'The specified VPC firewall does not exist. Please select again.', 'http_code' => 400, 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'The specified VPC firewall does not exist, please select again.', 'http_code' => 400, 'description' => '指定的VPC防火墙不存在,请重新选择'], + ['code' => 'ErrorVpcFirewallNotFound', 'message' => 'Vpc firewall not found.', 'http_code' => 400, 'description' => '指定的VPC防火墙不存在,请重新选择。'], + ['code' => 'ErrorVpcFirewallVpcNumLimit', 'message' => 'The number of vpcs in this region is limited to open the vpc firewall.', 'http_code' => 400, 'description' => '此地域内vpc数量限制, 无法开启VPC边界防火墙。'], + ['code' => 'ErrorVpcFirewallZoneId', 'message' => 'VPC firewall zone error.', 'http_code' => 400, 'description' => 'VPC防火墙可用区选择错误'], + ['code' => 'ErrorVpcId', 'message' => 'The VPC ID is invalid.', 'http_code' => 400, 'description' => '无效的VPCID'], + ['code' => 'ErrorVpcIdError', 'message' => 'vpc id invalid', 'http_code' => 400, 'description' => 'VPC选择错误, 请重新选择'], + ['code' => 'ErrorVpcIdError', 'message' => 'Vpc ID invalid.', 'http_code' => 400, 'description' => 'VPC选择错误,请重新选择。'], + ['code' => 'ErrorVpcIdNotMatch', 'message' => 'vpc id not match.', 'http_code' => 400, 'description' => '应用和VPC不匹配。'], + ['code' => 'ErrorVpcIdPara', 'message' => 'vpc id and firewall id parameter not exist.', 'http_code' => 400, 'description' => '防火墙VPC参数错误,请重新选择。'], + ['code' => 'ErrorVpcOpenApi', 'message' => 'vpc open api failed', 'http_code' => 400, 'description' => '调用 VPC API 失败'], + ['code' => 'ErrorVSwitchAndPrivateIpAddressMismatched', 'message' => 'The vSwitch and privateIpAddress are mismatched.', 'http_code' => 400, 'description' => '交换机和私网IP不匹配。'], + ['code' => 'ErrorVswitchCidrIpNumNotEnough', 'message' => 'No enough private proxy IP in vswitch cidr.', 'http_code' => 400, 'description' => '防火墙交换机没有足够的私网IP。'], + ['code' => 'ErrorVswitchCidrNotInVpc', 'message' => 'Vswitch CIDR address not in vpc.', 'http_code' => 400, 'description' => '交换机网段地址不属于当前VPC。'], + ['code' => 'ErrorVswitchCidrNotInVpc', 'message' => 'The CIDR block address of the switch does not belong to the current VPC.', 'http_code' => 400, 'description' => '交换机网段地址不属于当前VPC。'], + ['code' => 'ErrorVswitchId', 'message' => 'vswitch id error.', 'http_code' => 400, 'description' => '交换机错误'], + ['code' => 'ErrorVswitchIpAddress', 'message' => 'vswitch ip error.', 'http_code' => 400, 'description' => '交换机IP错误'], + ['code' => 'ErrorVswitchNoAvailableCidr', 'message' => 'No available CIDR to create a vswitch.', 'http_code' => 400, 'description' => 'VPC内没有空余网段可创建交换机。'], + ['code' => 'ErrorVswitchNoAvailableIP', 'message' => 'the vswitch has no available ip.', 'http_code' => 400, 'description' => '指定的交换机无可用IP'], + ['code' => 'ErrorVswitchNotFound', 'message' => 'vswitch not found', 'http_code' => 400, 'description' => 'vswitch 不存在, 请重新选择'], + ['code' => 'ErrorVswitchRouteConflict', 'message' => 'Vswitch route conflict error.', 'http_code' => 400, 'description' => '输入的交换机网段和现有的交换机网段存在冲突。'], + ['code' => 'ErrorVswitchRouteConflict', 'message' => 'vswitch route conflict.', 'http_code' => 400, 'description' => '输入的交换机网段和现有的交换机网段存在冲突。'], + ['code' => 'ErrorVulLevelFailed', 'message' => 'VulLevel has failed.', 'http_code' => 400, 'description' => '漏洞等级失败'], + ['code' => 'ErrotMaxInstanceMemberNumExceed', 'message' => 'The maximum number of firewall instance members is exceeded.', 'http_code' => 400, 'description' => '防火墙实例成员个数超限'], + ['code' => 'IdempotentParameterMismatch', 'message' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', 'http_code' => 400, 'description' => '该请求使用与上一个请求相同但不相同的客户端令牌。不要在不同的请求中重复使用客户端令牌,除非请求相同。'], + ['code' => 'IllegalOperation', 'message' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', 'http_code' => 400, 'description' => '非法操作, 5分钟内不能操作, 请5分钟后重试.'], + ['code' => 'InternalError', 'message' => 'The request processing has failed due to some unknown error.', 'http_code' => 400, 'description' => '由于某些未知错误,请求处理失败。'], + ['code' => 'NoPermission', 'message' => 'You are not authorized to perform this operation.', 'http_code' => 401, 'description' => '无权限操作'], + ['code' => 'UnknownError', 'message' => 'An unknown error occurred.', 'http_code' => 400, 'description' => '未知错误'], + ['code' => 'ErrorAckClusterConnectorExist', 'message' => 'ACK cluster connector resource exceeds the quota limit.', 'http_code' => 400, 'description' => 'ACK集群连接器资源超过配额限制。'], + ['code' => 'ErrorPrivateDnsEndpointQuotaExceeded', 'message' => 'Private DNS endpoint resource exceeds the quota limit.', 'http_code' => 400, 'description' => '私网DNS同步节点资源超过配额限制。'], + ['code' => 'ErrorAckClusterConnectorQuotaExceeded', 'message' => 'ACK cluster connector resource exceeds the quota limit.', 'http_code' => 400, 'description' => 'ACK集群连接器资源超过配额限制。'], + ['code' => 'ErrorBandwidthPenalty', 'message' => 'Cloud Firewall bandwidth is being overused.', 'http_code' => 400, 'description' => '云防火墙带宽超量使用处置中。'], + ['code' => 'ErrorGeneralInstanceSpecFull', 'message' => 'Cloud Firewall instance specifications are full.', 'http_code' => 400, 'description' => '云防火墙实例规格已满。'], + ['code' => 'ErrorCenVpcEcConflict', 'message' => 'The cloud enterprise network VPC conflicts with the Express Connect VPC.', 'http_code' => 400, 'description' => '云企业网VPC和高速通道VPC冲突, 无法开启防火墙, 请重新选择'], + ['code' => 'ErrorFirewallQuotaNotEmpty', 'message' => 'Insufficient cloud firewall quota.', 'http_code' => 400, 'description' => '云防火墙配额不足。'], + ['code' => 'ErrorParametersAddressGroupAddressDuplicate', 'message' => 'The address in the address book already exists.', 'http_code' => 400, 'description' => '地址簿中的地址已存在。'], + ['code' => 'ErrorParametersAddressGroupAddressNotFound', 'message' => 'The address to be deleted does not exist in the address book.', 'http_code' => 400, 'description' => '地址簿中不存在需要删除的地址。'], + ['code' => 'ErrorNetworkInstanceIdBothEmpty', 'message' => 'The parameters NetworkInstanceId and PeerNetworkInstanceId must be both empty or neither empty.', 'http_code' => 400, 'description' => '参数 NetworkInstanceId 和 PeerNetworkInstanceId 必须同时为空或不为空'], + ['code' => 'ErrorNetworkInstanceIdSame', 'message' => 'The NetworkInstanceId and PeerNetworkInstanceId parameters cannot be the same.', 'http_code' => 400, 'description' => '参数NetworkInstanceId和PeerNetworkInstanceId不能相同'], + ['code' => 'InvalidParameter.AddressBook.%s', 'message' => 'The address book address %s is already exist.', 'http_code' => 400, 'description' => '地址簿中的地址%s已存在。'], + ['code' => 'InvalidParameter.AddressBook.AddressDuplicate', 'message' => 'The address book address %s is already exist.', 'http_code' => 400, 'description' => '地址簿中的地址%s已存在。'], + ['code' => 'ErrorCrossRegionCloudServiceStaticRoute', 'message' => 'The CEN-TR routing table contains cross-region cloud service static routes. Please delete them and try again.', 'http_code' => 400, 'description' => 'CEN-TR路由表存在跨地域云服务静态路由, 请删除后重试'], + ['code' => 'ErrorVpcRouteTableQuotaLimit', 'message' => 'The number of VPC routing tables has reached the specification limit.', 'http_code' => 400, 'description' => 'VPC路由表数量到达规格上限'], + ['code' => 'ErrorNatCustomRouteEntryDifferent', 'message' => 'The custom route entries in the routing tables are inconsistent.', 'http_code' => 400, 'description' => '各路由表的自定义路由条目不一致'], + ['code' => 'ErrorSnatEntryQuotaExceed', 'message' => 'SNAT entry quota exceeded.', 'http_code' => 400, 'description' => 'SNAT条目个数到达规格限制'], + ['code' => 'ErrorTrFirewallPolicyNotFound', 'message' => 'TR firewall policy does not exist.', 'http_code' => 400, 'description' => 'TR防火墙引流场景不存在'], + ['code' => 'ErrorNatVpnRouteEntryQuotaLimit', 'message' => 'The number of VPN routes has reached the quota.', 'http_code' => 400, 'description' => 'VPN路由到达规格限制'], + ['code' => 'ErrorFirewallVSwitchCidrConflict', 'message' => 'Firewall switch network segment conflicts with business network segment.', 'http_code' => 400, 'description' => '防火墙交换机网段和业务网段冲突'], + ['code' => 'ErrorCandidateHasIPv6Route', 'message' => 'Cloud Enterprise Network TR enterprise firewall don\'t support ipv6 route.', 'http_code' => 400, 'description' => '云企业网TR企业版防火墙不支持Ipv6路由'], + ['code' => 'ErrorRouteTableIdNotFound', 'message' => 'Route table id not found.', 'http_code' => 400, 'description' => '路由表ID未找到'], + ['code' => 'ErrorTlsInspectTrialPost', 'message' => 'postpay 1.0 version do not support trial TLS inspection.', 'http_code' => 400, 'description' => '按量1.0版本不支持试用TLS检查功能'], + ['code' => 'RepeatInFiveMinutes', 'message' => 'Repeat operation in five minutes, please try later.', 'http_code' => 400, 'description' => '五分钟之内不允许重复操作,请稍后再试。'], + ['code' => 'ErrorParametersMemberUidMismatch', 'message' => 'The memberUid mismatch the aliUid.', 'http_code' => 400, 'description' => '成员账号和aliUid不匹配。'], + ['code' => 'LogStoreNotExist', 'message' => 'The specified logstore does not exist. It may have been deleted manually. Please go to the SLS console to view detailed information.', 'http_code' => 403, 'description' => '指定的LogStore不存在。它可能已被手动删除。请前往SLS控制台查看详细信息。'], + ['code' => 'ErrorBuiltInAppStatusDisabled', 'message' => 'Parameter BuiltInApplicationActions are not Enabled.', 'http_code' => 400, 'description' => '参数BuiltInApplicationActions不是Enabled'], + ['code' => 'ErrorAppTemplateQuotaLimit', 'message' => 'The application template count exceed the quota.', 'http_code' => 400, 'description' => '应用模版数量超规格限制'], + ['code' => 'ErrorApplicationControlFeatureDisabled', 'message' => 'Application control feature not enabled.', 'http_code' => 400, 'description' => '应用程序控制功能未开通'], + ['code' => 'ErrorParameterAction', 'message' => 'Parameter action error.', 'http_code' => 400, 'description' => '参数action错误'], + ['code' => 'ErrorApplicationIdNotFound', 'message' => 'Application ID not found.', 'http_code' => 400, 'description' => '应用程序ID不存在'], + ['code' => 'ErrorApplicationIdDuplicate', 'message' => 'Application ID duplicate.', 'http_code' => 400, 'description' => '应用程序ID重复'], + ['code' => 'ErrorApplicationTemplateNotFound', 'message' => 'Application template not found.', 'http_code' => 400, 'description' => '应用程序模版不存在'], + ['code' => 'ErrorApplicationCustomRuleExist', 'message' => 'The application template contains custom rules.', 'http_code' => 400, 'description' => '应用程序模版中存在自定义规则'], + ['code' => 'ErrorBuiltInApplicationActionType', 'message' => 'Parameter builtInApplicationActionType input error.', 'http_code' => 400, 'description' => '参数builtInApplicationActionType输入错误'], + ['code' => 'ErrorApplicationCustomRulePriorityExist', 'message' => 'Application custom rule priority exist.', 'http_code' => 400, 'description' => '自定义规则优先级已存在'], + ['code' => 'ErrorApplicationCustomRuleNotFound', 'message' => 'Application custom rule not found.', 'http_code' => 400, 'description' => '自定义规则不存在'], + ['code' => 'ErrorApplicationCustomRuleQuotaLimit', 'message' => 'The application custom rule count exceed the quota.', 'http_code' => 400, 'description' => '自定义规则数量超规格限制'], + ['code' => 'ErrorApplicationCustomRuleNumLimit', 'message' => 'The number of custom rules entered exceeds the limit.', 'http_code' => 400, 'description' => '输入的自定义规则数量超限'], + ['code' => 'ErrorApplicationCustomRuleAppNumLimit', 'message' => 'Application custom rule application number limit.', 'http_code' => 400, 'description' => '自定义规则内应用程序数量限制'], + ['code' => 'ErrorApplicationCustomRulePriorityInvalid', 'message' => 'Application custom rule priority invalid.', 'http_code' => 400, 'description' => '自定义规则优先级错误'], + ['code' => 'ErrorApplicationCustomRulePriorityDuplicate', 'message' => 'Application custom rule priority duplicate.', 'http_code' => 400, 'description' => '自定义规则优先级重复'], + ['code' => 'ErrorApplicationCustomRuleNameNotFound', 'message' => 'Application custom rule name not found.', 'http_code' => 400, 'description' => '自定义规则名称不存在'], + ['code' => 'ErrorApplicationCustomRuleIdDuplicate', 'message' => 'Application custom rule id duplicate.', 'http_code' => 400, 'description' => '自定义规则ID重复'], + ['code' => 'ErrorApplicationCustomRuleAppIdEmpty', 'message' => 'Application ID for application custom rule is empty.', 'http_code' => 400, 'description' => '应用程序自定义规则的应用程序ID为空'], + ['code' => 'ErrorWebFilterRuleTemplateNotFound', 'message' => 'Web filter template not found.', 'http_code' => 400, 'description' => 'Web过滤模版不存在'], + ['code' => 'ErrorWebFilterRuleTemplateQuotaLimit', 'message' => 'Web filter template count exceed the quota.', 'http_code' => 400, 'description' => 'Web过滤模版超规格'], + ['code' => 'ErrorWebFilterRuleUrlInvalid', 'message' => 'Web filter rule url invalid.', 'http_code' => 400, 'description' => 'Web过滤规则的URL不合法'], + ['code' => 'ErrorWebFilterRuleUrlDuplicate', 'message' => 'Web filter rule URL duplicate.', 'http_code' => 400, 'description' => 'Web过滤规则的URL重复'], + ['code' => 'ErrorWebFilterRuleNotFound', 'message' => 'Web filter rule not found.', 'http_code' => 400, 'description' => 'Web过滤规则不存在'], + ['code' => 'ErrorWebFilterRuleQuotaLimit', 'message' => 'Web filter rule count exceed the quota.', 'http_code' => 400, 'description' => 'Web过滤规则数量超规格限制'], + ['code' => 'ErrorWebFilterRuleNumLimit', 'message' => 'Number of Web filtering rules exceeded.', 'http_code' => 400, 'description' => 'Web过滤规则数量超限'], + ['code' => 'ErrorWebFilterRuleIdDuplicate', 'message' => 'Web filter rule ID duplicate.', 'http_code' => 400, 'description' => 'Web过滤规则ID重复'], + ['code' => 'ErrorWebFilterRuleConditionCount', 'message' => 'Wrong number of Web filtering rule matching conditions.', 'http_code' => 400, 'description' => 'Web过滤规则匹配条件数量错误'], + ['code' => 'ErrorWebFilterRuleConditionKey', 'message' => 'Web Filtering Rule Match Criteria Field Error.', 'http_code' => 400, 'description' => 'Web过滤规则匹配条件字段错误'], + ['code' => 'ErrorTemplateNameInvalid', 'message' => 'Parameter template name invalid.', 'http_code' => 400, 'description' => '模版名称错误'], + ['code' => 'ErrorDescriptionInvalid', 'message' => 'Parameter description invalid.', 'http_code' => 400, 'description' => '参数描述错误'], + ['code' => 'ErrorTemplateUsedInAcl', 'message' => 'This template has been used in ACL.', 'http_code' => 400, 'description' => '模版被ACL策略引用'], + ['code' => 'ErrorWebFilterFeatureDisabled', 'message' => 'Web filter feature not enabled.', 'http_code' => 400, 'description' => 'Web过滤功能未开通'], + ['code' => 'ErrorWebFilterTemplateNotFound', 'message' => 'Web filter template not found.', 'http_code' => 400, 'description' => 'Web过滤模版不存在'], + ['code' => 'ErrorWebFilterTemplateQuotaLimit', 'message' => 'The number of Web filter templates exceeds the specification limit.', 'http_code' => 400, 'description' => 'Web过滤模版数量超规格限制'], + ['code' => 'ERR_FEATURE_NAME_INVALID', 'message' => 'feature name is invalid.', 'http_code' => 400, 'description' => '功能名不正确'], + ['code' => 'ERR_FEATURE_STATUS_INVALID', 'message' => 'feature status parameter error.', 'http_code' => 400, 'description' => '功能状态参数错误'], + ['code' => 'ERR_FEATURE_NOT_SUPPORT_DISABLE', 'message' => 'Feature does not support disable.', 'http_code' => 400, 'description' => '功能不支持关闭'], + ['code' => 'ERR_FEATURE_NOT_SUPPORT_POSTPAY', 'message' => 'The pay-as-you-go 1.0 version does not support the current features.', 'http_code' => 400, 'description' => '按量付费1.0版本不支持当前功能'], + ['code' => 'ErrorRuleNameInvalid', 'message' => 'Parameter rule name invalid.', 'http_code' => 400, 'description' => '规则名称错误'], + ['code' => 'ERR_RESOURCE_NOT_SUPPORT', 'message' => 'This operation is not currently supported by the resource.Please try again later.', 'http_code' => 400, 'description' => '资源当前不支持该操作,请稍后再试。'], + ['code' => 'ErrorParameters', 'message' => 'Parameters error. ruleName is required.', 'http_code' => 400, 'description' => '参数错误。ruleName是必需的。'], + ['code' => 'ErrorAsyncQueryFailed', 'message' => 'The current query has timed out. We suggest shortening the query time range and trying again.', 'http_code' => 400, 'description' => '当前查询已超时,建议缩短查询时间范围后重试。'], + ['code' => 'ErrorAgentPolicyOutboundDuplicate', 'message' => 'An agent outbound policy already exists for this user and protected.', 'http_code' => 400, 'description' => '此用户和protectedEip的agent_outbound策略已存在。'."\n"], + ['code' => 'ErrorParametersSource', 'message' => 'The protectedEip parameter is invalid. Cannot be empty or 0.0.0.0/0.', 'http_code' => 400, 'description' => 'protectedEip参数无效。不能为空或0.0.0.0/0。'], + ['code' => 'ErrorDBSelect', 'message' => 'An error occurred while querying the database.', 'http_code' => 400, 'description' => '查询数据库时出错。'], + ['code' => 'ErrorDBInsert', 'message' => 'An error occurred while inserting into the database.', 'http_code' => 400, 'description' => '插入数据库时出错。'], + ['code' => 'ErrorAgentPolicyDomainInvalid', 'message' => 'The domainRaw parameter is invalid. Must be a JSON array like ["a.com","b.com"].', 'http_code' => 400, 'description' => 'domainRaw参数无效。必须是JSON数组,如 ["a.com","b.com"]。'."\n"], + ['code' => 'ErrorAclExtendedCountExceed', 'message' => 'ACL or expanded ACL count exceeds the quota limit.', 'http_code' => 400, 'description' => 'ACL或扩展的ACL计数超过配额限制。'."\n"], + ['code' => 'ErrorParametersDestination', 'message' => 'The protectedEip parameter is invalid.', 'http_code' => 400, 'description' => 'protectedEip参数无效。'."\n"], + ['code' => 'ErrorParametersAction', 'message' => 'The action parameter is invalid. Must be accept/drop/log.', 'http_code' => 400, 'description' => '操作参数无效。必须是accept/drop/log。'], + ['code' => 'ErrorAgentPolicyPortInvalid', 'message' => 'The portGroupRaw parameter is invalid. Must be a JSON array of port strings.', 'http_code' => 400, 'description' => 'portGroupRaw参数无效。必须是端口字符串的JSON数组。'."\n"], + ['code' => 'ErrorUUIDNew', 'message' => 'Failed to generate UUID.', 'http_code' => 400, 'description' => '无法生成UUID。'], + ['code' => 'ErrorParameters', 'message' => 'A request parameter is invalid.', 'http_code' => 400, 'description' => '请求参数无效。'."\n"], + ['code' => 'ErrorAgentPolicyGroupCreate', 'message' => 'Failed to update domain address group.', 'http_code' => 400, 'description' => '无法更新域地址组。'], + ['code' => 'ErrorAgentPolicyDomainInvalid', 'message' => 'The domainRaw parameter is invalid.', 'http_code' => 400, 'description' => 'domainRaw参数无效。'."\n"], + ['code' => 'ErrorAgentPolicyAclCreate', 'message' => 'Failed to update ACL rule.', 'http_code' => 400, 'description' => '无法更新ACL规则。'."\n"], + ['code' => 'ErrorAgentPolicyResetFailed', 'message' => 'Failed to reset agent policy.', 'http_code' => 400, 'description' => '无法重置代理策略。'."\n"], + ['code' => 'ErrorDBUpdate', 'message' => 'An error occurred while updating the database.', 'http_code' => 400, 'description' => '更新数据库时出错。'], + ['code' => 'ErrorTimeInvalid', 'message' => 'The time range parameter is invalid.', 'http_code' => 400, 'description' => '时间范围参数无效。'], + ['code' => 'ErrorDBDelete', 'message' => 'An error occurred while deleting from the database.', 'http_code' => 400, 'description' => '从数据库删除时出错。'."\n"], + ['code' => 'ErrorParameters', 'message' => 'Parameters error. policyId is required.', 'http_code' => 400, 'description' => '参数错误。policyId是必需的。'."\n"], + ['code' => 'MissingParameter', 'message' => 'Required parameter is missing.', 'http_code' => 400, 'description' => '缺少必需的参数。'], + ['code' => 'ErrorAgentPolicyPortInvalid', 'message' => 'The portGroupRaw parameter is invalid.', 'http_code' => 400, 'description' => 'portGroupRaw参数无效。'], + ['code' => 'ErrorSTControlListInvalid', 'message' => 'Invalid controlListRaw. Must be a non-empty JSON string array.', 'http_code' => 400, 'description' => '无效的controlListRaw。必须是非空的JSON字符串数组。'], + ['code' => 'ErrorSTControlTypeInvalid', 'message' => 'Invalid controlType. Must be skill or tool.', 'http_code' => 400, 'description' => 'controlType无效。必须是技能或工具。'."\n"], + ['code' => 'ErrorSTControlModeInvalid', 'message' => 'Invalid mode. Must be blacklist or whitelist.', 'http_code' => 400, 'description' => '无效模式。必须是黑名单或白名单。'], + ['code' => 'ErrorAgentPolicyAclCreate', 'message' => 'Failed to create ACL rule.', 'http_code' => 400, 'description' => '创建ACL规则失败。'], + ['code' => 'ErrorAddressCountExceed', 'message' => 'The number of addresses in the address group exceeds the limit.', 'http_code' => 400, 'description' => '地址组中的地址数量已超出限制。'], + ['code' => 'ErrorAgentPolicyGroupCreate', 'message' => 'Failed to create domain address group.', 'http_code' => 400, 'description' => '创建域地址组失败。'."\n"], + ['code' => 'ErrorSTControlSkillModeConflict', 'message' => 'Skill mode conflict: same eip already has rules with a different mode.', 'http_code' => 400, 'description' => '该aliuid和eip已存在该规则名的技能/工具控制策略。'."\n"], + ['code' => 'ErrorSTControlPolicyAlreadyExist', 'message' => 'A skill/tool control policy with this ruleName already exists for this aliuid and eip.', 'http_code' => 400, 'description' => '对于该阿里云账号和弹性公网IP,已存在一条具有此规则名称的技能/工具管控策略。'], + ['code' => 'ErrorSTControlPolicyNotExist', 'message' => 'The specified skill/tool control policy does not exist.', 'http_code' => 400, 'description' => '指定的技能/工具控制策略不存在。'], + ['code' => 'ErrorAgentPolicyNotExist', 'message' => 'The specified agent policy does not exist.', 'http_code' => 400, 'description' => '指定的代理策略不存在。'], + ['code' => 'ErrorSTControlItemNotFound', 'message' => 'One or more items in controlListRaw not found in agentFwResourceItem.', 'http_code' => 400, 'description' => '在agent_fw_resource_item中未找到controlListRaw中的一个或多个项。'], + ['code' => 'ErrorSTControlEipInvalid', 'message' => 'The EIP is invalid or not found in agentFwResource for this user.', 'http_code' => 400, 'description' => '该用户的agent_fw_resource中未找到或无效的EIP。'], + ['code' => 'ErrorAgentPolicyTypeInvalid', 'message' => 'The policyType parameter is invalid. Must be networkExposure/modelAccess/agentOutbound.', 'http_code' => 400, 'description' => 'policyType参数无效。必须是network_exposure/model_access/agent_outbound。'."\n"], + ['code' => 'ErrorUserNotEnableTrService', 'message' => 'The user has not open transit router service.', 'http_code' => 400, 'description' => '转发路由器服务未开通'], + ['code' => 'ErrorNatCustomRouteEntryDifferent', 'message' => 'Custom route entries for routing table %s and %s are inconsistent.', 'http_code' => 400, 'description' => '路由表%s和%s的自定义路由条目不一致'], + ['code' => 'ErrorNotBuyUser', 'message' => 'Not buy user.', 'http_code' => 400, 'description' => '您的账号尚未开通云防火墙服务,无法调用该 API。'], + ['code' => 'ErrorTrFirewallRouteMapMiss', 'message' => 'Route table %s contains a route map with priority %d, while route table %s does not contain a route map with priority %d.', 'http_code' => 400, 'description' => '路由表%s存在优先级%d的路由策略, 路由表%s不存在优先级为%d的路由策略'], + ['code' => 'ErrorTrFirewallRouteMapDifferent', 'message' => 'The RouteMap with priority %d has inconsistent configurations between the route table %s and the route table %s.', 'http_code' => 400, 'description' => '优先级为%d的路由策略在路由表%s和路由表%s的配置不一致'], + ['code' => 'ErrorTrFirewallEcmpRouteMiss', 'message' => 'The next hop of the equivalent route must also be added to the cloud firewall traffic redirection scenario. The missing traffic redirection instance is %s.', 'http_code' => 400, 'description' => '等价路由的下一跳必须同时加入云防火墙引流场景, 缺少引流对象%s'], + ['code' => 'ErrorTrFirewallRouteMapMiss', 'message' => 'Route table %s contains a route map with priority %s, while route table %s does not contain a route map with priority %s.', 'http_code' => 400, 'description' => '路由表%s存在优先级%s的路由策略, 路由表%s不存在优先级为%s的路由策略'], + ['code' => 'ErrorTrFirewallRouteMapDifferent', 'message' => 'The RouteMap with priority %s has inconsistent configurations between the route table %s and the route table %s.', 'http_code' => 400, 'description' => '优先级为%s的路由策略在路由表%s和路由表%s的配置不一致'], + ['code' => 'ErrorSwitchZoneTaskDoing', 'message' => 'zone switch task in progress.', 'http_code' => 400, 'description' => '可用区修改任务进行中'], + ['code' => 'ErrorFirewallZoneId', 'message' => 'Firewall zone error.', 'http_code' => 400, 'description' => '防火墙可用区选择错误'], + ['code' => 'ErrorTrAttachmentZoneId', 'message' => 'TR attachment zone error.', 'http_code' => 400, 'description' => 'TR连接可用区错误'], + ], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteVpcFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallCenList'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAddressGroupReference', - 'errorMessage' => 'The address group is in use and cannot be deleted.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorAddressGroupNotExist', - 'errorMessage' => 'The address group does not exist.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], + 'createdAt' => '2024-10-08T07:51:01.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeOutgoingDestinationIP'], + ['description' => '响应参数发生变更', 'api' => 'DescribeOutgoingDomain'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-09-24T08:29:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInternetOpenIp'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2024-09-24T07:56:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribePostpayTrafficDetail'], + ['description' => '请求参数发生变更', 'api' => 'DescribeUserBuyVersion'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => '删除地址簿', - 'description' => '本接口一般用于删除访问控制中的地址簿。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => '调用API时,除了本文中该API的请求参数,还需加入阿里云API公共请求参数。公共请求参数的详细介绍,请参见[公共参数](~~94763~~)。 '."\n" - .'调用API的请求格式,请参见本文**示例**中的请求示例。', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'createdAt' => '2024-09-24T07:54:55.000Z', + 'description' => '', ], - 'DescribeAccessInstanceRegionList' => [ - 'summary' => '查询同步节点地域列表。', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], + ['description' => '错误码发生变更', 'api' => 'DescribeOutgoingDestinationIP'], + ['description' => '错误码发生变更', 'api' => 'DescribeOutgoingDomain'], + ['description' => '错误码发生变更', 'api' => 'DescribeTrFirewallsV2List'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], ], - 'schemes' => [ - 'https', + 'createdAt' => '2024-09-06T08:24:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'BatchDeleteVpcFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'CreateDownloadTask'], + ['description' => '错误码发生变更', 'api' => 'CreateNatFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DeleteDownloadTask'], + ['description' => '错误码发生变更', 'api' => 'DeleteNatFirewallControlPolicyBatch'], + ['description' => '错误码发生变更', 'api' => 'DescribeDownloadTask'], + ['description' => '错误码发生变更', 'api' => 'DescribeDownloadTaskType'], + ['description' => '错误码发生变更', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ['description' => '错误码发生变更', 'api' => 'DescribePrefixLists'], + ['description' => '错误码发生变更', 'api' => 'DescribeSignatureLibVersion'], + ], + 'createdAt' => '2024-09-05T03:02:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribePostpayTrafficDetail'], + ['description' => '错误码发生变更', 'api' => 'DescribePostpayTrafficTotal'], + ['description' => '错误码发生变更', 'api' => 'DescribeRiskEventGroup'], + ['description' => '错误码发生变更', 'api' => 'DescribeVulnerabilityProtectedList'], + ['description' => '错误码发生变更', 'api' => 'ModifyVpcFirewallIPSWhitelist'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-08-29T07:00:51.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeDefaultIPSConfig'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '235038', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2024-08-26T02:45:32.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeACLProtectTrend'], ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceStatus', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'ready', - ], - ], - [ - 'name' => 'AccessInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点类型。取值:'."\n" - ."\n" - .'- **PrivateDns**:私有DNS。'."\n" - ."\n" - .'- **AckClusterConnector**:ACK集群连接器。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => 'ACK集群连接器', - 'PrivateDns' => '私有DNS', - ], - 'example' => 'AckClusterConnector', - ], - ], + 'createdAt' => '2024-08-26T02:22:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DeleteControlPolicyTemplate'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'RegionNoList' => [ - 'description' => '支持当前同步节点类型的地域列表。', - 'type' => 'array', - 'items' => [ - 'description' => '支持当前同步节点类型的地域。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - ], - ], + 'createdAt' => '2024-08-26T02:13:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeVpcListLite'], + ['description' => '错误码发生变更', 'api' => 'ModifyDefaultIPSConfig'], + ['description' => '错误码发生变更', 'api' => 'ModifyInstanceMemberAttributes'], + ['description' => '错误码发生变更', 'api' => 'ModifyVpcFirewallConfigure'], + ['description' => '错误码发生变更', 'api' => 'ModifyVpcFirewallSwitchStatus'], + ['description' => '错误码发生变更', 'api' => 'PutEnableAllFwSwitch'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-08-22T09:17:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'CreateNatFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'ModifyControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'ModifyNatFirewallControlPolicy'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2024-08-22T07:47:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddAddressBook'], + ['description' => '请求参数发生变更', 'api' => 'DescribeAssetRiskList'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionNoList\\": [\\n \\"cn-beijing\\"\\n ]\\n}","type":"json"}]', - 'title' => '查询同步节点地域列表', + 'createdAt' => '2024-08-20T08:18:34.000Z', + 'description' => '', ], - 'DescribeAccessInstanceTask' => [ - 'summary' => '查询同步节点任务进度。', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeTrFirewallsV2List'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeVpcFirewallCenList'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ['description' => '错误码发生变更、响应参数发生变更', 'api' => 'DescribeVpcFirewallList'], + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallDefaultIPSConfig'], ], - 'schemes' => [ - 'https', + 'createdAt' => '2024-08-15T08:19:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddInstanceMembers'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-08-14T02:25:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeNatAclPageStatus'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226332', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2024-08-13T08:44:15.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteSecurityProxy'], ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'pdi-3bc2f91695ee48bd9377', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'task-c92d4544ef7b6a42', - ], - ], - [ - 'name' => 'AccessInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => 'ACK集群连接器', - 'PrivateDNS' => '私有DNS', - ], - 'example' => 'AckClusterConnector', - ], - ], + 'createdAt' => '2024-08-13T07:32:27.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallControlPolicy'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '15FCCC52-1E23-57AE-B5EF-3E00A3******', - ], - 'IsFound' => [ - 'description' => '是否存在任务。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TaskStatus' => [ - 'description' => '任务状态。', - 'type' => 'string', - 'example' => 'running', - ], - 'TaskName' => [ - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '创建ACK集群连接器', - ], - 'TaskId' => [ - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '3c9d576f-fce0-4caa-9116-15033509bdb6', - ], - 'TaskStartTimestamp' => [ - 'description' => '任务创建时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17151361285', - ], - 'TaskFinishTimestamp' => [ - 'description' => '任务完成时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '17151381075', - ], - 'TaskSteps' => [ - 'description' => '任务步骤。', - 'type' => 'array', - 'items' => [ - 'description' => '任务步骤。', - 'type' => 'object', - 'properties' => [ - 'StepName' => [ - 'description' => '步骤名称。', - 'type' => 'string', - 'example' => '获取ACK集群信息', - ], - 'StepStatus' => [ - 'description' => '步骤状态。', - 'type' => 'string', - 'example' => 'finished', - ], - 'StepProgress' => [ - 'description' => '步骤进度。', - 'type' => 'string', - 'example' => '100%', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2024-08-13T07:14:48.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateVpcFirewallConfigure'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-08-08T08:09:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateTrFirewallV2'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2024-08-08T08:02:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateSecurityProxy'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"15FCCC52-1E23-57AE-B5EF-3E00A3******\\",\\n \\"IsFound\\": true,\\n \\"TaskStatus\\": \\"running\\",\\n \\"TaskName\\": \\"创建ACK集群连接器\\",\\n \\"TaskId\\": \\"3c9d576f-fce0-4caa-9116-15033509bdb6\\",\\n \\"TaskStartTimestamp\\": 17151361285,\\n \\"TaskFinishTimestamp\\": 17151381075,\\n \\"TaskSteps\\": [\\n {\\n \\"StepName\\": \\"获取ACK集群信息\\",\\n \\"StepStatus\\": \\"finished\\",\\n \\"StepProgress\\": \\"100%\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询同步节点任务进度', + 'createdAt' => '2024-08-08T07:55:57.000Z', + 'description' => '', ], - 'DescribeAccessInstanceVpcList' => [ - 'summary' => '查询同步节点VPC列表。', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribePostpayTrafficDetail'], ], - 'schemes' => [ - 'https', + 'createdAt' => '2024-08-08T02:55:21.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '235040', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '资源所属的阿里云UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页数目。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'PageNo' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'VpcList' => [ - 'description' => 'VPC列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'VPC列表。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2ze1t4irqj0fljlbb****'."\n", - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'Cloud_Firewall_VPC', - ], - 'FirewallVpc' => [ - 'description' => '是否防火墙托管VPC。', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 10,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"VpcList\\": [\\n {\\n \\"VpcId\\": \\"vpc-2ze1t4irqj0fljlbb****\\\\n\\",\\n \\"VpcName\\": \\"Cloud_Firewall_VPC\\",\\n \\"FirewallVpc\\": false\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询同步节点VPC列表', - ], - 'DescribeAccessInstanceVSwitchList' => [ - 'summary' => '查询同步节点交换机列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '235044', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - ], - 'parameters' => [ - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', - ], - ], - [ - 'name' => 'ZoneId', - 'in' => 'query', - 'schema' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou-i', - ], - ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '交换机的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-qzeaol304m***', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '资源所属的阿里云UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页数目。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '450D47F5-956E-543E-8502-2F71C8C54E72', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PageNo' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '每页数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Zones' => [ - 'description' => '可用区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '可用区。', - 'type' => 'object', - 'properties' => [ - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou-i', - ], - 'VSwitchList' => [ - 'description' => '交换机列表。', - 'type' => 'array', - 'items' => [ - 'description' => '交换机。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '交换机所属的VPC ID。', - 'type' => 'string', - 'example' => 'vpc-uf6b5lyul0x******', - ], - 'VSwitchId' => [ - 'description' => '交换机ID。', - 'type' => 'string', - 'example' => 'vsw-qzeaol304m***', - ], - 'VSwitchName' => [ - 'description' => '交换机的名称。', - 'type' => 'string', - 'example' => 'ManagedVSW', - ], - 'CidrBlock' => [ - 'description' => '交换机的IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'AvailableIpAddressCount' => [ - 'description' => '交换机中可用的IP地址数量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '254', - ], - 'FirewallVSwitch' => [ - 'description' => '是否防火墙托管VPC。', - 'type' => 'boolean', - 'example' => 'false', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"450D47F5-956E-543E-8502-2F71C8C54E72\\",\\n \\"TotalCount\\": 1,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"Zones\\": [\\n {\\n \\"ZoneId\\": \\"cn-hangzhou-i\\",\\n \\"VSwitchList\\": [\\n {\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"VSwitchId\\": \\"vsw-qzeaol304m***\\",\\n \\"VSwitchName\\": \\"ManagedVSW\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"AvailableIpAddressCount\\": 254,\\n \\"FirewallVSwitch\\": false\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询同步节点交换机列表', - ], - 'DescribeAccessInstanceZoneList' => [ - 'summary' => '查询同步节点可用区列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '235042', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'AccessInstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '同步节点类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'AckClusterConnector' => 'ACK集群连接器', - 'PrivateDNS' => '私有DNS', - ], - 'example' => 'AckClusterConnector', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '31306819-C4BC-56F3-BBE6-*****', - ], - 'ZoneList' => [ - 'description' => '可用区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '可用区。', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - ], - 'Zones' => [ - 'description' => '可用区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '可用区。', - 'type' => 'object', - 'properties' => [ - 'LocalName' => [ - 'description' => '可用区本地语言名。', - 'type' => 'string', - 'example' => '北京 可用区G', - ], - 'ZoneId' => [ - 'description' => '可用区ID。', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"31306819-C4BC-56F3-BBE6-*****\\",\\n \\"ZoneList\\": [\\n \\"cn-beijing-g\\"\\n ],\\n \\"Zones\\": [\\n {\\n \\"LocalName\\": \\"北京 可用区G\\",\\n \\"ZoneId\\": \\"cn-beijing-g\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询同步节点可用区列表', - ], - 'DescribeAckClusters' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群,查询符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页参数:每页显示条数。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - ], - [ - 'name' => 'ClusterName', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'ack-cluster-name', - ], - ], - [ - 'name' => 'ClusterSpec', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群规格。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'ack.pro.small' => '集群 Pro 版', - ], - 'example' => 'ack.pro.small', - ], - ], - [ - 'name' => 'ConnectorStatus', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器实例状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'ready', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Clusters' => [ - 'description' => 'ACK集群列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACK集群。', - 'type' => 'object', - 'properties' => [ - 'MemberUid' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'example' => '135809047715****', - ], - 'RegionId' => [ - 'description' => 'ACK集群地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'ClusterId' => [ - 'description' => 'ACK集群ID。', - 'type' => 'string', - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - 'ClusterName' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'ClusterType' => [ - 'description' => 'ACK集群类型。取值来源:'."\n" - .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', - 'type' => 'string', - 'enumValueTitles' => [ - 'ExternalKubernetes' => '注册集群。', - 'ManagedKubernetes' => 'ACK 托管类的集群,包括 ACK 托管集群(Pro 版、基础版)、ACK Serverless 集群(Pro 版、基础版)、ACK Edge 集群(Pro 版、基础版)、ACK 灵骏集群(Pro 版)。', - 'Kubernetes' => 'ACK 专有集群。', - ], - 'example' => 'ManagedKubernetes', - ], - 'Profile' => [ - 'description' => '当您选择`cluster_type`为`ManagedKubernetes`时,即 ACK 托管类的集群时,您可以进一步指定集群的子类型。取值来源:'."\n" - .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', - 'type' => 'string', - 'enumValueTitles' => [ - 'Lingjun' => 'ACK 灵骏集群,提供 Pro 版。', - 'Serverless' => 'ACK Serverless 集群,包括 ACK Serverless 集群 Pro 版和 ACK Serverless 集群基础版。', - 'Default' => 'ACK 托管集群,包括 ACK 集群 Pro 版和 ACK 集群基础版。', - 'Edge' => 'ACK Edge 集群,包括 ACK Edge 集群 Pro 版和 ACK Edge 集群基础版。', - ], - 'example' => 'Default', - ], - 'VpcId' => [ - 'description' => 'ACK集群所属VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2vcg932hsxsxuqbgl****', - ], - 'Network' => [ - 'description' => 'ACK集群网络插件。取值来源:'."\n" - .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', - 'type' => 'string', - 'enumValueTitles' => [ - 'terway-eniip' => 'Terway-eniip', - 'Flannel' => 'Flannel', - ], - 'example' => 'terway-eniip', - ], - 'ClusterSpec' => [ - 'description' => 'ACK集群规格。', - 'type' => 'string', - 'enumValueTitles' => [ - 'ack.pro.small' => '集群 Pro 版', - ], - 'example' => 'ack.pro.small', - ], - 'State' => [ - 'description' => 'ACK集群运行状态。取值来源:'."\n" - .'- [DescribeClustersV1](~~DescribeClustersV1~~):查看本账号下符合条件的ACK集群(例如指定集群类型、集群规格)列表信息。', - 'type' => 'string', - 'enumValueTitles' => [ - 'running' => '集群运行中', - 'scaling' => '集群伸缩中', - 'stopped' => '集群已经停止运行', - 'upgrading' => '集群升级中', - 'updating' => '集群配置变更中', - 'deleting' => '集群删除中', - 'deleted' => '集群已经被删除', - 'initial' => '集群创建中', - 'draining' => '节点排水中', - 'delete_failed' => '集群删除失败', - 'failed' => '集群创建失败', - 'removing' => '节点移除中', - ], - 'example' => 'running', - ], - ], - ], - ], - 'PageNo' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '分页参数:每页显示条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C5DDD596-1191-5F36-A504-8733045A****', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Clusters\\": [\\n {\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"ClusterType\\": \\"ManagedKubernetes\\",\\n \\"Profile\\": \\"Default\\",\\n \\"VpcId\\": \\"vpc-2vcg932hsxsxuqbgl****\\",\\n \\"Network\\": \\"terway-eniip\\",\\n \\"ClusterSpec\\": \\"ack.pro.small\\",\\n \\"State\\": \\"running\\"\\n }\\n ],\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"C5DDD596-1191-5F36-A504-8733045A****\\",\\n \\"TotalCount\\": 1\\n}","type":"json"}]', - 'title' => '批量查询ACK集群', - ], - 'DescribeAckClusterConnectors' => [ - 'summary' => '批量查询ACK集群连接器列表。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页大小。', - 'type' => 'string', - 'required' => true, - 'example' => '10', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器地域ID。取值来源:'."\n" - .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" - ."\n" - .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'ConnectorName', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'test', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群所属的VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-uf6b5lyul0x******', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群ID。', - 'type' => 'string', - 'required' => false, - 'example' => '0E0C30C977463****', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '显示ACK集群连接器健康状态错误原因的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'PageNo' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'AckClusterConnectors' => [ - 'description' => 'ACK集群连接器列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACK集群连接器。', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => 'ACK集群连接器ID。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => 'ACK集群连接器名称。', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => '阿里云成员账号的UID。', - 'type' => 'string', - 'example' => '159663371500****', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'ClusterId' => [ - 'description' => 'ACK集群ID。', - 'type' => 'string', - 'example' => 'f9b9815a5280****', - ], - 'ClusterName' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'example' => 'TestClusterA', - ], - 'VpcId' => [ - 'description' => 'ACK集群所属VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => '主交换机。', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => '主交换机可用区。', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => '主交换机IP。', - 'type' => 'string', - 'example' => '10.100.2.XXX', - ], - 'StandbyVswitchId' => [ - 'description' => '备交换机。', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => '备交换机可用区。', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => '备交换机IP。', - 'type' => 'string', - 'example' => '10.100.1.XXX'."\n", - ], - 'Ttl' => [ - 'description' => 'ACK集群连接器同步容器周期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => 'ACK集群连接器实例状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'deleting' => '删除中', - 'ready' => '正常', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => 'ACK集群连接器的健康检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'healthy' => '健康', - 'unhealthy' => '不健康', - ], - 'example' => 'healthy', - ], - 'UnhealthyReason' => [ - 'description' => 'ACK集群连接器不健康的原因。', - 'type' => 'string', - 'example' => '指定的ACK集群不存在', - ], - 'GroupUuids' => [ - 'description' => '创建于ACK集群连接器的地址簿UUID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '创建于ACK集群连接器的地址簿UUID。', - 'type' => 'string', - 'example' => '["b84dec36-c4fc-458e-98b8-f1b5dd23****","8015d9eb-8382-4388-b965-b92d806d****"]', - ], - ], - 'CreateTime' => [ - 'description' => 'ACK集群连接器创建时间。', - 'type' => 'string', - 'example' => '1760493347', - ], - ], - ], - ], - 'PageSize' => [ - 'description' => '每页大小。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DE****', - ], - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"AckClusterConnectors\\": [\\n {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"159663371500****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"f9b9815a5280****\\",\\n \\"ClusterName\\": \\"TestClusterA\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.2.XXX\\",\\n \\"StandbyVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.1.XXX\\\\n\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"指定的ACK集群不存在\\",\\n \\"GroupUuids\\": [\\n \\"[\\\\\\"b84dec36-c4fc-458e-98b8-f1b5dd23****\\\\\\",\\\\\\"8015d9eb-8382-4388-b965-b92d806d****\\\\\\"]\\"\\n ],\\n \\"CreateTime\\": \\"1760493347\\"\\n }\\n ],\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DE****\\",\\n \\"TotalCount\\": 20\\n}","type":"json"}]', - 'title' => '批量查询ACK集群连接器列表', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeAckClusterConnector' => [ - 'summary' => '查询指定ACK集群连接器详情。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '显示ACK集群连接器健康状态错误原因的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文(默认)', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AckClusterConnector' => [ - 'description' => 'ACK集群连接器。', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'example' => '135809047715****'."\n", - ], - 'RegionNo' => [ - 'description' => 'ACK集群连接器地域ID。取值来源:'."\n" - .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" - ."\n" - .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ClusterId' => [ - 'description' => 'ACK集群ID。取值来源:'."\n" - .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', - 'type' => 'string', - 'example' => 'c857d908016794125883a9ee8196cba17', - ], - 'ClusterName' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => 'ACK集群所属VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'Ttl' => [ - 'description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'PrimaryVswitchId' => [ - 'description' => 'ACK集群连接器主交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => 'ACK集群连接器主交换机IP。', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => 'ACK集群连接器备交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => 'ACK集群连接器备交换机IP。', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'ConnectorStatus' => [ - 'description' => 'ACK集群连接器实例状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'deleting' => '删除中', - 'ready' => '正常', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => 'ACK集群连接器的健康检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'healthy' => '健康', - 'unhealthy' => '不健康', - ], - 'example' => 'healthy', - ], - 'UnhealthyReason' => [ - 'description' => 'ACK集群连接器不健康的原因。', - 'type' => 'string', - 'example' => 'The ACK cluster status is unavailable.', - ], - 'CreateTime' => [ - 'description' => '创建ACK集群连接器的时间戳,单位:秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '45E2E720-D2B4-506F-B682-1FCBE971****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c857d908016794125883a9ee8196cba17\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"Ttl\\": 30,\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"UnhealthyReason\\": \\"The ACK cluster status is unavailable.\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"45E2E720-D2B4-506F-B682-1FCBE971****\\"\\n}","type":"json"}]', - 'title' => '查询ACK集群连接器详情', - ], - 'DescribeAckClusterNamespaces' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群命名空间。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AckNamespaces' => [ - 'description' => 'ACK集群命名空间列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACK集群命名空间。', - 'type' => 'string', - 'example' => 'default', - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAckClusterQueryClusterNamespace', - 'errorMessage' => 'Failed to query cluster namespaces.', - ], - [ - 'errorCode' => 'ErrorAckClusterNotFound', - 'errorMessage' => 'The specified resource ACK cluster is not found.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckNamespaces\\": [\\n \\"default\\"\\n ],\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', - 'title' => '批量查询ACK集群命名空间', - ], - 'DescribeAckClusterPodLabels' => [ - 'summary' => '查询阿里云K8S容器服务(ACK)集群标签。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AckLabels' => [ - 'description' => 'ACK标签列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'ACK标签。', - 'type' => 'object', - 'properties' => [ - 'Key' => [ - 'description' => '标签键。', - 'type' => 'string', - 'example' => 'app', - ], - 'Value' => [ - 'description' => '标签值。', - 'type' => 'string', - 'example' => 'storage-operator', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6169C0A4-B91A-5D48-AE4D-B9432D15****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckLabels\\": [\\n {\\n \\"Key\\": \\"app\\",\\n \\"Value\\": \\"storage-operator\\"\\n }\\n ],\\n \\"RequestId\\": \\"6169C0A4-B91A-5D48-AE4D-B9432D15****\\"\\n}","type":"json"}]', - 'title' => '批量查询ACK集群容器标签', - ], - 'CreateAckClusterConnector' => [ - 'summary' => '创建ACK集群连接器。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfwC140SS', - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器地域ID。取值来源:'."\n" - .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" - ."\n" - .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'ConnectorName', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', - 'type' => 'string', - 'required' => true, - 'example' => 'ack-cluster-connector-name', - ], - ], - [ - 'name' => 'ClusterId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群ID。取值来源:'."\n" - .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - ], - [ - 'name' => 'PrimaryVswitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器主交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - ], - [ - 'name' => 'PrimaryVswitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器主交换机IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.1.1', - ], - ], - [ - 'name' => 'StandbyVswitchId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器备交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - ], - [ - 'name' => 'StandbyVswitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器备交换机IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.2.1', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', - 'type' => 'string', - 'required' => true, - 'example' => '30', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AckClusterConnector' => [ - 'description' => 'ACK集群连接器返回体。', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => 'ACK集群连接器唯一标识ID。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'example' => '135809047715****', - ], - 'RegionNo' => [ - 'description' => 'ACK集群连接器地域ID。取值来源:'."\n" - .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" - ."\n" - .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'ClusterId' => [ - 'description' => 'ACK集群ID。取值来源:'."\n" - .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', - 'type' => 'string', - 'example' => 'cb0f5640b1b2d404cad6ba21509d7847b', - ], - 'ClusterName' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => 'ACK集群所属VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => 'ACK集群连接器主交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-hangzhou-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => 'ACK集群连接器主交换机IP。', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => 'ACK集群连接器备交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-hangzhou-h', - ], - 'StandbyVswitchIp' => [ - 'description' => 'ACK集群连接器备交换机IP。', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'Ttl' => [ - 'description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => 'ACK集群连接器实例状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'deleting' => '删除中', - 'ready' => '正常', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => 'ACK集群连接器的健康检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'healthy' => '健康', - 'unhealthy' => '不健康', - ], - 'example' => 'healthy', - ], - 'AckClientHostIp' => [ - 'description' => 'ACK集群连接器,通过内网访问ACK集群的上车点IP。', - 'type' => 'string', - 'example' => '10.40.32.240', - ], - 'TaskId' => [ - 'description' => '创建ACK集群连接器的任务唯一标识ID。', - 'type' => 'string', - 'example' => 'task-c92d4544ef7b6a42', - ], - 'CreateTime' => [ - 'description' => '创建ACK集群连接器的时间戳,单位:秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '0DC783F1-B3A7-578D-8A63-*****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorVSwitchAndPrivateIpAddressMismatched', - 'errorMessage' => 'The vSwitch and privateIpAddress are mismatched.', - ], - [ - 'errorCode' => 'ErrorAckClusterNotFound', - 'errorMessage' => 'The specified resource ACK cluster is not found.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorReverseEndpointIpNotAllocated', - 'errorMessage' => 'The IP is already allocated, failed to create reverse endpoint.', - ], - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorRegionNo', - 'errorMessage' => 'regionNo error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableIP', - 'errorMessage' => 'the vswitch has no available ip.', - ], - [ - 'errorCode' => 'ErrorVswitchNotFound', - 'errorMessage' => 'vswitch not found', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorAckClusterNetworkOnlySupportTerway', - 'errorMessage' => 'The ACK cluster network only support Terway.', - ], - [ - 'errorCode' => 'ErrorAckVpcAndVSwitchVpcMismatched', - 'errorMessage' => 'The ACK VPC and vSwitch VPC are mismatched.', - ], - [ - 'errorCode' => 'ErrorPrimaryStandbyVswitchSameZone', - 'errorMessage' => 'The primary and standby vSwitch are in the same availability zone.', - ], - [ - 'errorCode' => 'ErrorAckClusterSpecOnlySupportAckPro', - 'errorMessage' => 'The ACK cluster spec only support ack.pro.small.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorQuotaExceeded', - 'errorMessage' => 'ACK cluster connector resource exceeds the quota limit.', - ], - [ - 'errorCode' => 'ErrorAckNotOpen', - 'errorMessage' => 'ACK service is not open.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorExist', - 'errorMessage' => 'The ACK cluster connector already exist.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\",\\n \\"RegionNo\\": \\"cn-shanghai\\",\\n \\"ClusterId\\": \\"cb0f5640b1b2d404cad6ba21509d7847b\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-hangzhou-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-hangzhou-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"AckClientHostIp\\": \\"10.40.32.240\\",\\n \\"TaskId\\": \\"task-c92d4544ef7b6a42\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"0DC783F1-B3A7-578D-8A63-*****\\"\\n}","type":"json"}]', - 'title' => '创建ACK集群连接器', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'UpdateAckClusterConnector' => [ - 'summary' => '修改ACK集群连接器。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - [ - 'name' => 'ConnectorName', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', - 'type' => 'string', - 'required' => false, - 'example' => 'ack-cluster-connector-name', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', - 'type' => 'string', - 'required' => false, - 'example' => '30', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'AckClusterConnector' => [ - 'description' => 'ACK集群连接器。', - 'type' => 'object', - 'properties' => [ - 'ConnectorId' => [ - 'description' => 'ACK集群连接器ID。取值来源:'."\n" - .'- [DescribeAckClusterConnectors](~~DescribeAckClusterConnectors~~):批量查询ACK集群连接器列表。', - 'type' => 'string', - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - 'ConnectorName' => [ - 'description' => 'ACK集群连接器名称。长度为1~64个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', - 'type' => 'string', - 'example' => 'ack-cluster-connector-name', - ], - 'MemberUid' => [ - 'description' => 'ACK集群资源所属的阿里云UID。', - 'type' => 'string', - 'example' => '135809047715****'."\n", - ], - 'RegionNo' => [ - 'description' => 'ACK集群连接器地域ID。取值来源:'."\n" - .'- [DescribeAccessInstanceRegionList](~~DescribeAccessInstanceRegionList~~):查询同步节点地域列表。'."\n" - ."\n" - .'> 关于云防火墙支持ACK集群连接器地域的详细信息,请参见[ACK集群同步节点](~~2865120~~)。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - 'ClusterId' => [ - 'description' => 'ACK集群ID。取值来源:'."\n" - .'- [DescribeAckClusters](~~DescribeAckClusters~~):批量查询ACK集群列表。', - 'type' => 'string', - 'example' => 'c57ecf39ff32c415e8549a7df27a7e947', - ], - 'ClusterName' => [ - 'description' => 'ACK集群名称。', - 'type' => 'string', - 'example' => 'ack-cluster-name', - ], - 'VpcId' => [ - 'description' => 'ACK集群所属VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-j6cvhdscntzuvr0x****', - ], - 'PrimaryVswitchId' => [ - 'description' => 'ACK集群连接器主交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2zerfbbje7dvnbii2****', - ], - 'PrimaryVswitchZoneId' => [ - 'description' => 'ACK集群连接器主交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-beijing-g', - ], - 'PrimaryVswitchIp' => [ - 'description' => 'ACK集群连接器主交换机IP。', - 'type' => 'string', - 'example' => '10.100.1.1', - ], - 'StandbyVswitchId' => [ - 'description' => 'ACK集群连接器备交换机。取值来源:'."\n" - .'- [DescribeAccessInstanceVSwitchList](~~DescribeAccessInstanceVSwitchList~~):批量查询同步节点交换机列表。', - 'type' => 'string', - 'example' => 'vsw-2ze2gtlfozrab01cfo****', - ], - 'StandbyVswitchZoneId' => [ - 'description' => 'ACK集群连接器备交换机可用区。取值来源:'."\n" - .'- [DescribeAccessInstanceZoneList](~~DescribeAccessInstanceZoneList~~):批量查询同步节点交换机可用区列表。', - 'type' => 'string', - 'example' => 'cn-beijing-h', - ], - 'StandbyVswitchIp' => [ - 'description' => 'ACK集群连接器备交换机IP。', - 'type' => 'string', - 'example' => '10.100.2.1', - ], - 'Ttl' => [ - 'description' => 'ACK集群连接器同步周期间隔。范围:2~60秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'ConnectorStatus' => [ - 'description' => 'ACK集群连接器实例状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'deleting' => '删除中', - 'ready' => '正常', - ], - 'example' => 'ready', - ], - 'ConnectorHealthCheckStatus' => [ - 'description' => 'ACK集群连接器的健康检查状态。', - 'type' => 'string', - 'enumValueTitles' => [ - 'init' => '初始化中', - 'healthy' => '健康', - 'unhealthy' => '不健康', - ], - 'example' => 'healthy', - ], - 'CreateTime' => [ - 'description' => '创建ACK集群连接器的时间戳,单位:秒。', - 'type' => 'string', - 'example' => '1724982259', - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '5D16AADE-DA2E-5CAB-AA3B-AA197D97****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', - 'errorMessage' => 'The ACK cluster connector status is not allow operate.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AckClusterConnector\\": {\\n \\"ConnectorId\\": \\"ac-7c1bad6c3cc84c33baab\\",\\n \\"ConnectorName\\": \\"ack-cluster-connector-name\\",\\n \\"MemberUid\\": \\"135809047715****\\\\n\\",\\n \\"RegionNo\\": \\"cn-beijing\\",\\n \\"ClusterId\\": \\"c57ecf39ff32c415e8549a7df27a7e947\\",\\n \\"ClusterName\\": \\"ack-cluster-name\\",\\n \\"VpcId\\": \\"vpc-j6cvhdscntzuvr0x****\\",\\n \\"PrimaryVswitchId\\": \\"vsw-2zerfbbje7dvnbii2****\\",\\n \\"PrimaryVswitchZoneId\\": \\"cn-beijing-g\\",\\n \\"PrimaryVswitchIp\\": \\"10.100.1.1\\",\\n \\"StandbyVswitchId\\": \\"vsw-2ze2gtlfozrab01cfo****\\",\\n \\"StandbyVswitchZoneId\\": \\"cn-beijing-h\\",\\n \\"StandbyVswitchIp\\": \\"10.100.2.1\\",\\n \\"Ttl\\": 30,\\n \\"ConnectorStatus\\": \\"ready\\",\\n \\"ConnectorHealthCheckStatus\\": \\"healthy\\",\\n \\"CreateTime\\": \\"1724982259\\"\\n },\\n \\"RequestId\\": \\"5D16AADE-DA2E-5CAB-AA3B-AA197D97****\\"\\n}","type":"json"}]', - 'title' => '修改ACK集群连接器', - ], - 'DeleteAckClusterConnector' => [ - 'summary' => '删除ACK集群连接器。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '231709', - 'abilityTreeNodes' => [ - 'FEATUREcfw0T2ZBS', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'ConnectorId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACK集群连接器ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'ac-7c1bad6c3cc84c33baab', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '133173B9-8010-5DF5-8B93-********', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorAddressGroupReference', - 'errorMessage' => 'The ACK cluster connector has address group, can not be deleted.', - ], - [ - 'errorCode' => 'ErrorAckClusterConnectorStatusNotAllowOperate', - 'errorMessage' => 'The ACK cluster connector status is not allow operate.', - ], - ], - 404 => [ - [ - 'errorCode' => 'ErrorAckClusterConnectorNotFound', - 'errorMessage' => 'The specified resource ACK cluster connector is not found.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"133173B9-8010-5DF5-8B93-********\\"\\n}","type":"json"}]', - 'title' => '删除ACK集群连接器', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribePrivateDnsEndpointList' => [ - 'summary' => '查询私网DNS终端节点列表。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226267', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => false, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', - ], - ], - [ - 'name' => 'AccessInstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '私有实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => '测试', - ], - ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc', - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '实例状态。取值:'."\n" - ."\n" - .'- **creating**:创建中。'."\n" - .'- **deleting**:删除中。'."\n" - .'- **normal**:正常。'."\n" - .'- **updating**:更新中。', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '135809047715****', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090****', - ], - 'TotalCount' => [ - 'description' => '返回结果的总条数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'PageNo' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '当前页面的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AccessInstanceList' => [ - 'description' => '私有实例列表。', - 'type' => 'array', - 'items' => [ - 'description' => '私有实例列表。', - 'type' => 'object', - 'properties' => [ - 'AliUid' => [ - 'description' => '云防火墙账号的AliUid。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1379490574415****', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1844802493****', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirewallType' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'array', - 'items' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'string', - 'example' => '['."\n" - .' "internet",'."\n" - .' "vpc",'."\n" - .' "nat"'."\n" - .']', - ], - ], - 'AccessInstanceId' => [ - 'description' => '实例ID', - 'type' => 'string', - 'example' => '123', - ], - 'AccessInstanceName' => [ - 'description' => '私有实例名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'PrivateDnsType' => [ - 'description' => '私有DNS类型。取值:'."\n" - .'- **PrivateZone**'."\n" - .'- **Custom**(默认)', - 'type' => 'string', - 'example' => 'Custom', - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-2zelphbaourpun****', - ], - 'PrimaryDns' => [ - 'description' => '主DNS。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'StandbyDns' => [ - 'description' => '备DNS。', - 'type' => 'string', - 'example' => '1.1.1.2', - ], - 'Port' => [ - 'description' => '端口号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '443', - ], - 'IpProtocol' => [ - 'description' => 'IP协议。取值:'."\n" - .'- **TCP**'."\n" - .'- **UDP**', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'tcp', - ], - 'Status' => [ - 'description' => '实例状态。取值:'."\n" - ."\n" - .'- **creating**:创建中。'."\n" - .'- **deleting**:删除中。'."\n" - .'- **normal**:正常。'."\n" - .'- **updating**:更新中。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'normal', - ], - 'DomainNameCount' => [ - 'description' => '域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '3', - ], - 'TaskId' => [ - 'description' => '任务Id,任务的唯一标识。', - 'type' => 'string', - 'example' => '123', - ], - 'GmtCreate' => [ - 'description' => '创建时间(秒,时间戳格式)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1715075765', - ], - ], - ], - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090****\\",\\n \\"TotalCount\\": 3,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"AccessInstanceList\\": [\\n {\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"123\\",\\n \\"AccessInstanceName\\": \\"test\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-2zelphbaourpun****\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 443,\\n \\"IpProtocol\\": 0,\\n \\"Status\\": 0,\\n \\"DomainNameCount\\": 3,\\n \\"TaskId\\": \\"123\\",\\n \\"GmtCreate\\": 1715075765\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询私网DNS终端节点列表', - ], - 'DescribePrivateDnsEndpointDetail' => [ - 'summary' => '查询私网DNS终端节点详情。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226302', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '4E7F94C7-781F-5192-86CF-DB0850****', - ], - 'AliUid' => [ - 'description' => '云防火墙账号的AliUid。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '119898001566xxxx', - ], - 'MemberUid' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'RegionNo' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'FirewallType' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'array', - 'items' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'string', - 'example' => '['."\n" - .' "internet",'."\n" - .' "vpc",'."\n" - .' "nat"'."\n" - .']', - ], - ], - 'AccessInstanceId' => [ - 'description' => '实例ID', - 'type' => 'string', - 'example' => 'pd-12345', - ], - 'AccessInstanceName' => [ - 'description' => '私有实例名称。', - 'type' => 'string', - 'example' => '测试', - ], - 'PrivateDnsType' => [ - 'description' => '私有DNS类型。取值:'."\n" - .'- **PrivateZone**'."\n" - .'- **Custom**(默认)', - 'type' => 'string', - 'example' => 'Custom', - ], - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-uf6b5lyul0x******', - ], - 'PrimaryVSwitchId' => [ - 'description' => '主交换机id。', - 'type' => 'string', - 'example' => 'vsw-8vbno9zxz8j9qiot****', - ], - 'PrimaryZoneId' => [ - 'description' => '主vswitch可用区。', - 'type' => 'string', - 'example' => 'cn-shenzhen-d', - ], - 'PrimaryVSwitchIp' => [ - 'description' => '主交换机ip。', - 'type' => 'string', - 'example' => '10.1.1.1', - ], - 'StandbyVSwitchId' => [ - 'description' => '备交换机id。', - 'type' => 'string', - 'example' => 'vsw-8vb6jk75wfcwnuq****', - ], - 'StandbyZoneId' => [ - 'description' => '备vswitch可用区。', - 'type' => 'string', - 'example' => 'cn-shenzhen-e', - ], - 'StandbyVSwitchIp' => [ - 'description' => '备交换机ip。', - 'type' => 'string', - 'example' => '10.1.1.2', - ], - 'PrimaryDns' => [ - 'description' => '主DNS。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'StandbyDns' => [ - 'description' => '备DNS。', - 'type' => 'string', - 'example' => '1.1.1.2', - ], - 'Port' => [ - 'description' => '端口号。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'IpProtocol' => [ - 'description' => 'IP协议。取值:'."\n" - .'- **TCP**'."\n" - .'- **UDP**', - 'type' => 'string', - 'example' => 'tcp', - ], - 'Status' => [ - 'description' => '实例状态。取值:'."\n" - ."\n" - .'- **creating**:创建中。'."\n" - .'- **deleting**:删除中。'."\n" - .'- **normal**:正常。'."\n" - .'- **updating**:更新中。', - 'type' => 'string', - 'example' => 'normal', - ], - 'EndpointId' => [ - 'description' => '终端节点ID。', - 'type' => 'string', - 'example' => 'ep-1nmi412c28c374****', - ], - 'TaskId' => [ - 'description' => '任务Id,任务的唯一标识。', - 'type' => 'string', - 'example' => '132', - ], - 'GmtCreate' => [ - 'description' => '创建时间(秒,时间戳格式)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1715075765', - ], - ], - ], - ], - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4E7F94C7-781F-5192-86CF-DB0850****\\",\\n \\"AliUid\\": 0,\\n \\"MemberUid\\": 0,\\n \\"RegionNo\\": \\"cn-hangzhou\\",\\n \\"FirewallType\\": [\\n \\"[\\\\n \\\\\\"internet\\\\\\",\\\\n \\\\\\"vpc\\\\\\",\\\\n \\\\\\"nat\\\\\\"\\\\n]\\"\\n ],\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"AccessInstanceName\\": \\"测试\\",\\n \\"PrivateDnsType\\": \\"Custom\\",\\n \\"VpcId\\": \\"vpc-uf6b5lyul0x******\\",\\n \\"PrimaryVSwitchId\\": \\"vsw-8vbno9zxz8j9qiot****\\",\\n \\"PrimaryZoneId\\": \\"cn-shenzhen-d\\",\\n \\"PrimaryVSwitchIp\\": \\"10.1.1.1\\",\\n \\"StandbyVSwitchId\\": \\"vsw-8vb6jk75wfcwnuq****\\",\\n \\"StandbyZoneId\\": \\"cn-shenzhen-e\\",\\n \\"StandbyVSwitchIp\\": \\"10.1.1.2\\",\\n \\"PrimaryDns\\": \\"1.1.1.1\\",\\n \\"StandbyDns\\": \\"1.1.1.2\\",\\n \\"Port\\": 80,\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"Status\\": \\"normal\\",\\n \\"EndpointId\\": \\"ep-1nmi412c28c374****\\",\\n \\"TaskId\\": \\"132\\",\\n \\"GmtCreate\\": 1715075765\\n}","type":"json"}]', - 'title' => '查询私网DNS终端节点详情', - 'description' => '接口用于查询已创建的私有DNS终端节点详情。', - ], - 'DescribePrivateDnsStatistics' => [ - 'summary' => '查询私有DNS的统计信息。', - 'path' => '', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - ], - 'parameters' => [ - [ - 'name' => 'DomainNameCreatedStartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '域名创建的开始时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1725864531', - ], - ], - [ - 'name' => 'DomainNameCreatedEndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '域名创建的结束时间戳。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1726305596', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'AbnormalPrivateDnsCount' => [ - 'description' => '状态异常的私有DNS实例数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'CreatedPrivateDnsCount' => [ - 'description' => '已创建私有DNS实例数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '6', - ], - 'DomainNameTotalCount' => [ - 'description' => '已配置的域名总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', - ], - 'NewDomainNameTotalCount' => [ - 'description' => '已配置的域名中,所选时间范围内创建的域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '2', - ], - 'NormalPrivateDnsCount' => [ - 'description' => '状态正常的私有DNS实例数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - ], - 'PrivateDnsRegionList' => [ - 'description' => 'DNS区域列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'DNS区域列表。', - 'type' => 'object', - 'properties' => [ - 'DomainNameCount' => [ - 'description' => '当前地域私有DNS已配置的域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'NewDomainNameCount' => [ - 'description' => '当前地域,已配置的域名中,所选时间范围内创建的域名数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'PrivateDnsCount' => [ - 'description' => '当前地域私有DNS实例数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RegionNo' => [ - 'description' => '地域。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - ], - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '5716ED52-1B82-5DE1-8695-EFEC453D****', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"AbnormalPrivateDnsCount\\": 12,\\n \\"CreatedPrivateDnsCount\\": 6,\\n \\"DomainNameTotalCount\\": 5,\\n \\"NewDomainNameTotalCount\\": 2,\\n \\"NormalPrivateDnsCount\\": 21,\\n \\"PrivateDnsRegionList\\": [\\n {\\n \\"DomainNameCount\\": 10,\\n \\"NewDomainNameCount\\": 1,\\n \\"PrivateDnsCount\\": 1,\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n }\\n ],\\n \\"RequestId\\": \\"5716ED52-1B82-5DE1-8695-EFEC453D****\\"\\n}","type":"json"}]', - 'title' => '查询私有DNS的统计信息', - ], - 'CreatePrivateDnsEndpoint' => [ - 'summary' => '创建私网DNS终端节点。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226205', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '私有实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试', - ], - ], - [ - 'name' => 'PrivateDnsType', - 'in' => 'query', - 'schema' => [ - 'description' => '私有DNS类型。取值:'."\n" - .'- **PrivateZone**'."\n" - .'- **Custom**(默认)', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-uf6b5lyul0x******', - ], - ], - [ - 'name' => 'PrimaryVSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '主交换机id。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-uf6b0dkyryer8******'."\n", - ], - ], - [ - 'name' => 'StandbyVSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '备交换机id。', - 'type' => 'string', - 'required' => false, - 'example' => 'vsw-8vb6jk75wfcwn******'."\n", - ], - ], - [ - 'name' => 'PrimaryVSwitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => '主交换机ip。', - 'type' => 'string', - 'required' => false, - 'example' => '10.1.1.1'."\n", - ], - ], - [ - 'name' => 'StandbyVSwitchIp', - 'in' => 'query', - 'schema' => [ - 'description' => '备交换机ip。', - 'type' => 'string', - 'required' => false, - 'example' => '10.2.2.2', - ], - ], - [ - 'name' => 'IpProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => 'IP协议。取值:'."\n" - .'- **TCP**'."\n" - .'- **UDP**', - 'type' => 'string', - 'required' => false, - 'example' => 'UDP', - ], - ], - [ - 'name' => 'Port', - 'in' => 'query', - 'schema' => [ - 'description' => '端口号。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '80', - ], - ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'array', - 'items' => [ - 'description' => '云防火墙类型。取值:'."\n" - .'- **internet**'."\n" - .'- **vpc**'."\n" - .'- **nat**', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "internet",'."\n" - .' "vpc",'."\n" - .' "nat"'."\n" - .']', - ], - 'required' => true, - 'maxItems' => 3, - 'minItems' => 1, - ], - ], - [ - 'name' => 'PrimaryDns', - 'in' => 'query', - 'schema' => [ - 'description' => '主DNS。', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], - ], - [ - 'name' => 'StandbyDns', - 'in' => 'query', - 'schema' => [ - 'description' => '备DNS。', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.2', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '阿里云成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], - 'AccessInstanceId' => [ - 'description' => '实例ID', - 'type' => 'string', - 'example' => 'pd-12345', - ], - 'TaskId' => [ - 'description' => '任务Id,任务的唯一标识。', - 'type' => 'string', - 'example' => '132', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsType', - 'errorMessage' => 'private dns type error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsPrivateZoneConfigure', - 'errorMessage' => 'private dns parameter error.', - ], - [ - 'errorCode' => 'ErrorVswitchId', - 'errorMessage' => 'vswitch id error.', - ], - [ - 'errorCode' => 'ErrorVswitchIpAddress', - 'errorMessage' => 'vswitch ip error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpAddress', - 'errorMessage' => 'private dns ip address error.', - ], - [ - 'errorCode' => 'ErrorVswitchNoAvailableIP', - 'errorMessage' => 'the vswitch has no available ip.', - ], - [ - 'errorCode' => 'ErrorVfwVpcNoAvailable', - 'errorMessage' => 'the vpc is cloud firewall vpc, please reselect vpc.', - ], - [ - 'errorCode' => 'ErrorProxyVswitchNoAvailable', - 'errorMessage' => 'the vswitch is cloud firewall vswitch, please reselect vswitch.', - ], - [ - 'errorCode' => 'ErrorFirewallTypeDuplicates', - 'errorMessage' => 'firewallType duplicates.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpSame', - 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsEndpointQuotaExceeded', - 'errorMessage' => 'Private DNS endpoint resource exceeds the quota limit.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\",\\n \\"AccessInstanceId\\": \\"pd-12345\\",\\n \\"TaskId\\": \\"132\\"\\n}","type":"json"}]', - 'title' => '创建私网DNS终端节点', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'ModifyPrivateDnsEndpoint' => [ - 'summary' => '修改私网DNS终端节点。', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226261', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'PrivateDnsType', - 'in' => 'query', - 'schema' => [ - 'description' => '私有DNS类型。取值:'."\n" - .'- **PrivateZone**'."\n" - .'- **Custom**', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - ], - [ - 'name' => 'PrimaryDns', - 'in' => 'query', - 'schema' => [ - 'description' => '主DNS。', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.1', - ], - ], - [ - 'name' => 'StandbyDns', - 'in' => 'query', - 'schema' => [ - 'description' => '备DNS。', - 'type' => 'string', - 'required' => false, - 'example' => '1.1.1.2', - ], - ], - [ - 'name' => 'AccessInstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '私有实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '6B780BD6-282C-51A9-A8E6-59F636BAFA54', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpAddress', - 'errorMessage' => 'private dns ip address error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsIpSame', - 'errorMessage' => 'the primary and backup DNS IP cannot be the same.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B780BD6-282C-51A9-A8E6-59F636BAFA54\\"\\n}","type":"json"}]', - 'title' => '修改私网DNS终端节点', - ], - 'DeletePrivateDnsEndpoint' => [ - 'summary' => '删除私网DNS终端节点', - 'methods' => [ - 'get', - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226262', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsOperationDenied', - 'errorMessage' => 'private dns operation is not allowed.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7****\\"\\n}","type":"json"}]', - 'title' => '删除私网DNS终端节点', - 'description' => '使用本接口创建一条对经过NAT防火墙流量放行、拒绝或观察的策略。', - ], - 'DescribePrivateDnsDomainNameList' => [ - 'summary' => '查询私网DNS域名列表', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226316', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的页数。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '822B9125-6E1A-551C-8EAF-6E7AE74****', - ], - 'TotalCount' => [ - 'description' => '私网DNS域名列表总数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'PageNo' => [ - 'description' => '当前页面的页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '当前页面的数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'DomainNameList' => [ - 'description' => '域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名列表。', - 'type' => 'string', - 'example' => '[\\"example.com\\"]', - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsRegionNotAvailable', - 'errorMessage' => 'private dns region not available.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"822B9125-6E1A-551C-8EAF-6E7AE74****\\",\\n \\"TotalCount\\": 132,\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"DomainNameList\\": [\\n \\"[\\\\\\\\\\\\\\"example.com\\\\\\\\\\\\\\"]\\"\\n ]\\n}","type":"json"}]', - 'title' => '查询私网DNS域名列表', - 'description' => '接口用于查询需要使用私有DNS终端节点进行域名解析的域名列表。', - ], - 'AddPrivateDnsDomainName' => [ - 'summary' => '添加私网DNS域名', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226307', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '私有 DNS 解析实例 ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cfw-xxx', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的区域ID。'."\n" - ."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'DomainNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '添加的私有域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '添加的私有域名列表。', - 'type' => 'string', - 'required' => false, - 'example' => '['."\n" - .' "internal.xxx.com",'."\n" - .' "api.xxx.com"'."\n" - .' ]', - ], - 'required' => true, - 'maxItems' => 1000, - 'minItems' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsNotFound', - 'errorMessage' => 'private dns not found.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsDomainName', - 'errorMessage' => 'private dns domain name error.', - ], - [ - 'errorCode' => 'ErrorPrivateDnsDomainNameMaxLimit', - 'errorMessage' => 'the number of private DNS domain names exceeds the maximum limit.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - 'title' => '添加私网DNS域名', - 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DeletePrivateDnsDomainName' => [ - 'summary' => '删除私网DNS域名', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226315', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'DomainNameList', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '域名列表。', - 'type' => 'array', - 'items' => [ - 'description' => '域名列表。', - 'type' => 'string', - 'required' => false, - 'example' => '[\\"example.com\\"]', - ], - 'required' => true, - 'maxItems' => 100, - 'minItems' => 1, - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-0009012****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorPrivateDnsDomainName', - 'errorMessage' => 'private dns domain name error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-0009012****\\"\\n}","type":"json"}]', - 'title' => '删除私网DNS域名', - 'description' => '本接口用于删除需要进行私有DNS解析的域名。', - ], - 'DeletePrivateDnsAllDomainName' => [ - 'summary' => '清空私网DNS域名', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '226320', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'AccessInstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '实例ID', - 'type' => 'string', - 'required' => true, - 'example' => 'pd-12345', - ], - ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '实例所在的地域ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'cn-hangzhou', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF****', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF****\\"\\n}","type":"json"}]', - 'title' => '清空私网DNS域名', - 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeLogStoreInfo' => [ - 'summary' => '获取日志服务信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68305', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Ttl' => [ - 'title' => '日志存储时长。单位:天。', - 'description' => '日志存储时长。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'RequestId' => [ - 'title' => '本次请求的id。', - 'description' => '本次请求的 ID。', - 'type' => 'string', - 'example' => 'C6C3B72B********E95FB0A161', - ], - 'Quota' => [ - 'title' => '存储容量阈值,单位字节。', - 'description' => '可用的日志存储容量。单位:Byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - ], - 'ProjectName' => [ - 'title' => '日志服务project的名称。', - 'description' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'project-xxx-cn-hangzhou', - ], - 'LogStoreName' => [ - 'title' => '日志服务的logStore名称。', - 'description' => '日志服务SLS日志库LogStore的名称。', - 'type' => 'string', - 'example' => 'xxx-logstore', - ], - 'Used' => [ - 'title' => '已使用的日志分析容量。', - 'description' => '已经使用的存储容量。单位:Byte。'."\n" - ."\n" - .'> 日志服务的统计结果约有两个小时的延迟。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], - 'RegionId' => [ - 'title' => '日志投递的地域ID。', - 'description' => '日志投递的地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai', - ], - 'InfoList' => [ - 'title' => '信息列表。', - 'description' => '信息列表。', - 'type' => 'array', - 'items' => [ - 'title' => '信息列表。', - 'description' => '信息列表。', - 'type' => 'object', - 'properties' => [ - 'Ttl' => [ - 'title' => '日志存储时长。单位:天。', - 'description' => '日志存储时长。单位:天。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '180', - ], - 'Quota' => [ - 'title' => '存储容量阈值,单位字节。', - 'description' => '存储容量阈值,单位字节。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - ], - 'ProjectName' => [ - 'title' => '日志服务的Project名称。', - 'description' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-project-14151892848****-cn-hangzhou', - ], - 'LogStoreName' => [ - 'title' => '日志服务的logStore名称。', - 'description' => '日志服务的logStore名称。', - 'type' => 'string', - 'example' => 'xxx-logstore', - ], - 'Used' => [ - 'title' => '已存储的日志量,单位:Byte(字节)。', - 'description' => '已存储的日志量,单位:Byte(字节)。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21852955752', - ], - 'MaxSplitShard' => [ - 'title' => '弹性扩展shard数目可以支持的最大值。', - 'description' => '弹性扩展shard数目可以支持的最大值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '4', - ], - 'Shard' => [ - 'title' => '当前已经使用的shard数目。', - 'description' => '当前已经使用的shard数目。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'RegionId' => [ - 'title' => '地域ID。', - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-qingdao', - ], - 'Site' => [ - 'title' => '该logStore所属的站点。cn:中国内地、intl:非中国内地。', - 'description' => '该logStore所属的站点。cn:中国内地、intl:非中国内地。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], - 'LogVersion' => [ - 'title' => '日志版本。1:代表有1个logStore,2:代表有两个logStore。', - 'description' => '日志版本。1:代表有1个logStore,2:代表有两个logStore。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TotalQuota' => [ - 'title' => '用户购买的日志存储的总容量。', - 'description' => '用户购买的日志存储的总容量。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50000000', - ], - 'LogModifyQuota' => [ - 'title' => '用户可以进行日志模式切换的次数。', - 'description' => '用户可以进行日志模式切换的次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '任务ID。', - 'type' => 'string', - 'example' => '用户进行日志修改所产生的任务id。', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Ttl\\": 20,\\n \\"RequestId\\": \\"C6C3B72B********E95FB0A161\\",\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"project-xxx-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 0,\\n \\"RegionId\\": \\"cn-shanghai\\",\\n \\"InfoList\\": [\\n {\\n \\"Ttl\\": 180,\\n \\"Quota\\": 50000000,\\n \\"ProjectName\\": \\"cloudfirewall-project-14151892848****-cn-hangzhou\\",\\n \\"LogStoreName\\": \\"xxx-logstore\\",\\n \\"Used\\": 21852955752,\\n \\"MaxSplitShard\\": 4,\\n \\"Shard\\": 2,\\n \\"RegionId\\": \\"cn-qingdao\\",\\n \\"Site\\": \\"cn\\"\\n }\\n ],\\n \\"LogVersion\\": 2,\\n \\"TotalQuota\\": 50000000,\\n \\"LogModifyQuota\\": 2,\\n \\"TaskId\\": \\"用户进行日志修改所产生的任务id。\\"\\n}","type":"json"}]', - 'title' => '获取日志服务信息', - ], - 'DescribeTrafficLog' => [ - 'summary' => '查询日志流量信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68392', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '139.217.234.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'description' => '开始时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1730946241', - ], - ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'description' => '结束时间。使用秒级时间戳格式。', - 'type' => 'string', - 'required' => true, - 'example' => '1742926322', - ], - ], - [ - 'name' => 'AppId', - 'in' => 'query', - 'schema' => [ - 'description' => '应用ID。', - 'type' => 'string', - 'required' => false, - 'example' => '7', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '查询的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '查询的页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'RuleId', - 'in' => 'query', - 'schema' => [ - 'description' => '规则ID。', - 'type' => 'string', - 'required' => false, - 'example' => '8b115ae3-da64-4b80-81c1-1cd2dd42****', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - [ - 'name' => 'DstIP', - 'in' => 'query', - 'schema' => [ - 'description' => '目标IP。', - 'type' => 'string', - 'required' => false, - 'example' => '182.92.206.XXX', - ], - ], - [ - 'name' => 'SrcIP', - 'in' => 'query', - 'schema' => [ - 'description' => '源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '10.68.60.XXX', - ], - ], - [ - 'name' => 'SrcPrivateIP', - 'in' => 'query', - 'schema' => [ - 'description' => '私网源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '10.100.134.XX', - ], - ], - [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '方向。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'in' => '入方向', - 'out' => '出方向', - ], - 'example' => 'out', - ], - ], - [ - 'name' => 'AssetRegion', - 'in' => 'query', - 'schema' => [ - 'description' => '地域id。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', - ], - ], - [ - 'name' => 'RuleResult', - 'in' => 'query', - 'schema' => [ - 'description' => '规则处罚结果。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '允许', - '告警', - '丢弃', - ], - 'example' => '0', - ], - ], - [ - 'name' => 'IpProtocol', - 'in' => 'query', - 'schema' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'icmp', - ], - ], - [ - 'name' => 'SrcPort', - 'in' => 'query', - 'schema' => [ - 'description' => '源端口。', - 'type' => 'string', - 'required' => false, - 'example' => '8082', - ], - ], - [ - 'name' => 'DstPort', - 'in' => 'query', - 'schema' => [ - 'description' => '目标端口。', - 'type' => 'string', - 'required' => false, - 'example' => '9876', - ], - ], - [ - 'name' => 'AttackType', - 'in' => 'query', - 'schema' => [ - 'description' => '攻击类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '异常连接', - '命令执行', - '暴力破解', - '扫描', - '其它', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'RuleSource', - 'in' => 'query', - 'schema' => [ - 'description' => '规则来源。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '基础防御', - '虚拟补丁', - '基础ACL', - '威胁情报', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'VulLevel', - 'in' => 'query', - 'schema' => [ - 'description' => '漏洞等级。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 1 => '低危', - '中危', - '高危', - ], - 'example' => '1', - ], - ], - [ - 'name' => 'Isp', - 'in' => 'query', - 'schema' => [ - 'description' => '运营商。', - 'type' => 'string', - 'required' => false, - 'example' => '电信', - ], - ], - [ - 'name' => 'Location', - 'in' => 'query', - 'schema' => [ - 'description' => '访问源或目的IP的地区。', - 'type' => 'string', - 'required' => false, - 'example' => '杭州', - ], - ], - [ - 'name' => 'DomainName', - 'in' => 'query', - 'schema' => [ - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'FlowType', - 'in' => 'query', - 'schema' => [ - 'description' => '流日志类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'UnidirectionalFlow' => '单选流', - 'BidirectionalFlow' => '双向流', - ], - 'example' => 'All', - ], - ], - [ - 'name' => 'FirewallType', - 'in' => 'query', - 'schema' => [ - 'description' => '防火墙类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'DnsFirewall' => 'DNS防火墙', - 'VpcFirewall' => 'vpc边界防火墙', - 'InternetFirewall' => '互联网边界防火墙', - ], - 'example' => 'VpcFirewall', - ], - ], - [ - 'name' => 'VpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-a42bbb7b887148c9****', - ], - ], - [ - 'name' => 'SrcVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '源VpcId。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz9309pkwe06lv****tk4', - ], - ], - [ - 'name' => 'DstVpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '目的VpcId。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-wz95m1aq9b0h****vk1yb', - ], - ], - [ - 'name' => 'SrcVpcRegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '源Vpc资产地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], - ], - [ - 'name' => 'DstVpcRegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => '目的Vpc资产地域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shenzhen', - ], - ], - [ - 'name' => 'DomainUrl', - 'in' => 'query', - 'schema' => [ - 'description' => '流日志的URL。', - 'type' => 'string', - 'required' => false, - 'example' => 'example.com', - ], - ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => 'IP版本。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 4 => 'IPv4', - 6 => 'IPv6', - ], - 'example' => '4', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '成员账号UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '128599825273****', - ], - ], - [ - 'name' => 'NatFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vfw-tr-7a9c8901ed394****', - ], - ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-2zew6yn017hhzbm****', - ], - ], - [ - 'name' => 'AclPreState', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACL预匹配状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', - ], - ], - [ - 'name' => 'AclPreRuleId', - 'in' => 'query', - 'schema' => [ - 'description' => 'ACL预匹配规则ID。', - 'type' => 'string', - 'required' => false, - 'example' => '00000000-0000-0000-0000-000000000000', - ], - ], - [ - 'name' => 'AppDpiState', - 'in' => 'query', - 'schema' => [ - 'description' => '应用识别状态。', - 'type' => 'string', - 'required' => false, - 'example' => 'success', - ], - ], - [ - 'name' => 'TlsScopeId', - 'in' => 'query', - 'schema' => [ - 'description' => 'TLS检查范围ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'tis-98fd64c5****', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => '633D92D1-768A-547F-8ADC-2870CF0A99F6', - ], - 'PageInfo' => [ - 'description' => '分页信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '当前页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '返回指定的每页条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2', - ], - ], - ], - 'DataList' => [ - 'description' => '数据列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Direction' => [ - 'description' => '流量方向。取值:'."\n" - .'- **in**:表示进方向。'."\n" - .'- **out**:表示出方向。', - 'type' => 'string', - 'example' => 'in', - ], - 'AttackType' => [ - 'description' => '入侵防御事件的攻击类型。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 1 => '异常连接', - '命令执行', - '暴力破解', - '扫描', - '其它', - ], - 'example' => '0', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'example' => '14151892****7022', - ], - 'CountryId' => [ - 'description' => '国家ID。', - 'type' => 'string', - 'example' => 'US', - ], - 'DstPort' => [ - 'description' => '目标端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'SrcPrivateIP' => [ - 'description' => '私网源IP地址。', - 'type' => 'string', - 'example' => '172.16.101.7', - ], - 'IpProtocol' => [ - 'description' => '协议类型。', - 'type' => 'string', - 'example' => 'tcp', - ], - 'DomainName' => [ - 'description' => '域名。', - 'type' => 'string', - 'example' => 'aliyun.com', - ], - 'RuleId' => [ - 'description' => '命中的规则ID。', - 'type' => 'string', - 'example' => '00000000-0000-0000-0000-000000000000', - ], - 'AppName' => [ - 'description' => '应用名。', - 'type' => 'string', - 'example' => 'HTTP', - ], - 'AttackApp' => [ - 'description' => '被攻击应用的名称。', - 'type' => 'string', - 'example' => 'WebLogic', - ], - 'PacketCount' => [ - 'description' => '流量包数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '23', - ], - 'AppId' => [ - 'description' => '应用ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '6', - ], - 'RuleResult' => [ - 'description' => '流量最终结果。取值:'."\n" - .'- **pass**:表示放行。'."\n" - .'- **alert**:表示告警。'."\n" - .'- **drop**:表示丢弃。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'pass', - ], - 'Ext' => [ - 'description' => '其他扩展数据。', - 'type' => 'string', - 'example' => '无', - ], - 'DstIP' => [ - 'description' => '查询到的目的ip。表示入侵防御事件中包含了这条目的ip。', - 'type' => 'string', - 'example' => '2.2.2.2', - ], - 'PacketBytes' => [ - 'description' => '包字节数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '355', - ], - 'InBytes' => [ - 'description' => '流入流量。', - 'type' => 'string', - 'example' => '125', - ], - 'IspId' => [ - 'description' => '运营商ID。', - 'type' => 'string', - 'example' => '50075069', - ], - 'Isp' => [ - 'description' => '运营商。', - 'type' => 'string', - 'example' => 'FOP Dmytro Nedilskyi', - ], - 'RegionId' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'SrcPort' => [ - 'description' => '数据源的端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20206', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'EndTime' => [ - 'description' => '数据结束时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751423363', - ], - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙实例ID。', - 'type' => 'string', - 'example' => 'vfw-4045ca7***', - ], - 'CityId' => [ - 'description' => '城市ID。', - 'type' => 'string', - 'example' => 'FI', - ], - 'StartTime' => [ - 'description' => '数据开始时间。时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1751423362', - ], - 'CloseReason' => [ - 'description' => '关闭原因。', - 'type' => 'string', - 'example' => 'tcp_fin', - ], - 'OutBytes' => [ - 'description' => '流出流量。', - 'type' => 'string', - 'example' => '230', - ], - 'VulLevel' => [ - 'description' => '漏洞等级', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'RuleSource' => [ - 'description' => '本次命中的检测规则来源。取值:'."\n" - .'- **0**:表示无。'."\n" - .'- **1**:表示基础防御。'."\n" - .'- **2**:表示虚拟补丁。'."\n" - .'- **3**:表示访问控制。'."\n" - .'- **4**:表示威胁情报。', - 'type' => 'string', - 'example' => '0', - ], - 'OutPackets' => [ - 'description' => '流出报文数。', - 'type' => 'string', - 'example' => '11', - ], - 'InPackets' => [ - 'description' => '流入报文数。', - 'type' => 'string', - 'example' => '12', - ], - 'SrcIP' => [ - 'description' => '源IP。', - 'type' => 'string', - 'example' => '1.1.1.1', - ], - 'Location' => [ - 'description' => '访问源或目的IP的地区。', - 'type' => 'string', - 'example' => '杭州', - ], - 'DomainUrl' => [ - 'description' => '流日志的URL。', - 'type' => 'string', - 'example' => 'xxx.com', - ], - 'CloudInstanceId' => [ - 'description' => '云服务实例ID。', - 'type' => 'string', - 'example' => 'ngw-*', - ], - 'AclPreState' => [ - 'description' => 'ACL预匹配状态。取值:'."\n" - ."\n" - .'**app_unknown**: 应用未识别'."\n" - ."\n" - .'**domain_unknown**: 域名未识别'."\n" - ."\n" - .'**normal**:正常', - 'type' => 'string', - 'example' => 'normal', - ], - 'AclPreRuleId' => [ - 'description' => 'ACL预匹配的策略ID'."\n" - .'不填表示所有。', - 'type' => 'string', - 'example' => '2', - ], - 'AclPreRuleName' => [ - 'description' => 'ACL预匹配的策略名。', - 'type' => 'string', - 'example' => 'test', - ], - 'AppDpiState' => [ - 'description' => 'API状态。取值:'."\n" - ."\n" - .'**none**: 初始状态'."\n" - ."\n" - .'**policy_discard**:连接建立失败,被用户acl或威胁情报拦截'."\n" - ."\n" - .'**tcp_not_establish**:tcp建立失败'."\n" - ."\n" - .'**no_payload**: 连接已经建立,但dpi已经分析0个payload'."\n" - ."\n" - .'**analysing**: 识别中'."\n" - ."\n" - .'**unknown_loose**: 宽松模式,识别失败,继续识别'."\n" - ."\n" - .'**unknown_strict**: 严格模式,识别失败'."\n" - ."\n" - .'**success**: 识别成功', - 'type' => 'string', - 'example' => 'success', - ], - 'Rules' => [ - 'description' => '规则列表。', - 'type' => 'array', - 'items' => [ - 'description' => '规则列表。', - 'type' => 'object', - 'properties' => [ - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'sharepoint', - ], - 'RuleId' => [ - 'description' => '规则ID。', - 'type' => 'string', - 'example' => '17', - ], - ], - ], - ], - 'SrcVpc' => [ - 'description' => '源VPC信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => '源VPC的实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vba1c1em97h0ji71****', - ], - 'VpcName' => [ - 'description' => '源VPC的实例名称。', - 'type' => 'string', - 'example' => 'yi-vpc', - ], - 'RegionNo' => [ - 'description' => '源VPC所属地域ID。', - 'type' => 'string', - 'example' => 'cn-beijing', - ], - ], - ], - 'DstVpc' => [ - 'description' => 'dstvpc信息列表。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vba1c1em97h0ji71b****', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'yi-vpc', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - ], - ], - 'PrivateIp' => [ - 'description' => '私有IP。', - 'type' => 'string', - 'example' => '172.21.234.XXX', - ], - 'PrivatePort' => [ - 'description' => '私有端口。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '80', - ], - 'TlsRuleId' => [ - 'description' => '命中tls检查的规则ID。', - 'type' => 'string', - 'example' => 'tir-xxx', - ], - 'TlsRuleName' => [ - 'description' => '命中tls检查的规则名。', - 'type' => 'string', - 'example' => 'test', - ], - 'TlsScopeId' => [ - 'description' => 'TLS检查范围ID。', - 'type' => 'string', - 'example' => 'tls-xxx', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorAliUidBlackList', - 'errorMessage' => 'The specified aliUid is invalid.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorTrafficSlsFirewallType', - 'errorMessage' => 'The firewall type of traffic log is invalid.', - ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', - ], - [ - 'errorCode' => 'ErrorPortError', - 'errorMessage' => 'The port is invalid.', - ], - [ - 'errorCode' => 'ErrorIpProtocolError', - 'errorMessage' => 'The protocol is invalid.', - ], - [ - 'errorCode' => 'ErrorDirectionError', - 'errorMessage' => 'The direction is invalid.', - ], - [ - 'errorCode' => 'ErrorAttackTypeError', - 'errorMessage' => 'The attack type is invalid.', - ], - [ - 'errorCode' => 'ErrorVulLevelFailed', - 'errorMessage' => 'VulLevel has failed.', - ], - [ - 'errorCode' => 'ErrorRuleResultError', - 'errorMessage' => 'The rule result is invalid.', - ], - [ - 'errorCode' => 'ErrorAppIdError', - 'errorMessage' => 'An app ID error occurred.', - ], - [ - 'errorCode' => 'ErrorFlowType', - 'errorMessage' => 'The flow type is invalid.', - ], - [ - 'errorCode' => 'ErrorIspError', - 'errorMessage' => 'The ISP name is invalid.', - ], - [ - 'errorCode' => 'ErrorLocationError', - 'errorMessage' => 'The location name is invalid.', - ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorSLSLogStore', - 'errorMessage' => 'Failed to get SLS logstore.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"633D92D1-768A-547F-8ADC-2870CF0A99F6\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 10,\\n \\"TotalCount\\": 2\\n },\\n \\"DataList\\": [\\n {\\n \\"Direction\\": \\"in\\",\\n \\"AttackType\\": 0,\\n \\"MemberUid\\": \\"14151892****7022\\",\\n \\"CountryId\\": \\"US\\",\\n \\"DstPort\\": 80,\\n \\"SrcPrivateIP\\": \\"172.16.101.7\\",\\n \\"IpProtocol\\": \\"tcp\\",\\n \\"DomainName\\": \\"aliyun.com\\",\\n \\"RuleId\\": \\"00000000-0000-0000-0000-000000000000\\",\\n \\"AppName\\": \\"HTTP\\",\\n \\"AttackApp\\": \\"WebLogic\\",\\n \\"PacketCount\\": 23,\\n \\"AppId\\": 6,\\n \\"RuleResult\\": 0,\\n \\"Ext\\": \\"无\\",\\n \\"DstIP\\": \\"2.2.2.2\\",\\n \\"PacketBytes\\": 355,\\n \\"InBytes\\": \\"125\\",\\n \\"IspId\\": \\"50075069\\",\\n \\"Isp\\": \\"FOP Dmytro Nedilskyi\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SrcPort\\": 20206,\\n \\"RuleName\\": \\"test\\",\\n \\"EndTime\\": 1751423363,\\n \\"VpcFirewallId\\": \\"vfw-4045ca7***\\",\\n \\"CityId\\": \\"FI\\",\\n \\"StartTime\\": 1751423362,\\n \\"CloseReason\\": \\"tcp_fin\\",\\n \\"OutBytes\\": \\"230\\",\\n \\"VulLevel\\": 0,\\n \\"RuleSource\\": \\"0\\",\\n \\"OutPackets\\": \\"11\\",\\n \\"InPackets\\": \\"12\\",\\n \\"SrcIP\\": \\"1.1.1.1\\",\\n \\"Location\\": \\"杭州\\",\\n \\"DomainUrl\\": \\"xxx.com\\",\\n \\"CloudInstanceId\\": \\"ngw-*\\",\\n \\"AclPreState\\": \\"normal\\",\\n \\"AclPreRuleId\\": \\"2\\",\\n \\"AclPreRuleName\\": \\"test\\",\\n \\"AppDpiState\\": \\"success\\",\\n \\"Rules\\": [\\n {\\n \\"RuleName\\": \\"sharepoint\\",\\n \\"RuleId\\": \\"17\\"\\n }\\n ],\\n \\"SrcVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-beijing\\"\\n },\\n \\"DstVpc\\": {\\n \\"VpcId\\": \\"vpc-8vba1c1em97h0ji71b****\\",\\n \\"VpcName\\": \\"yi-vpc\\",\\n \\"RegionNo\\": \\"cn-hangzhou\\"\\n },\\n \\"PrivateIp\\": \\"172.21.234.XXX\\",\\n \\"PrivatePort\\": 80,\\n \\"TlsRuleId\\": \\"tir-xxx\\",\\n \\"TlsRuleName\\": \\"test\\",\\n \\"TlsScopeId\\": \\"tls-xxx\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询日志流量信息', - ], - 'DescribeSlsAnalyzeOpenStatus' => [ - 'summary' => '获取SLS开启状态', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68367', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'OpenStatus' => [ - 'description' => 'SLS开启状态。取值:'."\n" - ."\n" - .'**true**:开启。'."\n" - ."\n" - .'**false**:关闭。', - 'type' => 'string', - 'example' => 'false', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '6CC01A2B-92FB-535C-9415-9A951C20****', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"OpenStatus\\": \\"false\\",\\n \\"RequestId\\": \\"6CC01A2B-92FB-535C-9415-9A951C20****\\"\\n}","type":"json"}]', - 'title' => '获取SLS开启状态', - ], - 'DescribeClearAuthInfo' => [ - 'summary' => '获取清空授权信息', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68232', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'EndTime' => [ - 'description' => '到期时间戳。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1755964800', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '8DDEE254-5639-5548-82D1-AAAC7347****', - ], - 'LeftTimes' => [ - 'description' => '剩余清空次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"EndTime\\": 1755964800,\\n \\"RequestId\\": \\"8DDEE254-5639-5548-82D1-AAAC7347****\\",\\n \\"LeftTimes\\": 20\\n}","type":"json"}]', - 'title' => '获取清空授权信息', - 'description' => '### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeLocationInfo' => [ - 'summary' => '查询地理位置信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68303', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '180.169.141.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - ], - 'responses' => [ - 200 => [ - 'headers' => [], - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'CD3BE433-FAB0-55D8-918A-69B306****', - ], - 'CnCount' => [ - 'description' => '国内地区数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '340', - ], - 'OverseasCount' => [ - 'description' => '海外地区数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '238', - ], - 'OverseasList' => [ - 'description' => '海外地区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '海外地区列表。', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '地区Id。', - 'type' => 'string', - 'example' => 'US', - ], - 'LocName' => [ - 'description' => '地区名。', - 'type' => 'string', - 'example' => '美国', - ], - ], - ], - ], - 'CnList' => [ - 'description' => '国内地区列表。', - 'type' => 'array', - 'items' => [ - 'description' => '国内地区列表。', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '地区Id。', - 'type' => 'string', - 'example' => '3301', - ], - 'LocName' => [ - 'description' => '地区名。', - 'type' => 'string', - 'example' => '杭州市', - ], - ], - ], - ], - 'CnProvinceList' => [ - 'description' => '国内省市信息。', - 'type' => 'array', - 'items' => [ - 'description' => '国内省市信息。', - 'type' => 'object', - 'properties' => [ - 'ProvinceName' => [ - 'description' => '省份名称。', - 'type' => 'string', - 'example' => '浙江', - ], - 'Cities' => [ - 'description' => '城市编码列表。', - 'type' => 'array', - 'items' => [ - 'description' => '城市编码列表。', - 'type' => 'object', - 'properties' => [ - 'LocId' => [ - 'description' => '地区Id。', - 'type' => 'string', - 'example' => '123', - ], - 'LocName' => [ - 'description' => '地区名。', - 'type' => 'string', - 'example' => '杭州。', - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CD3BE433-FAB0-55D8-918A-69B306****\\",\\n \\"CnCount\\": 340,\\n \\"OverseasCount\\": 238,\\n \\"OverseasList\\": [\\n {\\n \\"LocId\\": \\"US\\",\\n \\"LocName\\": \\"美国\\"\\n }\\n ],\\n \\"CnList\\": [\\n {\\n \\"LocId\\": \\"3301\\",\\n \\"LocName\\": \\"杭州市\\"\\n }\\n ],\\n \\"CnProvinceList\\": [\\n {\\n \\"ProvinceName\\": \\"浙江\\",\\n \\"Cities\\": [\\n {\\n \\"LocId\\": \\"123\\",\\n \\"LocName\\": \\"杭州。\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询地理位置信息', - ], - 'DescribeIspInfo' => [ - 'summary' => '查询ISP信息。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68302', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '39.91.37.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'DataList' => [ - 'description' => '运营商列表。', - 'type' => 'array', - 'items' => [ - 'description' => '运营商列表。', - 'type' => 'object', - 'properties' => [ - 'IspId' => [ - 'description' => '运营商ID', - 'type' => 'integer', - 'format' => 'int32', - 'example' => 'isp-dhyw2lxfpc****', - ], - 'IspName' => [ - 'description' => '运营商名称。', - 'type' => 'string', - 'example' => '电信', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"DataList\\": [\\n {\\n \\"IspId\\": 0,\\n \\"IspName\\": \\"电信\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询ISP信息', - ], - 'DescribeCreatedNatFirewall' => [ - 'summary' => '获取已经创建的NAT防火墙。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '116773', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '121.225.255.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '返回结果的请求ID。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '072B5287-8A85-529E-BD47-F8AC2DB1****', - ], - 'CreatedNatFirewalls' => [ - 'description' => '创建NAT防火墙列表。', - 'type' => 'array', - 'items' => [ - 'description' => '创建NAT防火墙列表。', - 'type' => 'object', - 'properties' => [ - 'NatFirewallId' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'example' => 'cfw-adk2ad45sf4t8****', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-uf6i0zkjtz4t2sttf****', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关的名称', - 'type' => 'string', - 'example' => 'ngw-text', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"072B5287-8A85-529E-BD47-F8AC2DB1****\\",\\n \\"CreatedNatFirewalls\\": [\\n {\\n \\"NatFirewallId\\": \\"cfw-adk2ad45sf4t8****\\",\\n \\"NatGatewayId\\": \\"ngw-uf6i0zkjtz4t2sttf****\\",\\n \\"NatGatewayName\\": \\"ngw-text\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取已经创建的NAT防火墙', - ], - 'DescribeBatchSlsDispatchStatus' => [ - 'summary' => '查询日志投递状态状态。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68214', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '请求和接收消息的语言类型。取值:-**zh**:中文-**en**:英文', - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '返回结果的请求id。', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '7036EBAB-F85F-5AAE-976F-C75AEE59****', - ], - 'LogstoreName' => [ - 'title' => '日志服务的logStore名称。', - 'description' => '日志服务的日志库名称。', - 'type' => 'string', - 'example' => 'rs-stats', - ], - 'ProjectName' => [ - 'title' => '日志服务的project。', - 'description' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'cloudfirewallnew-project-199053910542****-cn-hangzhou', - ], - 'ItemList' => [ - 'title' => '日志投递配置详情。', - 'description' => '日志服务列表。', - 'type' => 'array', - 'items' => [ - 'title' => '日志投递配置详情。', - 'description' => '日志服务列表。', - 'type' => 'object', - 'properties' => [ - 'DispatchName' => [ - 'title' => '投递类型中文名称。', - 'description' => '投递名称。', - 'type' => 'string', - 'example' => '互联网流量日志', - ], - 'DispatchValue' => [ - 'title' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**。', - 'description' => '投递日志的值。', - 'type' => 'string', - 'example' => 'internet_log', - ], - 'SearchName' => [ - 'title' => '固定为log_type,无需关注。', - 'description' => '搜索类型的名称。', - 'type' => 'string', - 'example' => 'log_type', - ], - 'Enable' => [ - 'title' => '该投递类型开关情况。', - 'description' => '投递状态。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigStatus' => [ - 'title' => '配置状态。', - 'description' => '投递配置状态。', - 'type' => 'string', - 'example' => 'success_finished', - ], - 'FilterKeys' => [ - 'title' => '互联网和VPC的详细投递配置。', - 'description' => '支持的过滤条件。', - 'type' => 'array', - 'items' => [ - 'title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', - 'description' => '支持的过滤条件。', - 'type' => 'string', - 'enumValueTitles' => [ - 'other' => '其他', - 'attack' => '攻击', - 'acl' => 'ACL', - ], - 'example' => 'attack', - ], - ], - ], - ], - ], - 'LogVersion' => [ - 'title' => '日志版本,1代表只有1个logStore,2代表有2个。', - 'description' => '日志版本,1代表只有1个logStore,2代表有2个。', - 'type' => 'string', - 'example' => '1', - ], - 'InfoList' => [ - 'title' => 'logStore的详细信息列表', - 'description' => 'logStore的详细信息列表', - 'type' => 'array', - 'items' => [ - 'title' => '信息列表。', - 'description' => '信息列表。', - 'type' => 'object', - 'properties' => [ - 'LogstoreName' => [ - 'title' => '日志服务的logStore名称。', - 'description' => '日志服务的logStore名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-logstore', - ], - 'ProjectName' => [ - 'title' => '日志服务的Project名称。', - 'description' => '日志服务的Project名称。', - 'type' => 'string', - 'example' => 'cloudfirewall-project-1204872307283650-cn-hangzhou', - ], - 'ItemList' => [ - 'title' => '日志投递配置详情。', - 'description' => '日志投递配置详情。', - 'type' => 'array', - 'items' => [ - 'title' => '日志投递配置详情。', - 'description' => '日志投递配置详情。', - 'type' => 'object', - 'properties' => [ - 'DispatchName' => [ - 'title' => '投递类型中文名称。', - 'description' => '投递类型中文名称。', - 'type' => 'string', - 'example' => '互联网流量日志、VPC流量日志、NAT流量日志', - ], - 'DispatchValue' => [ - 'title' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**', - 'description' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**', - 'type' => 'string', - 'example' => 'ipv6_firewall_log', - ], - 'SearchName' => [ - 'title' => '固定为log_type,无需关注。', - 'description' => '固定为log_type,无需关注。', - 'type' => 'string', - 'example' => 'log_type', - ], - 'Enable' => [ - 'title' => '该投递类型开关情况。', - 'description' => '该投递类型开关情况。', - 'type' => 'boolean', - 'example' => 'true', - ], - 'ConfigStatus' => [ - 'title' => '配置状态。', - 'description' => '配置状态。', - 'type' => 'string', - 'example' => 'success_finished', - ], - 'FilterKeys' => [ - 'title' => '互联网和VPC的详细投递配置。', - 'description' => '互联网和VPC的详细投递配置。', - 'type' => 'array', - 'items' => [ - 'title' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', - 'description' => '具体字段名称。attack代表攻击事件日志,acl代表访问控制日志,other代表除这两种情况之外的其他日志。', - 'type' => 'string', - 'example' => 'attack,other', - ], - ], - ], - ], - ], - 'Site' => [ - 'title' => 'cn代表中国内地,intl代表非中国内地,global代表全球。', - 'description' => 'cn代表中国内地,intl代表非中国内地,global代表全球。', - 'type' => 'string', - 'example' => 'cn', - ], - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'InvokeError', - 'errorMessage' => 'Invoke rosttea\'s api failed.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7036EBAB-F85F-5AAE-976F-C75AEE59****\\",\\n \\"LogstoreName\\": \\"rs-stats\\",\\n \\"ProjectName\\": \\"cloudfirewallnew-project-199053910542****-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"互联网流量日志\\",\\n \\"DispatchValue\\": \\"internet_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack\\"\\n ]\\n }\\n ],\\n \\"LogVersion\\": \\"1\\",\\n \\"InfoList\\": [\\n {\\n \\"LogstoreName\\": \\"cloudfirewall-logstore\\",\\n \\"ProjectName\\": \\"cloudfirewall-project-1204872307283650-cn-hangzhou\\",\\n \\"ItemList\\": [\\n {\\n \\"DispatchName\\": \\"互联网流量日志、VPC流量日志、NAT流量日志\\",\\n \\"DispatchValue\\": \\"ipv6_firewall_log\\",\\n \\"SearchName\\": \\"log_type\\",\\n \\"Enable\\": true,\\n \\"ConfigStatus\\": \\"success_finished\\",\\n \\"FilterKeys\\": [\\n \\"attack,other\\"\\n ]\\n }\\n ],\\n \\"Site\\": \\"cn\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询日志投递状态状态', - ], - 'CreateSlsLogDispatch' => [ - 'summary' => '创建云防火墙SLS日志投递。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'write', - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '214748', - 'abilityTreeNodes' => [ - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SlsRegionId', - 'in' => 'formData', - 'schema' => [ - 'description' => 'SLS地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ap-southeast-1', - ], - ], - [ - 'name' => 'Ttl', - 'in' => 'formData', - 'schema' => [ - 'description' => '日志存储时长,单位:天。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '20', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '850A84D6************00090125EEB1', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"850A84D6************00090125EEB1\\"\\n}","type":"json"}]', - 'title' => '创建云防火墙SLS日志投递', - ], - 'ModifySlsDispatchStatus' => [ - 'summary' => '修改SLS投递。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68482', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'EnableStatus', - 'in' => 'query', - 'schema' => [ - 'title' => '投递: true:有效,false:不投递。', - 'description' => '是否投递: true:有效,false:不投递。', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - [ - 'name' => 'DispatchValue', - 'in' => 'query', - 'schema' => [ - 'title' => '分类日志的key'."\n" - .'共有以下取值:'."\n" - .'['."\n" - .'"internet_log",'."\n" - .'"vpc_firewall_log",'."\n" - .'"nat_firewall_log",'."\n" - .'"ipv6_firewall_log",'."\n" - .'"dns_firewall_log"'."\n" - .']', - 'description' => '分类日志的key。取值:'."\n" - ."\n" - .'**internet_log**'."\n" - ."\n" - .'**vpc_firewall_log**'."\n" - ."\n" - .'**nat_firewall_log**'."\n" - ."\n" - .'**ipv6_firewall_log**'."\n" - ."\n" - .'**dns_firewall_log**。', - 'type' => 'string', - 'required' => false, - 'example' => 'internet_log', - ], - ], - [ - 'name' => 'FilterKeys', - 'in' => 'query', - 'schema' => [ - 'title' => '查询指定过滤条件的场景。用 ","拼接'."\n" - .'['."\n" - .'"attack.acl,other",'."\n" - .'"attack",'."\n" - .'"acl",'."\n" - .'"other",'."\n" - .'"acl,other"'."\n" - .']。', - 'description' => '支持的过滤条件。取值:'."\n" - ."\n" - .'**attack**'."\n" - ."\n" - .'**acl**'."\n" - ."\n" - .'**other**。', - 'type' => 'string', - 'required' => false, - 'example' => 'attack,acl', - ], - ], - [ - 'name' => 'NewRegionId', - 'in' => 'query', - 'schema' => [ - 'title' => '区域。', - 'description' => '区域。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', - ], - ], - [ - 'name' => 'Site', - 'in' => 'query', - 'schema' => [ - 'title' => '这个字段用来指示修改哪个站点,如果日志版本为1,这个字段可以不填,或者global,如果日志版本为2,这个字段必须填,cn或者intl', - 'description' => '这个字段用来指示修改哪个站点,如果日志版本为1,这个字段可以不填,或者global,如果日志版本为2,这个字段必须填,cn或者intl。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '返回结果的请求id。', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CE901E31-4AE9-579D-AC37-D2F1BB43****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IllegalOperation', - 'errorMessage' => 'Illegal operation, unable to operate within 5 minutes, please try again in 5 minutes.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CE901E31-4AE9-579D-AC37-D2F1BB43****\\"\\n}","type":"json"}]', - 'title' => '修改SLS投递状态', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ModifyUserSlsLogStorageTime' => [ - 'summary' => '修改用户日志存储时间', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68491', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'title' => '云防火墙的id。', - 'description' => '实例的ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vipcloudfw-cn-uqm3fz****', - ], - ], - [ - 'name' => 'StorageTime', - 'in' => 'query', - 'schema' => [ - 'title' => '日志存储时间(单位:天)。可选值:-**0**:最近一天-**30**:最近30天', - 'description' => '需要指定的存储时长(单位:天)。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '180', - ], - ], - [ - 'name' => 'LogVersion', - 'in' => 'query', - 'schema' => [ - 'title' => '日志版本,主要有1(1个logStore)和2(2个logStore)', - 'description' => '日志版本,主要有1(1个logStore)和2(2个logStore)', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'docRequired' => false, - 'example' => '1', - 'default' => '1', - 'enum' => [ - '1', - '2', - ], - ], - ], - [ - 'name' => 'SlsRegionId', - 'in' => 'query', - 'schema' => [ - 'title' => 'SLS地域ID。', - 'description' => 'SLS地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ap-southeast-1', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => '本次请求的id。', - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '337A4DBA-8A01-5E9C-99CA-84293E13****', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"337A4DBA-8A01-5E9C-99CA-84293E13****\\"\\n}","type":"json"}]', - 'title' => '修改用户日志存储时间', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'ClearLogStoreStorage' => [ - 'summary' => '清空防火墙日志。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68112', - 'abilityTreeNodes' => [ - 'FEATUREcfwQ1YIKB', - 'FEATUREcfwG8G31D', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'Site', - 'in' => 'query', - 'schema' => [ - 'title' => '代表要清空的站点名称,如果只有1个logStore,可以不填,如果有2个logStore,需要填cn或者intl。', - 'description' => '代表要清空的站点名称,如果只有1个logStore,可以不填,如果有2个logStore,需要填cn或者intl。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'HttpStatusCode' => [ - 'title' => 'http状态码。', - 'description' => 'HTTP状态码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '200', - ], - 'RequestId' => [ - 'title' => '本次请求的id。', - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '21C27710-2DB1-5F2A-8588-72D0541B****', - ], - 'Success' => [ - 'title' => '返回结果。取值:-**true**:表示成功-**false**:表示失败', - 'description' => '本次请求是否成功。', - 'type' => 'boolean', - 'example' => 'true', - ], - ], - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"HttpStatusCode\\": 200,\\n \\"RequestId\\": \\"21C27710-2DB1-5F2A-8588-72D0541B****\\",\\n \\"Success\\": true\\n}","type":"json"}]', - 'title' => '清空防火墙日志', - ], - 'DescribeUserAlarmConfig' => [ - 'summary' => '获取用户告警配置。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68397', - 'abilityTreeNodes' => [ - 'FEATUREcfwHNNY65', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '59.82.135.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '9D250177-4F11-58B8-9AFE-A4624FF1****', - ], - 'AlarmConfig' => [ - 'description' => '报警配置。', - 'type' => 'array', - 'items' => [ - 'description' => '报警配置。', - 'type' => 'object', - 'properties' => [ - 'AlarmPeriod' => [ - 'description' => '告警周期。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'AlarmValue' => [ - 'description' => '报警通知消息。', - 'type' => 'string', - 'example' => '80', - ], - 'AlarmHour' => [ - 'description' => '报警阈值。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - 'AlarmType' => [ - 'description' => '告警类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'weeklyReport' => 'weeklyReport', - 'trafficPreAlert' => 'trafficPreAlert', - 'outgoingRiskAll' => 'outgoingRiskAll', - 'Middlethreat' => 'Middlethreat', - 'bandwidth' => 'bandwidth', - 'ipsHighthreat' => 'ipsHighthreat', - 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', - 'ipsIgnoreResolved' => 'ipsIgnoreResolved', - ], - 'example' => 'bandwidth', - ], - 'AlarmNotify' => [ - 'description' => '通知方式。', - 'type' => 'integer', - 'format' => 'int32', - 'enumValueTitles' => [ - 'sms/email', - 'sms', - 'email', - 'none', - ], - 'example' => '1', - ], - 'AlarmWeekDay' => [ - 'description' => '报警重试次数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - 'NotifyConfig' => [ - 'description' => '报警通知配置。', - 'type' => 'array', - 'items' => [ - 'description' => '报警通知配置。', - 'type' => 'object', - 'properties' => [ - 'NotifyValue' => [ - 'description' => '消息通知配置。取值:-**0**:关闭-**1**:开启', - 'type' => 'string', - 'example' => '0', - ], - 'NotifyType' => [ - 'description' => '通知类型。', - 'type' => 'string', - 'example' => 'mail', - ], - ], - ], - ], - 'ContactConfig' => [ - 'description' => '联系人信息。', - 'type' => 'array', - 'items' => [ - 'description' => '联系人信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '报警状态。取值:-**0**:关闭-**1**:开启', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Email' => [ - 'description' => '邮箱。', - 'type' => 'string', - 'example' => '1530811****@qq.com'."\n", - ], - 'Name' => [ - 'description' => '手机号。', - 'type' => 'string', - 'example' => '1531123****', - ], - 'MobilePhone' => [ - 'description' => '报警联系人姓名。', - 'type' => 'string', - 'example' => '张三', - ], - ], - ], - ], - 'AlarmLang' => [ - 'description' => '报警的语言类型。', - 'type' => 'string', - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - 'DefaultContact' => [ - 'description' => '默认报警联系人信息。', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'description' => '默认报警联系人姓名。', - 'type' => 'string', - 'example' => '张三', - ], - 'Email' => [ - 'description' => '默认邮箱。', - 'type' => 'string', - 'example' => '1530811****@qq.com', - ], - 'MobilePhone' => [ - 'description' => '默认手机号。', - 'type' => 'string', - 'example' => '1531123****', - ], - 'Status' => [ - 'description' => '日志存储状态。取值:-**normal**:正常-**disable**:禁用', - 'type' => 'string', - 'example' => '0', - ], - ], - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'internal error: sql select.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D250177-4F11-58B8-9AFE-A4624FF1****\\",\\n \\"AlarmConfig\\": [\\n {\\n \\"AlarmPeriod\\": 30,\\n \\"AlarmValue\\": \\"80\\",\\n \\"AlarmHour\\": 0,\\n \\"AlarmType\\": \\"bandwidth\\",\\n \\"AlarmNotify\\": 1,\\n \\"AlarmWeekDay\\": 0\\n }\\n ],\\n \\"NotifyConfig\\": [\\n {\\n \\"NotifyValue\\": \\"0\\",\\n \\"NotifyType\\": \\"mail\\"\\n }\\n ],\\n \\"ContactConfig\\": [\\n {\\n \\"Status\\": 1,\\n \\"Email\\": \\"1530811****@qq.com\\\\n\\",\\n \\"Name\\": \\"1531123****\\",\\n \\"MobilePhone\\": \\"张三\\"\\n }\\n ],\\n \\"AlarmLang\\": \\"zh\\",\\n \\"DefaultContact\\": {\\n \\"Name\\": \\"张三\\",\\n \\"Email\\": \\"1530811****@qq.com\\",\\n \\"MobilePhone\\": \\"1531123****\\",\\n \\"Status\\": \\"0\\"\\n }\\n}","type":"json"}]', - 'title' => '获取用户告警配置', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'ModifyUserAlarmConfig' => [ - 'summary' => '修改用户告警配置。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68489', - 'abilityTreeNodes' => [ - 'FEATUREcfwHNNY65', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '117.129.64.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'AlarmConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '报警配置。', - 'type' => 'array', - 'items' => [ - 'description' => '报警配置。', - 'type' => 'object', - 'properties' => [ - 'AlarmValue' => [ - 'description' => '报警通知消息。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'on', - ], - 'AlarmType' => [ - 'description' => '告警类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'weeklyReport' => 'weeklyReport', - 'trafficPreAlert' => 'trafficPreAlert', - 'outgoingRiskAll' => 'outgoingRiskAll', - 'ipsMiddlethreat' => 'ipsMiddlethreat', - 'bandwidth' => 'bandwidth', - 'ipsHighthreat' => 'ipsHighthreat', - 'outgoingRiskNonWhite' => 'outgoingRiskNonWhite', - 'ipsIgnoreResolved' => 'ipsIgnoreResolved', - ], - 'example' => 'bandwidth', - ], - 'AlarmPeriod' => [ - 'description' => '告警周期。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '8:00~20:00', - '24小时', - ], - 'example' => '0', - ], - 'AlarmHour' => [ - 'description' => '告警通知小时。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - 'AlarmNotify' => [ - 'description' => '通知方式。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'sms/email', - 'sms', - 'email', - 'none', - ], - 'example' => '0', - ], - 'AlarmWeekDay' => [ - 'description' => '告警通知星期。', - 'type' => 'string', - 'required' => false, - 'example' => '2', - ], - ], - 'required' => false, - ], - 'required' => true, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'NotifyConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '报警通知配置。', - 'type' => 'array', - 'items' => [ - 'description' => '报警通知配置。', - 'type' => 'object', - 'properties' => [ - 'NotifyType' => [ - 'description' => '通知类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'mail' => 'mail', - 'sms' => 'sms', - ], - 'example' => 'mail', - ], - 'NotifyValue' => [ - 'description' => '通知值。', - 'type' => 'string', - 'required' => false, - 'example' => '1351234****', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'ContactConfig', - 'in' => 'query', - 'style' => 'repeatList', - 'schema' => [ - 'description' => '联系人配置。', - 'type' => 'array', - 'items' => [ - 'description' => '联系人配置。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'description' => '报警状态。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - '关闭', - '开启', - ], - 'example' => '1', - ], - 'Email' => [ - 'description' => '邮箱。', - 'type' => 'string', - 'required' => false, - 'example' => '91632****@qq.com', - ], - 'MobilePhone' => [ - 'description' => '手机号。', - 'type' => 'string', - 'required' => false, - 'example' => '1351234****'."\n", - ], - 'Name' => [ - 'description' => '告警通知接收人。', - 'type' => 'string', - 'required' => false, - 'example' => 'Ben', - ], - ], - 'required' => false, - ], - 'required' => false, - 'maxItems' => 100, - ], - ], - [ - 'name' => 'AlarmLang', - 'in' => 'query', - 'allowEmptyValue' => true, - 'schema' => [ - 'description' => '消息通知的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'UseDefaultContact', - 'in' => 'query', - 'schema' => [ - 'description' => '使用默认联系方式。', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '3B168A0F-A43D-5FD0-8059-B51BDD6E****', - ], - ], - ], - ], - ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersAlarmConfig', - 'errorMessage' => 'invalid alarmConfig.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', - ], - [ - 'errorCode' => 'ErrorParametersNotifyConfig', - 'errorMessage' => 'invalid notifyConfig.', - ], - [ - 'errorCode' => 'ErrorParamSms', - 'errorMessage' => 'invalid sms number.', - ], - [ - 'errorCode' => 'ErrorParamEmail', - 'errorMessage' => 'invalid email address.', - ], - [ - 'errorCode' => 'ErrorParamCountExceed', - 'errorMessage' => 'sms or email count exceed.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', - ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql update.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'internal error: sql insert.', - ], - ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3B168A0F-A43D-5FD0-8059-B51BDD6E****\\"\\n}","type":"json"}]', - 'title' => '修改用户告警配置', - ], - 'DescribeInstanceRdAccounts' => [ - 'summary' => '获取实例RD账号。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], - ], - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68270', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', - ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.100.170.XXX', - ], - ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面页数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'MemberDisplayName', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'cloudfirewall_2', - ], - ], - [ - 'name' => 'MemberDesc', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的备注信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '06D1EC07-C9EB-58AC-A750-C87C9A0****', - ], - 'Accounts' => [ - 'description' => '账号信息。', - 'type' => 'array', - 'items' => [ - 'description' => '账号信息。', - 'type' => 'object', - 'properties' => [ - 'DisplayName' => [ - 'description' => '成员名称。', - 'type' => 'string', - 'example' => 'test', - ], - 'AccountId' => [ - 'description' => '成员账号ID。', - 'type' => 'string', - 'example' => '171054237268****', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2024-08-08T02:28:11.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyAddressBook'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceAliuidNotDaMa', - 'errorMessage' => 'instance aliuid not DA or MA.', - ], - ], + 'createdAt' => '2024-08-07T07:26:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteVpcFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DescribeControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DescribeDomainResolve'], + ['description' => '错误码发生变更', 'api' => 'DescribeNatFirewallControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DescribePolicyPriorUsed'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallPolicyPriorUsed'], + ['description' => '错误码发生变更', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], + ['description' => '错误码发生变更', 'api' => 'ResetVpcFirewallRuleHitCount'], + ], + 'createdAt' => '2024-07-31T03:28:25.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DeleteControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'DeleteControlPolicyTemplate'], + ['description' => '错误码发生变更', 'api' => 'DescribeDefaultIPSConfig'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ['description' => '错误码发生变更', 'api' => 'ModifyControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'ModifyDefaultIPSConfig'], + ['description' => '错误码发生变更', 'api' => 'ModifyVpcFirewallIPSWhitelist'], + ], + 'createdAt' => '2024-07-30T08:29:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DeleteControlPolicy'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-07-25T02:35:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'AddControlPolicy'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeControlPolicy'], + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'ModifyControlPolicy'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2024-07-25T02:35:23.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateSlsLogDispatch'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"06D1EC07-C9EB-58AC-A750-C87C9A0****\\",\\n \\"Accounts\\": [\\n {\\n \\"DisplayName\\": \\"test\\",\\n \\"AccountId\\": \\"171054237268****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取实例RD账号', + 'createdAt' => '2024-07-08T08:25:57.000Z', + 'description' => '', ], - 'DescribeInstanceMembers' => [ - 'summary' => '获取云防火墙成员账号信息。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateDownloadTask'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-07-04T11:05:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribePostpayTrafficTotal'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-06-05T12:01:35.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeNatFirewallList'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68269', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2024-05-27T09:28:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInternetTrafficTrend'], ], - 'parameters' => [ - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,返回第几页数据。'."\n" - .'默认值为**1**,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,每页包含多少条结果。'."\n" - ."\n" - .'默认值为**20**,表示每页包含20条结果。', - 'type' => 'string', - 'required' => false, - 'example' => '20', - ], - ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', - ], - ], - [ - 'name' => 'MemberDisplayName', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'cloudfirewall_2', - ], - ], - [ - 'name' => 'MemberDesc', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的备注信息,长度为1~256个字符。', - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - ], + 'createdAt' => '2024-05-16T08:02:58.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'DeleteNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'DescribeNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ['description' => '请求参数发生变更', 'api' => 'DescribeRiskEventPayload'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'A531AE1A-FBA2-48B6-BAB8-84D02BD409EE', - ], - 'PageInfo' => [ - 'description' => '分页查询时的页面信息。', - 'type' => 'object', - 'properties' => [ - 'CurrentPage' => [ - 'description' => '本次查询第几页数据。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '本次查询每页包含多少条结果。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - 'TotalCount' => [ - 'description' => '云防火墙成员账号的总数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '20', - ], - ], - ], - 'Members' => [ - 'description' => '云防火墙成员账号的信息。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => '云防火墙成员账号的备注信息。', - 'type' => 'string', - 'example' => 'renewal', - ], - 'MemberDisplayName' => [ - 'description' => '云防火墙成员账号的名称。', - 'type' => 'string', - 'example' => 'cloudfirewall_2', - ], - 'CreateTime' => [ - 'description' => '云防火墙成员账号的加入时间。使用时间戳格式,单位:秒。'."\n", - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1615189819', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '258039427902****', - ], - 'MemberStatus' => [ - 'description' => '云防火墙成员账号的状态。取值:'."\n" - .'- **normal**:正常'."\n" - .'- **deleting**:删除中', - 'type' => 'string', - 'example' => 'normal', - ], - 'ModifyTime' => [ - 'description' => '云防火墙成员账号的最近修改时间。使用时间戳格式,单位:秒。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1615189819', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2024-03-13T11:58:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeTrFirewallPolicyBackUpAssociationList'], + ['description' => '请求参数发生变更', 'api' => 'ModifyTrFirewallV2RoutePolicyScope'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - ], + 'createdAt' => '2024-03-01T02:19:08.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyNatFirewallControlPolicyPosition'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2023-12-07T06:52:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallAclGroupList'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2023-12-06T03:53:07.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeAddressBook'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\",\\n \\"PageInfo\\": {\\n \\"CurrentPage\\": 1,\\n \\"PageSize\\": 20,\\n \\"TotalCount\\": 20\\n },\\n \\"Members\\": [\\n {\\n \\"MemberDesc\\": \\"renewal\\",\\n \\"MemberDisplayName\\": \\"cloudfirewall_2\\",\\n \\"CreateTime\\": 1615189819,\\n \\"MemberUid\\": 0,\\n \\"MemberStatus\\": \\"normal\\",\\n \\"ModifyTime\\": 1615189819\\n }\\n ]\\n}","errorExample":""},{"type":"xml","example":"\\n A531AE1A-FBA2-48B6-BAB8-84D02BD409EE\\n \\n 1\\n 20\\n 20\\n \\n \\n renewal\\n cloudfirewall_2\\n 1615189819\\n normal\\n 1615189819\\n \\n","errorExample":""}]', - 'title' => '获取云防火墙成员账号信息', - 'description' => '本接口一般用于查询云防火墙成员账号信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'createdAt' => '2023-11-21T08:55:15.000Z', + 'description' => '', ], - 'AddInstanceMembers' => [ - 'summary' => '添加云防火墙成员账号。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateTrFirewallV2'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2023-10-18T05:12:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'CreateNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'CreateVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更、响应参数发生变更、响应参数发生变更', 'api' => 'DescribeControlPolicy'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeNatFirewallControlPolicy'], + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyNatFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallControlPolicy'], + ], + 'createdAt' => '2023-10-12T01:49:41.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeInternetTrafficTrend'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2023-09-20T06:27:10.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68097', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2023-09-14T06:10:24.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateVpcFirewallControlPolicy'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallAclGroupList'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallControlPolicy'], ], - 'parameters' => [ - [ - 'name' => 'Members', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '云防火墙成员账号。', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => '云防火墙成员账号的备注信息,长度为1~256个字符。最多可添加20个成员账号。'."\n" - ."\n", - 'type' => 'string', - 'required' => false, - 'example' => 'renewal', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。最多可添加20个成员账号。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '258039427902****', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], + 'createdAt' => '2023-09-11T09:00:56.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeAssetList'], + ['description' => '请求参数发生变更', 'api' => 'DescribeNatFirewallControlPolicy'], + ['description' => '响应参数发生变更', 'api' => 'PutEnableFwSwitch'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'B40A54DF-C142-44F7-8441-B31C1EADB36E', - ], - ], - ], - ], + 'createdAt' => '2023-08-30T02:17:29.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeRiskEventPayload'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrotMaxInstanceMemberNumExceed', - 'errorMessage' => 'The maximum number of firewall instance members is exceeded.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberAlreadyExist', - 'errorMessage' => 'instance member is already exist.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberIsMaster', - 'errorMessage' => 'instance member is master account.', - ], - [ - 'errorCode' => 'ErrorInstanceAliuidNotDaMa', - 'errorMessage' => 'instance aliuid not DA or MA.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'internal error: sql insert.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberNotBelongRd', - 'errorMessage' => 'instance member not belong rd.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberNotStsGrant', - 'errorMessage' => 'instance member is not sts grant.', - ], - ], + 'createdAt' => '2023-08-23T03:36:13.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DeleteTrFirewallV2'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2023-08-08T07:41:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateTrFirewallV2'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2023-07-21T03:40:09.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'DescribeTrFirewallsV2Detail'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"B40A54DF-C142-44F7-8441-B31C1EADB36E\\"\\n}","errorExample":""},{"type":"xml","example":"\\n B40A54DF-C142-44F7-8441-B31C1EADB36E\\n","errorExample":""}]', - 'title' => '添加云防火墙成员账号', - 'description' => '本接口一般用于添加云防火墙成员账号。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'createdAt' => '2023-07-20T07:26:26.000Z', + 'description' => '', ], - 'ModifyInstanceMemberAttributes' => [ - 'summary' => '更新云防火墙成员账号信息。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeTrFirewallsV2Detail'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2023-07-19T07:53:12.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2023-07-13T07:07:39.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], + ['description' => '响应参数发生变更', 'api' => 'DescribeTrFirewallsV2List'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallCenDetail'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68474', - 'abilityTreeNodes' => [ - 'FEATUREcfw98HUGQ', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2023-06-13T09:36:34.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeTrFirewallV2RoutePolicyList'], ], - 'parameters' => [ - [ - 'name' => 'Members', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '云防火墙成员账号。', - 'type' => 'array', - 'items' => [ - 'description' => '无', - 'type' => 'object', - 'properties' => [ - 'MemberDesc' => [ - 'description' => '云防火墙成员账号的备注信息。', - 'type' => 'string', - 'required' => true, - 'example' => 'renewal', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '123412341234****', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], + 'createdAt' => '2023-06-08T08:23:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddAddressBook'], + ['description' => '请求参数发生变更', 'api' => 'AddControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'BatchCopyVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'DeleteAddressBook'], + ['description' => '请求参数发生变更', 'api' => 'DeleteControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'DescribeDomainResolve'], + ['description' => '请求参数发生变更', 'api' => 'DescribeInternetTrafficTrend'], + ['description' => '请求参数发生变更', 'api' => 'DescribeInvadeEventList'], + ['description' => '请求参数发生变更', 'api' => 'DescribePolicyAdvancedConfig'], + ['description' => '请求参数发生变更', 'api' => 'DescribePolicyPriorUsed'], + ], + 'createdAt' => '2023-05-30T02:18:43.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeRiskEventGroup'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => 'AB74E747-BA5C-492C-87DD-CEA67FCFFFE5', - ], - ], - ], - ], + 'createdAt' => '2023-03-16T08:13:17.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyControlPolicy'], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', - ], - ], - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorParamsInvalid', - 'errorMessage' => 'Invalid Params', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], + 'createdAt' => '2022-12-22T02:42:11.000Z', + 'description' => '隐藏无用参数', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyControlPolicy'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2022-12-22T02:03:58.000Z', + 'description' => '- 隐藏无用参数SourceIP', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeOutgoingDestinationIP'], + ['description' => '请求参数发生变更', 'api' => 'DescribeOutgoingDomain'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2022-12-08T07:00:23.000Z', + 'description' => 'DescribeOutgoingDestinationIP和DescribeOutgoingDomain 添加字段', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallDetail'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\"\\n}","errorExample":""},{"type":"xml","example":"\\n AB74E747-BA5C-492C-87DD-CEA67FCFFFE5\\n","errorExample":""}]', - 'title' => '更新云防火墙成员账号信息', - 'description' => '本接口一般用于更新云防火墙成员账号信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'createdAt' => '2022-12-08T02:43:11.000Z', + 'description' => '- 对API做出规范.', ], - 'DeleteInstanceMembers' => [ - 'summary' => '删除云防火墙成员账号。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeRiskEventGroup'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2022-11-17T09:55:10.000Z', + 'description' => 'DescribeRiskEventGroup add SrcIPTag field', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、请求参数发生变更、响应参数发生变更', 'api' => 'DescribeVpcFirewallList'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2022-11-17T09:32:51.000Z', + 'description' => '支持vpc对等连接', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyControlPolicy'], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68151', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2022-11-02T06:38:16.000Z', + 'description' => '隐藏acl message type字段', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeOutgoingDestinationIP'], ], - 'parameters' => [ - [ - 'name' => 'MemberUids', - 'in' => 'query', - 'style' => 'flat', - 'schema' => [ - 'description' => '云防火墙成员账号的UID列表。', - 'type' => 'array', - 'items' => [ - 'description' => '云防火墙成员账号的UID列表。', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '258039427902****', - ], - 'required' => true, - 'example' => '1234123412341234', - ], - ], + 'createdAt' => '2022-09-28T08:07:21.000Z', + 'description' => '- 更新接口超时时间', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeOutgoingDomain'], + ['description' => '请求参数发生变更', 'api' => 'DescribeRiskEventGroup'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '03E8AA70-0CC9-42EA-97AA-EA68377930B4', - ], - ], - ], - ], + 'createdAt' => '2022-09-27T08:47:55.000Z', + 'description' => '- 主动外联优化', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeAddressBook'], + ['description' => '请求参数发生变更', 'api' => 'DescribeControlPolicy'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', - ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', - ], - [ - 'errorCode' => 'ErrorInstanceTooManyMembersOnce', - 'errorMessage' => 'too many members once.', - ], - [ - 'errorCode' => 'ErrorInstanceMemberHasFirewall', - 'errorMessage' => 'instance member has firewall resource.', - ], - ], - [ - [ - 'errorCode' => 'ErrorAuthentication', - 'errorMessage' => 'An authentication error occurred.', - ], - ], + 'createdAt' => '2022-09-27T08:09:41.000Z', + 'description' => '- 更新API操作返回记录', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeVpcFirewallCenList'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2022-09-08T10:58:57.000Z', + 'description' => '支持转发企业版路由器', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DeleteControlPolicyBatch'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2022-07-15T02:28:11.000Z', + 'description' => '批量删除acl最多100条', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DeleteControlPolicyBatch'], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"03E8AA70-0CC9-42EA-97AA-EA68377930B4\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 03E8AA70-0CC9-42EA-97AA-EA68377930B4\\n","errorExample":""}]', - 'title' => '删除云防火墙成员账号', - 'description' => '调用DeleteInstanceMembers接口一次最多可删除20个云防火墙成员账号,多个成员账号之间使用用英文逗号(,)分隔。成员账号被删除后,云防火墙无法访问被删除成员账号的云资源,请谨慎操作。删除前,调用[DescribeInstanceMembers](~~271704~~)接口获取云防火墙成员账号信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', + 'createdAt' => '2022-07-15T02:22:39.000Z', + 'description' => '批量删除acl最大数量限制', ], - 'DescribeDownloadTask' => [ - 'summary' => '查询文件下载任务,包括任务信息以及下载地址。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DeleteControlPolicyBatch'], + ['description' => 'OpenAPI 下线', 'api' => 'DeleteControlPolicyTemplate'], + ['description' => '响应参数发生变更、响应参数发生变更', 'api' => 'DescribeControlPolicy'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeControlPolicyTemplate'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2022-07-14T13:59:24.000Z', + 'description' => 'acl体验优化', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeInvadeEventList'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2022-07-14T03:05:53.000Z', + 'description' => '隐藏不需要字段', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeUserAssetIPTrafficInfo'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174551', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2022-07-07T09:16:04.000Z', + 'description' => '- 修改API.', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'DescribeInvadeEventList'], + ['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'DescribeOutgoingDestinationIP'], + ['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'DescribeOutgoingDomain'], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '分页查询时,显示的每页数据的最大条数。默认为10。'."\n" - .'可设置值最大为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '分页查询时,设置当前页的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => '任务类型,枚举值。可填枚举值见接口:查询文件下载任务类型。不填默认查询所有文件。', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', - ], - ], + 'createdAt' => '2022-07-07T03:36:25.000Z', + 'description' => '- 新增4个开放API', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeUserAssetIPTrafficInfo'], + ], + 'createdAt' => '2022-07-07T02:54:08.000Z', + 'description' => '- 新增资产流量接口', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyControlPolicy'], + ], + 'createdAt' => '2022-06-21T09:46:39.000Z', + 'description' => '- ModifyControlPolicy 接口 ApplicationName 修改为非必填', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ['description' => 'OpenAPI 下线', 'api' => 'ModifyVpcFirewallIPSWhitelist'], + ], + 'createdAt' => '2022-06-02T03:04:23.000Z', + 'description' => '新增vpc防火墙ips白名单api', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'DescribeAddressBook'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '任务总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '3F2BED13-F3D0-5984-80D6-D5F298CFEA88', - ], - 'Tasks' => [ - 'description' => '任务列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务信息。', - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'title' => '任务id', - 'description' => '任务id。', - 'type' => 'string', - 'example' => '1111', - ], - 'TaskName' => [ - 'title' => '名称', - 'description' => '任务名称。', - 'type' => 'string', - 'example' => '互联网边界防火墙资产-IPv4', - ], - 'Status' => [ - 'title' => '', - 'description' => '任务状态。取值:'."\n" - ."\n" - .'- **finish**:任务完成。'."\n" - .'- **start**:任务开始。'."\n" - .'- **error**:任务失败。'."\n" - .'- **expire**:任务过期。即任务文件已经失效,无法下载。', - 'type' => 'string', - 'example' => 'finish', - ], - 'FileURL' => [ - 'description' => 'OSS文件地址。', - 'type' => 'string', - 'example' => 'https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D', - ], - 'FileSize' => [ - 'title' => '', - 'description' => '文件大小。', - 'type' => 'string', - 'example' => '24.04KB', - ], - 'CreateTime' => [ - 'description' => '创建任务的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1706595827', - ], - 'ExpireTime' => [ - 'description' => '任务过期的时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1714371828', - ], - 'TaskType' => [ - 'description' => '任务类型。', - 'type' => 'string', - 'example' => 'InternetFirewallAsset', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2022-06-02T02:40:39.000Z', + 'description' => '- change page param to must for one interface', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddInstanceMembers'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - ], + 'createdAt' => '2022-04-26T03:57:48.000Z', + 'description' => '- 增加AddInstanceMember参数为必填', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateVpcFirewallControlPolicy'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2022-03-30T09:05:58.000Z', + 'description' => '新增参数发布状态', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallControlPolicy'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2022-03-28T08:05:56.000Z', + 'description' => '增加vpc防火墙ACL规则发布字段', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"3F2BED13-F3D0-5984-80D6-D5F298CFEA88\\",\\n \\"Tasks\\": [\\n {\\n \\"TaskId\\": \\"1111\\",\\n \\"TaskName\\": \\"互联网边界防火墙资产-IPv4\\",\\n \\"Status\\": \\"finish\\",\\n \\"FileURL\\": \\"https://cfw-table-download-cn.oss-cn-hangzhou.aliyuncs.com/%E4%BA%92%E8%81%94%E7%BD%91%E8%BE%B9%E7%95%8C%E9%98%B2%E7%81%AB%E5%A2%99%E8%B5%84%E4%BA%A7-IPv4_1069.csv?Expires=1708583913&OSSAccessKeyId=****&Signature=******%3D\\",\\n \\"FileSize\\": \\"24.04KB\\",\\n \\"CreateTime\\": 1706595827,\\n \\"ExpireTime\\": 1714371828,\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询文件下载任务', + 'createdAt' => '2022-02-25T08:54:21.000Z', + 'description' => '新增错误码', ], - 'DescribeDownloadTaskType' => [ - 'summary' => '查询下载任务类型。对应下载任务相关接口中的TaskType字段。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallCenDetail'], + ['description' => '错误码发生变更', 'api' => 'ModifyAddressBook'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2022-02-25T06:02:01.000Z', + 'description' => '新增错误码', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateVpcFirewallPrecheck'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeFirewallTask'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallCenList'], + ['description' => 'OpenAPI 下线', 'api' => 'DescribeVpcFirewallPrecheckDetail'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2022-02-24T13:50:21.000Z', + 'description' => '发布vpc防火墙一键诊断以及开墙流程白屏化接口', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddControlPolicy'], + ['description' => '错误码发生变更', 'api' => 'ModifyControlPolicy'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '175450', - 'abilityTreeNodes' => [ - 'FEATUREcfwE8FJHT', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2022-02-24T09:20:32.000Z', + 'description' => '新增错误码', + ], + [ + 'apis' => [ + ['description' => '响应参数发生变更', 'api' => 'DescribeAddressBook'], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '分页查询时,显示的每页数据的最大条数。默认值为10。可设置的最大值为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,返回第几页数据。'."\n" - .'默认值为**1**,表示返回第1页数据。', - 'type' => 'string', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'title' => '任务类型', - 'description' => '任务类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', - ], - ], + 'createdAt' => '2022-01-21T06:05:42.000Z', + 'description' => '云防火墙地址簿查询去掉globa冗余字段', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'CreateSrNatFirewall'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '3', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'B835494C-D093-5524-BBDE-BD272077B40E', - ], - 'TaskTypeArray' => [ - 'description' => '任务类型列表。', - 'type' => 'array', - 'items' => [ - 'description' => '任务类型信息。', - 'type' => 'object', - 'properties' => [ - 'TaskName' => [ - 'title' => '名称', - 'description' => '任务类型名称。', - 'type' => 'string', - 'example' => '互联网边界防火墙资产', - ], - 'TaskType' => [ - 'description' => '任务类型。', - 'type' => 'string', - 'example' => 'InternetFirewallAsset', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2022-01-19T15:24:44.000Z', + 'description' => '新增支持 NAT 防火墙', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddControlPolicy'], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', - ], - [ - 'errorCode' => 'InternalError', - 'errorMessage' => 'The request processing has failed due to some unknown error.', - ], - ], + 'createdAt' => '2022-01-18T09:55:41.000Z', + 'description' => 'messagetype字段对用户不可见', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更、请求参数发生变更', 'api' => 'AddControlPolicy'], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'createdAt' => '2022-01-06T03:49:24.000Z', + 'description' => '支持多应用', + ], + [ + 'apis' => [ + ['description' => '错误码发生变更', 'api' => 'AddAddressBook'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 3,\\n \\"RequestId\\": \\"B835494C-D093-5524-BBDE-BD272077B40E\\",\\n \\"TaskTypeArray\\": [\\n {\\n \\"TaskName\\": \\"互联网边界防火墙资产\\",\\n \\"TaskType\\": \\"InternetFirewallAsset\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询文件下载任务类型', + 'createdAt' => '2021-12-22T08:34:45.000Z', + 'description' => 'pop记录Response', ], - 'CreateDownloadTask' => [ - 'summary' => '创建文件下载任务。', - 'methods' => [ - 'post', - 'get', + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'AddControlPolicy'], + ['description' => '响应参数发生变更', 'api' => 'DescribeControlPolicy'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'ModifyControlPolicy'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2021-12-16T10:38:44.000Z', + 'description' => '访问控制策略支持message type', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'ModifyVpcFirewallCenConfigure'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2021-11-18T09:48:25.000Z', + 'description' => '删除冗余未使用的入参', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], + ['description' => '响应参数发生变更', 'api' => 'DescribeVpcFirewallCenList'], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174565', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', - ], - 'tenantRelevance' => 'publicInformation', + 'createdAt' => '2021-11-18T05:39:24.000Z', + 'description' => '删除多余未使用的入参', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'CreateVpcFirewallCenConfigure'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'CreateVpcFirewallConfigure'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'CreateVpcFirewallControlPolicy'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'DeleteVpcFirewallCenConfigure'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'DeleteVpcFirewallConfigure'], + ['description' => '响应参数发生变更、错误码发生变更', 'api' => 'DescribeVpcFirewallAclGroupList'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallCenDetail'], + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ['description' => '错误码发生变更', 'api' => 'DescribeVpcFirewallDetail'], + ['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'DescribeVpcFirewallList'], + ], + 'createdAt' => '2021-10-28T12:05:26.000Z', + 'description' => 'vpc防火墙接口api开放', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、响应参数发生变更、错误码发生变更', 'api' => 'DescribeVpcFirewallControlPolicy'], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值:'."\n" - ."\n" - .'- **zh**:(默认)中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + 'createdAt' => '2021-10-28T02:58:09.000Z', + 'description' => 'vpc防火墙可以指定uuid查询acl规则', + ], + [ + 'apis' => [ + ['description' => '请求参数发生变更、错误码发生变更', 'api' => 'DescribeAddressBook'], + ], + 'createdAt' => '2021-10-20T13:22:19.000Z', + 'description' => 'DescribeAddressGroup的pageSize和CurrentPage设置默认值', + ], + [ + 'apis' => [ + ['description' => 'OpenAPI 下线', 'api' => 'DescribeInAndOutRecommendAclsCount'], + ], + 'createdAt' => '2021-09-06T08:11:40.000Z', + 'description' => '1.1 个接口改为私有2. 1 个接口改返回值模式3. 发布 2 个新接口, 供菜单使用', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchCopyVpcFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2RoutePolicyScope'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetTrafficTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallPolicyBackUpAssociationList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventPayload'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeRiskEventGroup'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteTrFirewallV2'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateNatFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallSwitchStatus'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallCenConfigure'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableAllFwSwitch'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'BatchDeleteVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallPolicyPriorUsed'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallTrafficTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallAclGroupList'], + ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVulnerabilityProtectedList'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeACLProtectTrend'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFirewallV2RoutePolicies'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserAssetIPTrafficInfo'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInternetOpenIp'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyPriorUsed'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteControlPolicyTemplate'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetStatistic'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetNatFirewallRuleHitCount'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutDisableAllFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ResetVpcFirewallRuleHitCount'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallCenDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcListLite'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeLogStoreInfo'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSlsLogDispatch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2List'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInvadeEventList'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateTrFirewallV2RoutePolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficTotal'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDownloadTaskType'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallDefaultIPSConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallCenConfigure'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatFirewallPolicyPriorUsed'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyFirewallV2RoutePolicySwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDestinationIP'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeInstanceRiskLevels'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicyBatch'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'SwitchSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePostpayTrafficDetail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallIPSWhitelist'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddAddressBook'], + ['threshold' => '15', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallV2RoutePolicyList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyObjectGroupOperation'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeCfwRiskLevelSummary'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeSignatureLibVersion'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddControlPolicy'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallConfigure'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcZone'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2Detail'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ReleasePostInstance'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallIPSWhitelist'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyInstanceMemberAttributes'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteVpcFirewallConfigure'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyAddressBook'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyNatFirewallControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeDomainResolve'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallCenSwitchStatus'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePolicyAdvancedConfig'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteSecurityProxy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteNatFirewallControlPolicy'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PutEnableFwSwitch'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyPolicyAdvancedConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeTrFirewallsV2RouteList'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyVpcFirewallControlPolicyPosition'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribePrefixLists'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeUserBuyVersion'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallDefaultIPSConfig'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AddInstanceMembers'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeOutgoingDomain'], + ['threshold' => '9', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyControlPolicy'], + ['threshold' => '3', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyTrFirewallV2Configuration'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDownloadTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeAssetRiskList'], + ['threshold' => '2', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateVpcFirewallControlPolicy'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeNatAclPageStatus'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DescribeVpcFirewallControlPolicy'], + ], + ], + 'ram' => [ + 'productCode' => 'CloudFirewall', + 'productName' => '云防火墙', + 'ramCodes' => ['yundun-cloudfirewall'], + 'ramLevel' => '资源级', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'SwitchSecurityProxy', + 'description' => '开/关NAT防火墙', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SwitchSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], ], ], - [ - 'name' => 'TaskType', - 'in' => 'query', - 'schema' => [ - 'description' => '任务类型,枚举值。可填枚举值见接口:查询文件下载任务类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'InternetFirewallAsset', + ], + [ + 'apiName' => 'ModifyVpcFirewallCenConfigure', + 'description' => '修改VPC边界防火墙的配置信息(云企业网)', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], - [ - 'name' => 'TaskData', - 'in' => 'query', - 'schema' => [ - 'description' => '下载任务的请求查询条件。', - 'type' => 'string', - 'required' => false, - 'example' => '{\\"SearchItem\\":\\"\\",\\"UserType\\":\\"buy\\",\\"IpVersion\\":\\"4\\"}', + ], + [ + 'apiName' => 'ModifyAddressBook', + 'description' => '修改地址簿', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], ], ], - [ - 'name' => 'TimeZone', - 'in' => 'query', - 'schema' => [ - 'description' => '下载文件中时间信息的时区,使用IANA时区标识符。默认为北京时间,即Asia/Shanghai。', - 'type' => 'string', - 'required' => false, - 'example' => 'Asia/Shanghai', + ], + [ + 'apiName' => 'DeleteVpcFirewallConfigure', + 'description' => '删除VPC边界防火墙', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TaskId' => [ - 'description' => '任务Id,任务的唯一标识。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'E7F333E0-7B70-54DA-A307-4B2B49DEE923', - ], - 'TaskName' => [ - 'title' => '', - 'description' => '文件下载任务的名称。', - 'type' => 'string', - 'example' => '互联网边界防火墙资产-IPv4', - ], - 'Status' => [ - 'description' => '任务状态。取值:'."\n" - ."\n" - .'finish:任务完成。即任务已经完成,可以通过查询任务,获取任务文件下载链接。'."\n" - ."\n" - .'start:任务开始。'."\n" - ."\n" - .'error:任务失败。'."\n" - ."\n" - .'expire:任务过期。即任务文件已经失效,无法下载。', - 'type' => 'string', - 'example' => 'start', - ], - ], + [ + 'apiName' => 'ModifyDefaultIPSConfig', + 'description' => '修改默认IPS配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBInsertError', - 'errorMessage' => 'A database insert error occurred.', + [ + 'apiName' => 'DescribeUserIPSWhitelist', + 'description' => '获取用户IPS白名单', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'CreatePrivateDnsEndpoint', + 'description' => '创建私网DNS终端节点', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreatePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ModifyIpsRulesToDefault', + 'description' => '修改IPS规则为默认', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRulesToDefault', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TaskId\\": 132,\\n \\"RequestId\\": \\"E7F333E0-7B70-54DA-A307-4B2B49DEE923\\",\\n \\"TaskName\\": \\"互联网边界防火墙资产-IPv4\\",\\n \\"Status\\": \\"start\\"\\n}","type":"json"}]', - 'title' => '创建文件下载任务', - ], - 'DeleteDownloadTask' => [ - 'summary' => '删除文件下载任务。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeCreatedNatFirewall', + 'description' => '获取已经创建的NAT防火墙', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCreatedNatFirewall', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateIpsPrivateAssoc', + 'description' => '创建IPS私网溯源', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeInvadeEventStatistic', + 'description' => '获取漏洞事件统计', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ReleasePostInstance', + 'description' => '释放按量付费防火墙', 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174566', - 'abilityTreeNodes' => [ - 'FEATUREcfwHCOW32', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleasePostInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'ModifySlsDispatchStatus', + 'description' => '修改SLS投递状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'query', - 'schema' => [ - 'description' => '文件下载任务的任务 ID。', - 'type' => 'string', - 'required' => false, - 'example' => '4376', + ], + [ + 'apiName' => 'DescribePolicyAdvancedConfig', + 'description' => '查询访问控制策略严格模式的开启状态', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '064022A8-F415-572C-B3C1-657152833F11', - ], - ], + [ + 'apiName' => 'ModifyVpcFirewallControlPolicyPosition', + 'description' => '修改VPC防火墙策略组访问控制策略优先级', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', - ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', - ], - [ - 'errorCode' => 'ErrorDBDeleteError', - 'errorMessage' => 'A database delete error occurred.', + [ + 'apiName' => 'ModifyPolicyAdvancedConfig', + 'description' => '开启或关闭访问控制策略严格模式', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPolicyAdvancedConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"064022A8-F415-572C-B3C1-657152833F11\\"\\n}","type":"json"}]', - 'title' => '删除文件下载任务', - 'description' => '调用该接口会立即删除文件下载任务,并删除下载文件。'."\n" - .'>删除操作会删除对应任务及文件。**对应文件无法再使用已有下载链接下载。此操作不可逆,请谨慎操作。**>', - 'responseParamsDescription' => '成功返回即表明任务已经删除完成。', - ], - 'DescribeAclBackupList' => [ - 'summary' => '查询访问控制备份列表。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeRegionResourceTypeAutoEnable', + 'description' => '查询地域资产类型默认引流', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeOutgoingDestination', + 'description' => '查询外联目的', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68169', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestination', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '110.191.179.XXX', + [ + 'apiName' => 'DescribeAssetList', + 'description' => '查询云防火墙防护的资产的信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeInstanceRiskLevels', + 'description' => '查询实例风险等级', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRiskLevels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'DescribeConfiguredDestinationIP', + 'description' => '查询主动外联IP列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '每页数目。', - 'type' => 'string', - 'required' => true, - 'example' => '10', + ], + [ + 'apiName' => 'DescribeAccessInstanceRegionList', + 'description' => '查询同步节点地域列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '32', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => '6C9105F2-9F31-5A62-8D52-FA65A3E5****', - ], - 'Backups' => [ - 'description' => '备份记录集合。', - 'type' => 'array', - 'items' => [ - 'description' => '备份记录集合。', - 'type' => 'object', - 'properties' => [ - 'BackUpTime' => [ - 'description' => '备份时间。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1743683400', - ], - 'AclCount' => [ - 'description' => 'ACL数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Description' => [ - 'description' => '备份任务描述。', - 'type' => 'string', - 'example' => 'description', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeControlPolicy', + 'description' => '获取所有访问控制策略的信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParametersPageSizeOrNo', - 'errorMessage' => 'Either pageSize or pageNo is invalid.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + [ + 'apiName' => 'ModifyVpcFirewallConfigure', + 'description' => '修改VPC边界防火墙的配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 32,\\n \\"RequestId\\": \\"6C9105F2-9F31-5A62-8D52-FA65A3E5****\\",\\n \\"Backups\\": [\\n {\\n \\"BackUpTime\\": 1743683400,\\n \\"AclCount\\": 10,\\n \\"Description\\": \\"description\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询访问控制备份列表', - ], - 'AddAclBackupData' => [ - 'summary' => '创建访问控制备份。', - 'methods' => [ - 'post', - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'EnableSdlProtectedAsset', + 'description' => '开启资产数据泄露保护', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:EnableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyPrivateDnsEndpoint', + 'description' => '修改私网DNS终端节点', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyPrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeVpcFirewallPolicyPriorUsed', + 'description' => '查询VPC防火墙策略组访问控制策略优先级生效范围', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68092', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPolicyPriorUsed', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '115.194.124.XXX', + [ + 'apiName' => 'DeleteControlPolicy', + 'description' => '删除访问控制策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'UpdateSecurityProxy', + 'description' => '更新NAT边界防火墙', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Description', - 'in' => 'query', - 'schema' => [ - 'description' => '备份数据的描述信息。', - 'type' => 'string', - 'required' => false, - 'example' => 'bj-001', + ], + [ + 'apiName' => 'CreateTrFirewallV2', + 'description' => '创建TR防火墙', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '备份时间。', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'DescribeAckClusterNamespaces', + 'description' => '批量查询ACK集群命名空间', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterNamespaces', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '结果的请求ID。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => '244EA37C-D2AB-54A7-B6E3-7ED0E9A1****', - ], - ], + [ + 'apiName' => 'CreateInstanceSyncTask', + 'description' => '创建互联网资产同步任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateInstanceSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'ModifyControlPolicyPriority', + 'description' => '修改访问控制策略的优先级。', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPriority', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', + ], + ], + [ + 'apiName' => 'CreateVpcFirewallTask', + 'description' => '创建VPC防火墙资产同步任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribeTrFirewallsV2List', + 'description' => '获取云企业网(企业版)防火墙列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2List', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], ], - [ - 'errorCode' => 'ErrorBackupCountExceed', - 'errorMessage' => 'The maximum number of backups is exceeded.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallControlPolicy', + 'description' => '查询指定的VPC边界防火墙的所有访问控制策略信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'DescribeRiskEventTopAttackType', + 'description' => '查询入侵防御攻击事件排行', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + [ + 'apiName' => 'DescribeFirewallVSwitch', + 'description' => '获取防火墙创建的交换机', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeAclChecks', + 'description' => '批量查询ACL检查列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclChecks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"244EA37C-D2AB-54A7-B6E3-7ED0E9A1****\\"\\n}","type":"json"}]', - 'title' => '创建访问控制备份', - ], - 'UseAclBackupData' => [ - 'summary' => '恢复访问控制备份。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ModifyUserIPSWhitelist', + 'description' => '修改用户IPS白名单', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteFirewallV2RoutePolicies', + 'description' => '删除TR防火墙路由策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteFirewallV2RoutePolicies', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyObjectGroupOperation', + 'description' => '修改对象组操作', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyObjectGroupOperation', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ModifyThreatIntelligenceSwitch', + 'description' => '修改威胁情报配置的信息', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68538', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问源的IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '123.113.99.XXX', + [ + 'apiName' => 'DescribeInternetOpenIp', + 'description' => '获取防护资产暴露到互联网的IP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenIp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'ReleaseExpiredInstance', + 'description' => '释放已到期防火墙实例', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ReleaseExpiredInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '备份时间。', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'DescribeNetworkInstanceRelationList', + 'description' => '获取网络实例关系列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - ], + [ + 'apiName' => 'DescribeCtrlInstanceMemberAccounts', + 'description' => '获取成员账号列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCtrlInstanceMemberAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', - ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'Parameters error.', + [ + 'apiName' => 'DescribeVpcFirewallDomainRelationList', + 'description' => '查询经过VPC防火墙访问指定域名的关系列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainRelationList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'CreateVpcFirewallCenConfigure', + 'description' => '创建VPC边界防火墙', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', + ], + ], + [ + 'apiName' => 'DescribeTransitRouterResourcesList', + 'description' => '查询TR交换机资源列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTransitRouterResourcesList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBUpdate', - 'errorMessage' => 'internal error: sql updat.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallAssetList', + 'description' => '查询VPC防火墙资产列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'ModifyVpcFirewallIPSWhitelist', + 'description' => '修改VPC防火墙IPS白名单', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'An error occurred while encoding JSON.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallDefaultIPSConfig', + 'description' => '获取指定VPC边界防火墙的入侵防御配置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyFirewallV2RoutePolicySwitch', + 'description' => '修改路由策略开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyFirewallV2RoutePolicySwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'PutEnableFwSwitch', + 'description' => '开启防火墙开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - 'title' => '恢复访问控制备份', - ], - 'DeleteAclBackupData' => [ - 'summary' => '删除ACL备份', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribePrepayBillTotal', + 'description' => '查询包年包月账单总览', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrepayBillTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeCfwRiskLevelSummary', + 'description' => '查询防火墙风险等级', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeCfwRiskLevelSummary', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'PutDisableFwSwitch', + 'description' => '关闭防火墙开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'delete', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68138', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', - 'FEATUREcfw7YI1ZZ', - 'FEATUREcfw8B8ITI', - 'FEATUREcfwO822TD', - 'FEATUREcfwFIV6PB', - 'FEATUREcfwTW8EA1', - 'FEATUREcfwC140SS', + [ + 'apiName' => 'ModifyVpcFirewallAclEngineMode', + 'description' => '修改VPC防火墙ACL引擎模式', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallAclEngineMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'CreateNatFirewallControlPolicy', + 'description' => '添加NAT防火墙访问控制策略', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeInvadeEcsTrend', + 'description' => '查询ECS漏洞趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEcsTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'BackUpTime', - 'in' => 'query', - 'schema' => [ - 'description' => '备份时间。', - 'type' => 'string', - 'required' => true, - 'example' => '1743683400'."\n", + ], + [ + 'apiName' => 'DescribeRiskEventTopAttackAsset', + 'description' => '获取top风险事件资产', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '返回结果的请求id。', - 'type' => 'string', - 'example' => '75E60025-43C5-5635-B7B7-272C5246****', - ], - ], + [ + 'apiName' => 'DescribeInternetTrafficTop', + 'description' => '查询互联网流量TOP趋势图', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeNetworkInstanceList', + 'description' => '获取网络实例列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkInstanceList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeDefaultIPSConfig', + 'description' => '互联网IPS防护功能', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDefaultIPSConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"75E60025-43C5-5635-B7B7-272C5246****\\"\\n}","type":"json"}]', - 'title' => '删除ACL备份', - 'description' => '本接口一般用于删除访问控制中的地址簿。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeSecurityMode' => [ - 'summary' => '获取安全模式', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeOpenIpAccessSrcStat', + 'description' => '获取开放IP的访问源统计', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOpenIpAccessSrcStat', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeSdlLastPayload', + 'description' => '查询敏感数据负载信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlLastPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeInvadeEventList', + 'description' => '查询云防火墙失陷感知事件的信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeInvadeEventNameList', + 'description' => '获取漏洞名称列表', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68358', - 'abilityTreeNodes' => [ - 'FEATUREcfw516PD4', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '218.108.54.XX', + [ + 'apiName' => 'ModifyNatFirewallControlPolicy', + 'description' => '修改NAT防火墙访问控制策略的配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'ModifyVpcFirewallSwitchStatus', + 'description' => '修改VPC边界防火墙的开关状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '应用模块', - 'type' => 'string', - 'deprecated' => true, - 'example' => 'sg_server', - ], - 'SecurityMode' => [ - 'description' => '安全模式。取值:'."\n" - ."\n" - .'**0**:关闭。'."\n" - ."\n" - .'**1**:开启。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'C6D68A02-54D5-5F5C-A8AA-6D6C2874****', - ], - ], + [ + 'apiName' => 'PutDisableAllFwSwitch', + 'description' => '关闭所有防火墙开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutDisableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', + [ + 'apiName' => 'DescribePrivateDnsEndpointDetail', + 'description' => '查询私网DNS终端节点详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', + ], + ], + [ + 'apiName' => 'DeleteDownloadTask', + 'description' => '删除文件下载任务', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'ModifyTrFirewallV2RoutePolicyScope', + 'description' => '修改TR防火墙路由策略范围', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2RoutePolicyScope', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"SecurityMode\\": 1,\\n \\"RequestId\\": \\"C6D68A02-54D5-5F5C-A8AA-6D6C2874****\\"\\n}","type":"json"}]', - 'title' => '获取安全模式', - 'description' => '本接口一般用于分页查询云防火墙防护的资产的信息。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribePageDocuments' => [ - 'summary' => '查看页面常见问题。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'ClearLogStoreStorage', + 'description' => '清空防火墙日志', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ClearLogStoreStorage', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeAssetStatistic', + 'description' => '获取资产统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteSecurityProxy', + 'description' => '删除NAT防火墙', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteSecurityProxy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeUnprotectedVulnTrend', + 'description' => '查询未保护漏洞趋势', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68334', - 'abilityTreeNodes' => [ - 'FEATUREcfwVPGXSE', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedVulnTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP', - 'type' => 'string', - 'required' => false, - 'example' => '223.167.221.XXX', + [ + 'apiName' => 'DescribeDownloadTask', + 'description' => '查询文件下载任务', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeResourceTypeAutoEnable', + 'description' => '查询资产类型默认引流', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [ - 'en' => '英文', - 'zh' => '中文', - ], - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeInternetOpenDetail', + 'description' => '获取互联网开放详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'SourceCode', - 'in' => 'query', - 'schema' => [ - 'description' => '溯源码。', - 'type' => 'string', - 'required' => true, - 'example' => 'yundun', + ], + [ + 'apiName' => 'DescribeSdlEventSdList', + 'description' => '查询数据泄露的敏感数据列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventSdList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageName', - 'in' => 'query', - 'schema' => [ - 'description' => '页面名称。', - 'type' => 'string', - 'required' => true, - 'enumValueTitles' => [ - 'overview' => '概况页面', - 'access' => '控制访问页面', - 'switch' => '防火墙页面', - ], - 'example' => 'overview', + ], + [ + 'apiName' => 'ModifyNatFirewallControlPolicyPosition', + 'description' => '修改NAT防火墙访问控制策略的优先级', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyNatFirewallControlPolicyPosition', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'TabName', - 'in' => 'query', - 'schema' => [ - 'description' => '安全访问控制策略的防护对象名称。', - 'type' => 'string', - 'required' => true, - 'example' => 'internet', + ], + [ + 'apiName' => 'DescribeVpcFirewallTrafficAssetList', + 'description' => '查询经过VPC防火墙访问域名的资产列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallTrafficAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '应用模块。', - 'type' => 'string', - 'example' => 'sg_server', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '7C81E1AD-08C0-5E09-853B-FDC77B90****', - ], - 'ImageUrl' => [ - 'description' => '图片地址。', - 'type' => 'string', - 'example' => 'https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png', - ], - 'More' => [ - 'description' => '更多列表。', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '文档路径。', - 'type' => 'string', - 'example' => 'https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png', - ], - 'Title' => [ - 'description' => '标题。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - 'Docs' => [ - 'description' => '文档列表。', - 'type' => 'array', - 'items' => [ - 'description' => '文档列表。', - 'type' => 'object', - 'properties' => [ - 'Url' => [ - 'description' => '文档路径。', - 'type' => 'string', - 'example' => 'https://notify-center-test.ybaobx.com/webhook/arms', - ], - 'Title' => [ - 'description' => '标题。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeInternetServiceNameList', + 'description' => '获取互联网服务名称列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetServiceNameList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorSourceCodeError', - 'errorMessage' => 'The source code is invalid.', + [ + 'apiName' => 'DescribeFirewallVswitchResources', + 'description' => '查询防火墙交换机资源', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallVswitchResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DescribeTrFirewallsV2Detail', + 'description' => '获取TR防火墙详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2Detail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribeAITrafficAnalysisStatus', + 'description' => '查询AI流量分析开启状态', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribePostpayUserInternetStatus', + 'description' => '查询按量付费用户互联网边界开关模块状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DeletePrivateDnsAllDomainName', + 'description' => '清空私网DNS域名', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsAllDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"sg_server\\",\\n \\"RequestId\\": \\"7C81E1AD-08C0-5E09-853B-FDC77B90****\\",\\n \\"ImageUrl\\": \\"https://img.alicdn.com/tfs/TB1E4FCAuT2gK0jSZFvXXXnFXXa-3399-662.png\\",\\n \\"More\\": {\\n \\"Url\\": \\"https://zjysfy.womanhospital.cn/pub/hos/0/noneBackGround.png\\",\\n \\"Title\\": \\"test\\"\\n },\\n \\"Docs\\": [\\n {\\n \\"Url\\": \\"https://notify-center-test.ybaobx.com/webhook/arms\\",\\n \\"Title\\": \\"test\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查看页面常见问题(废弃)', - 'description' => '## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeDomainResolve' => [ - 'summary' => '获取域名DNS的解析结果。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeVpcFirewallCenDetail', + 'description' => '查询VPC边界防火墙的详细信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'GetTlsInspectCertificateDownloadUrl', + 'description' => '获取TLS检查策略证书下载路径', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:GetTlsInspectCertificateDownloadUrl', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ModifyVpcFirewallDefaultIPSConfig', + 'description' => '修改VPC边界防火墙的入侵防御配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallDefaultIPSConfig', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeDnsFirewallPolicy', + 'description' => '获取DNS防火墙ACL列表', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68245', - 'abilityTreeNodes' => [ - 'FEATUREcfwTW8EA1', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'AddControlPolicy', + 'description' => '添加访问控制策略', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值包括:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'ModifyInstanceMemberAttributes', + 'description' => '更新云防火墙成员账号信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyInstanceMemberAttributes', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值包括:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeSensitiveSwitch', + 'description' => '查询敏感数据开关', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'description' => '待解析的域名地址。', - 'type' => 'string', - 'required' => true, - 'example' => 'www.aliyundoc.com', + ], + [ + 'apiName' => 'DescribeSecurityProxyResources', + 'description' => '查询NAT防火墙资源', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxyResources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'IpVersion', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙防护的资产的IP版本。取值:'."\n" - ."\n" - .'- **4**(默认):IPV4'."\n" - .'- **6**:IPV6', - 'type' => 'string', - 'required' => false, - 'example' => '6', + ], + [ + 'apiName' => 'DescribeAckClusterConnectors', + 'description' => '批量查询ACK集群连接器列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnectors', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D', - ], - 'ResolveResult' => [ - 'description' => '域名解析结果。', - 'type' => 'object', - 'properties' => [ - 'IpAddrs' => [ - 'description' => '域名解析结果,多个IP地址用半角逗号(,)分隔。', - 'type' => 'string', - 'example' => '11.1.X.X,12.1.X.X', - ], - 'UpdateTime' => [ - 'description' => '解析时间戳。单位:秒。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1579091739', - ], - ], - ], - ], + [ + 'apiName' => 'DescribeTrFirewallV2RoutePolicyList', + 'description' => '获取TR防火墙路由策略列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallV2RoutePolicyList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid is invalid.', + [ + 'apiName' => 'DescribePrivateDnsEndpointList', + 'description' => '查询私网DNS终端节点列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsEndpointList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], ], - 400 => [ - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', - ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', - ], - [ - 'errorCode' => 'ErrorDomainResolve', - 'errorMessage' => 'A domain resolution error occurred.', + ], + [ + 'apiName' => 'DescribeMemberInfo', + 'description' => '查询成员信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeMemberInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\",\\n \\"ResolveResult\\": {\\n \\"IpAddrs\\": \\"11.1.X.X,12.1.X.X\\",\\n \\"UpdateTime\\": 1579091739\\n }\\n}","errorExample":""},{"type":"xml","example":"\\n CBF1E9B7-D6A0-4E9E-AD3E-2B47E6C2837D\\n \\n 11.1.X.X,12.1.X.X\\n 1579091739\\n \\n","errorExample":""}]', - 'title' => '获取域名DNS的解析结果', - 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - 'requestParamsDescription' => ' ', - 'responseParamsDescription' => ' ', - 'extraInfo' => ' ', - ], - 'DescribeFirewallDropStatistics' => [ - 'summary' => '获取防火墙DROP数据统计。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeVpcFirewallIPSWhitelist', + 'description' => '获取VPC防火墙IPS白名单', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallIPSWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteAckClusterConnector', + 'description' => '删除ACK集群连接器', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'UpdatePostpayUserInternetStatus', + 'description' => '更新按量付费用户互联网边界开关模块状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserInternetStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeInternetDropTrafficTrend', + 'description' => '互联网防御趋势', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68258', - 'abilityTreeNodes' => [ - 'FEATUREcfw9GLVIS', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'IpsDropCnt' => [ - 'description' => 'IPS 防护数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - 'TotalDropCnt' => [ - 'description' => '总防护数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => 'BEA1D173-D5DB-582E-9637-438D5CE3****', - ], - 'VulnDropCnt' => [ - 'description' => '漏洞防护数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AclDropCnt' => [ - 'description' => 'ACL策略拦截数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '20', - ], - ], + [ + 'apiName' => 'DeleteAddressBook', + 'description' => '删除地址簿', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + [ + 'apiName' => 'DescribeFirewallTrafficTrend', + 'description' => '查询防火墙流量趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"IpsDropCnt\\": 20,\\n \\"TotalDropCnt\\": 50,\\n \\"RequestId\\": \\"BEA1D173-D5DB-582E-9637-438D5CE3****\\",\\n \\"VulnDropCnt\\": 10,\\n \\"AclDropCnt\\": 20\\n}","type":"json"}]', - 'title' => '获取防火墙DROP数据统计(废弃)', - 'description' => '### QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'DescribeUserAssetIPTrafficInfo' => [ - 'summary' => '查询用户指定资产的流量信息。', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeInvadeEventDetail', + 'description' => '获取失陷感知事件详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInvadeEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribePrefixLists', + 'description' => '查询前缀列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrefixLists', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeControlPolicyDomainResolve', + 'description' => '查询访问控制策略的域名解析结果', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '143435', - 'abilityTreeNodes' => [ - 'FEATUREcfwB677AM', - 'FEATUREcfwVWCDEU', - 'FEATUREcfwG6EEQD', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeControlPolicyDomainResolve', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', - 'default' => 'zh', - 'enum' => [ - 'zh', - 'en', - ], + [ + 'apiName' => 'AddInstanceMembers', + 'description' => '添加云防火墙成员账号', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], ], ], - [ - 'name' => 'AssetIP', - 'in' => 'query', - 'schema' => [ - 'title' => '资产IP', - 'description' => '目标资产的IP。', - 'type' => 'string', - 'required' => true, - 'example' => '192.0.XX.XX', + ], + [ + 'apiName' => 'DescribeSdlEventList', + 'description' => '查询数据泄露事件列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TrafficTime', - 'in' => 'query', - 'schema' => [ - 'title' => '时间', - 'description' => '设置查询时间。使用秒级时间戳格式表示。', - 'type' => 'string', - 'required' => true, - 'example' => '1656923760', + ], + [ + 'apiName' => 'DescribeRiskEventStatistic', + 'description' => '查询入侵防御件数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次调用请求的ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'StartTime' => [ - 'title' => '开始时间', - 'description' => '查询开始时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1656837360', - ], - 'EndTime' => [ - 'title' => '结束时间', - 'description' => '查询结束时间。使用秒级时间戳格式表示。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1656923760', - ], - 'InBps' => [ - 'description' => '入方向的网络吞吐率(每秒发送多少字节)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4520', - ], - 'OutBps' => [ - 'description' => '出方向的网络吞吐率(每秒发送多少字节)。单位:bps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4180', - ], - 'InPps' => [ - 'description' => '入方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '233', - ], - 'OutPps' => [ - 'description' => '出方向的网络吞吐率(每秒发送多少个分组数据包)。单位:pps。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '224', - ], - 'SessionCount' => [ - 'description' => '请求次数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'NewConn' => [ - 'description' => '新建连接数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '43', - ], - ], + [ + 'apiName' => 'DescribeVpcFirewallDomainList', + 'description' => '查询经过VPC防火墙访问的域名信息列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDomainList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"StartTime\\": 1656837360,\\n \\"EndTime\\": 1656923760,\\n \\"InBps\\": 4520,\\n \\"OutBps\\": 4180,\\n \\"InPps\\": 233,\\n \\"OutPps\\": 224,\\n \\"SessionCount\\": 50,\\n \\"NewConn\\": 43\\n}","errorExample":""},{"type":"xml","example":"\\n F0F82705-CFC7-5F83-86C8-A063892F****\\n 1656837360\\n 1656923760\\n 4520\\n 4180\\n 233\\n 224\\n 50\\n 43\\n","errorExample":""}]', - 'title' => '查询用户指定资产的流量信息(废弃)', - ], - 'DescribeCfwRiskLevelSummary' => [ - 'summary' => '查询防火墙风险等级。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'BatchDeleteVpcFirewallControlPolicy', + 'description' => '批量删除VPC防火墙访问控制策略', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchDeleteVpcFirewallControlPolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNatFirewallControlPolicy', + 'description' => '获取所有NAT防火墙访问控制策略的信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteNatFirewallControlPolicyBatch', + 'description' => '批量删除NAT防火墙策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicyBatch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'AddAclBackupData', + 'description' => '创建访问控制备份', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '174512', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', - 'FEATUREcfwMD8M6R', - 'FEATUREcfwOG6NL8', - 'FEATUREcfwBM3Y9U', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。'."\n" - ."\n" - .'取值包括:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeOutgoingRiskTrend', + 'description' => '查询外联风险趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙所在的地域ID。'."\n" - .'> 关于云防火墙支持地域的详细信息,请参见[支持的地域](~~195657~~)。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + ], + [ + 'apiName' => 'DescribeTrFirewallPolicyBackUpAssociationList', + 'description' => '获取TR防火墙恢复路由表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallPolicyBackUpAssociationList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], ], ], - [ - 'name' => 'InstanceType', - 'in' => 'query', - 'schema' => [ - 'description' => '实例类型。可选值:'."\n" - .'- **ecs**', - 'type' => 'string', - 'required' => false, - 'enumValueTitles' => [], - 'example' => 'EcsEIP', + ], + [ + 'apiName' => 'DescribeLogStoreInfo', + 'description' => '获取日志服务信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLogStoreInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F1F30435-FA0A-52DA-A5DE-C16FD6C171DA', - ], - 'RiskList' => [ - 'description' => '风险列表。', - 'type' => 'array', - 'items' => [ - 'description' => '风险列表。', - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'description' => '类型。', - 'type' => 'string', - 'example' => 'ResourceNotProtected', - ], - 'Num' => [ - 'description' => '风险ECS数量。', - 'type' => 'string', - 'example' => '50', - ], - 'Level' => [ - 'description' => '风险等级。取值包括:'."\n" - .'- **medium**:中等', - 'type' => 'string', - 'example' => 'medium', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeTrFirewallsV2RouteList', + 'description' => '获取TR防火墙路由表列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrFirewallsV2RouteList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'CreateVpcFirewallCenManualConfigure', + 'description' => '创建VPC防火墙手动配置(废弃)', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallCenManualConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"F1F30435-FA0A-52DA-A5DE-C16FD6C171DA\\",\\n \\"RiskList\\": [\\n {\\n \\"Type\\": \\"ResourceNotProtected\\",\\n \\"Num\\": \\"50\\",\\n \\"Level\\": \\"medium\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询防火墙风险等级(废弃)', - ], - 'DescribeRiskSecurityGroupDetail' => [ - 'summary' => '获取风险安全组详情。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'UpdatePostpayUserVpcStatus', + 'description' => '更新按量付费用户VPC边界开关模块状态', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribePostpayUserNatStatus', + 'description' => '查询按量付费用户NAT边界开关模块状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeletePrivateDnsEndpoint', + 'description' => '删除私网DNS终端节点', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsEndpoint', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeVpcFirewallAclGroupList', + 'description' => '获取VPC防火墙所有访问控制策略组信息', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68354', - 'abilityTreeNodes' => [ - 'FEATUREcfw9GLVIS', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'required' => false, - 'example' => '220.189.117.XXX', + [ + 'apiName' => 'UpdateAclCheckDetailStatus', + 'description' => '修改ACL检查详情状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAclCheckDetailStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeAccessInstanceZoneList', + 'description' => '查询同步节点可用区列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceZoneList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeVpcFirewallCenList', + 'description' => '查询云企业网(基础版)防火墙列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], ], - [ - 'name' => 'RuleUuid', - 'in' => 'query', - 'schema' => [ - 'description' => '规则uuid。', - 'type' => 'string', - 'required' => false, - 'example' => '3b1adf8d-1949-4c8e-809b-fb92ee11****', + ], + [ + 'apiName' => 'DescribeAssetRiskList', + 'description' => '获取资产风险等级列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAssetRiskList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceId', - 'in' => 'query', - 'schema' => [ - 'description' => '安全组实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'sg-2vc0p803vgxumn6r****', + ], + [ + 'apiName' => 'ModifyIpsRules', + 'description' => '修改IPS规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyIpsRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'InstanceName', - 'in' => 'query', - 'schema' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'required' => false, - 'example' => 'test-instance-name', + ], + [ + 'apiName' => 'DescribePostpayBill', + 'description' => '查询按量付费2.0账单', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayBill', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '页码。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'DescribeNatFirewallPolicyPriorUsed', + 'description' => '查询NAT防火墙访问控制策略优先级使用范围', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '页数。', - 'type' => 'string', - 'required' => true, - 'example' => '10', + ], + [ + 'apiName' => 'ModifyUserAlarmConfig', + 'description' => '修改用户告警配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'RegionId', - 'in' => 'query', - 'schema' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-shanghai', + ], + [ + 'apiName' => 'DeleteControlPolicyTemplate', + 'description' => '删除ACL模板', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteControlPolicyTemplate', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'PageNo' => [ - 'description' => '页码。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'PageSize' => [ - 'description' => '页数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'RequestId' => [ - 'description' => '请求ID。', - 'type' => 'string', - 'example' => '33C94306-2064-5A06-9645-01419967****', - ], - 'TotalCount' => [ - 'description' => '总条数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RiskSgDetail' => [ - 'description' => '风险安全组详情。', - 'type' => 'array', - 'items' => [ - 'description' => '风险安全组详情。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-8vbuzirdl3w1r7exw****', - ], - 'RiskLevel' => [ - 'description' => '规则风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'RegionNo' => [ - 'description' => '地域ID。', - 'type' => 'string', - 'example' => 'cn-shanghai'."\n", - ], - 'InstanceName' => [ - 'description' => '实例名称。', - 'type' => 'string', - 'example' => 'test-instance-name', - ], - 'EcsCount' => [ - 'description' => '关联ECS数量。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'InstanceId' => [ - 'description' => '安全组实例ID。', - 'type' => 'string', - 'example' => 'sg-2vc0p803vgxumn6r****', - ], - 'EcsInfo' => [ - 'description' => 'ECS信息。', - 'type' => 'array', - 'items' => [ - 'description' => 'ECS信息。', - 'type' => 'object', - 'properties' => [ - 'PublicIp' => [ - 'description' => 'ECS公网IP。', - 'type' => 'string', - 'example' => '47.107.141.XXX', - ], - 'EcsInstanceName' => [ - 'description' => 'ECS实例名称。', - 'type' => 'string', - 'example' => 'tyf_test', - ], - 'PrivateIp' => [ - 'description' => 'ECS私网IP。', - 'type' => 'string', - 'example' => '172.24.121.XXX', - ], - 'EcsInstanceId' => [ - 'description' => 'ECS实例ID。', - 'type' => 'string', - 'example' => 'i-bp1gra23yai47d8e****', - ], - ], - ], - ], - 'RuleInfo' => [ - 'description' => '风险安全组规则信息。', - 'type' => 'array', - 'items' => [ - 'description' => '风险安全组规则信息。', - 'type' => 'object', - 'properties' => [ - 'RiskLevel' => [ - 'description' => '规则风险等级。', - 'type' => 'string', - 'example' => 'high', - ], - 'RuleStatus' => [ - 'description' => '规则状态。', - 'type' => 'string', - 'example' => 'enable', - ], - 'Suggestion' => [ - 'description' => '优化建议。', - 'type' => 'string', - 'example' => 'test', - ], - 'Description' => [ - 'description' => '规则描述。', - 'type' => 'string', - 'example' => 'test', - ], - 'RuleUuid' => [ - 'description' => '规则uuid。', - 'type' => 'string', - 'example' => '4c1e72c9-6690-408b-9048-065f0f10****', - ], - 'RuleName' => [ - 'description' => '规则名称。', - 'type' => 'string', - 'example' => 'test', - ], - ], - ], - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribePostpayTrafficTotal', + 'description' => '查询后付费计费流量总计', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficTotal', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'AddAddressBook', + 'description' => '创建地址簿', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"PageNo\\": 1,\\n \\"PageSize\\": 10,\\n \\"RequestId\\": \\"33C94306-2064-5A06-9645-01419967****\\",\\n \\"TotalCount\\": 5,\\n \\"RiskSgDetail\\": [\\n {\\n \\"VpcId\\": \\"vpc-8vbuzirdl3w1r7exw****\\",\\n \\"RiskLevel\\": \\"high\\",\\n \\"RegionNo\\": \\"cn-shanghai\\\\n\\",\\n \\"InstanceName\\": \\"test-instance-name\\",\\n \\"EcsCount\\": 10,\\n \\"InstanceId\\": \\"sg-2vc0p803vgxumn6r****\\",\\n \\"EcsInfo\\": [\\n {\\n \\"PublicIp\\": \\"47.107.141.XXX\\",\\n \\"EcsInstanceName\\": \\"tyf_test\\",\\n \\"PrivateIp\\": \\"172.24.121.XXX\\",\\n \\"EcsInstanceId\\": \\"i-bp1gra23yai47d8e****\\"\\n }\\n ],\\n \\"RuleInfo\\": [\\n {\\n \\"RiskLevel\\": \\"high\\",\\n \\"RuleStatus\\": \\"enable\\",\\n \\"Suggestion\\": \\"test\\",\\n \\"Description\\": \\"test\\",\\n \\"RuleUuid\\": \\"4c1e72c9-6690-408b-9048-065f0f10****\\",\\n \\"RuleName\\": \\"test\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取风险安全组详情(废弃)', - ], - 'DescribeSecurityProxy' => [ - 'summary' => '获取NAT防火墙。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeAckClusters', + 'description' => '批量查询ACK集群', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusters', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'UpdateAckClusterConnector', + 'description' => '修改ACK集群连接器', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeInternetSlb', + 'description' => '获取互联网SLB', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetSlb', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'DescribeNatAclPageStatus', + 'description' => '查询NAT防火墙分页状态', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68360', - 'abilityTreeNodes' => [ - 'FEATUREcfwOG6NL8', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatAclPageStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'ModifyControlPolicy', + 'description' => '修改安全访问控制策略的配置信息', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeOutgoingRiskDomainAndIpCount', + 'description' => '获取入侵防御风险数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingRiskDomainAndIpCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'proxy-nat80d763eb0dee4eacaec9', + ], + [ + 'apiName' => 'DescribeOutgoingDomain', + 'description' => '查询主动外联的域名信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomain', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'ProxyName', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT防火墙名称。支持大小写英文字母、中文、数字、下划线(_)、长度为[4,50]个字符,且不能以下划线开头。', - 'type' => 'string', - 'required' => false, - 'example' => 'nat-idmp-fir', + ], + [ + 'apiName' => 'ModifyDnsFirewallPolicy', + 'description' => '修改DNS防火墙规则', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'RegionNo', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC所在的地域ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-hangzhou', + ], + [ + 'apiName' => 'CreateTrFirewallV2RoutePolicy', + 'description' => '创建TR防火墙路由规则', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateTrFirewallV2RoutePolicy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + ], + [ + 'apiName' => 'DescribeNatFirewallPrecheckDetail', + 'description' => '查询NAT防火墙预检查结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NatGatewayId', - 'in' => 'query', - 'schema' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'required' => false, - 'example' => 'ngw-zm0h3c1exm5bifuorg8c5', + ], + [ + 'apiName' => 'DescribeVpcFirewallAssetRegionList', + 'description' => '查询VPC防火墙资产已开墙地域', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAssetRegionList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙状态。取值:'."\n" - ."\n" - .'- **configuring**:创建中。'."\n" - .'- **deleting**:删除中。'."\n" - .'- **normal**:正常。'."\n" - .'- **abnormal**:异常。'."\n" - .'- **opening**:开启中。'."\n" - .'- **closing**:关闭中。'."\n" - .'- **closed**:已关闭。', - 'type' => 'string', - 'required' => false, - 'example' => 'normal', + ], + [ + 'apiName' => 'DescribeRiskEventPayload', + 'description' => '获取入侵防御事件的攻击payload', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventPayload', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageNo', - 'in' => 'query', - 'schema' => [ - 'description' => '当前页面的页码。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DescribeVpcFirewallDropTrafficTrend', + 'description' => '查询VPC防火墙拦截趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'description' => '分页查询时,显示的每页数据的最大条数。支持最大取值为50。', - 'type' => 'string', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'DescribePostpayTrafficDetail', + 'description' => '查询后付费计费流量明细', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayTrafficDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '当前阿里云账号的成员账号UID。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + ], + [ + 'apiName' => 'CreateSecurityProxy', + 'description' => ' 创建NAT防火墙', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'description' => '总数。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - ], - 'RequestId' => [ - 'description' => '结果的请求ID。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - 'ProxyList' => [ - 'description' => 'NAT防火墙列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'NAT防火墙的列表信息。', - 'type' => 'object', - 'properties' => [ - 'VpcId' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'example' => 'vpc-wz9xn35tq33hunzvpu0se', - ], - 'Status' => [ - 'description' => '云防火墙状态。取值:'."\n" - .'- **configuring**:创建中。'."\n" - .'- **deleting**:删除中。'."\n" - .'- **normal**:正常。'."\n" - .'- **abnormal**:异常。'."\n" - .'- **opening**:开启中。'."\n" - .'- **closing**:关闭中。'."\n" - .'- **closed**:已关闭。', - 'type' => 'string', - 'example' => 'normal', - ], - 'RegionNo' => [ - 'description' => 'VPC所在的地域ID。', - 'type' => 'string', - 'example' => 'ap-southeast-1', - ], - 'NatGatewayName' => [ - 'description' => 'NAT网关的名称', - 'type' => 'string', - 'example' => 'ecs-slb-eip-waf', - ], - 'MemberUid' => [ - 'description' => '云防火墙成员账号的UID。', - 'type' => 'string', - 'example' => '1797733170015112', - ], - 'ProxyId' => [ - 'description' => 'NAT防火墙ID。', - 'type' => 'string', - 'example' => 'proxy-nat4921f192b6cf438d93f8', - ], - 'ProxyName' => [ - 'description' => 'NAT防火墙名称。', - 'type' => 'string', - 'example' => 'nat-idmp-fir', - ], - 'VpcName' => [ - 'description' => 'VPC的实例名称。', - 'type' => 'string', - 'example' => 'vpc-bp1kw9igsq0yyzeanqamx', - ], - 'VSwitchId' => [ - 'description' => '云防火墙接口所属的vSwitch ID。', - 'type' => 'string', - 'example' => 'vsw-5gu2qqfmjmwl8ktzgfekl', - ], - 'CidrBlock' => [ - 'description' => 'VPC的IPv4网段。', - 'type' => 'string', - 'example' => '192.168.0.0/16', - ], - 'NatGatewayId' => [ - 'description' => 'NAT网关的ID。', - 'type' => 'string', - 'example' => 'ngw-2zex8sf4s5vus8rq3rjqo', - ], - 'Detail' => [ - 'description' => '异常详细信息。', - 'type' => 'string', - 'example' => '“”', - ], - 'SnatIpList' => [ - 'description' => 'SNAT IP列表。', - 'type' => 'array', - 'items' => [ - 'description' => 'SNAT IP列表。', - 'type' => 'string', - 'example' => '""', - ], - ], - 'StrictMode' => [ - 'description' => '是否启用严格模式 1 - 启用严格模式 0 - 禁用严格模式', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '0', - ], - ], - ], - ], - ], + [ + 'apiName' => 'CreateAckClusterConnector', + 'description' => '创建ACK集群连接器', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', + [ + 'apiName' => 'DescribeInstanceRdAccounts', + 'description' => '获取实例RD账号', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceRdAccounts', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', + ], + ], + [ + 'apiName' => 'DescribeAclRuleCount', + 'description' => '获取总ACL配置数', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclRuleCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DescribeSdlStatistic', + 'description' => '查询敏感数据详情', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribeClearAuthInfo', + 'description' => '获取清空授权信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeClearAuthInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'Cloudfw::2017-12-07::DescribeNatFirewallList', + [ + 'apiName' => 'DescribeVpcFirewallPrecheckDetail', + 'description' => '获取VPC防火墙预检查详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallPrecheckDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'returnType' => 'synchronous', ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeSecurityProxy', + 'description' => '获取NAT防火墙(废弃)', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityProxy', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 5,\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\",\\n \\"ProxyList\\": [\\n {\\n \\"VpcId\\": \\"vpc-wz9xn35tq33hunzvpu0se\\",\\n \\"Status\\": \\"normal\\",\\n \\"RegionNo\\": \\"ap-southeast-1\\",\\n \\"NatGatewayName\\": \\"ecs-slb-eip-waf\\",\\n \\"MemberUid\\": \\"1797733170015112\\",\\n \\"ProxyId\\": \\"proxy-nat4921f192b6cf438d93f8\\",\\n \\"ProxyName\\": \\"nat-idmp-fir\\",\\n \\"VpcName\\": \\"vpc-bp1kw9igsq0yyzeanqamx\\",\\n \\"VSwitchId\\": \\"vsw-5gu2qqfmjmwl8ktzgfekl\\",\\n \\"CidrBlock\\": \\"192.168.0.0/16\\",\\n \\"NatGatewayId\\": \\"ngw-2zex8sf4s5vus8rq3rjqo\\",\\n \\"Detail\\": \\"“”\\",\\n \\"SnatIpList\\": [\\n \\"\\\\\\"\\\\\\"\\"\\n ],\\n \\"StrictMode\\": 0\\n }\\n ]\\n}","type":"json"}]', - 'title' => '获取NAT防火墙(废弃)', - ], - 'CreateVpcFirewallCenManualConfigure' => [ - 'summary' => '创建VPC防火墙手动配置', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribePrivateDnsDomainNameList', + 'description' => '查询私网DNS域名列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsDomainNameList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeVpcZone', + 'description' => '查询VPC zone', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeFirewallTask', + 'description' => '获取防火墙任务', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68134', - 'abilityTreeNodes' => [ - 'FEATUREcfwMD8M6R', + [ + 'apiName' => 'UpdateAITrafficAnalysisStatus', + 'description' => '修改AI流量分析开启状态', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdateAITrafficAnalysisStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收的语言类型。取值:'."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeOutgoingStatistic', + 'description' => '获取主动外联统计信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'VpcFirewallName', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC边界防火墙的实例名称。', - 'type' => 'string', - 'required' => true, - 'example' => '测试用实例', + ], + [ + 'apiName' => 'ModifyVpcFirewallControlPolicy', + 'description' => '修改VPC防火墙策略组的访问控制策略', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'CenId', - 'in' => 'query', - 'schema' => [ - 'description' => '云企业网实例的id。', - 'type' => 'string', - 'required' => true, - 'example' => 'cen-37nddhri7jf0d2****', + ], + [ + 'apiName' => 'DescribeOutgoingDestinationIPDetail', + 'description' => '获取外联目的IP详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIPDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => 'VPC实例ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vpc-8vbwbo90rq0anm6t****', + ], + [ + 'apiName' => 'DescribeOutgoingAssetList', + 'description' => '获取外联资产列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingAssetList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'VSwitchId', - 'in' => 'query', - 'schema' => [ - 'description' => '指定云防火墙接口所属的vSwitch ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vsw-qzeaol304m***', + ], + [ + 'apiName' => 'ModifySensitiveSwitch', + 'description' => '修改敏感数据开关', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifySensitiveSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'MemberUid', - 'in' => 'query', - 'schema' => [ - 'description' => '云防火墙成员账号的uid。', - 'type' => 'string', - 'required' => false, - 'example' => '258039427902****', + ], + [ + 'apiName' => 'DescribeLocationInfo', + 'description' => '查询地理位置信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeLocationInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'VpcFirewallId' => [ - 'description' => 'VPC边界防火墙的实例ID。', - 'type' => 'string', - 'example' => 'vfw-m5e7dbc4y****', - ], - 'RequestId' => [ - 'description' => '返回结果的请求id。', - 'type' => 'string', - 'example' => 'B14757D0-4640-4B44-AC67-7F558F****', - ], - ], + [ + 'apiName' => 'DescribePrivateDnsStatistics', + 'description' => '查询私有DNS的统计信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePrivateDnsStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 200 => [ - [ - 'errorCode' => 'ErrorDBUpdateError', - 'errorMessage' => 'A database update error occurred.', + [ + 'apiName' => 'DescribeVpcFirewallList', + 'description' => '获取高速通道防火墙列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', + ], + [ + 'apiName' => 'DescribeNetworkTrafficTopRatio', + 'description' => '查询网络流量TOP占比', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNetworkTrafficTopRatio', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteIpsPrivateAssoc', + 'description' => '创建IPS私网关联信息', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorInvalidMemberUid', - 'errorMessage' => 'Member uid is invalid', + ], + ], + [ + 'apiName' => 'DescribeVpcListLite', + 'description' => '获取VPC列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcListLite', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorFirewallName', - 'errorMessage' => 'firewall name invalid', + ], + ], + [ + 'apiName' => 'DeleteAclBackupData', + 'description' => '删除ACL备份', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorCenId', - 'errorMessage' => 'CEN ID is error', + ], + ], + [ + 'apiName' => 'DescribeOutgoingDestinationCategory', + 'description' => '查询主动外联目的分类', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorVpcIdError', - 'errorMessage' => 'Vpc ID invalid.', + ], + ], + [ + 'apiName' => 'DescribeAccessInstanceVpcList', + 'description' => '查询同步节点VPC列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVpcList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorUserNotFound', - 'errorMessage' => 'User not found', + ], + ], + [ + 'apiName' => 'AddDnsFirewallPolicy', + 'description' => '添加DNS防火墙ACL', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'DescribeSdlEventStatistic', + 'description' => '查询数据泄露事件统计数据', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorVpcFirewallNotFound', - 'errorMessage' => 'The specified VPC firewall does not exist, please select again.', + ], + ], + [ + 'apiName' => 'DescribeAccessInstanceTask', + 'description' => '查询同步节点任务进度', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBTxError', - 'errorMessage' => 'A database transaction error occurred.', + ], + ], + [ + 'apiName' => 'DescribeAclBackupList', + 'description' => '查询访问控制备份列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclBackupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'record operation log error.', + ], + ], + [ + 'apiName' => 'AddPrivateDnsDomainName', + 'description' => '添加私网DNS域名', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddPrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeVfwIPSConfigList', + 'description' => '查询VPC防火墙IPS配置列表', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVfwIPSConfigList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeOutgoingDomainDetail', + 'description' => '获取主动外联域名详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDomainDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"VpcFirewallId\\": \\"vfw-m5e7dbc4y****\\",\\n \\"RequestId\\": \\"B14757D0-4640-4B44-AC67-7F558F****\\"\\n}","type":"json"}]', - 'title' => '创建VPC防火墙手动配置(废弃)', - 'description' => '本接口一般用于为云企业网内的VPC实例创建VPC边界防火墙。该VPC边界防火墙可以防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量,不支持防护VBR与VBR、CCN与CCN、VBR与CCN之间的互访流量。更多信息,请参见[VPC边界防火墙限制说明](~~172295~~)。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'BatchCopyVpcFirewallControlPolicy' => [ - 'summary' => '从源VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组。', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'ModifyTrFirewallV2Configuration', + 'description' => '修改TR防火墙配置', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyTrFirewallV2Configuration', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeRiskEventGroup', + 'description' => '获取入侵防御事件的详细数据', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventGroup', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeletePrivateDnsDomainName', + 'description' => '删除私网DNS域名', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeletePrivateDnsDomainName', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ], ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => true, - 'systemTags' => [ + [ + 'apiName' => 'ModifyCfwInstance', + 'description' => '修改云防火墙实例', 'operationType' => 'update', - 'riskType' => 'high', - 'chargeType' => 'free', - 'abilityTreeCode' => '104390', - 'abilityTreeNodes' => [ - 'FEATUREcfw8B8ITI', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyCfwInstance', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'DescribeAclCheck', + 'description' => '查询ACL检查详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '请求和接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文。'."\n" - ."\n" - .'- **en**:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DescribeRiskEventTopAttackApp', + 'description' => '查询入侵防御攻击应用排行', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskEventTopAttackApp', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'SourceVpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '该操作的源VPC边界防火墙的访问控制策略组ID。取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,策略组ID使用云企业网实例ID。'."\n" - ."\n" - .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-a42bbb7b887148c9****', + ], + [ + 'apiName' => 'ModifyControlPolicyPosition', + 'description' => '修改访问控制策略的优先级(废弃)', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyControlPolicyPosition', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'TargetVpcFirewallId', - 'in' => 'query', - 'schema' => [ - 'description' => '该操作的目标VPC边界防火墙的访问控制策略组ID。取值:'."\n" - ."\n" - .'- VPC边界防火墙防护云企业网内的网络实例(网络实例包含VPC、VBR和CCN)和指定VPC之间的互访流量时,策略组ID使用云企业网实例ID。'."\n" - ."\n" - .'- VPC边界防火墙防护通过高速通道连接的两个VPC之间的流量时,策略组ID使用VPC边界防火墙实例ID。'."\n" - ."\n" - .'> 您可以通过调用[DescribeVpcFirewallAclGroupList](~~159760~~)接口获取该ID。', - 'type' => 'string', - 'required' => true, - 'example' => 'vfw-e37d3a04cf79446a****', + ], + [ + 'apiName' => 'DescribeInternetOpenService', + 'description' => '获取互联网开放服务', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenService', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125k6j3', - ], - ], + [ + 'apiName' => 'DescribeAddressBook', + 'description' => '批量查询地址簿列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAddressBook', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'CreateVpcFirewallConfigure', + 'description' => '创建VPC边界防火墙', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], ], - [ - 'errorCode' => 'ErrorParametersSource', - 'errorMessage' => 'The source is invalid.', + ], + ], + [ + 'apiName' => 'ModifyVpcFirewallCenSwitchStatus', + 'description' => '修改VPC边界防火墙的开关状态(云企业网)', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyVpcFirewallCenSwitchStatus', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribePolicyPriorUsed', + 'description' => '查询访问控制策略优先级使用范围', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePolicyPriorUsed', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersTarget', - 'errorMessage' => 'Target VPC Firewall ID not exist.', + ], + ], + [ + 'apiName' => 'DeleteVpcFirewallControlPolicy', + 'description' => '删除VPC防火墙策略组访问控制策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], ], - [ - 'errorCode' => 'ErrorParametersSourceTarget', - 'errorMessage' => 'Source and target firewall is same.', + ], + ], + [ + 'apiName' => 'DescribeDownloadTaskType', + 'description' => '查询文件下载任务类型', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDownloadTaskType', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'noSubstitutionReason' => '无替代API,历史原因导致该API被标记为弃用。', - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeVpcFirewallSummaryInfo', + 'description' => '获取VPC防火墙总结信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallSummaryInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeOutgoingTag', + 'description' => '获取外联标签', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingTag', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125k6j3\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125k6j3\\n","errorExample":""}]', - 'title' => '从源VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组(废弃)', - 'description' => '本接口一般用于从一个VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组。'."\n" - ."\n" - .'进行该操作之前,建议您先进行策略备份。关于策略备份的详细信息,请参见[策略备份](~~170363~~)。'."\n" - ."\n" - .'该操作完成后,目标VPC边界防火墙策略组内的策略会完全替换成源VPC边界防火墙策略组内的策略。'."\n" - ."\n" - .'源VPC边界防火墙策略组和目标VPC边界防火墙策略组必须属于同一个阿里云账号。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用将会被限流,这可能影响您的业务,请合理调用。', - ], - 'ModifyControlPolicyPosition' => [ - 'summary' => '修改互联网边界防火墙IPv4访问控制策略(表示访问控制策略中的访问源IP、目的IP使用IPv4格式)的优先级。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeAckClusterPodLabels', + 'description' => '批量查询ACK集群容器标签', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterPodLabels', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'CreateNatFirewallPreCheck', + 'description' => '创建NAT防火墙预检查', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallPreCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeInternetOpenStatistic', + 'description' => '获取互联网开放统计', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenStatistic', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'write', - 'deprecated' => true, - 'systemTags' => [ - 'operationType' => 'update', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68468', - 'abilityTreeNodes' => [ - 'FEATUREcfwJZTBPW', + [ + 'apiName' => 'DescribePageDocuments', + 'description' => '查看页面常见问题(废弃)', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePageDocuments', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源IP地址。', - 'type' => 'string', - 'deprecated' => true, - 'required' => false, - 'example' => '192.0.XX.XX', + [ + 'apiName' => 'DescribeUserAssetIPTrafficInfo', + 'description' => '查询用户指定资产的流量信息(废弃)', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAssetIPTrafficInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- zh(默认):中文。'."\n" - .'- en:英文。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'DeleteDnsFirewallPolicy', + 'description' => '删除DNS防火墙规则', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteDnsFirewallPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'Direction', - 'in' => 'query', - 'schema' => [ - 'description' => '互联网边界防火墙IPv4访问控制策略的流量方向。取值:'."\n" - ."\n" - .'- in:外对内流量。'."\n" - .'- out:内对外流量。', - 'type' => 'string', - 'required' => true, - 'example' => 'in', + ], + [ + 'apiName' => 'CreateNatFirewallSyncTask', + 'description' => '创建NAT防火墙资产同步任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateNatFirewallSyncTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'NewOrder', - 'in' => 'query', - 'schema' => [ - 'description' => '为互联网边界防火墙IPv4访问控制策略设置一个新的优先级。'."\n" - .'优先级使用数字表示,输入数字1表示优先级最高,数字越大优先级越低。'."\n" - ."\n" - .'> 新的优先级数字不能超出您已创建的互联网边界防火墙IPv4策略优先级的范围,否则会导致调用该接口时出错。'."\n" - .'> 建议您在调用该接口前,先调用[DescribePolicyPriorUsed](~~138862~~)查询互联网边界防火墙指定流量方向的IPv4策略优先级范围。', - 'type' => 'string', - 'required' => true, - 'example' => '1', + ], + [ + 'apiName' => 'ResetVpcFirewallRuleHitCount', + 'description' => '将VPC防火墙问控制策略命中计数清零', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetVpcFirewallRuleHitCount', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], ], ], - [ - 'name' => 'OldOrder', - 'in' => 'query', - 'schema' => [ - 'description' => '要修改的互联网边界防火墙IPv4访问控制策略当前的优先级。', - 'type' => 'string', - 'required' => true, - 'example' => '5', + ], + [ + 'apiName' => 'DescribeNatFirewallAclGroupList', + 'description' => '查询NAT防火墙分组列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallAclGroupList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '本次请求的ID。', - 'type' => 'string', - 'example' => '850A84D6-0DE4-4797-A1E8-00090125EEB1', - ], - ], + [ + 'apiName' => 'DescribeAttackAppCategory', + 'description' => '查询攻击类别列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAttackAppCategory', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParametersUid', - 'errorMessage' => 'The aliUid parameter is invalid.', + [ + 'apiName' => 'DescribeRegionInfo', + 'description' => '获取Region信息', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRegionInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'DeleteInstanceMembers', + 'description' => '删除云防火墙成员账号', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], ], - [ - 'errorCode' => 'ErrorParameterIpVersion', - 'errorMessage' => 'The IP version is invalid.', + ], + ], + [ + 'apiName' => 'CreateVpcFirewallControlPolicy', + 'description' => '为指定VPC防火墙策略组添加访问控制策略', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], ], - [ - 'errorCode' => 'ErrorParametersDirection', - 'errorMessage' => 'The direction is invalid.', + ], + ], + [ + 'apiName' => 'BatchCopyVpcFirewallControlPolicy', + 'description' => '从源VPC边界防火墙策略组拷贝所有策略到目标VPC边界防火墙策略组(废弃)', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:BatchCopyVpcFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelect', - 'errorMessage' => 'An error occurred while querying database.', + ], + ], + [ + 'apiName' => 'DescribeNatFirewallList', + 'description' => '查询NAT防火墙', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallList', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], ], - [ - 'errorCode' => 'ErrorParameters', - 'errorMessage' => 'A parameter error occurred.', + ], + ], + [ + 'apiName' => 'DescribeNatFirewallTrafficTrend', + 'description' => '获取NAT防火墙流量趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersNewOrder', - 'errorMessage' => 'The newOrder is invalid.', + ], + ], + [ + 'apiName' => 'DescribeIPSRules', + 'description' => '查询IPS规则', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIPSRules', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorParametersOldOrder', - 'errorMessage' => 'The oldOrder is invalid.', + ], + ], + [ + 'apiName' => 'DescribeAclCheckQuota', + 'description' => '查询ACL检查额度', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclCheckQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBDelete', - 'errorMessage' => 'An error occurred while deleting the database.', + ], + ], + [ + 'apiName' => 'DescribeTrafficLog', + 'description' => '查询日志流量信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeTrafficLog', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBInsert', - 'errorMessage' => 'An error occurred while performing an insert operation in the database.', + ], + ], + [ + 'apiName' => 'DescribeOutgoingDestinationIP', + 'description' => '查询主动外联的目的IP信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeOutgoingDestinationIP', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorRecordLog', - 'errorMessage' => 'An error occurred while updating the operation log.', + ], + ], + [ + 'apiName' => 'DescribeInternetTimeTop', + 'description' => '查询互联网流量时间TOP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'substitutions' => [ - 'Cloudfw::2017-12-07::ModifyControlPolicyPriority', + [ + 'apiName' => 'DeleteNatFirewallControlPolicy', + 'description' => '删除NAT防火墙访问控制策略', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteNatFirewallControlPolicy', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ], ], - 'returnType' => 'synchronous', ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ModifyResourceTypeAutoEnable', + 'description' => '修改新增资产自动保护', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyResourceTypeAutoEnable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"type":"json","example":"{\\n \\"RequestId\\": \\"850A84D6-0DE4-4797-A1E8-00090125EEB1\\"\\n}","errorExample":""},{"type":"xml","example":"\\n 850A84D6-0DE4-4797-A1E8-00090125EEB1\\n","errorExample":""}]', - 'title' => '修改访问控制策略的优先级(废弃)', - 'description' => '本接口一般用于修改互联网边界防火墙IPv4访问控制策略的优先级。暂不支持以调用接口的方式修改互联网边界防火墙IPv6访问控制策略的优先级。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - 'DescribeVpcFirewallTrafficAssetList' => [ - 'summary' => '查询经过VPC防火墙访问域名的资产列表。', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'DescribeAclWhitelist', + 'description' => '获取ACL白名单', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclWhitelist', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeInternetOpenPort', + 'description' => '获取互联网开放端口', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetOpenPort', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CreateAclCheck', + 'description' => '创建ACL检查', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateAclCheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeSignatureLibVersion', + 'description' => '查询特征库版本信息', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68328', - 'abilityTreeNodes' => [ - 'FEATUREcfwG6EEQD', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSignatureLibVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'title' => '语言, 枚举值.'."\n" - .'默认值: zh'."\n" - .'可选值: en', - 'description' => '接收消息的语言类型。取值:'."\n" - ."\n" - .'- **zh**(默认):中文'."\n" - .'- **en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'DescribeUserBuyVersion', + 'description' => '获取用户云防火墙实例信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserBuyVersion', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'StartTime', - 'in' => 'query', - 'schema' => [ - 'title' => '开始时间,Unix timestamp, 精确到秒', - 'description' => '开始时间,Unix timestamp, 精确到秒。', - 'type' => 'string', - 'required' => true, - 'example' => '1656664560', + ], + [ + 'apiName' => 'CreateSlsLogDispatch', + 'description' => '创建云防火墙SLS日志投递', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateSlsLogDispatch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'conditional', 'product' => 'CloudFirewall', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], ], ], - [ - 'name' => 'EndTime', - 'in' => 'query', - 'schema' => [ - 'title' => '结束时间,Unix timestamp, 精确到秒', - 'description' => '结束时间,Unix timestamp, 精确到秒。', - 'type' => 'string', - 'required' => true, - 'example' => '1656750960', + ], + [ + 'apiName' => 'DescribeSlsAnalyzeOpenStatus', + 'description' => '获取SLS开启状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlsAnalyzeOpenStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '每页条数, 不得超过100, 超过100会设置为100', - 'description' => '分页参数:每页显示条数。', - 'type' => 'string', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'PutEnableAllFwSwitch', + 'description' => '开启所有防火墙开关', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:PutEnableAllFwSwitch', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'CurrentPage', - 'in' => 'query', - 'schema' => [ - 'title' => '当前页', - 'description' => '当前页。', - 'type' => 'string', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'SetAutoProtectNewAssets', + 'description' => '开启自动保护新入资产', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:SetAutoProtectNewAssets', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'IP', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '资产IP。', - 'type' => 'string', - 'required' => false, - 'example' => '47.92.x.x', + ], + [ + 'apiName' => 'DescribeDomainResolve', + 'description' => '获取域名DNS的解析结果', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeDomainResolve', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], ], ], - [ - 'name' => 'Domain', - 'in' => 'query', - 'schema' => [ - 'title' => '公网IP', - 'description' => '域名。', - 'type' => 'string', - 'required' => false, - 'example' => 'www.****.com', + ], + [ + 'apiName' => 'DescribeNatFirewallDropTrafficTrend', + 'description' => '概览页-nat防火墙拦截趋势。', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallDropTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Sort', - 'in' => 'query', - 'schema' => [ - 'title' => '顺序, 枚举值, 可选:asc, desc', - 'description' => '顺序, 枚举值, 可选:asc, desc。', - 'type' => 'string', - 'required' => false, - 'example' => 'desc', - 'enum' => [], + ], + [ + 'apiName' => 'DescribeFirewallDropStatistics', + 'description' => '获取防火墙DROP数据统计(废弃)', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropStatistics', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序字段, 枚举值.'."\n" - .'默认值: SessionCount'."\n" - .'可选值: InBytes, OutBytes,TotalBytes,SessionCount', - 'description' => '排序字段, 枚举值。'."\n" - ."\n" - .'默认值: TotalBytes。'."\n" - ."\n" - .'可选值: '."\n" - ."\n" - .'TotalBytes:根据总流量排序。'."\n" - ."\n" - .'SessionCount:根据会话数排序。', - 'type' => 'string', - 'required' => false, - 'example' => 'SessionCount', - 'enum' => [], + ], + [ + 'apiName' => 'DescribeInstanceMembers', + 'description' => '获取云防火墙成员账号信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInstanceMembers', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], ], ], - [ - 'name' => 'VpcId', - 'in' => 'query', - 'schema' => [ - 'description' => '资产所在的VPC。', - 'type' => 'string', - 'required' => false, - 'example' => 'vpc-m5ewlqkuf7orclr1****', + ], + [ + 'apiName' => 'DescribeVpcFirewallCenSummaryList', + 'description' => '获取VPC_CEN列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallCenSummaryList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'IsAITraffic', - 'in' => 'query', - 'schema' => [ - 'description' => '是否仅统计访问AI服务的流量。', - 'type' => 'string', - 'required' => false, - 'example' => 'true', + ], + [ + 'apiName' => 'DescribeVpcFirewallDetail', + 'description' => '查询VPC边界防火墙的详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallDetail', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'TotalCount' => [ - 'title' => '总数', - 'description' => '总数', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '132', - ], - 'RequestId' => [ - 'description' => '返回结果的请求ID。', - 'type' => 'string', - 'example' => 'C5BE1AA4-934A-5085-89CC-9AD1CAC3****', - ], - 'DataList' => [ - 'description' => '返回数据列表。', - 'type' => 'array', - 'items' => [ - 'description' => '数据列表。', - 'type' => 'object', - 'properties' => [ - 'IP' => [ - 'title' => '域名', - 'description' => '资产IP。', - 'type' => 'string', - 'example' => 'a.com', - ], - 'VpcId' => [ - 'title' => '域名', - 'description' => '资产所在的VPC。', - 'type' => 'string', - 'example' => 'a.com', - ], - 'TotalBytes' => [ - 'description' => '总流量。单位:byte。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '253023143', - ], - 'SessionCount' => [ - 'title' => '会话数', - 'description' => '会话数', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '12', - ], - 'IpsHitCnt' => [ - 'description' => 'IPS命中数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'VpcName' => [ - 'description' => '资产所在的VPC的名称。', - 'type' => 'string', - 'example' => 'vpc-bp1mos0vhefmx5ah6****', - ], - ], - ], - ], - ], + [ + 'apiName' => 'DescribeUnprotectedPortTrend', + 'description' => '查询未保护的端口趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUnprotectedPortTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorAliUid', - 'errorMessage' => 'Aliuid invalid.', - ], - [ - 'errorCode' => 'ErrorTimeError', - 'errorMessage' => 'The time is invalid.', + [ + 'apiName' => 'DescribeBatchSlsDispatchStatus', + 'description' => '查询日志投递状态状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeBatchSlsDispatchStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDBSelectError', - 'errorMessage' => 'A database select error occurred.', + ], + ], + [ + 'apiName' => 'CreateVpcFirewallPrecheck', + 'description' => '创建VPC防火墙开墙前置任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateVpcFirewallPrecheck', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorIntervalError', - 'errorMessage' => 'The interval is invalid.', + ], + ], + [ + 'apiName' => 'DescribeThreatIntelligenceSwitch', + 'description' => '查询威胁情报配置的信息', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeThreatIntelligenceSwitch', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorIpFormat', - 'errorMessage' => 'The IP address is invalid.', + ], + ], + [ + 'apiName' => 'UpdatePostpayUserNatStatus', + 'description' => '更新按量付费用户NAT边界开关模块状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UpdatePostpayUserNatStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorSecuritySuggest', - 'errorMessage' => 'The security suggest is invalid.', + ], + ], + [ + 'apiName' => 'DescribeFirewallDropTrend', + 'description' => '查询防火墙拦截趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeFirewallDropTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorSortError', - 'errorMessage' => 'The sort is invalid.', + ], + ], + [ + 'apiName' => 'DescribePostpayUserVpcStatus', + 'description' => '查询按量付费用户VPC边界开关模块状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayUserVpcStatus', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorOrderFailed', - 'errorMessage' => 'The order is invalid.', + ], + ], + [ + 'apiName' => 'DescribeVpcFirewallZone', + 'description' => '查询VPC防火墙可用区', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallZone', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorPageNo', - 'errorMessage' => 'Either page number or page size is invalid.', + ], + ], + [ + 'apiName' => 'DescribeAckClusterConnector', + 'description' => '查询ACK集群连接器详情', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAckClusterConnector', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDomainName', - 'errorMessage' => 'The domain name is invalid.', + ], + ], + [ + 'apiName' => 'DescribeConfiguredDomainNames', + 'description' => '查询主动外联域名列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeConfiguredDomainNames', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDataTypeError', - 'errorMessage' => 'The data type is invalid.', + ], + ], + [ + 'apiName' => 'DescribeNatFirewallTimeTop', + 'description' => '查询NAT防火墙时间点流量TOP', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallTimeTop', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorMarshalJSON', - 'errorMessage' => 'internal error.', + ], + ], + [ + 'apiName' => 'DescribeInternetTrafficTrend', + 'description' => '获取互联网流量趋势', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeInternetTrafficTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteTrFirewallV2', + 'description' => '删除TR防火墙', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteTrFirewallV2', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'ResetNatFirewallRuleHitCount', + 'description' => '重置NAT防火墙命中数', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetNatFirewallRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 132,\\n \\"RequestId\\": \\"C5BE1AA4-934A-5085-89CC-9AD1CAC3****\\",\\n \\"DataList\\": [\\n {\\n \\"IP\\": \\"a.com\\",\\n \\"VpcId\\": \\"a.com\\",\\n \\"TotalBytes\\": 253023143,\\n \\"SessionCount\\": 12,\\n \\"IpsHitCnt\\": 10,\\n \\"VpcName\\": \\"vpc-bp1mos0vhefmx5ah6****\\"\\n }\\n ]\\n}","type":"json"}]', - 'title' => '查询经过VPC防火墙访问域名的资产列表', - ], - 'SetAutoProtectNewAssets' => [ - 'summary' => '开启自动保护新入资产', - 'methods' => [ - 'post', - 'get', + [ + 'apiName' => 'AddDomainResolveRealtimeTask', + 'description' => '创建域名解析实时任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:AddDomainResolveRealtimeTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DescribeNatFirewallQuota', + 'description' => '获取NAT防火墙配额', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeNatFirewallQuota', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DescribeSecurityMode', + 'description' => '获取安全模式', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSecurityMode', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'DescribeVpcFirewallAccessDetail', + 'description' => '获取VPC防火墙接入详情', 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '68526', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallAccessDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'tenantRelevance' => 'publicInformation', ], - 'parameters' => [ - [ - 'name' => 'SourceIp', - 'in' => 'query', - 'schema' => [ - 'description' => '访问者源ip地址。', - 'type' => 'string', - 'required' => false, - 'example' => '60.182.79.XXX', + [ + 'apiName' => 'DescribePostpayEnabledProtection', + 'description' => '查询按量付费版本防护状态', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribePostpayEnabledProtection', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '语言类型。取值:-**zh**(默认值):中文-**en**:英文', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + ], + [ + 'apiName' => 'CreateDownloadTask', + 'description' => '创建文件下载任务', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:CreateDownloadTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], - [ - 'name' => 'AutoProtect', - 'in' => 'query', - 'schema' => [ - 'description' => '设置是否开启自动引流。取值:-**true**:开启。-**false**:不开启。', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', + ], + [ + 'apiName' => 'DescribeSdlEventDetail', + 'description' => '查询数据泄露事件详情', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSdlEventDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'description' => '返回值', - 'type' => 'object', - 'properties' => [ - 'Module' => [ - 'description' => '防火墙模块。', - 'type' => 'string', - 'example' => 'api_server', - ], - 'RequestId' => [ - 'description' => '结果的请求id。', - 'type' => 'string', - 'example' => 'F0F82705-CFC7-5F83-86C8-A063892F****', - ], - ], + [ + 'apiName' => 'DescribeRiskSecurityGroupDetail', + 'description' => '获取风险安全组详情(废弃)', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeRiskSecurityGroupDetail', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'ErrorParamsNotEnough', - 'errorMessage' => 'Parameters are insufficient.', + [ + 'apiName' => 'ResetRuleHitCount', + 'description' => '重置规则命中数', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ResetRuleHitCount', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorDbFailed', - 'errorMessage' => 'Query db failed.', + ], + ], + [ + 'apiName' => 'DescribeIspInfo', + 'description' => '查询ISP信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIspInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorNoInstanceInDb', - 'errorMessage' => 'no instance for process in db.', + ], + ], + [ + 'apiName' => 'DescribeACLProtectTrend', + 'description' => '查询互联网访问控制拦截趋势图', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeACLProtectTrend', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], - [ - 'errorCode' => 'ErrorInstanceStatusNotNormal', - 'errorMessage' => 'This operation is not supported when the instance is in the current state.', + ], + ], + [ + 'apiName' => 'DescribeUserAlarmConfig', + 'description' => '获取用户告警配置', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeUserAlarmConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DescribeAclApps', + 'description' => '批量查询访问控制应用', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAclApps', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + [ + 'apiName' => 'DescribeAccessInstanceVSwitchList', + 'description' => '查询同步节点交换机列表', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeAccessInstanceVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"Module\\": \\"api_server\\",\\n \\"RequestId\\": \\"F0F82705-CFC7-5F83-86C8-A063892F****\\"\\n}","type":"json"}]', - 'title' => '开启自动保护新入资产', - 'description' => '每个云防火墙实例最多支持创建100个TLS检查策略的关联关系。', - ], - 'DescribeRegionResourceTypeAutoEnable' => [ - 'summary' => '查询地域和资产类型引流设置。', - 'path' => '', - 'methods' => [ - 'get', - 'post', + [ + 'apiName' => 'DescribeVulnerabilityProtectedList', + 'description' => '获取漏洞防护列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVulnerabilityProtectedList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'DescribeSlrGrant', + 'description' => '获取用户SLR授权信息', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeSlrGrant', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteVpcFirewallCenConfigure', + 'description' => '删除VPC边界防火墙(云企业网)', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DeleteVpcFirewallCenConfigure', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ], ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATUREcfwEWN5PJ', + [ + 'apiName' => 'DescribeIpsPrivateAssoc', + 'description' => '查询IPS私网溯源列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeIpsPrivateAssoc', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], ], - 'autoTest' => true, - 'tenantRelevance' => 'tenant', ], - 'parameters' => [ - [ - 'name' => 'Lang', - 'in' => 'query', - 'schema' => [ - 'description' => '接收消息的语言类型。', - 'type' => 'string', - 'required' => false, - 'example' => 'zh', + [ + 'apiName' => 'ModifyUserSlsLogStorageTime', + 'description' => '修改用户日志存储时间', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ModifyUserSlsLogStorageTime', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'B2841452-CB8D-4F7D-B247-38E1CF7334F8', - ], - 'RegionResourceAutoEnable' => [ - 'description' => '地域内资产类型引流开关', - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'boolean', - 'example' => 'RegionResourceAutoEnable: {'."\n" - .'"cn-shenzhen": {'."\n" - .'"SlbEIP": false,'."\n" - .'}', - 'description' => '引流开关', - ], - 'description' => '资产类型引流开关', - ], - ], - ], + [ + 'apiName' => 'ListTlsInspectCACertificates', + 'description' => '查询TLS检查CA证书', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:ListTlsInspectCACertificates', + 'authLevel' => 'resource', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], ], ], ], - 'errorCodes' => [ - 400 => [ - [ - 'errorCode' => 'IdempotentParameterMismatch', - 'errorMessage' => 'The request uses the same client token as a previous, but non-identical request. Do not reuse a client token with different requests, unless the requests are identical.', + [ + 'apiName' => 'UseAclBackupData', + 'description' => '恢复访问控制备份', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:UseAclBackupData', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DisableSdlProtectedAsset', + 'description' => '关闭资产敏感数据发现防护', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DisableSdlProtectedAsset', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B2841452-CB8D-4F7D-B247-38E1CF7334F8\\",\\n \\"RegionResourceAutoEnable\\": {\\n \\"key\\": {\\n \\"key\\": true\\n }\\n }\\n}","type":"json"}]', - 'title' => '查询地域资产类型默认引流', - 'description' => '本接口一般用于获取域名DNS的解析结果。当前仅支持从阿里云云解析DNS获取解析结果。要查询的域名必须使用云解析DNS,才能查询到其解析结果。'."\n" - ."\n" - .'## QPS限制'."\n" - .'本接口的单用户QPS限制为10次/秒。超过限制,API调用会被限流,这可能会影响您的业务,请合理调用。', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'ap-northeast-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-northeast-2-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-3', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-finance-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-gov-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing-nu16-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-chengdu', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-edge-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-fujian', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-haidian-cm12-c01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-bj-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-finance', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-prod-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-2', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-internal-test-3', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou-test-306', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong-finance-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-huhehaote-nebula-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-north-2-gov-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao-nebula', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et15-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-et2-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-inner', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai-internal-test-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-finance-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-inner', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-st4-d01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen-su18-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wuhan', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-wulanchabu', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-yushanfang', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangbei-na61-b01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhangjiakou-na62-a01', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-zhengzhou-nebula-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'eu-west-1-oxs', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'me-east-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'rus-west-1-pop', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-qingdao', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-heyuan', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'cn-guangzhou', - 'endpoint' => 'cloudfw.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'cloudfw.ap-southeast-1.aliyuncs.com', + [ + 'apiName' => 'DescribeVpcFirewallManualVSwitchList', + 'description' => '查询VPC防火墙手动模式交换机列表', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'yundun-cloudfirewall:DescribeVpcFirewallManualVSwitchList', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'CloudFirewall', 'resourceType' => '全部资源', 'arn' => '*'], + ], + ], + ], + ], + 'resourceTypes' => [ + ['validationType' => 'always', 'resourceType' => 'NatFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewall/{#ProxyId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcen/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/*'], + ['validationType' => 'always', 'resourceType' => 'PolicyAdvancedConfig', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:policyadvancedconfig'], + ['validationType' => 'always', 'resourceType' => 'Asset', 'arn' => 'acs:cloudfirewall::{#accountId}:asset/{#Type}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}/controlpolicyorder/{#Direction}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/*'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicyOrder', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ['validationType' => 'always', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch/{#CategoryId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallCen', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcen/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallIpsConfig', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallipsconfig/{#VpcFirewallId}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewallPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}/{#TrFirewallRoutePolicyId}'], + ['validationType' => 'always', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:natfirewallcontrolpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'NatFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:natfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'VpcCenTrFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpccentrfirewall/{#FirewallId}'], + ['validationType' => 'always', 'resourceType' => 'AiTrafficAnalysisStatus', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:aitrafficanalysisstatus/*'], + ['validationType' => 'always', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], + ['validationType' => 'always', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'ControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:controlpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'InstanceMember', 'arn' => 'acs:cloudfirewall::{#accountId}:instancemember/{#MemberUid}'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:cloudfirewall::{#accountId}:addressbook/{#GroupUuid}'], + ['validationType' => 'always', 'resourceType' => 'InstanceMember', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instancemember/*'], + ['validationType' => 'always', 'resourceType' => 'AddressBook', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:addressbook/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/{#AclUuid}'], + ['validationType' => 'always', 'resourceType' => 'DnsFirewallPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:dnsfirewallpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'PrivateDNS', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:privatedns/{#AccessInstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Instance', 'arn' => 'acs:cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewall', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewall/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ['validationType' => 'always', 'resourceType' => 'VpcFirewallControlPolicy', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:vpcfirewallcontrolpolicy/*'], + ['validationType' => 'conditional', 'resourceType' => 'Instance', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:instance/{#InstanceId}'], + ['validationType' => 'always', 'resourceType' => 'Domain', 'arn' => 'acs:yundun-cloudfirewall::{#accountId}:domain/{#Domain}'], + ['validationType' => 'always', 'resourceType' => 'ThreatIntelligenceSwitch', 'arn' => 'acs:cloudfirewall::{#accountId}:threatintelligenceswitch'], + ['validationType' => 'always', 'resourceType' => 'TlsInspectCaCertificate', 'arn' => 'acs:cloudfirewall::{#accountId}:tlsinspectcacertificate/{#CaCertId}'], ], ], ]; -- cgit v1.2.3