summaryrefslogtreecommitdiff
path: root/data/zh_cn/csas/2023-01-20/api-docs.php
diff options
context:
space:
mode:
authorZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
committerZhineng Li <im@zhineng.li>2026-07-12 17:11:17 +0800
commit1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634 (patch)
tree5f0857666365b7e40cdaa3733ebe1f3ba9e13c67 /data/zh_cn/csas/2023-01-20/api-docs.php
parent7347bac4ab7e136157fc94777e6cf87ef9e08599 (diff)
downloadafterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.tar.gz
afterglow-metadata-full-1c7f908ce09f98fdcbf79ed2a8ae21be60eaa634.zip
update APIs 20260712
Diffstat (limited to 'data/zh_cn/csas/2023-01-20/api-docs.php')
-rw-r--r--data/zh_cn/csas/2023-01-20/api-docs.php32778
1 files changed, 13963 insertions, 18815 deletions
diff --git a/data/zh_cn/csas/2023-01-20/api-docs.php b/data/zh_cn/csas/2023-01-20/api-docs.php
index a01bdc6..0c0b506 100644
--- a/data/zh_cn/csas/2023-01-20/api-docs.php
+++ b/data/zh_cn/csas/2023-01-20/api-docs.php
@@ -1,249 +1,118 @@
<?php return [
'version' => '1.0',
- 'info' => [
- 'style' => 'RPC',
- 'product' => 'csas',
- 'version' => '2023-01-20',
- ],
+ 'info' => ['style' => 'RPC', 'product' => 'csas', 'version' => '2023-01-20'],
'directories' => [
[
- 'id' => 208884,
- 'title' => '企业加速',
+ 'children' => ['DeleteEnterpriseAcceleratePolicy', 'DisableEnterpriseAcceleratePolicy', 'ListEnterpriseAcceleratePolicies', 'ListEnterpriseAccelerateTargets', 'ListEnterpriseAccelerateLogs', 'ImportEnterpriseAccelerateTargets', 'CreateEnterpriseAccelerateTarget', 'EnableEnterpriseAcceleratePolicy', 'DeleteEnterpriseAccelerateTarget', 'ModifyEnterpriseAcceleratePolicy', 'CreateEnterpriseAcceleratePolicy'],
'type' => 'directory',
- 'children' => [
- 'DeleteEnterpriseAcceleratePolicy',
- 'DisableEnterpriseAcceleratePolicy',
- 'ListEnterpriseAcceleratePolicies',
- 'ListEnterpriseAccelerateTargets',
- 'ListEnterpriseAccelerateLogs',
- 'ImportEnterpriseAccelerateTargets',
- 'CreateEnterpriseAccelerateTarget',
- 'EnableEnterpriseAcceleratePolicy',
- 'DeleteEnterpriseAccelerateTarget',
- 'ModifyEnterpriseAcceleratePolicy',
- 'CreateEnterpriseAcceleratePolicy',
- ],
+ 'title' => '企业加速',
+ 'id' => 350542,
],
[
- 'id' => 204316,
- 'title' => '动态决策',
+ 'children' => ['ListDynamicDisposalProcesses'],
'type' => 'directory',
- 'children' => [
- 'ListDynamicDisposalProcesses',
- ],
+ 'title' => '动态决策',
+ 'id' => 350540,
],
[
- 'id' => 201505,
- 'title' => '审批报备',
+ 'children' => ['UpdateApprovalStatus', 'UpdateApprovalProcess', 'ListApprovals', 'ListApprovalSchemasForApprovalProcesses', 'ListApprovalSchemas', 'ListApprovalProcessesForApprovalSchemas', 'ListApprovalProcesses', 'GetApprovalSchema', 'GetApprovalProcess', 'GetApproval', 'DetachPolicy2ApprovalProcess', 'DeleteApprovalProcesses', 'AttachPolicy2ApprovalProcess', 'CreateApprovalProcess'],
'type' => 'directory',
- 'children' => [
- 'UpdateApprovalStatus',
- 'UpdateApprovalProcess',
- 'ListApprovals',
- 'ListApprovalSchemasForApprovalProcesses',
- 'ListApprovalSchemas',
- 'ListApprovalProcessesForApprovalSchemas',
- 'ListApprovalProcesses',
- 'GetApprovalSchema',
- 'GetApprovalProcess',
- 'GetApproval',
- 'DetachPolicy2ApprovalProcess',
- 'DeleteApprovalProcesses',
- 'AttachPolicy2ApprovalProcess',
- 'CreateApprovalProcess',
- ],
+ 'title' => '审批报备',
+ 'id' => 350520,
],
[
- 'id' => 201520,
- 'title' => '终端防卸载策略',
+ 'children' => ['ListUninstallApplications', 'UpdateBootAndAntiUninstallPolicy', 'UpdateUninstallApplicationsStatus', 'GetBootAndAntiUninstallPolicy'],
'type' => 'directory',
- 'children' => [
- 'ListUninstallApplications',
- 'UpdateBootAndAntiUninstallPolicy',
- 'UpdateUninstallApplicationsStatus',
- 'GetBootAndAntiUninstallPolicy',
- ],
+ 'title' => '终端防卸载策略',
+ 'id' => 350535,
],
[
- 'id' => 193580,
- 'title' => '网络准入',
+ 'children' => ['ListNacUserCert', 'UpdateNacUserCertStatus'],
'type' => 'directory',
- 'children' => [
- 'ListNacUserCert',
- 'UpdateNacUserCertStatus',
- ],
+ 'title' => '网络准入',
+ 'id' => 350517,
],
[
- 'id' => 191724,
- 'title' => '身份源配置管理',
- 'type' => 'directory',
'children' => [
'ListIdpConfigs',
'GetIdpConfig',
'GetActiveIdpConfig',
[
- 'id' => 191728,
- 'title' => '自定义身份源',
+ 'children' => ['ListIdpDepartments', 'CreateIdpDepartment', 'ListClientUsers', 'UpdateClientUser', 'GetClientUser', 'DeleteIdpDepartment', 'CreateClientUser', 'UpdateIdpDepartment', 'UpdateClientUserStatus', 'DeleteClientUser', 'UpdateClientUserPassword'],
'type' => 'directory',
- 'children' => [
- 'ListIdpDepartments',
- 'CreateIdpDepartment',
- 'ListClientUsers',
- 'UpdateClientUser',
- 'GetClientUser',
- 'DeleteIdpDepartment',
- 'CreateClientUser',
- 'UpdateIdpDepartment',
- 'UpdateClientUserStatus',
- 'DeleteClientUser',
- 'UpdateClientUserPassword',
- ],
+ 'title' => '自定义身份源',
+ 'id' => 350497,
],
],
+ 'type' => 'directory',
+ 'title' => '身份源配置管理',
+ 'id' => 350493,
],
[
- 'id' => 185976,
- 'title' => '终端设备管理',
+ 'children' => ['UpdateUserDevicesStatus', 'ListExcessiveDeviceRegistrationApplications', 'UpdateExcessiveDeviceRegistrationApplicationsStatus', 'UpdateUserDevicesSharingStatus', 'ListUserDevices', 'ExportUserDevices', 'GetUserDevice', 'DeleteUserDevices', 'ListSoftwareForUserDevice'],
'type' => 'directory',
- 'children' => [
- 'UpdateUserDevicesStatus',
- 'ListExcessiveDeviceRegistrationApplications',
- 'UpdateExcessiveDeviceRegistrationApplicationsStatus',
- 'UpdateUserDevicesSharingStatus',
- 'ListUserDevices',
- 'ExportUserDevices',
- 'GetUserDevice',
- 'DeleteUserDevices',
- 'ListSoftwareForUserDevice',
- ],
+ 'title' => '终端设备管理',
+ 'id' => 350466,
],
[
- 'id' => 185984,
- 'title' => '设备注册策略',
+ 'children' => ['ListRegistrationPolicies', 'ListUserGroupsForRegistrationPolicy', 'ListRegistrationPoliciesForUserGroup', 'GetRegistrationPolicy', 'DeleteRegistrationPolicies', 'UpdateRegistrationPolicy', 'CreateRegistrationPolicy'],
'type' => 'directory',
- 'children' => [
- 'ListRegistrationPolicies',
- 'ListUserGroupsForRegistrationPolicy',
- 'ListRegistrationPoliciesForUserGroup',
- 'GetRegistrationPolicy',
- 'DeleteRegistrationPolicies',
- 'UpdateRegistrationPolicy',
- 'CreateRegistrationPolicy',
- ],
+ 'title' => '设备注册策略',
+ 'id' => 350476,
],
[
- 'id' => 181189,
- 'title' => '用户组',
+ 'children' => ['ListPolicesForUserGroup'],
'type' => 'directory',
- 'children' => [
- 'ListUserGroups',
- 'ListPolicesForUserGroup',
- 'GetUserGroup',
- 'CreateUserGroup',
- 'DeleteUserGroup',
- 'UpdateUserGroup',
- ],
+ 'title' => '用户组',
+ 'id' => 350423,
],
[
- 'id' => 190835,
- 'title' => '用户管理',
+ 'children' => ['ListUserPrivateAccessPolicies', 'ListUserApplications', 'UpdateUsersStatus'],
'type' => 'directory',
- 'children' => [
- 'ListUserPrivateAccessPolicies',
- 'ListUserApplications',
- 'ListUsers',
- 'UpdateUsersStatus',
- ],
+ 'title' => '用户管理',
+ 'id' => 350488,
],
[
- 'id' => 181191,
- 'title' => '内网访问应用',
+ 'children' => ['ListPrivateAccessApplications', 'ListTagsForPrivateAccessApplication', 'ListPolicesForPrivateAccessApplication', 'GetPrivateAccessApplication', 'CreatePrivateAccessApplication', 'DeletePrivateAccessApplication', 'UpdatePrivateAccessApplication'],
'type' => 'directory',
- 'children' => [
- 'ListPrivateAccessApplications',
- 'ListTagsForPrivateAccessApplication',
- 'ListPolicesForPrivateAccessApplication',
- 'GetPrivateAccessApplication',
- 'CreatePrivateAccessApplication',
- 'DeletePrivateAccessApplication',
- 'UpdatePrivateAccessApplication',
- ],
+ 'title' => '内网访问应用',
+ 'id' => 350430,
],
[
- 'id' => 181192,
- 'title' => 'Connector',
+ 'children' => ['AttachApplication2Connector', 'DetachApplication2Connector'],
'type' => 'directory',
- 'children' => [
- 'ListConnectors',
- 'AttachApplication2Connector',
- 'DetachApplication2Connector',
- ],
+ 'title' => 'Connector',
+ 'id' => 350438,
],
[
- 'id' => 181193,
- 'title' => '内网访问标签',
+ 'children' => ['ListPrivateAccessTags', 'ListApplicationsForPrivateAccessTag', 'ListPolicesForPrivateAccessTag', 'CreatePrivateAccessTag', 'DeletePrivateAccessTag'],
'type' => 'directory',
- 'children' => [
- 'ListPrivateAccessTags',
- 'ListApplicationsForPrivateAccessTag',
- 'ListPolicesForPrivateAccessTag',
- 'CreatePrivateAccessTag',
- 'DeletePrivateAccessTag',
- ],
+ 'title' => '内网访问标签',
+ 'id' => 350442,
],
[
- 'id' => 181194,
- 'title' => '内网访问策略',
+ 'children' => ['ListPrivateAccessPolices', 'ListUserGroupsForPrivateAccessPolicy', 'ListApplicationsForPrivateAccessPolicy', 'ListTagsForPrivateAccessPolicy', 'GetPrivateAccessPolicy', 'CreatePrivateAccessPolicy', 'DeletePrivateAccessPolicy', 'UpdatePrivateAccessPolicy'],
'type' => 'directory',
- 'children' => [
- 'ListPrivateAccessPolices',
- 'ListUserGroupsForPrivateAccessPolicy',
- 'ListApplicationsForPrivateAccessPolicy',
- 'ListTagsForPrivateAccessPolicy',
- 'GetPrivateAccessPolicy',
- 'CreatePrivateAccessPolicy',
- 'DeletePrivateAccessPolicy',
- 'UpdatePrivateAccessPolicy',
- ],
+ 'title' => '内网访问策略',
+ 'id' => 350448,
],
[
- 'id' => 182283,
- 'title' => '全球办公',
+ 'children' => ['ListDynamicRoutes', 'ListPrivateAccessApplicationsForDynamicRoute', 'ListPrivateAccessTagsForDynamicRoute', 'GetDynamicRoute', 'ListDynamicRouteRegions', 'CreateDynamicRoute', 'UpdateDynamicRoute', 'DeleteDynamicRoute'],
'type' => 'directory',
- 'children' => [
- 'ListDynamicRoutes',
- 'ListPrivateAccessApplicationsForDynamicRoute',
- 'ListPrivateAccessTagsForDynamicRoute',
- 'GetDynamicRoute',
- 'ListDynamicRouteRegions',
- 'CreateDynamicRoute',
- 'UpdateDynamicRoute',
- 'DeleteDynamicRoute',
- ],
+ 'title' => '全球办公',
+ 'id' => 350457,
],
[
- 'id' => 193109,
- 'title' => '数字水印',
+ 'children' => ['LookupWmInfoMapping', 'CreateWmInfoMapping', 'CreateWmBaseImage', 'GetWmExtractTask', 'GetWmEmbedTask', 'CreateWmExtractTask', 'CreateWmEmbedTask'],
'type' => 'directory',
- 'children' => [
- 'LookupWmInfoMapping',
- 'CreateWmInfoMapping',
- 'CreateWmBaseImage',
- 'GetWmExtractTask',
- 'GetWmEmbedTask',
- 'CreateWmExtractTask',
- 'CreateWmEmbedTask',
- ],
+ 'title' => '数字水印',
+ 'id' => 350509,
],
[
- 'id' => 190079,
- 'title' => '其他',
+ 'children' => ['RevokeUserSession', 'ListPopTrafficStatistics', 'DeleteOtpConfig', 'CreatePADiagnosisTask', 'CreateUserGroup', 'DeleteUserGroup', 'GetPADiagnosisTask', 'GetUserGroup', 'ListConnectors', 'ListForwardStrategies', 'ListForwardStrategyBindingItems', 'ListUserGroups', 'ListUsers', 'RevokeUserDeviceSession', 'UpdateUserGroup'],
'type' => 'directory',
- 'children' => [
- 'RevokeUserSession',
- 'ListPopTrafficStatistics',
- 'DeleteOtpConfig',
- ],
+ 'title' => '其他',
+ 'id' => 350484,
],
],
'components' => [
@@ -255,12 +124,7 @@
'Addresses' => [
'description' => '地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '地址信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'mmtcafts.alipay.com',
- ],
+ 'items' => ['description' => '地址信息。', 'type' => 'string', 'required' => false, 'example' => 'mmtcafts.alipay.com'],
'required' => false,
],
'Ports' => [
@@ -270,20 +134,8 @@
'description' => '端口信息列表。',
'type' => 'object',
'properties' => [
- 'Begin' => [
- 'description' => '起始端口。小于等于结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '123',
- ],
- 'End' => [
- 'description' => '结束端口。大于等于起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1234',
- ],
+ 'Begin' => ['description' => '起始端口。小于等于结束端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '123'],
+ 'End' => ['description' => '结束端口。大于等于起始端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1234'],
],
'required' => false,
],
@@ -292,21 +144,40 @@
],
'required' => false,
],
- 'AuthReportInterval' => [
- 'title' => 'authReportInterval',
+ 'AIUsageLimitPolicy' => [
+ 'title' => 'AI用量限制策略',
'type' => 'object',
'properties' => [
- 'TimeUnit' => [
- 'title' => 'timeUnit',
- 'type' => 'string',
+ 'LimitPolicyId' => ['title' => '策略ID', 'type' => 'string'],
+ 'Name' => ['title' => '策略名称', 'type' => 'string'],
+ 'Description' => ['title' => '策略描述', 'type' => 'string'],
+ 'Priority' => ['title' => '策略优先级,1-100,数值越小优先级越高', 'type' => 'integer', 'format' => 'int32'],
+ 'Status' => ['title' => '策略状态', 'type' => 'string'],
+ 'MetricType' => ['title' => '指标类型', 'type' => 'string'],
+ 'LimitValue' => ['title' => '限制阈值', 'type' => 'integer', 'format' => 'int64'],
+ 'ResetPeriod' => ['title' => '重置周期', 'type' => 'string'],
+ 'GmtCreate' => ['title' => '创建时间', 'type' => 'string'],
+ 'GmtModified' => ['title' => '修改时间', 'type' => 'string'],
+ 'UserGroupIds' => [
+ 'title' => '用户组ID列表',
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
- 'Value' => [
- 'title' => 'value',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'ServiceIds' => [
+ 'title' => '服务ID列表',
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
+ 'AuthReportInterval' => [
+ 'title' => 'authReportInterval',
+ 'type' => 'object',
+ 'properties' => [
+ 'TimeUnit' => ['title' => 'timeUnit', 'type' => 'string'],
+ 'Value' => ['title' => 'value', 'type' => 'integer', 'format' => 'int64'],
+ ],
+ ],
'CommonConfig' => [
'title' => 'common config',
'type' => 'object',
@@ -315,75 +186,41 @@
'title' => 'idp common config',
'type' => 'object',
'properties' => [
+ 'ApOidcCallbackUrl' => ['title' => 'oidc扩展认证源回调地址', 'type' => 'string'],
+ 'Dingtalk' => [
+ 'title' => '钉钉配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'EventCallbackBase' => ['type' => 'string'],
+ 'HomePage' => ['title' => '应用主页地址', 'type' => 'string'],
+ 'LoginRedirect' => ['title' => '登录回调地址', 'type' => 'string'],
+ 'EventLabel' => ['type' => 'string'],
+ ],
+ ],
'Feishu' => [
'title' => '飞书配置',
'type' => 'object',
'properties' => [
- 'HomePage' => [
- 'title' => '应用主页地址',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'type' => 'string',
- ],
- 'EventCallbackBase' => [
- 'title' => '事件回调地址',
- 'type' => 'string',
- ],
- 'LoginRedirect' => [
- 'title' => '登录回调地址',
- 'type' => 'string',
- ],
+ 'EventCallbackBase' => ['title' => '事件回调地址', 'type' => 'string'],
+ 'HomePage' => ['title' => '应用主页地址', 'type' => 'string'],
+ 'LoginRedirect' => ['title' => '登录回调地址', 'type' => 'string'],
+ 'EventLabel' => ['type' => 'string'],
],
],
- 'ApOidcCallbackUrl' => [
- 'title' => 'oidc扩展认证源回调地址',
- 'type' => 'string',
- ],
'Idaas2' => [
'title' => '新版IDaaS配置',
'type' => 'object',
'properties' => [
- 'EventLabel' => [
- 'type' => 'string',
- ],
- 'EventCallbackBase' => [
- 'type' => 'string',
- ],
+ 'EventLabel' => ['type' => 'string'],
+ 'EventCallbackBase' => ['type' => 'string'],
],
],
'Saml' => [
'title' => 'saml配置',
'type' => 'object',
'properties' => [
- 'Acs' => [
- 'title' => 'acs URL',
- 'type' => 'string',
- ],
- 'Metadata' => [
- 'title' => 'metadata URL',
- 'type' => 'string',
- ],
- ],
- ],
- 'Dingtalk' => [
- 'title' => '钉钉配置',
- 'type' => 'object',
- 'properties' => [
- 'HomePage' => [
- 'title' => '应用主页地址',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'type' => 'string',
- ],
- 'EventCallbackBase' => [
- 'type' => 'string',
- ],
- 'LoginRedirect' => [
- 'title' => '登录回调地址',
- 'type' => 'string',
- ],
+ 'Acs' => ['title' => 'acs URL', 'type' => 'string'],
+ 'Metadata' => ['title' => 'metadata URL', 'type' => 'string'],
],
],
],
@@ -393,18 +230,9 @@
'DeviceGroupDynamicRule' => [
'type' => 'object',
'properties' => [
- 'Key' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Operator' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'Args' => [
- 'type' => 'any',
- 'required' => false,
- ],
+ 'Key' => ['type' => 'string', 'required' => false],
+ 'Operator' => ['type' => 'string', 'required' => false],
+ 'Args' => ['type' => 'any', 'required' => false],
],
],
'DisposalContent' => [
@@ -414,116 +242,60 @@
'ProhibitActions' => [
'title' => 'prohibitActions',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => false,
],
'NotifyActions' => [
'title' => 'notifyActions',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
],
- 'AlertTitle' => [
- 'title' => 'alertTitle',
- 'type' => 'string',
- 'required' => false,
- ],
- 'AlertContent' => [
- 'title' => 'alertContent',
- 'type' => 'string',
- 'required' => false,
- ],
- 'NoticeContent' => [
- 'title' => 'noticeContent',
- 'type' => 'string',
- ],
- 'NoticeContentEn' => [
- 'title' => 'noticeContentEn',
- 'type' => 'string',
- ],
- 'AlertTitleEn' => [
- 'title' => 'alertTitleEn',
- 'type' => 'string',
- ],
- 'AlertContentEn' => [
- 'title' => 'alertContentEn',
- 'type' => 'string',
- ],
+ 'AlertTitle' => ['title' => 'alertTitle', 'type' => 'string', 'required' => false],
+ 'AlertContent' => ['title' => 'alertContent', 'type' => 'string', 'required' => false],
+ 'NoticeContent' => ['title' => 'noticeContent', 'type' => 'string'],
+ 'NoticeContentEn' => ['title' => 'noticeContentEn', 'type' => 'string'],
+ 'AlertTitleEn' => ['title' => 'alertTitleEn', 'type' => 'string'],
+ 'AlertContentEn' => ['title' => 'alertContentEn', 'type' => 'string'],
'NacDemotionPolicyIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'AlertIntervalSeconds' => [
- 'type' => 'integer',
- 'format' => 'int64',
+ 'items' => ['type' => 'string'],
],
+ 'AlertIntervalSeconds' => ['type' => 'integer', 'format' => 'int64'],
'ProhibitSoftwareIds' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'ExecutePeriod' => [
'type' => 'object',
'properties' => [
- 'ValidType' => [
- 'type' => 'string',
- ],
+ 'ValidType' => ['type' => 'string'],
'EffectTime' => [
'type' => 'object',
'properties' => [
- 'Start' => [
- 'type' => 'string',
- ],
- 'End' => [
- 'type' => 'string',
- ],
+ 'Start' => ['type' => 'string'],
+ 'End' => ['type' => 'string'],
],
],
'EffectDay' => [
'type' => 'object',
'properties' => [
- 'Monday' => [
- 'type' => 'boolean',
- ],
- 'Tuesday' => [
- 'type' => 'boolean',
- ],
- 'Wednesday' => [
- 'type' => 'boolean',
- ],
- 'Thursday' => [
- 'type' => 'boolean',
- ],
- 'Friday' => [
- 'type' => 'boolean',
- ],
- 'Saturday' => [
- 'type' => 'boolean',
- ],
- 'Sunday' => [
- 'type' => 'boolean',
- ],
+ 'Monday' => ['type' => 'boolean'],
+ 'Tuesday' => ['type' => 'boolean'],
+ 'Wednesday' => ['type' => 'boolean'],
+ 'Thursday' => ['type' => 'boolean'],
+ 'Friday' => ['type' => 'boolean'],
+ 'Saturday' => ['type' => 'boolean'],
+ 'Sunday' => ['type' => 'boolean'],
],
],
'ScheduleEffect' => [
'type' => 'object',
'properties' => [
- 'Frequency' => [
- 'type' => 'string',
- ],
- 'Interval' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'Frequency' => ['type' => 'string'],
+ 'Interval' => ['type' => 'integer', 'format' => 'int64'],
],
],
],
@@ -536,9 +308,7 @@
'MapItems' => [
'title' => '映射配置项',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IdpAttrMapConfigItem',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IdpAttrMapConfigItem'],
],
],
],
@@ -546,18 +316,9 @@
'title' => '身份源同步字段映射配置项',
'type' => 'object',
'properties' => [
- 'Target' => [
- 'title' => 'SASE的目标字段key',
- 'type' => 'string',
- ],
- 'TargetType' => [
- 'title' => 'SASE的目标字段类型',
- 'type' => 'string',
- ],
- 'Source' => [
- 'title' => '身份源字段key',
- 'type' => 'string',
- ],
+ 'Target' => ['title' => 'SASE的目标字段key', 'type' => 'string'],
+ 'TargetType' => ['title' => 'SASE的目标字段类型', 'type' => 'string'],
+ 'Source' => ['title' => '身份源字段key', 'type' => 'string'],
],
],
'IdpConfig' => [
@@ -567,89 +328,34 @@
'SyncStatus' => [
'title' => '同步状态',
'type' => 'string',
- 'enum' => [
- 'disabled',
- 'running',
- 'success',
- 'failed',
- ],
- ],
- 'Description' => [
- 'title' => '描述',
- 'type' => 'string',
- ],
- 'IdpConfigId' => [
- 'title' => '身份源配置ID',
- 'type' => 'string',
- ],
- 'Name' => [
- 'title' => '名称',
- 'type' => 'string',
- ],
- 'LdapConfig' => [
- '$ref' => '#/components/schemas/IdpLdapSubConfig',
- ],
- 'Type' => [
- 'title' => '类型',
- 'type' => 'string',
- ],
- 'LoginConfig' => [
- '$ref' => '#/components/schemas/IdpLoginConfig',
- ],
- 'FeishuConfig' => [
- '$ref' => '#/components/schemas/IdpFeishuSubConfig',
- ],
- 'ConnectConfig' => [
- '$ref' => '#/components/schemas/IdpConnectConfig',
- ],
- 'DingtalkConfig' => [
- '$ref' => '#/components/schemas/IdpDingtalkSubConfig',
- ],
- 'SyncConfig' => [
- '$ref' => '#/components/schemas/IdpSyncConfig',
- ],
- 'AttrMapConfig' => [
- '$ref' => '#/components/schemas/IdpAttrMapConfig',
- ],
- 'LastSyncTimeUnix' => [
- 'title' => '最后一次同步时间',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'Enabled' => [
- 'title' => '是否启用身份源',
- 'type' => 'boolean',
- ],
- 'WeixinConfig' => [
- '$ref' => '#/components/schemas/IdpWeixin2SubConfig',
- ],
- 'IdaasConfig' => [
- '$ref' => '#/components/schemas/IdpIdaas2SubConfig',
- ],
- 'WuyingConfig' => [
- '$ref' => '#/components/schemas/OpenStructIdpWuyingSubConfig',
- ],
- 'LogoDirectory' => [
- 'type' => 'string',
- ],
- 'IdpId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'enum' => ['disabled', 'running', 'success', 'failed'],
+ ],
+ 'Description' => ['title' => '描述', 'type' => 'string'],
+ 'IdpConfigId' => ['title' => '身份源配置ID', 'type' => 'string'],
+ 'Name' => ['title' => '名称', 'type' => 'string'],
+ 'LdapConfig' => ['$ref' => '#/components/schemas/IdpLdapSubConfig'],
+ 'Type' => ['title' => '类型', 'type' => 'string'],
+ 'LoginConfig' => ['$ref' => '#/components/schemas/IdpLoginConfig'],
+ 'FeishuConfig' => ['$ref' => '#/components/schemas/IdpFeishuSubConfig'],
+ 'ConnectConfig' => ['$ref' => '#/components/schemas/IdpConnectConfig'],
+ 'DingtalkConfig' => ['$ref' => '#/components/schemas/IdpDingtalkSubConfig'],
+ 'SyncConfig' => ['$ref' => '#/components/schemas/IdpSyncConfig'],
+ 'AttrMapConfig' => ['$ref' => '#/components/schemas/IdpAttrMapConfig'],
+ 'LastSyncTimeUnix' => ['title' => '最后一次同步时间', 'type' => 'integer', 'format' => 'int64'],
+ 'Enabled' => ['title' => '是否启用身份源', 'type' => 'boolean'],
+ 'WeixinConfig' => ['$ref' => '#/components/schemas/IdpWeixin2SubConfig'],
+ 'IdaasConfig' => ['$ref' => '#/components/schemas/IdpIdaas2SubConfig'],
+ 'WuyingConfig' => ['$ref' => '#/components/schemas/OpenStructIdpWuyingSubConfig'],
+ 'LogoDirectory' => ['type' => 'string'],
+ 'IdpId' => ['type' => 'integer', 'format' => 'int64'],
],
],
'IdpConnectConfig' => [
'title' => '身份源连接配置',
'type' => 'object',
'properties' => [
- 'UseConnector' => [
- 'title' => '是否使用connector',
- 'type' => 'boolean',
- ],
- 'ConnectorId' => [
- 'title' => 'connector id',
- 'type' => 'string',
- ],
+ 'UseConnector' => ['title' => '是否使用connector', 'type' => 'boolean'],
+ 'ConnectorId' => ['title' => 'connector id', 'type' => 'string'],
],
],
'IdpCustomField' => [
@@ -659,150 +365,61 @@
'Type' => [
'title' => '类型',
'type' => 'string',
- 'enum' => [
- 'string',
- 'integer',
- 'boolean',
- 'float',
- ],
- ],
- 'Description' => [
- 'title' => '描述',
- 'type' => 'string',
- ],
- 'Value' => [
- 'title' => '值',
- 'type' => 'string',
- ],
- 'Key' => [
- 'title' => '键',
- 'type' => 'string',
- ],
- 'Name' => [
- 'title' => '名称',
- 'type' => 'string',
+ 'enum' => ['string', 'integer', 'boolean', 'float'],
],
+ 'Value' => ['title' => '值', 'type' => 'string'],
+ 'Key' => ['title' => '键', 'type' => 'string'],
+ 'Description' => ['title' => '描述', 'type' => 'string'],
+ 'Name' => ['title' => '名称', 'type' => 'string'],
],
],
'IdpDingtalkSubConfig' => [
'title' => '钉钉身份源配置',
'type' => 'object',
'properties' => [
- 'CorpId' => [
- 'title' => 'CorpId',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'title' => '回调标签',
- 'type' => 'string',
- ],
- 'Exclusive' => [
- 'title' => '是否是专属钉',
- 'type' => 'boolean',
- ],
- 'AppKey' => [
- 'title' => 'app key',
- 'type' => 'string',
- ],
- 'RedirectUri' => [
- 'title' => '登录回调url',
- 'type' => 'string',
- ],
- 'EventVerifyToken' => [
- 'title' => '回调token',
- 'type' => 'string',
- ],
- 'EventAesKey' => [
- 'title' => '回调AES密钥',
- 'type' => 'string',
- ],
- 'AppSecret' => [
- 'title' => 'app secret',
- 'type' => 'string',
- ],
+ 'CorpId' => ['title' => 'CorpId', 'type' => 'string'],
+ 'AppSecret' => ['title' => 'app secret', 'type' => 'string'],
+ 'EventLabel' => ['title' => '回调标签', 'type' => 'string'],
+ 'Exclusive' => ['title' => '是否是专属钉', 'type' => 'boolean'],
+ 'AppKey' => ['title' => 'app key', 'type' => 'string'],
+ 'RedirectUri' => ['title' => '登录回调url', 'type' => 'string'],
+ 'EventVerifyToken' => ['title' => '回调token', 'type' => 'string'],
+ 'EventAesKey' => ['title' => '回调AES密钥', 'type' => 'string'],
+ 'Oauth' => ['type' => 'boolean'],
],
],
'IdpFeishuSubConfig' => [
'title' => '飞书身份源配置',
'type' => 'object',
'properties' => [
- 'CorpId' => [
- 'title' => 'CorpId',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'title' => 'EventLabel',
- 'type' => 'string',
- ],
- 'AppId' => [
- 'title' => 'AppId',
- 'type' => 'string',
- ],
- 'RedirectUri' => [
- 'title' => 'RedirectUri',
- 'type' => 'string',
- ],
- 'EventVerifyToken' => [
- 'title' => 'EventVerifyToken',
- 'type' => 'string',
- ],
- 'EventAesKey' => [
- 'title' => 'EventAesKey',
- 'type' => 'string',
- ],
- 'AppSecret' => [
- 'title' => 'AppSecret',
- 'type' => 'string',
- ],
+ 'CorpId' => ['title' => 'CorpId', 'type' => 'string'],
+ 'EventLabel' => ['title' => 'EventLabel', 'type' => 'string'],
+ 'AppId' => ['title' => 'AppId', 'type' => 'string'],
+ 'RedirectUri' => ['title' => 'RedirectUri', 'type' => 'string'],
+ 'EventVerifyToken' => ['title' => 'EventVerifyToken', 'type' => 'string'],
+ 'EventAesKey' => ['title' => 'EventAesKey', 'type' => 'string'],
+ 'AppSecret' => ['title' => 'AppSecret', 'type' => 'string'],
],
],
'IdpIdaas2SubConfig' => [
'title' => 'IDaaS身份源配置',
'type' => 'object',
'properties' => [
- 'EventLabel' => [
- 'title' => 'EventLabel',
- 'type' => 'string',
- ],
- 'InstanceId' => [
- 'title' => 'InstanceId',
- 'type' => 'string',
- ],
- 'ClientSecret' => [
- 'title' => '新版idaas:ClientSecret'."\n"
- .'旧版idaas:api secret',
- 'type' => 'string',
- ],
- 'ClientId' => [
- 'title' => '新版idaas:ClientId'."\n"
- .'旧版idaas:api key',
- 'type' => 'string',
- ],
+ 'EventLabel' => ['title' => 'EventLabel', 'type' => 'string'],
+ 'InstanceId' => ['title' => 'InstanceId', 'type' => 'string'],
+ 'ClientSecret' => ['title' => '新版idaas:ClientSecret'."\n"
+ .'旧版idaas:api secret', 'type' => 'string'],
+ 'ClientId' => ['title' => '新版idaas:ClientId'."\n"
+ .'旧版idaas:api key', 'type' => 'string'],
'Region' => [
'title' => 'Region',
'type' => 'string',
- 'enum' => [
- 'cn-hangzhou',
- 'ap-southeast-1',
- 'cn-hongkong',
- 'eu-central-1',
- ],
- ],
- 'EventAesKey' => [
- 'title' => 'EventAesKey',
- 'type' => 'string',
- ],
- 'ApplicationId' => [
- 'title' => 'ApplicationId',
- 'type' => 'string',
- ],
- 'PublicKeyEndpoint' => [
- 'title' => 'PublicKeyEndpoint',
- 'type' => 'string',
- ],
- 'SamlMetadata' => [
- 'type' => 'string',
+ 'enum' => ['cn-hangzhou', 'ap-southeast-1', 'cn-hongkong', 'eu-central-1', 'ap-northeast-2', 'ap-southeast-5'],
],
+ 'EventAesKey' => ['title' => 'EventAesKey', 'type' => 'string'],
+ 'ApplicationId' => ['title' => 'ApplicationId', 'type' => 'string'],
+ 'PublicKeyEndpoint' => ['title' => 'PublicKeyEndpoint', 'type' => 'string'],
+ 'SamlMetadata' => ['type' => 'string'],
],
],
'IdpLdapSubConfig' => [
@@ -812,303 +429,136 @@
'ServerType' => [
'title' => 'ldap服务器类型',
'type' => 'string',
- 'enum' => [
- 'openldap',
- 'windows_ad',
- ],
- ],
- 'GroupBaseDn' => [
- 'title' => '组basedn',
- 'type' => 'string',
- ],
- 'UserDn' => [
- 'title' => '管理员dn',
- 'type' => 'string',
- ],
- 'ServerAddr' => [
- 'title' => '服务器地址',
- 'type' => 'string',
- ],
- 'GroupFilter' => [
- 'title' => '组过滤器',
- 'type' => 'string',
- ],
- 'UserFilter' => [
- 'title' => '用户过滤器',
- 'type' => 'string',
- ],
- 'UserPassword' => [
- 'title' => '管理员密码',
- 'type' => 'string',
- ],
- 'UseSsl' => [
- 'title' => '使用ssl',
- 'type' => 'boolean',
- ],
- 'GroupMembershipAttr' => [
- 'title' => '部门属性',
- 'type' => 'string',
- ],
- 'BaseDn' => [
- 'title' => 'basedn',
- 'type' => 'string',
- ],
- 'LoginNameAttr' => [
- 'title' => '登录名属性',
- 'type' => 'string',
- ],
- 'ServerPort' => [
- 'title' => '服务器端口',
- 'type' => 'string',
- ],
- 'GroupNameAttr' => [
- 'title' => '部门名属性',
- 'type' => 'string',
+ 'enum' => ['openldap', 'windows_ad'],
],
+ 'GroupBaseDn' => ['title' => '组basedn', 'type' => 'string'],
+ 'UserDn' => ['title' => '管理员dn', 'type' => 'string'],
+ 'ServerAddr' => ['title' => '服务器地址', 'type' => 'string'],
+ 'GroupFilter' => ['title' => '组过滤器', 'type' => 'string'],
+ 'UserFilter' => ['title' => '用户过滤器', 'type' => 'string'],
+ 'UserPassword' => ['title' => '管理员密码', 'type' => 'string'],
+ 'UseSsl' => ['title' => '使用ssl', 'type' => 'boolean'],
+ 'GroupMembershipAttr' => ['title' => '部门属性', 'type' => 'string'],
+ 'BaseDn' => ['title' => 'basedn', 'type' => 'string'],
+ 'LoginNameAttr' => ['title' => '登录名属性', 'type' => 'string'],
+ 'ServerPort' => ['title' => '服务器端口', 'type' => 'string'],
+ 'GroupNameAttr' => ['title' => '部门名属性', 'type' => 'string'],
],
],
'IdpLoginConfig' => [
'title' => '身份源登录配置',
'type' => 'object',
'properties' => [
- 'TotpCorpVerifyUrl' => [
- 'title' => '企业totp校验url',
- 'type' => 'string',
- ],
+ 'TotpCorpVerifyUrl' => ['title' => '企业totp校验url', 'type' => 'string'],
+ 'PcMfaTypes' => ['title' => '桌面端端mfa方式,逗号分隔的枚举值'."\n"
+ .'sms_email: 通过邮箱发送验证码'."\n"
+ .'sms_phone: 通过手机发送验证码'."\n"
+ .'totp_sase: 仅允许 SASE 移动端 展示'."\n"
+ .'totp_third: 仅允许第三方 APP 绑定'."\n"
+ .'totp_corp: 仅允许企业自有 OTP', 'type' => 'string'],
'PcLoginType' => [
'title' => '桌面端登录方式',
'type' => 'string',
- 'enum' => [
- 'password',
- 'non-password',
- ],
- ],
- 'MobileMfaTypes' => [
- 'title' => '移动端mfa方式,逗号分隔的枚举值'."\n"
- .'sms_email: 通过邮箱发送验证码'."\n"
- .'sms_phone: 通过手机发送验证码'."\n"
- .'totp_sase: 仅允许 SASE 移动端 展示'."\n"
- .'totp_third: 仅允许第三方 APP 绑定'."\n"
- .'totp_corp: 仅允许企业自有 OTP',
- 'type' => 'string',
- ],
- 'TotpCorpVerifyToken' => [
- 'title' => '企业totp校验token',
- 'type' => 'string',
- ],
- 'PcMfaTypes' => [
- 'title' => '桌面端端mfa方式,逗号分隔的枚举值'."\n"
- .'sms_email: 通过邮箱发送验证码'."\n"
- .'sms_phone: 通过手机发送验证码'."\n"
- .'totp_sase: 仅允许 SASE 移动端 展示'."\n"
- .'totp_third: 仅允许第三方 APP 绑定'."\n"
- .'totp_corp: 仅允许企业自有 OTP',
- 'type' => 'string',
+ 'enum' => ['password', 'non-password'],
],
+ 'TotpCorpVerifyToken' => ['title' => '企业totp校验token', 'type' => 'string'],
'MobileLoginType' => [
'title' => '移动端登录方式',
'type' => 'string',
- 'enum' => [
- 'password',
- 'non-password',
- ],
- ],
- 'TotpCorpVerifyAesKey' => [
- 'title' => '企业totp加密AES密钥',
- 'type' => 'string',
+ 'enum' => ['password', 'non-password'],
],
+ 'MobileMfaTypes' => ['title' => '移动端mfa方式,逗号分隔的枚举值'."\n"
+ .'sms_email: 通过邮箱发送验证码'."\n"
+ .'sms_phone: 通过手机发送验证码'."\n"
+ .'totp_sase: 仅允许 SASE 移动端 展示'."\n"
+ .'totp_third: 仅允许第三方 APP 绑定'."\n"
+ .'totp_corp: 仅允许企业自有 OTP', 'type' => 'string'],
+ 'TotpCorpVerifyAesKey' => ['title' => '企业totp加密AES密钥', 'type' => 'string'],
],
],
'IdpLoginOrderItem' => [
'title' => '登录页认证源',
'type' => 'object',
'properties' => [
- 'Desc' => [
- 'title' => '描述',
- 'type' => 'string',
- ],
- 'Type' => [
- 'title' => '类型',
- 'type' => 'string',
- ],
- 'Enabled' => [
- 'title' => '是否启用认证',
- 'type' => 'boolean',
- ],
+ 'Desc' => ['title' => '描述', 'type' => 'string'],
+ 'Type' => ['title' => '类型', 'type' => 'string'],
'Class' => [
'title' => '种类:身份源、扩展认证源',
'type' => 'string',
- 'enum' => [
- 'idp',
- 'ap',
- ],
- ],
- 'ConfigId' => [
- 'title' => '身份源活认证源的id',
- 'type' => 'string',
- ],
- 'Name' => [
- 'title' => '名称',
- 'type' => 'string',
+ 'enum' => ['idp', 'ap'],
],
+ 'ConfigId' => ['title' => '身份源活认证源的id', 'type' => 'string'],
+ 'Name' => ['title' => '名称', 'type' => 'string'],
+ 'Enabled' => ['title' => '是否启用认证', 'type' => 'boolean'],
],
],
'IdpSyncConfig' => [
'title' => '同步配置',
'type' => 'object',
'properties' => [
- 'UserSyncEnabled' => [
- 'type' => 'boolean',
- ],
- 'ScheduleSyncIntervalSecond' => [
- 'title' => '定时同步时间间隔',
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'AutoSyncEnabled' => [
- 'title' => '自动同步开关',
- 'type' => 'boolean',
- ],
+ 'ScheduleSyncIntervalSecond' => ['title' => '定时同步时间间隔', 'type' => 'integer', 'format' => 'int64'],
+ 'AutoSyncEnabled' => ['title' => '自动同步开关', 'type' => 'boolean'],
'IdpDepartmentInfos' => [
'title' => '选择同步的部门名称,和 IdpDepartmentIds 一一对应',
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Id' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'Id' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
],
],
],
+ 'UserSyncEnabled' => ['type' => 'boolean'],
],
],
'IdpWeixin2SubConfig' => [
'title' => '企微身份源配置',
'type' => 'object',
'properties' => [
- 'AppSchema' => [
- 'title' => '安卓schema',
- 'type' => 'string',
- ],
- 'CorpId' => [
- 'title' => 'corp id',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'title' => '事件回调标签',
- 'type' => 'string',
- ],
- 'RedirectUri' => [
- 'title' => '登录回调地址',
- 'type' => 'string',
- ],
- 'EventVerifyToken' => [
- 'title' => 'EventVerifyToken',
- 'type' => 'string',
- ],
- 'AgentId' => [
- 'title' => 'AgentId',
- 'type' => 'string',
- ],
- 'EventAesKey' => [
- 'type' => 'string',
- ],
- 'AppSecret' => [
- 'title' => '密钥',
- 'type' => 'string',
- ],
+ 'AppSecret' => ['title' => '密钥', 'type' => 'string'],
+ 'AppSchema' => ['title' => '安卓schema', 'type' => 'string'],
+ 'CorpId' => ['title' => 'corp id', 'type' => 'string'],
+ 'EventLabel' => ['title' => '事件回调标签', 'type' => 'string'],
+ 'RedirectUri' => ['title' => '登录回调地址', 'type' => 'string'],
+ 'EventVerifyToken' => ['title' => 'EventVerifyToken', 'type' => 'string'],
+ 'AgentId' => ['title' => 'AgentId', 'type' => 'string'],
+ 'EventAesKey' => ['type' => 'string'],
],
],
'OpenStructIdpSyncRecord' => [
'type' => 'object',
'properties' => [
- 'Action' => [
- 'type' => 'string',
- ],
- 'IdpResourceId' => [
- 'type' => 'string',
- ],
- 'SaseRawJson' => [
- 'type' => 'string',
- ],
- 'RecordType' => [
- 'type' => 'string',
- ],
- 'SyncRecordId' => [
- 'type' => 'string',
- ],
- 'SaseResourceId' => [
- 'type' => 'string',
- ],
- 'SyncTaskId' => [
- 'type' => 'string',
- ],
- 'TimeUnix' => [
- 'type' => 'string',
- ],
- 'Success' => [
- 'type' => 'boolean',
- ],
- 'IdpRawJson' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
+ 'SyncTaskId' => ['type' => 'string'],
+ 'SyncRecordId' => ['type' => 'string'],
+ 'RecordType' => ['type' => 'string'],
+ 'Action' => ['type' => 'string'],
+ 'Success' => ['type' => 'boolean'],
+ 'Name' => ['type' => 'string'],
+ 'IdpResourceId' => ['type' => 'string'],
+ 'SaseResourceId' => ['type' => 'string'],
+ 'IdpRawJson' => ['type' => 'string'],
+ 'SaseRawJson' => ['type' => 'string'],
+ 'TimeUnix' => ['type' => 'string'],
],
],
'OpenStructIdpSyncTask' => [
'type' => 'object',
'properties' => [
- 'Status' => [
- 'title' => 'pending'."\n"
- .'running'."\n"
- .'success'."\n"
- .'failed',
- 'type' => 'string',
- ],
- 'UserFailed' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DepartmentFailed' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'DepartmentTotal' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'StartTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'EndTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'UserTotal' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SyncTaskId' => [
- 'type' => 'string',
- ],
- 'UpdateTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'FailType' => [
- 'type' => 'string',
- ],
- 'IdpConfigId' => [
- 'type' => 'string',
- 'format' => 'byte',
- ],
+ 'SyncTaskId' => ['type' => 'string'],
+ 'Status' => ['title' => 'pending'."\n"
+ .'running'."\n"
+ .'success'."\n"
+ .'failed', 'type' => 'string'],
+ 'StartTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'UpdateTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'EndTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'UserTotal' => ['type' => 'integer', 'format' => 'int64'],
+ 'UserFailed' => ['type' => 'integer', 'format' => 'int64'],
+ 'DepartmentTotal' => ['type' => 'integer', 'format' => 'int64'],
+ 'DepartmentFailed' => ['type' => 'integer', 'format' => 'int64'],
+ 'IdpConfigId' => ['type' => 'string', 'format' => 'byte'],
+ 'FailType' => ['type' => 'string'],
],
],
'OpenStructIdpWuyingSubConfig' => [
@@ -1116,118 +566,56 @@
'properties' => [
'Aliuids' => [
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
],
],
],
'OpenStructSaseDepartment' => [
'type' => 'object',
'properties' => [
- 'DepartmentId' => [
- 'type' => 'string',
- ],
- 'ParentDepartmentId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'FullDn' => [
- 'type' => 'string',
- ],
- 'FullDepartmentIdPath' => [
- 'type' => 'string',
- ],
- 'IdpId' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
+ 'DepartmentId' => ['type' => 'string'],
+ 'ParentDepartmentId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'FullDn' => ['type' => 'string'],
+ 'FullDepartmentIdPath' => ['type' => 'string'],
+ 'IdpId' => ['type' => 'integer', 'format' => 'int64'],
],
],
'OpenStructSaseUser' => [
'type' => 'object',
'properties' => [
- 'SaseUserId' => [
- 'type' => 'string',
- ],
- 'Username' => [
- 'type' => 'string',
- ],
- 'Telephone' => [
- 'type' => 'string',
- ],
- 'Email' => [
- 'type' => 'string',
- ],
+ 'SaseUserId' => ['type' => 'string'],
+ 'Username' => ['type' => 'string'],
+ 'Telephone' => ['type' => 'string'],
+ 'Email' => ['type' => 'string'],
'Departments' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/OpenStructSaseDepartment',
- ],
+ 'items' => ['$ref' => '#/components/schemas/OpenStructSaseDepartment'],
],
'CustomFields' => [
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/IdpCustomField',
- ],
- ],
- 'CreateTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'UpdateTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SaseUserStatus' => [
- 'type' => 'string',
- ],
- 'Title' => [
- 'type' => 'string',
- ],
- 'WorkStatus' => [
- 'type' => 'string',
- ],
- 'LeaveTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'SyncTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'LoginTimeUnix' => [
- 'type' => 'integer',
- 'format' => 'int64',
- ],
- 'IdpConfigId' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'items' => ['$ref' => '#/components/schemas/IdpCustomField'],
+ ],
+ 'CreateTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'UpdateTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'SaseUserStatus' => ['type' => 'string'],
+ 'Title' => ['type' => 'string'],
+ 'WorkStatus' => ['type' => 'string'],
+ 'LeaveTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'SyncTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'LoginTimeUnix' => ['type' => 'integer', 'format' => 'int64'],
+ 'IdpConfigId' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
'UserTags' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'Aliuid' => [
- 'type' => 'string',
- ],
- 'SaseUserId' => [
- 'type' => 'string',
- ],
- 'TagId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'Description' => [
- 'type' => 'string',
- ],
+ 'Aliuid' => ['type' => 'string'],
+ 'SaseUserId' => ['type' => 'string'],
+ 'TagId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'Description' => ['type' => 'string'],
],
],
],
@@ -1236,40 +624,57 @@
'OpenStructSaseUserSimple' => [
'type' => 'object',
'properties' => [
- 'SaseUserId' => [
- 'type' => 'string',
- ],
- 'Username' => [
- 'type' => 'string',
- ],
- 'Telephone' => [
- 'type' => 'string',
- ],
- 'Email' => [
- 'type' => 'string',
- ],
- 'IdpConfigId' => [
- 'type' => 'string',
- ],
+ 'SaseUserId' => ['type' => 'string'],
+ 'Username' => ['type' => 'string'],
+ 'Telephone' => ['type' => 'string'],
+ 'Email' => ['type' => 'string'],
+ 'IdpConfigId' => ['type' => 'string'],
'Departments' => [
'type' => 'array',
'items' => [
'type' => 'object',
'properties' => [
- 'DepartmentId' => [
- 'type' => 'string',
- ],
- 'Name' => [
- 'type' => 'string',
- ],
- 'ParentDepartmentId' => [
- 'type' => 'string',
- ],
- 'FullDepartmentIdPath' => [
- 'type' => 'string',
+ 'DepartmentId' => ['type' => 'string'],
+ 'Name' => ['type' => 'string'],
+ 'ParentDepartmentId' => ['type' => 'string'],
+ 'FullDepartmentIdPath' => ['type' => 'string'],
+ 'FullDn' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'PAApplicationUnauthorizedAccessConfig' => [
+ 'description' => '未授权应用访问申请配置',
+ 'type' => 'object',
+ 'properties' => [
+ 'Enabled' => ['description' => '是否启用:'."\n"
+ .'- **true**: 启用,应用未授权情况会跳转到拦截页面'."\n"
+ .'- **false**: 未启用,应用未授权情况默认返回错误信息', 'type' => 'boolean', 'example' => 'true'],
+ 'AllowReport' => ['description' => '是否允许终端用户提交审批。', 'type' => 'boolean', 'example' => 'true'],
+ 'ReportProcessId' => ['description' => '策略关联审批流程ID。', 'type' => 'string', 'example' => 'approval-process-0ee84ac4f9c31bc5'],
+ 'BlockContent' => [
+ 'description' => '客户端拦截弹窗展示内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BlockTextZh' => [
+ 'description' => '中文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BrowserAlertTitle' => ['description' => '拦截页面标题', 'type' => 'string', 'example' => '无权限访问'],
+ 'BrowserAlertContent' => ['description' => '拦截页面提示内容', 'type' => 'string', 'example' => '您暂无权限访问该系统。如有工作需要,请提交权限申请。'],
+ 'ReportButtonText' => ['description' => '报备审批按钮内容', 'type' => 'string', 'example' => '前往报备'],
+ 'BrowserAlertStyle' => ['description' => '拦截页面背景图案', 'type' => 'string', 'example' => 'https://img.alicdn.com/xxx.png'],
],
- 'FullDn' => [
- 'type' => 'string',
+ ],
+ 'BlockTextEn' => [
+ 'description' => '英文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BrowserAlertTitle' => ['description' => '英文拦截页面标题', 'type' => 'string', 'example' => 'No Permission Access'],
+ 'BrowserAlertContent' => ['description' => '英文拦截页面提示内容', 'type' => 'string', 'example' => 'You do not have permission to access this system. If you need to do so, please submit a permission request.'],
+ 'ReportButtonText' => ['description' => '英文报备审批按钮内容', 'type' => 'string', 'example' => 'Report'],
+ 'BrowserAlertStyle' => ['description' => '英文拦截页面背景图案', 'type' => 'string', 'example' => 'https://img.alicdn.com/xxx.png'."\n"],
],
],
],
@@ -1290,10 +695,7 @@
'title' => '改写操作',
'description' => '改写操作数组。',
'type' => 'array',
- 'items' => [
- 'description' => '改写操作。',
- '$ref' => '#/components/schemas/PAL7ConfigRewriteOp',
- ],
+ 'items' => ['description' => '改写操作。', '$ref' => '#/components/schemas/PAL7ConfigRewriteOp'],
],
],
],
@@ -1308,27 +710,15 @@
.'- **disabled**:禁用JS引流。'."\n"
.'- **whitelist**:白名单模式,按需引流。',
'type' => 'string',
- 'enumValueTitles' => [
- 'disabled' => 'disabled',
- 'whitelist' => 'whitelist',
- ],
+ 'enumValueTitles' => ['disabled' => 'disabled', 'whitelist' => 'whitelist'],
'example' => 'disabled',
- 'enum' => [
- 'disabled',
- 'whitelist',
- 'blacklist',
- 'global',
- 'on_demand',
- ],
+ 'enum' => ['disabled', 'whitelist', 'blacklist', 'global', 'on_demand'],
],
'ReplaceRules' => [
'title' => '改写规则',
'description' => 'JS内网请求改写规则数组。',
'type' => 'array',
- 'items' => [
- 'description' => 'JS内网请求改写规则。',
- '$ref' => '#/components/schemas/PAL7ConfigReplaceRule',
- ],
+ 'items' => ['description' => 'JS内网请求改写规则。', '$ref' => '#/components/schemas/PAL7ConfigReplaceRule'],
],
],
],
@@ -1341,11 +731,7 @@
'title' => 'app匿名访问源IP',
'description' => '可以匿名访问应用的源IP段数组。',
'type' => 'array',
- 'items' => [
- 'description' => 'CIDR格式的IP段。',
- 'type' => 'string',
- 'example' => '10.x.x.1/24'."\n",
- ],
+ 'items' => ['description' => 'CIDR格式的IP段。', 'type' => 'string', 'example' => '10.x.x.1/24'."\n"],
],
'Mode' => [
'title' => '匿名访问模式',
@@ -1356,11 +742,7 @@
'type' => 'string',
'example' => 'disabled',
'default' => 'disabled',
- 'enum' => [
- 'disabled',
- 'app',
- 'url',
- ],
+ 'enum' => ['disabled', 'app', 'url'],
],
'UrlBypassRules' => [
'title' => 'url匿名访问规则',
@@ -1374,33 +756,20 @@
'title' => 'url路径',
'description' => '允许匿名访问的URL路径。',
'type' => 'array',
- 'items' => [
- 'description' => 'URL路径。',
- 'type' => 'string',
- 'example' => '/api/xxx',
- ],
+ 'items' => ['description' => 'URL路径。', 'type' => 'string', 'example' => '/api/xxx'],
],
'Froms' => [
'title' => '源IP CIDR',
'description' => '可以匿名访问应用路径的源IP段数组。',
'type' => 'array',
- 'items' => [
- 'description' => 'CIDR格式的IP段。',
- 'type' => 'string',
- 'example' => '10.x.x.1/24'."\n",
- ],
+ 'items' => ['description' => 'CIDR格式的IP段。', 'type' => 'string', 'example' => '10.x.x.1/24'."\n"],
],
],
],
],
],
],
- 'CertId' => [
- 'title' => '证书ID',
- 'description' => '证书ID。使用自定义代理域名时该参数必填。',
- 'type' => 'string',
- 'example' => 'cert-xxxx',
- ],
+ 'CertId' => ['title' => '证书ID', 'description' => '证书ID。使用自定义代理域名时该参数必填。', 'type' => 'string', 'example' => 'cert-xxxx'],
'ResponseHeaderRewriteConfig' => [
'title' => '响应头重写',
'description' => 'HTTP响应头重写配置。',
@@ -1410,10 +779,7 @@
'title' => '改写操作',
'description' => '改写操作数组。',
'type' => 'array',
- 'items' => [
- 'description' => '改写操作。',
- '$ref' => '#/components/schemas/PAL7ConfigRewriteOp',
- ],
+ 'items' => ['description' => '改写操作。', '$ref' => '#/components/schemas/PAL7ConfigRewriteOp'],
],
],
],
@@ -1428,25 +794,15 @@
.'- **disabled**:禁用HTML内网域名改写。'."\n"
.'- **auto**:自动模式,会自动识别HTML中的内网域名并进行改写。',
'type' => 'string',
- 'enumValueTitles' => [
- 'auto' => 'auto',
- 'disabled' => 'disabled',
- ],
+ 'enumValueTitles' => ['auto' => 'auto', 'disabled' => 'disabled'],
'example' => 'auto',
- 'enum' => [
- 'disabled',
- 'auto',
- 'replace',
- ],
+ 'enum' => ['disabled', 'auto', 'replace'],
],
'ReplaceRules' => [
'title' => '改写规则',
'description' => '改写规则数组。',
'type' => 'array',
- 'items' => [
- 'description' => '改写规则。',
- '$ref' => '#/components/schemas/PAL7ConfigReplaceRule',
- ],
+ 'items' => ['description' => '改写规则。', '$ref' => '#/components/schemas/PAL7ConfigReplaceRule'],
],
],
],
@@ -1459,10 +815,7 @@
'title' => '改写操作',
'description' => '改写操作数组。',
'type' => 'array',
- 'items' => [
- 'description' => '改写操作。',
- '$ref' => '#/components/schemas/PAL7ConfigRewriteOp',
- ],
+ 'items' => ['description' => '改写操作。', '$ref' => '#/components/schemas/PAL7ConfigRewriteOp'],
],
],
],
@@ -1475,11 +828,7 @@
'title' => 'DNS服务器地址',
'description' => 'DNS服务器地址数组。网关会优先使用此处配置的DNS服务器来解析内网域名。',
'type' => 'array',
- 'items' => [
- 'description' => 'DNS服务器地址。',
- 'type' => 'string',
- 'example' => '10.x.x.1',
- ],
+ 'items' => ['description' => 'DNS服务器地址。', 'type' => 'string', 'example' => '10.x.x.1'],
],
],
],
@@ -1490,10 +839,7 @@
.'- **custom**:使用自定义代理域名。',
'type' => 'string',
'format' => 'byte',
- 'enumValueTitles' => [
- 'custom' => '自定义代理域名',
- 'automatic' => '映射代理域名',
- ],
+ 'enumValueTitles' => ['custom' => '自定义代理域名', 'automatic' => '映射代理域名'],
'example' => 'automatic',
],
],
@@ -1503,18 +849,8 @@
'description' => '替换规则。',
'type' => 'object',
'properties' => [
- 'From' => [
- 'title' => '替换源',
- 'description' => '替换原内容。',
- 'type' => 'string',
- 'example' => 'before',
- ],
- 'To' => [
- 'title' => '替换目标',
- 'description' => '替换目标内容。',
- 'type' => 'string',
- 'example' => 'after',
- ],
+ 'From' => ['title' => '替换源', 'description' => '替换原内容。', 'type' => 'string', 'example' => 'before'],
+ 'To' => ['title' => '替换目标', 'description' => '替换目标内容。', 'type' => 'string', 'example' => 'after'],
],
],
'PAL7ConfigRewriteOp' => [
@@ -1530,32 +866,12 @@
.'- **delete**:删除操作。'."\n"
.'- **replace**:替换操作。',
'type' => 'string',
- 'enumValueTitles' => [
- 'add' => '添加',
- 'set' => '设置',
- 'replace' => '替换',
- 'delete' => '删除',
- ],
+ 'enumValueTitles' => ['add' => '添加', 'set' => '设置', 'replace' => '替换', 'delete' => '删除'],
'example' => 'add',
],
- 'OldValue' => [
- 'title' => 'Op=replace时的旧值',
- 'description' => '替换操作参数:需要查找用于替换的值。',
- 'type' => 'string',
- 'example' => 'old_value',
- ],
- 'Value' => [
- 'title' => '新的值,可以为空',
- 'description' => '字符串类型的目标值。',
- 'type' => 'string',
- 'example' => 'new_value',
- ],
- 'Key' => [
- 'title' => 'header或query参数名,必填',
- 'description' => 'HTTP Header或Query参数名,必填参数。',
- 'type' => 'string',
- 'example' => 'X-Test-Param',
- ],
+ 'OldValue' => ['title' => 'Op=replace时的旧值', 'description' => '替换操作参数:需要查找用于替换的值。', 'type' => 'string', 'example' => 'old_value'],
+ 'Value' => ['title' => '新的值,可以为空', 'description' => '字符串类型的目标值。', 'type' => 'string', 'example' => 'new_value'],
+ 'Key' => ['title' => 'header或query参数名,必填', 'description' => 'HTTP Header或Query参数名,必填参数。', 'type' => 'string', 'example' => 'X-Test-Param'],
'ValueVariable' => [
'title' => '将值替换为变量。 sase_app_name: 应用名 sase_app_id: 应用ID sase_policy_name: 零信任策略名 sase_policy_id: 零信任策略ID sase_user_username: 用户名 sase_user_department: 用户部门 sase_user_group_infos: 用户组织架构信息 sase_user_matched_user_groups: 用户组信息 sase_client_addr: 客户端地址 sase_client_ip: 客户端IP sase_client_port: 客户端端口',
'description' => '字符串类型的目标值。取值:'."\n"
@@ -1572,19 +888,7 @@
.'- **sase_client_port**:客户端端口。',
'type' => 'string',
'example' => 'sase_app_name',
- 'enum' => [
- 'sase_app_name',
- 'sase_app_id',
- 'sase_policy_name',
- 'sase_policy_id',
- 'sase_user_username',
- 'sase_user_department',
- 'sase_user_group_infos',
- 'sase_user_matched_user_groups',
- 'sase_client_addr',
- 'sase_client_ip',
- 'sase_client_port',
- ],
+ 'enum' => ['sase_app_name', 'sase_app_id', 'sase_policy_name', 'sase_policy_id', 'sase_user_username', 'sase_user_department', 'sase_user_group_infos', 'sase_user_matched_user_groups', 'sase_client_addr', 'sase_client_ip', 'sase_client_port'],
],
],
],
@@ -1593,32 +897,15 @@
'description' => '进程组',
'type' => 'object',
'properties' => [
- 'GmtCreate' => [
- 'title' => '创建时间',
- 'type' => 'string',
- ],
- 'Description' => [
- 'title' => '描述',
- 'type' => 'string',
- ],
- 'GmtModified' => [
- 'title' => '修改时间',
- 'type' => 'string',
- ],
+ 'GmtCreate' => ['title' => '创建时间', 'type' => 'string'],
+ 'GmtModified' => ['title' => '修改时间', 'type' => 'string'],
+ 'Name' => ['title' => '名称', 'type' => 'string'],
+ 'Description' => ['title' => '描述', 'type' => 'string'],
+ 'ProcessGroupId' => ['title' => '进程组ID', 'type' => 'string'],
'Processes' => [
'title' => '进程列表',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/ProcessItem',
- ],
- ],
- 'Name' => [
- 'title' => '名称',
- 'type' => 'string',
- ],
- 'ProcessGroupId' => [
- 'title' => '进程组ID',
- 'type' => 'string',
+ 'items' => ['$ref' => '#/components/schemas/ProcessItem'],
],
],
],
@@ -1627,22 +914,10 @@
'description' => '进程列表元素',
'type' => 'object',
'properties' => [
- 'BundleId' => [
- 'title' => '进程包名',
- 'type' => 'string',
- ],
- 'DevType' => [
- 'title' => '设备类型',
- 'type' => 'string',
- ],
- 'Process' => [
- 'title' => '进程名',
- 'type' => 'string',
- ],
- 'Directory' => [
- 'title' => '进程目录',
- 'type' => 'string',
- ],
+ 'DevType' => ['title' => '设备类型', 'type' => 'string'],
+ 'Process' => ['title' => '进程名', 'type' => 'string'],
+ 'Directory' => ['title' => '进程目录', 'type' => 'string'],
+ 'BundleId' => ['title' => '进程包名', 'type' => 'string'],
],
],
'RecoveryContent' => [
@@ -1652,34 +927,25 @@
'RecoveryActions' => [
'title' => 'recoveryActions',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
'required' => true,
],
- 'AuthReportInterval' => [
- 'title' => 'authReportInterval',
- '$ref' => '#/components/schemas/AuthReportInterval',
- ],
+ 'AuthReportInterval' => ['title' => 'authReportInterval', '$ref' => '#/components/schemas/AuthReportInterval'],
],
],
'RiskSceneConfig' => [
'title' => 'riskSceneConfig',
'type' => 'object',
'properties' => [
- 'OfficeChannel' => [
- 'title' => '办公渠道',
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
'DetectChannel' => [
'title' => '检测渠道',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
+ 'items' => ['type' => 'string'],
+ ],
+ 'OfficeChannel' => [
+ 'title' => '办公渠道',
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
@@ -1687,43 +953,21 @@
'title' => 'Rule',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'title' => 'Id',
- 'type' => 'string',
- ],
- 'RuleType' => [
- 'title' => 'ruleType',
- 'type' => 'string',
- ],
- 'RuleSubType' => [
- 'title' => 'ruleSubType',
- 'type' => 'string',
- ],
- 'Name' => [
- 'title' => 'name',
- 'type' => 'string',
- ],
- 'Operator' => [
- 'title' => 'operator',
- 'type' => 'string',
- ],
+ 'Id' => ['title' => 'Id', 'type' => 'string'],
+ 'RuleType' => ['title' => 'ruleType', 'type' => 'string'],
+ 'RuleSubType' => ['title' => 'ruleSubType', 'type' => 'string'],
+ 'Name' => ['title' => 'name', 'type' => 'string'],
+ 'Operator' => ['title' => 'operator', 'type' => 'string'],
'Values' => [
'title' => 'values',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'Combinator' => [
- 'title' => 'combinator',
- 'type' => 'string',
+ 'items' => ['type' => 'string'],
],
+ 'Combinator' => ['title' => 'combinator', 'type' => 'string'],
'Rules' => [
'title' => 'rules',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/Rule',
- ],
+ 'items' => ['$ref' => '#/components/schemas/Rule'],
],
],
],
@@ -1731,157 +975,140 @@
'title' => 'tls证书',
'type' => 'object',
'properties' => [
- 'PrivateKey' => [
- 'title' => 'PEM私钥',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'Description' => [
- 'title' => 'PEM证书',
- 'type' => 'string',
- 'example' => 'xxxx',
- ],
- 'CertId' => [
- 'title' => '证书ID',
- 'type' => 'string',
- 'example' => 'cert-aabbccdd',
- ],
- 'ExpTimeUnix' => [
- 'title' => '过期时间',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1734492686',
- ],
- 'Name' => [
- 'title' => '证书名',
- 'type' => 'string',
- 'example' => '证书1',
- ],
- 'Certificate' => [
- 'title' => '证书描述',
- 'type' => 'string',
- 'example' => '用于测试',
- ],
- 'GmtModifiedUnix' => [
- 'title' => '更新时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1734523812',
- ],
- 'GmtCreateUnix' => [
- 'title' => '创建时间戳',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1734523812',
- ],
+ 'PrivateKey' => ['title' => 'PEM私钥', 'type' => 'string', 'example' => 'xxxx'],
+ 'Description' => ['title' => 'PEM证书', 'type' => 'string', 'example' => 'xxxx'],
+ 'CertId' => ['title' => '证书ID', 'type' => 'string', 'example' => 'cert-aabbccdd'],
+ 'ExpTimeUnix' => ['title' => '过期时间', 'type' => 'integer', 'format' => 'int64', 'example' => '1734492686'],
+ 'Name' => ['title' => '证书名', 'type' => 'string', 'example' => '证书1'],
+ 'Certificate' => ['title' => '证书描述', 'type' => 'string', 'example' => '用于测试'],
+ 'GmtModifiedUnix' => ['title' => '更新时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1734523812'],
+ 'GmtCreateUnix' => ['title' => '创建时间戳', 'type' => 'integer', 'format' => 'int64', 'example' => '1734523812'],
'DnsNames' => [
'title' => '证书生效的域名',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'example' => 'cloudsecsase.com',
- ],
+ 'items' => ['type' => 'string', 'example' => 'cloudsecsase.com'],
],
],
],
],
],
'apis' => [
- 'DeleteEnterpriseAcceleratePolicy' => [
- 'summary' => '删除企业加速策略。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'AttachApplication2Connector' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263724',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '164987',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'ConnectorId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'ConnectorID。', 'type' => 'string', 'required' => true, 'example' => 'connector-94db94e06b98****'],
+ ],
+ [
+ 'name' => 'ApplicationIds',
'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
+ 'description' => '内网访问应用ID集合。一个Connector最多可挂载内网访问应用的数量不超过内网访问应用总数。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-f4dd77bced90****'],
'required' => true,
- 'example' => 'eap-6edfb9d722ef8429',
],
],
],
'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' => '2CABFEBB-0CE7-575E-833A-266F75D46713',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]',
- 'title' => '删除企业加速策略',
- ],
- 'DisableEnterpriseAcceleratePolicy' => [
- 'summary' => '禁用企业加速策略。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '挂载Connector的应用',
+ 'summary' => '挂载当前阿里云账号下Connector的内网访问应用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachApplication2Connector'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:AttachApplication2Connector',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\"\\n}","type":"json"}]',
+ ],
+ 'AttachPolicy2ApprovalProcess' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263726',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '213392',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'PolicyType',
'in' => 'formData',
'schema' => [
- 'description' => '企业加速策略ID。',
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
'type' => 'string',
'required' => true,
- 'example' => 'eap-d50b45aa7dc04aef',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
],
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '业务策略ID。', 'type' => 'string', 'required' => false, 'example' => 'ladp-27a4fedf5e73****'],
+ ],
+ [
+ 'name' => 'ProcessId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程ID。', 'type' => 'string', 'required' => true, 'example' => 'approval-process-2677fcf063f5****'],
+ ],
],
'responses' => [
200 => [
@@ -1890,80 +1117,101 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => 'E4C3E4CA-87CC-5EF6-91DD-D400A812EB43',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C51D9340-4604-5331-AE62-407F3B408F86'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E4C3E4CA-87CC-5EF6-91DD-D400A812EB43\\"\\n}","type":"json"}]',
- 'title' => '禁用企业加速策略',
- ],
- 'ListEnterpriseAcceleratePolicies' => [
- 'summary' => '查询加速策略列表',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '绑定业务策略与审批流程',
+ 'summary' => '挂载业务策略至指定审批流程',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachPolicy2ApprovalProcess'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:AttachPolicy2ApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51D9340-4604-5331-AE62-407F3B408F86\\"\\n}","type":"json"}]',
+ ],
+ 'CreateApprovalProcess' => [
+ 'summary' => '创建当前阿里云账号下审批流程。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263728',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '213357',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '企业加速策略名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试策略',
- ],
+ 'name' => 'ProcessName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '流程名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'test_process'],
],
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程描述。长度为 1~128 个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一个审批流程'],
+ ],
+ [
+ 'name' => 'ProcessNodes',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '审批节点列表。最多可定义5个审批节点。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批节点的审批人列表。最多可定义5个审批人。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批人ID。取值来源:'."\n"
+ .'- [ListUsers](~~ListUsers~~):批量查询用户。', 'type' => 'string', 'required' => false, 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****'],
+ 'required' => false,
+ ],
'required' => true,
- 'maximum' => '10000',
- 'minimum' => '1',
- 'example' => '1',
],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
+ 'name' => 'MatchSchemas',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
+ 'description' => '匹配的审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainWhitelistSchemaId' => ['description' => '域名白名单审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DomainBlacklistSchemaId' => ['description' => '域名黑名单审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'SoftwareBlockSchemaId' => ['description' => '软件禁用审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DeviceRegistrationSchemaId' => ['description' => '设备注册审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'AppUninstallSchemaId' => ['description' => '设备卸载审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DlpSendSchemaId' => ['description' => '文件外发审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'PeripheralBlockSchemaId' => ['description' => '外设管控审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'EndpointHardeningSchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'SoftwareHardeningSchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'PrivateAccessBlockSchemaId' => ['type' => 'string'],
+ ],
+ 'required' => false,
],
],
],
@@ -1974,98 +1222,147 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => 'DB0471D0-C05C-556D-9F40-0325D890036F',
- ],
- 'Total' => [
- 'description' => '策略总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '5',
- ],
- 'Policies' => [
- 'description' => '策略列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '策略对象。',
- 'type' => 'object',
- 'properties' => [
- 'EapId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'eap-eec34d4b12fcca61',
- ],
- 'Name' => [
- 'description' => '策略名称。',
- 'type' => 'string',
- 'example' => 'test',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713'],
+ 'Process' => [
+ 'description' => '审批流程。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批流程创建时间。', 'type' => 'string', 'example' => '2022-10-25 10:44:09'],
+ 'ProcessId' => ['description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-dc61e92ba5c5****'],
+ 'ProcessName' => ['description' => '审批流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批流程描述。', 'type' => 'string', 'example' => '这是一个审批流程'],
+ 'ProcessNodes' => [
+ 'description' => '审批节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => '审批人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批人用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ ],
],
- 'Description' => [
- 'description' => '策略描述。',
- 'type' => 'string',
- 'example' => '这是一条测试策略。',
+ ],
+ 'DomainWhitelistPolicies' => [
+ 'description' => '域名白名单关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名白名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名白名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
+ ],
],
- 'UpstreamType' => [
- 'description' => '加速实例。',
- 'type' => 'string',
- 'example' => 'connector',
+ ],
+ 'DomainBlacklistPolicies' => [
+ 'description' => '域名黑名单关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名黑名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名黑名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
+ ],
],
- 'UpstreamHost' => [
- 'description' => '加速实例的地址(IP或域名)。',
- 'type' => 'string',
- 'example' => '12.34.56.XX',
+ ],
+ 'SoftwareBlockPolicies' => [
+ 'description' => '软件禁用关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '软件禁用策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '软件禁用策略ID。', 'type' => 'string', 'example' => 'pid-6d6ad77d5b52****'],
+ ],
],
- 'UpstreamPort' => [
- 'description' => '加速实例的端口(1000~60000之间)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1000',
+ ],
+ 'DeviceRegistrationPolicies' => [
+ 'description' => '设备注册关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '设备注册策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-63b2f1844b86****'],
+ ],
],
- 'Enabled' => [
- 'description' => '是否启用:'."\n"
- .'- **1**: 启用'."\n"
- .'- **0**: 未启用',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ ],
+ 'AppUninstallPolicies' => [
+ 'description' => '终端卸载关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '终端卸载策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端卸载策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-5919f8afff47****'],
+ ],
],
- 'UserAttributeGroup' => [
- 'description' => '加速用户组。',
- 'type' => 'string',
- 'example' => '测试用户组',
+ ],
+ 'DlpSendPolicies' => [
+ 'description' => '文件外发关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '文件外发策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '文件外发策略ID。', 'type' => 'string', 'example' => '17**'],
+ ],
],
- 'Priority' => [
- 'description' => '策略优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '99',
+ ],
+ 'PeripheralBlockPolicies' => [
+ 'description' => '外设管控关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '外设管控策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '外设管控策略ID。', 'type' => 'string', 'example' => '17**'],
+ ],
],
- 'AccelerationType' => [
- 'description' => '加速模式:'."\n"
- .'- **whiltelist**: 白名单加速'."\n"
- .'- **global**: 全局加速'."\n"
- .'- **build-in-list:** 系统内置应用加速',
- 'type' => 'string',
- 'example' => 'whitelist',
+ ],
+ 'EndpointHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
+ ],
],
- 'ShowInClient' => [
- 'description' => '是否在客户端透出:'."\n"
- .'- **0**: 不透出'."\n"
- .'- **1**: 透出',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
+ 'description' => '',
+ ],
+ 'SoftwareHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
+ ],
],
- 'OnTls' => [
- 'description' => '是否开启TLS模式:'."\n"
- .'- **0**: 不开启'."\n"
- .'- **1**: 开启',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'description' => '',
+ ],
+ 'PrivateAccessBlockPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string'],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
],
],
],
@@ -2074,332 +1371,277 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '创建审批流程',
+ 'changeSet' => [
+ ['createdAt' => '2025-04-27T10:40:41.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB0471D0-C05C-556D-9F40-0325D890036F\\",\\n \\"Total\\": 5,\\n \\"Policies\\": [\\n {\\n \\"EapId\\": \\"eap-eec34d4b12fcca61\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"这是一条测试策略。\\",\\n \\"UpstreamType\\": \\"connector\\",\\n \\"UpstreamHost\\": \\"12.34.56.XX\\",\\n \\"UpstreamPort\\": 1000,\\n \\"Enabled\\": 0,\\n \\"UserAttributeGroup\\": \\"测试用户组\\",\\n \\"Priority\\": 99,\\n \\"AccelerationType\\": \\"whitelist\\",\\n \\"ShowInClient\\": 1,\\n \\"OnTls\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询企业加速策略列表',
- ],
- 'ListEnterpriseAccelerateTargets' => [
- 'summary' => '查询企业加速地址列表。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApprovalProcess'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"PrivateAccessBlockPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateClientUser' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263737',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '215388',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'IdpConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eap-424ba3f47660425c',
- ],
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => '727'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'maximum' => '10000',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => true, 'example' => '张三'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DepartmentId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '部门ID。', 'type' => 'string', 'required' => false, 'example' => '10797'],
],
[
- 'name' => 'Target',
+ 'name' => 'Email',
'in' => 'query',
- 'schema' => [
- 'description' => '企业加速地址,支持模糊查询。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'googleapis.com',
- ],
+ 'schema' => ['description' => '电子邮件地址。', 'type' => 'string', 'required' => true, 'example' => 'johndoe@example.com'],
+ ],
+ [
+ 'name' => 'MobileNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '手机号码,不需要带国家编码。', 'type' => 'string', 'required' => false, 'example' => '13641966835'],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => ['description' => '密码。若为空则自动生成随机密码。', 'type' => 'string', 'required' => false, 'example' => 'kehudiyi'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户描述。', 'type' => 'string', 'required' => false, 'example' => '示例用户'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => '529F755E-2E75-52EC-9C2E-6293FB8BF986',
- ],
- 'Total' => [
- 'description' => '地址总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '103',
- ],
- 'EapId' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'example' => 'eap-7fed37a757a0de24',
- ],
- 'Targets' => [
- 'description' => '企业加速地址列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '企业加速地址。',
- 'type' => 'string',
- 'example' => 'googleapis.com',
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Data' => ['description' => '创建的用户ID。', 'type' => 'string', 'example' => '726'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"529F755E-2E75-52EC-9C2E-6293FB8BF986\\",\\n \\"Total\\": 103,\\n \\"EapId\\": \\"eap-7fed37a757a0de24\\",\\n \\"Targets\\": [\\n \\"googleapis.com\\"\\n ]\\n}","type":"json"}]',
- 'title' => '查询企业加速地址列表',
- ],
- 'ListEnterpriseAccelerateLogs' => [
- 'summary' => '查询企业加速审计日志。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建自定义身份源用户',
+ 'summary' => '创建当前阿里云账户自定义身份源用户。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientUser'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]',
+ ],
+ 'CreateDynamicRoute' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '264492',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '173138',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'dynamic_route_name'],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条动态路由'],
],
[
- 'name' => 'Username',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '张三',
- ],
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => true, 'example' => 'Disabled'],
],
[
- 'name' => 'Department',
- 'in' => 'query',
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由优先级。数字1表示优先级最高。取值:1-99。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '99'],
+ ],
+ [
+ 'name' => 'RegionIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '部门。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
+ 'description' => 'SASE的POP集群接入点支持的地域列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
+ .' - [ListDynamicRouteRegions](~~2525442~~):批量查询动态路由已授权地域。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['cn-shenzhen' => '深圳', 'cn-beijing' => '北京', 'cn-shanghai' => '上海', 'ap-southeast-1' => '新加坡', 'us-east-1' => '弗吉尼亚', 'us-west-1' => '硅谷', 'cn-hangzhou' => '杭州', 'cn-chengdu' => '成都'],
+ 'example' => 'ap-southeast-1',
+ ],
+ 'required' => true,
],
],
[
- 'name' => 'StartTime',
- 'in' => 'query',
+ 'name' => 'ApplicationType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '开始时间,Unix时间戳,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '动态路由的应用类型。取值:'."\n"
+ .'- **All**:全部应用。'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
+ 'type' => 'string',
'required' => true,
- 'example' => '1748419094',
+ 'enumValueTitles' => ['All' => '全部应用', 'Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
],
[
- 'name' => 'EndTime',
- 'in' => 'query',
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '结束时间,Unix时间戳,单位秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1748422694',
+ 'description' => '动态路由的内网访问应用ID集合。最多可输入200个内网访问应用ID。当**ApplicationType**为**Application**时,必填。和**TagIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~611394~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~611541~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-7a4445897856****'],
+ 'required' => false,
],
],
[
- 'name' => 'DstAddr',
- 'in' => 'query',
+ 'name' => 'TagIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '访问地址',
- 'type' => 'string',
+ 'description' => '动态路由的内网访问标签ID集合。最多可输入40个内网访问标签ID。当**ApplicationType**为**Tag**时,必填。和**ApplicationIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~611549~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~611552~~):创建内网访问标签。', 'type' => 'string', 'required' => true, 'example' => 'tag-d3f64e8bdd4a****'],
'required' => false,
- 'example' => 'jfrog.cea.vwah.vwgroup.com',
],
],
[
- 'name' => 'SearchMode',
- 'in' => 'query',
+ 'name' => 'DynamicRouteType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '查询模式,目前只有DstAddr字段支持:'."\n"
- .'- **Exact**: 精确查询'."\n"
- .'- **Fuzzy**: 模糊查询',
+ 'description' => '动态路由类型。取值:**connector**:自有专线。',
'type' => 'string',
- 'required' => false,
- 'example' => 'Exact',
- 'enum' => [
- 'Exact',
- 'Fuzzy',
- ],
+ 'required' => true,
+ 'enumValueTitles' => ['connector' => '自有专线'],
+ 'example' => 'connector',
],
],
+ [
+ 'name' => 'NextHop',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由下一跳实例ID。取值来源:'."\n"
+ .' - [ListConnectors](~~611545~~):批量查询Connector。', 'type' => 'string', 'required' => true, 'example' => 'connector-8ccb13b6f52c****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'TotalNumber' => [
- 'description' => '日志总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '120',
- ],
- 'RequestId' => [
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => '43F07A6A-294D-56FB-85EB-6AD00C5B60FF',
- ],
- 'Logs' => [
- 'description' => '日志列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '日志对象。',
- 'type' => 'object',
- 'properties' => [
- 'DstAddr' => [
- 'description' => '访问地址。',
- 'type' => 'string',
- 'example' => 'www.bing.com:443',
- ],
- 'DeviceType' => [
- 'description' => '设备类型。',
- 'type' => 'string',
- 'example' => 'windows',
- ],
- 'UnixTime' => [
- 'description' => '时间。',
- 'type' => 'string',
- 'example' => '1748422797',
- ],
- 'Department' => [
- 'description' => '部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'PolicyName' => [
- 'description' => '企业加速策略名。',
- 'type' => 'string',
- 'example' => '白名单加速',
- ],
- 'ProxyAddr' => [
- 'description' => '企业加速实例地址。',
- 'type' => 'string',
- 'example' => '8.222.179.xxx:10015',
- ],
- 'InBytes' => [
- 'description' => '入流量,单位Byte。',
- 'type' => 'string',
- 'example' => '12299',
- ],
- 'OutBytes' => [
- 'description' => '出流量,单位Byte。',
- 'type' => 'string',
- 'example' => '2603',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'DynamicRouteId' => ['description' => '动态路由ID。', 'type' => 'string', 'example' => 'dr-ca9fddfac7c6****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalNumber\\": 120,\\n \\"RequestId\\": \\"43F07A6A-294D-56FB-85EB-6AD00C5B60FF\\",\\n \\"Logs\\": [\\n {\\n \\"DstAddr\\": \\"www.bing.com:443\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"UnixTime\\": \\"1748422797\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Username\\": \\"张三\\",\\n \\"PolicyName\\": \\"白名单加速\\",\\n \\"ProxyAddr\\": \\"8.222.179.xxx:10015\\",\\n \\"InBytes\\": \\"12299\\",\\n \\"OutBytes\\": \\"2603\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询企业加速审计日志',
- ],
- 'ImportEnterpriseAccelerateTargets' => [
- 'summary' => '批量导入加速地址列表。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建动态路由',
+ 'summary' => '创建当前阿里云账号下创建动态路由。',
+ 'description' => '默认最多可创建100个动态路由。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDynamicRoute'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateEnterpriseAcceleratePolicy' => [
+ 'summary' => '创建企业加速策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2411,32 +1653,81 @@
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263738',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
+ 'abilityTreeCode' => '263720',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '策略名称。', 'type' => 'string', 'required' => false, 'example' => '全局加速策略'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业管理策略描述,长度为1~512个字符。', 'type' => 'string', 'required' => false, 'example' => '用于全局网络访问的加速策略'],
+ ],
+ [
+ 'name' => 'UpstreamType',
'in' => 'formData',
'schema' => [
- 'description' => '企业加速策略ID。',
+ 'description' => '加速实例。',
'type' => 'string',
'required' => true,
- 'example' => 'eap-6457339b546c4cfb',
+ 'enumValueTitles' => ['connector' => 'connector', 'ga' => 'ga', 'cen' => 'cen'],
+ 'example' => 'ga',
],
],
[
- 'name' => 'FileUrl',
+ 'name' => 'UpstreamHost',
+ 'in' => 'formData',
+ 'schema' => ['description' => '加速实例的地址(IP或域名)。', 'type' => 'string', 'required' => true, 'example' => '12.34.56.XX'],
+ ],
+ [
+ 'name' => 'UpstreamPort',
+ 'in' => 'formData',
+ 'schema' => ['description' => '加速实例的端口(1000~60000之间)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000'],
+ ],
+ [
+ 'name' => 'UserAttributeGroup',
+ 'in' => 'formData',
+ 'schema' => ['description' => '加速用户组。', 'type' => 'string', 'required' => true, 'example' => '测试用户组'],
+ ],
+ [
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => ['description' => '优先级。', 'type' => 'string', 'required' => false, 'example' => '99', 'maxLength' => 99, 'minLength' => 0, 'default' => '99'],
+ ],
+ [
+ 'name' => 'AccelerationType',
'in' => 'formData',
'schema' => [
- 'description' => '导入文件的地址。',
+ 'description' => '加速模式:'."\n"
+ .'- **whiltelist**: 白名单加速'."\n"
+ .'- **global**: 全局加速'."\n"
+ .'- **build-in-list**: 系统内置应用加速',
'type' => 'string',
- 'required' => true,
- 'example' => 'https://filename.xlsx',
+ 'required' => false,
+ 'example' => 'whitelist',
+ 'default' => 'whitelist',
+ 'enum' => ['whitelist', 'global', 'build-in-list'],
+ ],
+ ],
+ [
+ 'name' => 'ShowInClient',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '是否在客户端透出:'."\n"
+ .'- **0**: 不透出'."\n"
+ .'- **1**: 透出',
+ 'type' => 'integer',
+ 'format' => 'int32',
+ 'required' => false,
+ 'example' => '1',
+ 'default' => '0',
+ 'enum' => ['0', '1'],
],
],
],
@@ -2447,32 +1738,41 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => '305508BD-8A31-5E15-86CE-52D57967C45E',
- ],
- 'Data' => [
- 'description' => '导入任务的ID。',
- 'type' => 'string',
- 'example' => '1648723859058501',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713'],
+ 'EapId' => ['type' => 'string', 'description' => ''],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"305508BD-8A31-5E15-86CE-52D57967C45E\\",\\n \\"Data\\": \\"1648723859058501\\"\\n}","type":"json"}]',
- 'title' => '批量导入加速地址列表',
+ 'title' => '创建企业加速策略',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-03T02:10:17.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEnterpriseAcceleratePolicy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"EapId\\": \\"\\"\\n}","type":"json"}]',
],
'CreateEnterpriseAccelerateTarget' => [
'summary' => '创建企业加速地址。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -2485,9 +1785,7 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '263729',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -2495,12 +1793,7 @@
[
'name' => 'EapId',
'in' => 'formData',
- 'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eap-eec34d4b12fcca61',
- ],
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-eec34d4b12fcca61'],
],
[
'name' => 'Target',
@@ -2509,12 +1802,7 @@
'schema' => [
'description' => '企业加速地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '企业加速地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hub.docker.com',
- ],
+ 'items' => ['description' => '企业加速地址。', 'type' => 'string', 'required' => false, 'example' => 'hub.docker.com'],
'required' => true,
],
],
@@ -2526,27 +1814,38 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => 'D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => 'D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1\\"\\n}","type":"json"}]',
'title' => '创建企业加速地址',
- ],
- 'EnableEnterpriseAcceleratePolicy' => [
- 'summary' => '启用企业加速策略。',
- 'methods' => [
- 'post',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'schemes' => [
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEnterpriseAccelerateTarget'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateEnterpriseAccelerateTarget',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D1AE33DD-0D46-59CD-8340-92BEA2BDD0F1\\"\\n}","type":"json"}]',
+ ],
+ 'CreateIdpDepartment' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -2555,99 +1854,144 @@
'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263725',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '215362',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'EapId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eap-530da9f7110441fb',
- ],
+ 'name' => 'IdpConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg68956d86e********'],
+ ],
+ [
+ 'name' => 'DepartmentName',
+ 'in' => 'query',
+ 'schema' => ['description' => '部门名称。', 'type' => 'string', 'required' => true, 'example' => '示例部门'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => '09D9F396-29C5-5F0F-9C12-83308062CA2F',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
+ 'Data' => ['description' => '创建的部门ID。', 'type' => 'string', 'example' => '726'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09D9F396-29C5-5F0F-9C12-83308062CA2F\\"\\n}","type":"json"}]',
- 'title' => '启用企业加速策略',
- ],
- 'DeleteEnterpriseAccelerateTarget' => [
- 'summary' => '删除企业加速地址。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建自定义身份源部门',
+ 'summary' => '创建当前阿里云账户自定义身份源部门。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIdpDepartment'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePADiagnosisTask' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263730',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
+ 'abilityTreeCode' => '236275',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'DiagnoseType',
'in' => 'formData',
- 'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'eap-ed1f0e392a28a4e6',
- ],
+ 'schema' => ['description' => '诊断类型,可选的有:'."\n"
+ ."\n"
+ .'- **FullLink**:全链路诊断'."\n"
+ .'- **Application**: 应用诊断', 'type' => 'string', 'required' => true, 'example' => 'FullLink'],
],
[
- 'name' => 'Target',
+ 'name' => 'Username',
'in' => 'formData',
- 'style' => 'flat',
+ 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => 'Zhaosi'],
+ ],
+ [
+ 'name' => 'DevTag',
+ 'in' => 'formData',
+ 'schema' => ['description' => '终端设备ID。', 'type' => 'string', 'required' => false, 'example' => '2987b3e0-8108-2f99-4d18-3b4f1c1c36d7'],
+ ],
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户组ID。', 'type' => 'string', 'required' => false, 'example' => '用户组ID。'],
+ ],
+ [
+ 'name' => 'Protocol',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问应用协议。取值:'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**', 'type' => 'string', 'required' => true, 'example' => 'TCP'],
+ ],
+ [
+ 'name' => 'Host',
+ 'in' => 'formData',
+ 'schema' => ['description' => '要诊断的地址。', 'type' => 'string', 'required' => true, 'example' => 'socialapp-gateway.client9.me'],
+ ],
+ [
+ 'name' => 'Port',
+ 'in' => 'formData',
+ 'schema' => ['description' => '端口。', 'type' => 'string', 'required' => true, 'example' => '80'],
+ ],
+ [
+ 'name' => 'PopMode',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'pop点选择模式:'."\n"
+ .'- **AutoSelect**: 自动选择'."\n"
+ .'- **ManualSelect**: 手动选择', 'type' => 'string', 'required' => true, 'example' => 'ManualSelect'],
+ ],
+ [
+ 'name' => 'PopId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'POP点ID。', 'type' => 'string', 'required' => false, 'example' => 'pop-3e244b62357dcafc'],
+ ],
+ [
+ 'name' => 'UdpExtraConfigs',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '企业加速地址列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '企业加速地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '*.chatgpt.com',
+ 'description' => 'UDP诊断额外配置。如不配置,则代表接收到任何响应内容即视为成功。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestContent' => ['description' => 'UDP请求内容。', 'type' => 'string', 'required' => false, 'example' => 'hello'],
+ 'ExpectedResponse' => ['description' => '用户预期的后端服务器返回信息。', 'type' => 'string', 'required' => false, 'example' => 'hello'],
],
- 'required' => true,
+ 'required' => false,
],
],
],
@@ -2655,531 +1999,752 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的 ID。',
- 'type' => 'string',
- 'example' => '655CE28F-2C0C-5801-A31E-C16BF54BD225',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '5F79AE39-6622-5292-87EF-DE45631DE4D7'],
+ 'DiagnosisTask' => [
+ 'description' => '诊断任务。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DiagnoseType' => ['description' => '诊断类型,可选的有:'."\n"
+ ."\n"
+ .'- FullLink:全链路诊断'."\n"
+ .'- Application: 应用诊断', 'type' => 'string', 'example' => 'FullLink'],
+ 'UserGroup' => [
+ 'description' => '用户组',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'ug-xxxxxxxx'],
+ 'UserGroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'IT'],
+ ],
+ ],
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => 'E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => 'zhangsan'],
+ 'Protocol' => ['description' => '内网访问应用协议。取值:'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**', 'type' => 'string', 'example' => 'TCP'],
+ 'Host' => ['description' => '要诊断的地址。', 'type' => 'string', 'example' => '172.16.6.1'],
+ 'Port' => ['description' => '端口', 'type' => 'string', 'example' => '443'],
+ 'PopMode' => ['description' => 'pop点选择模式:'."\n"
+ .'- **AutoSelect**: 自动选择'."\n"
+ .'- **ManualSelect**: 手动选择', 'type' => 'string', 'example' => 'AutoSelect'],
+ 'PopId' => ['description' => 'POP点ID。手动选择时必传。', 'type' => 'string', 'example' => 'pop-8ded63ce9d3d317e'],
+ 'UdpExtraConfigs' => [
+ 'description' => 'UDP诊断额外信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestContent' => ['description' => 'UDP请求内容。', 'type' => 'string', 'example' => 'hello'],
+ 'ExpectedResponse' => ['description' => '用户预期的后端服务器返回信息。', 'type' => 'string', 'example' => 'hello'],
+ ],
+ ],
+ 'DiagnoseId' => ['description' => '诊断任务ID。', 'type' => 'string', 'example' => 'diag-3e0d36d6c15a0502'],
+ 'Status' => ['description' => '任务运行状态。取值:'."\n"
+ .'- **Running**:运行中。'."\n"
+ .'- **Finished**:已完成。'."\n"
+ .'- **Failed**:运行失败。', 'type' => 'string', 'example' => 'Disabled'],
+ ],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"655CE28F-2C0C-5801-A31E-C16BF54BD225\\"\\n}","type":"json"}]',
- 'title' => '删除企业加速地址',
- ],
- 'ModifyEnterpriseAcceleratePolicy' => [
- 'summary' => '修改企业加速策略。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建内网诊断任务',
+ 'summary' => '创建内网访问诊断任务',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePADiagnosisTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F79AE39-6622-5292-87EF-DE45631DE4D7\\",\\n \\"DiagnosisTask\\": {\\n \\"DiagnoseType\\": \\"FullLink\\",\\n \\"UserGroup\\": {\\n \\"UserGroupId\\": \\"ug-xxxxxxxx\\",\\n \\"UserGroupName\\": \\"IT\\"\\n },\\n \\"DevTag\\": \\"E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94\\",\\n \\"Username\\": \\"zhangsan\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"Host\\": \\"172.16.6.1\\",\\n \\"Port\\": \\"443\\",\\n \\"PopMode\\": \\"AutoSelect\\",\\n \\"PopId\\": \\"pop-8ded63ce9d3d317e\\",\\n \\"UdpExtraConfigs\\": {\\n \\"RequestContent\\": \\"hello\\",\\n \\"ExpectedResponse\\": \\"hello\\"\\n },\\n \\"DiagnoseId\\": \\"diag-3e0d36d6c15a0502\\",\\n \\"Status\\": \\"Disabled\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreatePrivateAccessApplication' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263722',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '163596',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'EapId',
+ 'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '企业加速策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'eap-ce153a7165c8feea',
- ],
+ 'schema' => ['description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'private_access_application_name'],
],
[
- 'name' => 'Name',
+ 'name' => 'Description',
'in' => 'formData',
+ 'schema' => ['description' => '内网访问应用描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问应用'],
+ ],
+ [
+ 'name' => 'Addresses',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '企业加速策略名称。',
- 'type' => 'string',
+ 'description' => '内网访问应用地址集合。最多可输入1000个内网访问应用地址。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'required' => true, 'example' => '192.168.0.0/16'],
'required' => false,
- 'example' => '白名单策略001',
],
],
[
- 'name' => 'Description',
+ 'name' => 'PortRanges',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '企业加速策略描述。',
- 'type' => 'string',
+ 'description' => '内网访问应用端口范围集合。最多可输入65535个端口范围。多个端口范围不可重复或重叠。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。小于等于结束端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '65535', 'minimum' => '1', 'example' => '80'],
+ 'End' => ['description' => '结束端口。大于等于起始端口。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '65535', 'minimum' => '1', 'example' => '81'],
+ ],
+ 'required' => true,
+ ],
'required' => false,
- 'example' => '这是一条内网访问策略',
],
],
[
- 'name' => 'UpstreamType',
+ 'name' => 'Protocol',
'in' => 'formData',
'schema' => [
- 'description' => '加速实例。',
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'connector' => 'connector',
- 'ga' => 'ga',
- 'cen' => 'cen',
- ],
- 'example' => 'ga',
+ 'example' => 'All',
+ 'enum' => ['All', 'TCP', 'UDP', 'HTTP', 'HTTPS'],
],
],
[
- 'name' => 'UpstreamHost',
+ 'name' => 'Status',
'in' => 'formData',
'schema' => [
- 'description' => '加速实例的地址(IP或域名)。',
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [],
- 'example' => '12.34.56.XX',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ 'enum' => ['Enabled', 'Disabled'],
],
],
[
- 'name' => 'UpstreamPort',
+ 'name' => 'TagIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '加速实例的端口(1000~60000之间)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1000',
+ 'description' => '内网访问标签ID集合。1个内网访问应用最多可关联6个自定义类型的内网访问标签。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
+ 'required' => false,
],
],
[
- 'name' => 'UserAttributeGroup',
+ 'name' => 'BrowserAccessStatus',
'in' => 'formData',
- 'schema' => [
- 'description' => '加速用户组。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '测试用户组',
- ],
+ 'schema' => ['description' => '内网访问应用状态,开启后可以通过无端方式访问内网应用。默认值为**Disabled**。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
],
[
- 'name' => 'Priority',
+ 'name' => 'L7ProxyDomainAutomaticPrefix',
'in' => 'formData',
- 'schema' => [
- 'description' => '优先级。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '99',
- 'minimum' => '0',
- 'example' => '999',
- 'default' => '99',
- ],
+ 'schema' => ['description' => '浏览器访问模式参数:映射代理域名前缀。长度为3-20个字符,支持小写英文字母、数字和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'app-sample'],
],
[
- 'name' => 'AccelerationType',
+ 'name' => 'L7ProxyDomainCustom',
'in' => 'formData',
- 'schema' => [
- 'description' => '加速模式:'."\n"
- .'- **whiltelist**: 白名单加速'."\n"
- .'- **global**: 全局加速'."\n"
- .'- **build-in-list**: 系统内置应用加速',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'whiltelist',
- 'default' => 'whitelist',
- 'enum' => [
- 'whitelist',
- 'global',
- 'build-in-list',
- ],
- ],
+ 'schema' => ['description' => '浏览器访问模式参数:自定义代理域名。需要是一个合法的域名。', 'type' => 'string', 'required' => false, 'example' => 'app1.example.com'],
],
[
- 'name' => 'ShowInClient',
+ 'name' => 'L7Config',
'in' => 'formData',
- 'schema' => [
- 'description' => '是否在客户端透出:'."\n"
- .'- **0**: 不透出'."\n"
- .'- **1**: 透出',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- 'default' => '0',
- 'enum' => [
- '0',
- '1',
- ],
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => '浏览器访问模式参数:应用配置。', 'required' => false, '$ref' => '#/components/schemas/PAL7Config'],
],
[
- 'name' => 'OnTls',
+ 'name' => 'ConfigMode',
'in' => 'formData',
+ 'schema' => ['type' => 'string', 'required' => false],
+ ],
+ [
+ 'name' => 'AddressGroups',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '是否开启TLS模式:'."\n"
- .'- **0**: 不开启'."\n"
- .'- **1**: 开启',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- 'default' => '-1',
- 'enum' => [
- '0',
- '1',
- ],
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AddressGroup'],
],
],
+ [
+ 'name' => 'UnauthorizedAccessConfig',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => ['$ref' => '#/components/schemas/PAApplicationUnauthorizedAccessConfig'],
+ ],
],
'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' => '2CABFEBB-0CE7-575E-833A-266F75D46713',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]',
- 'title' => '修改企业加速策略',
- ],
- 'CreateEnterpriseAcceleratePolicy' => [
- 'summary' => '创建企业加速策略。',
- 'methods' => [
- 'post',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建内网访问应用',
+ 'summary' => '创建当前阿里云账号下内网访问应用。',
+ 'description' => '默认最多可创建500个内网访问应用。',
+ 'changeSet' => [
+ ['createdAt' => '2026-01-14T02:41:41.000Z', 'description' => '错误码发生变更'],
+ ['createdAt' => '2025-02-24T06:42:31.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-09-11T06:42:34.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-08-24T13:03:09.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessApplication'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePrivateAccessPolicy' => [
+ 'summary' => '创建当前阿里云账号下内网访问策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'readAndWrite',
'systemTags' => [
'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '263720',
- 'abilityTreeNodes' => [
- 'FEATUREcsasQCZUAR',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '163595',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
'name' => 'Name',
'in' => 'formData',
+ 'schema' => ['description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'private_access_policy_name'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问策略'],
+ ],
+ [
+ 'name' => 'PolicyAction',
+ 'in' => 'formData',
'schema' => [
- 'description' => '策略名称。',
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
'type' => 'string',
- 'required' => false,
- 'example' => '全局加速策略',
+ 'required' => true,
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
],
],
[
- 'name' => 'Description',
+ 'name' => 'ApplicationType',
'in' => 'formData',
'schema' => [
- 'description' => '企业管理策略描述,长度为1~512个字符。',
+ 'description' => '内网访问策略的应用类型。取值:'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
+ ],
+ ],
+ [
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '内网访问策略的应用ID集合。最多可输入100个内网访问应用ID。当**ApplicationType**为**Application时**,必填。和**TagIds**互斥。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-f4dd77bced90****'],
'required' => false,
- 'example' => '用于全局网络访问的加速策略',
],
],
[
- 'name' => 'UpstreamType',
+ 'name' => 'TagIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '加速实例。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'connector' => 'connector',
- 'ga' => 'ga',
- 'cen' => 'cen',
- ],
- 'example' => 'ga',
+ 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。当**ApplicationType**为**Tag时**,必填。和**ApplicationIds**互斥。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
+ 'required' => false,
],
],
[
- 'name' => 'UpstreamHost',
+ 'name' => 'UserGroupMode',
'in' => 'formData',
'schema' => [
- 'description' => '加速实例的地址(IP或域名)。',
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
'type' => 'string',
'required' => true,
- 'example' => '12.34.56.XX',
+ 'enumValueTitles' => ['Custom' => '自定义用户组', 'Normal' => '普通用户组'],
+ 'example' => 'Normal',
],
],
[
- 'name' => 'UpstreamPort',
+ 'name' => 'UserGroupIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '加速实例的端口(1000~60000之间)。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1000',
+ 'description' => '内网访问策略的用户组ID集合,当用户组类型为**Normal**时,必填。和自定义用户组集合互斥。最多可输入2000个用户组ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略用户组类型为Normal的用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-927a4c7fee94****'],
+ 'required' => false,
],
],
[
- 'name' => 'UserAttributeGroup',
+ 'name' => 'CustomUserAttributes',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '内网访问策略的自定义用户组集合,当用户组类型为**Custom**时,必填。和用户组ID集合互斥。最多可输入10个自定义用户组。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问策略的自定义用户组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '自定义用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '自定义用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '自定义用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'required' => false, 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
+ ],
+ 'required' => false,
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Status',
'in' => 'formData',
'schema' => [
- 'description' => '加速用户组。',
+ 'description' => '内网访问策略的状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
'required' => true,
- 'example' => '测试用户组',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
],
[
'name' => 'Priority',
'in' => 'formData',
+ 'schema' => ['description' => '内网访问策略优先级。数字1表示优先级最高。取值:1~1000,最大值为内网访问策略总数。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'DeviceAttributeId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '安全基线策略的ID。', 'type' => 'string', 'required' => false, 'example' => 'dag-d3f64e8bdd4a****'],
+ ],
+ [
+ 'name' => 'DeviceAttributeAction',
+ 'in' => 'formData',
'schema' => [
- 'description' => '优先级。',
+ 'description' => '不满足安全基线的执行策略。取值:'."\n"
+ ."\n"
+ .'- **Block**:拦截。'."\n"
+ .'- **Observe**:观察。',
'type' => 'string',
'required' => false,
- 'example' => '99',
- 'maxLength' => 99,
- 'minLength' => 0,
- 'default' => '99',
+ 'enumValueTitles' => ['Observe' => 'Observe', 'Block' => 'Block'],
+ 'example' => 'Block',
],
],
[
- 'name' => 'AccelerationType',
+ 'name' => 'TriggerTemplateId',
'in' => 'formData',
+ 'schema' => ['description' => '触发模板ID', 'type' => 'string', 'required' => false, 'example' => 'dag-d3f64e8bdd4a****'],
+ ],
+ [
+ 'name' => 'TrustedProcessStatus',
+ 'in' => 'formData',
+ 'schema' => ['description' => '可信进程开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
+ ],
+ [
+ 'name' => 'TrustedProcessGroupIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '加速模式:'."\n"
- .'- **whiltelist**: 白名单加速'."\n"
- .'- **global**: 全局加速'."\n"
- .'- **build-in-list**: 系统内置应用加速',
- 'type' => 'string',
+ 'description' => '可信进程组ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信进程组ID。', 'type' => 'string', 'required' => false, 'example' => 'pg-xxxxxxxxx'],
'required' => false,
- 'example' => 'whitelist',
- 'default' => 'whitelist',
- 'enum' => [
- 'whitelist',
- 'global',
- 'build-in-list',
- ],
],
],
[
- 'name' => 'ShowInClient',
+ 'name' => 'TrustedSoftwareIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '是否在客户端透出:'."\n"
- .'- **0**: 不透出'."\n"
- .'- **1**: 透出',
- 'type' => 'integer',
- 'format' => 'int32',
+ 'description' => '可信软件ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信软件ID。', 'type' => 'string', 'required' => false, 'example' => 'swb-xxxxxxx'],
'required' => false,
- 'example' => '1',
- 'default' => '0',
- 'enum' => [
- '0',
- '1',
- ],
],
],
+ [
+ 'name' => 'ValidFrom',
+ 'in' => 'formData',
+ 'schema' => ['description' => '零信任策略的生效起始时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ ],
+ [
+ 'name' => 'ValidUntil',
+ 'in' => 'formData',
+ 'schema' => ['description' => '零信任策略的生效截止时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1764727544'],
+ ],
+ [
+ 'name' => 'ValidTimeStatus',
+ 'in' => 'formData',
+ 'schema' => ['description' => '生效时间开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
+ ],
],
'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' => '2CABFEBB-0CE7-575E-833A-266F75D46713',
- ],
- 'EapId' => [
- 'type' => 'string',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649'],
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-867ef4007c8a****'],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"EapId\\": \\"\\"\\n}","type":"json"}]',
- 'title' => '创建企业加速策略',
- ],
- 'ListDynamicDisposalProcesses' => [
- 'summary' => '批量查询动态策略处置流程。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建内网访问策略',
+ 'description' => '默认最多可创建500个内网访问策略。',
+ 'changeSet' => [
+ ['createdAt' => '2025-12-03T01:53:26.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-13T12:14:51.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-01-22T05:25:44.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-06-18T13:37:23.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-01-25T11:44:46.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-08-24T13:03:09.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessPolicy'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\"\\n}","type":"json"}]',
+ ],
+ 'CreatePrivateAccessTag' => [
+ 'summary' => '创建当前阿里云账号下内网访问标签。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '257988',
- 'abilityTreeNodes' => [
- 'FEATUREcsas2RGHRX',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '163592',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问标签名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'tag_name'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问标签描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问标签'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 500 => [
+ ['errorCode' => 'Tag.NameExisted', 'errorMessage' => 'The tag name is existed.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建内网访问标签',
+ 'description' => '默认最多可创建500个内网访问标签。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessTag'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateRegistrationPolicy' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'StartTime',
- 'in' => 'query',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'registration_policy_name'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条设备注册策略'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
'schema' => [
- 'description' => '查询的动态处置流程开始时间。格式为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1743143296',
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
],
[
- 'name' => 'EndTime',
- 'in' => 'query',
+ 'name' => 'Whitelist',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '查询的动态处置流程结束时间。格式为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '设备注册策略白名单用户列表。最多可输入1000个用户名。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
'required' => false,
- 'example' => '1743143296',
],
],
[
- 'name' => 'UserName',
- 'in' => 'query',
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '99'],
+ ],
+ [
+ 'name' => 'CompanyLimitType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '用户名。',
+ 'description' => '公司设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
- 'required' => false,
- 'example' => 'xiaoming',
+ 'required' => true,
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
],
],
[
- 'name' => 'DisposalAction',
- 'in' => 'query',
+ 'name' => 'CompanyLimitCount',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '处置动作。'."\n"
- .'- **ztna_connect**:禁止连接零信任内网。'."\n"
- .'- **nac_connect**:禁止连接办公网准入。'."\n"
- .'- **none**:无处置动作。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'ztna_connect' => 'ztna_connect',
- 'nac_connect' => 'nac_connect',
- 'none' => 'none',
+ 'description' => '公司设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '公司设备注册限制总数。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'PC' => ['description' => '公司设备注册限制PC端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'Mobile' => ['description' => '公司设备注册限制移动端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
- 'example' => 'none',
+ 'required' => false,
],
],
[
- 'name' => 'RecoveryType',
- 'in' => 'query',
+ 'name' => 'PersonalLimitType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '恢复类型。'."\n"
- .'- **auto**:自动恢复。'."\n"
- .'- **console**:控制台恢复。'."\n"
- .'- **auth**:认证报备恢复。',
+ 'description' => '个人设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'console' => 'console',
- 'auto' => 'auto',
- 'auth' => 'auth',
- ],
- 'example' => 'auto',
+ 'required' => true,
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitDiff',
],
],
[
- 'name' => 'Status',
- 'in' => 'query',
+ 'name' => 'PersonalLimitCount',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '处置状态。取值:'."\n"
- .'- **disposal**:处于处置状态。'."\n"
- .'- **finished**:已经自动恢复。'."\n"
- .'- **recovery**:认证报备恢复或控制台恢复。',
- 'type' => 'string',
+ 'description' => '个人设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '个人设备注册限制总数。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'PC' => ['description' => '个人设备注册限制PC端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ 'Mobile' => ['description' => '个人设备注册限制移动端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '3'],
+ ],
'required' => false,
- 'example' => 'disposal',
],
],
[
- 'name' => 'DisposalProcessId',
- 'in' => 'query',
+ 'name' => 'MatchMode',
+ 'in' => 'formData',
'schema' => [
- 'description' => '处置流程ID。',
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
'type' => 'string',
- 'required' => false,
- 'example' => 'dp-xxxxxxxx',
+ 'required' => true,
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupAll',
],
],
[
- 'name' => 'DevTag',
- 'in' => 'query',
+ 'name' => 'UserGroupIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
+ 'description' => '设备注册策略的用户组ID集合,当策略匹配目标类型为**UserGroupNormal**时必填。单个策略的用户组最大支持100个。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-086bcf2d650b****'],
'required' => false,
- 'example' => 'E7798391-2554-FE83-E0B7-045DDED629A8',
],
],
],
@@ -3187,507 +2752,225 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => '响应体。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- 'DisposalProcesses' => [
- 'description' => '处置流程列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '处置流程。',
- 'type' => 'object',
- 'properties' => [
- 'Status' => [
- 'description' => '处置状态。取值:'."\n"
- .'- **disposal**:处于处置状态。'."\n"
- .'- **finished**:已经自动恢复。'."\n"
- .'- **recovery**:认证报备恢复或控制台恢复。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'finished' => 'finished',
- 'recovery' => 'recovery',
- 'disposal' => 'disposal',
- ],
- 'example' => 'disposal',
- ],
- 'DynamicPolicyId' => [
- 'description' => '动态策略ID。',
- 'type' => 'string',
- 'example' => 'dynamic-policy-xxxxxxxx',
- ],
- 'DisposalProcessId' => [
- 'description' => '处置流程ID。',
- 'type' => 'string',
- 'example' => 'dp-xxxxxxxx',
- ],
- 'DynamicPolicyName' => [
- 'description' => '动态策略名称。',
- 'type' => 'string',
- 'example' => '动态策略1',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
- 'type' => 'string',
- 'example' => 'WANGCHENCHENNBB',
- ],
- 'UserName' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => 'xiaoming',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '场景险部',
- ],
- 'SaseUserId' => [
- 'description' => 'SASE用户ID。',
- 'type' => 'string',
- 'example' => 'asdqwedg-xzczvzdaf-asfafs',
- ],
- 'DevTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => 'FD7554AD-4CDE-6359-6B49-4FE950606C2C',
- ],
- 'DisposalActions' => [
- 'description' => '处置动作列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '处置动作。'."\n"
- .'- **ztna_connect**:禁止连接零信任内网。'."\n"
- .'- **nac_connect**:禁止连接办公网准入。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'ztna_connect' => 'ztna_connect',
- 'nac_connect' => 'nac_connect',
- ],
- 'example' => 'nac-connect',
- ],
- ],
- 'RecoveryType' => [
- 'description' => '恢复类型。'."\n"
- .'- **auto**:自动恢复。'."\n"
- .'- **console**:控制台恢复。'."\n"
- .'- **auth**:认证报备恢复。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'console' => 'console',
- 'auto' => 'auto',
- 'auth' => 'auth',
- ],
- 'example' => 'auto',
- ],
- 'RuleContent' => [
- 'description' => '规则内容。',
- 'type' => 'any',
- 'example' => '{'."\n"
- .' "Combinator": "OR",'."\n"
- .' "Rules": ['."\n"
- .' {'."\n"
- .' "Operator": "version_gt",'."\n"
- .' "Values": ['."\n"
- .' "1"'."\n"
- .' ],'."\n"
- .' "RuleType": "device_info",'."\n"
- .' "Id": "1",'."\n"
- .' "RuleSubType": "basic_info",'."\n"
- .' "Name": "app_version"'."\n"
- .' }'."\n"
- .' ]'."\n"
- .'}',
- ],
- 'DisposalTime' => [
- 'description' => '处置时间,格式为秒级时间戳。',
- 'type' => 'string',
- 'example' => '1743059249',
- ],
- 'DeviceBasicInfo' => [
- 'description' => '设备基础信息。',
- 'type' => 'object',
- 'properties' => [
- 'DevTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => 'A84D0AF0-1ACC-02B8-6A07-FC898F71BE09',
- ],
- 'DevType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'example' => 'windows',
- ],
- 'OsVersion' => [
- 'description' => '操作系统版本',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => 'CE:3B:**:**:FD:FB',
- ],
- 'Cpu' => [
- 'description' => 'CPU型号。',
- 'type' => 'string',
- 'example' => 'Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'DESKTOP-ERLV3AK',
- ],
- 'Memory' => [
- 'description' => '终端设备内存容量。单位:GB。',
- 'type' => 'string',
- 'example' => '2',
- ],
- 'Disk' => [
- 'description' => '终端设备磁盘型号。',
- 'type' => 'string',
- 'example' => 'KXG6AZNV512G TOSHIBA',
- ],
- ],
- ],
- 'DeviceStatusInfo' => [
- 'description' => '设备状态信息。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE'],
+ 'Policy' => [
+ 'description' => '设备注册策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '设备注册策略名称。', 'type' => 'string', 'example' => 'registration_policy_name'],
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-dcbfd33cb004****'],
+ 'Priority' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'string', 'example' => '1'],
+ 'Description' => ['description' => '设备注册策略描述。', 'type' => 'string', 'example' => '这是一条设备注册策略'],
+ 'Whitelist' => [
+ 'description' => '设备注册策略白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ 'Status' => [
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'MatchMode' => [
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupNormal',
+ ],
+ 'UserGroupIds' => [
+ 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
+ ],
+ 'CreateTime' => ['description' => '设备注册策略创建时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'LimitDetail' => [
+ 'description' => '设备注册策略限制详情列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备注册策略限制详情。',
'type' => 'object',
'properties' => [
- 'SaseUserId' => [
- 'description' => 'SASE用户唯一ID。',
- 'type' => 'string',
- 'example' => 'su_dfsdfsdgasgsgag',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => 'IT运维部',
- ],
- 'AppVersion' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'example' => '4.5.1',
- ],
- 'LoginStatus' => [
- 'description' => '登录状态。',
- 'type' => 'string',
- 'example' => 'online',
- ],
- 'ZtnaStatus' => [
- 'description' => 'ZTNA启用状态。',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'LaStatus' => [
- 'description' => '上网行为管理启用状态。',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'DlpStatus' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'NacStatus' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'example' => 'enabled',
- ],
- 'InternetIp' => [
- 'description' => '公网IP。',
+ 'DeviceBelong' => [
+ 'description' => '设备归属。取值:'."\n"
+ .'- **Company**:公司设备。'."\n"
+ .'- **Personal**:个人设备。',
'type' => 'string',
- 'example' => '120.26.XX.XX',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
- 'PrivateIp' => [
- 'description' => '私网Ip。',
+ 'LimitType' => [
+ 'description' => '设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
- 'example' => '172.20.XX.XX',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitDiff',
],
- 'Workshop' => [
- 'description' => '识别到的办公区名称。',
- 'type' => 'string',
- 'example' => '办公地点',
+ 'LimitCount' => [
+ 'description' => '设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'PC' => ['description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Mobile' => ['description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ ],
],
],
],
],
],
],
- 'TotalNum' => [
- 'description' => '动态处置流程的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DisposalProcesses\\": [\\n {\\n \\"Status\\": \\"disposal\\",\\n \\"DynamicPolicyId\\": \\"dynamic-policy-xxxxxxxx\\",\\n \\"DisposalProcessId\\": \\"dp-xxxxxxxx\\",\\n \\"DynamicPolicyName\\": \\"动态策略1\\",\\n \\"Hostname\\": \\"WANGCHENCHENNBB\\",\\n \\"UserName\\": \\"xiaoming\\",\\n \\"Department\\": \\"场景险部\\",\\n \\"SaseUserId\\": \\"asdqwedg-xzczvzdaf-asfafs\\",\\n \\"DevTag\\": \\"FD7554AD-4CDE-6359-6B49-4FE950606C2C\\",\\n \\"DisposalActions\\": [\\n \\"nac-connect\\"\\n ],\\n \\"RecoveryType\\": \\"auto\\",\\n \\"RuleContent\\": \\"{\\\\n \\\\\\"Combinator\\\\\\": \\\\\\"OR\\\\\\",\\\\n \\\\\\"Rules\\\\\\": [\\\\n {\\\\n \\\\\\"Operator\\\\\\": \\\\\\"version_gt\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"1\\\\\\"\\\\n ],\\\\n \\\\\\"RuleType\\\\\\": \\\\\\"device_info\\\\\\",\\\\n \\\\\\"Id\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"RuleSubType\\\\\\": \\\\\\"basic_info\\\\\\",\\\\n \\\\\\"Name\\\\\\": \\\\\\"app_version\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"DisposalTime\\": \\"1743059249\\",\\n \\"DeviceBasicInfo\\": {\\n \\"DevTag\\": \\"A84D0AF0-1ACC-02B8-6A07-FC898F71BE09\\",\\n \\"DevType\\": \\"windows\\",\\n \\"OsVersion\\": \\"1\\",\\n \\"Mac\\": \\"CE:3B:**:**:FD:FB\\",\\n \\"Cpu\\": \\"Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz\\",\\n \\"Hostname\\": \\"DESKTOP-ERLV3AK\\",\\n \\"Memory\\": \\"2\\",\\n \\"Disk\\": \\"KXG6AZNV512G TOSHIBA\\"\\n },\\n \\"DeviceStatusInfo\\": {\\n \\"SaseUserId\\": \\"su_dfsdfsdgasgsgag\\",\\n \\"Username\\": \\"测试\\",\\n \\"Department\\": \\"IT运维部\\",\\n \\"AppVersion\\": \\"4.5.1\\",\\n \\"LoginStatus\\": \\"online\\",\\n \\"ZtnaStatus\\": \\"enabled\\",\\n \\"LaStatus\\": \\"enabled\\",\\n \\"DlpStatus\\": \\"enabled\\",\\n \\"NacStatus\\": \\"enabled\\",\\n \\"InternetIp\\": \\"120.26.XX.XX\\",\\n \\"PrivateIp\\": \\"172.20.XX.XX\\",\\n \\"Workshop\\": \\"办公地点\\"\\n }\\n }\\n ],\\n \\"TotalNum\\": 1\\n}","type":"json"}]',
- 'title' => '批量查询动态策略处置流程',
- ],
- 'UpdateApprovalStatus' => [
- 'summary' => '更新当前阿里云账号下审批实例状态。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建设备注册策略',
+ 'summary' => '创建当前阿里云账号下设备注册策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistrationPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 3\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateUserGroup' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213408',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '163587',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'ApprovalId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审批实例ID。取值来源:'."\n"
- .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
- .'- [GetApproval](~~GetApproval~~):查询审批实例详情。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-872b5e911b35****',
- ],
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户组名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => true, 'example' => 'user_group_name'],
],
[
- 'name' => 'Status',
- 'in' => 'query',
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户组描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条用户组'],
+ ],
+ [
+ 'name' => 'Attributes',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '审批实例状态。取值:'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。',
- 'type' => 'string',
+ 'description' => '用户组属性集合。最大数量3000个。多个用户组属性之间是或的关系,按照合集生效。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'required' => true, 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
+ ],
+ 'required' => true,
+ ],
'required' => true,
- 'example' => 'Approved',
],
],
],
'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' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Approval' => [
- 'description' => '审批实例。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例。',
- 'type' => 'object',
- 'properties' => [
- 'ApprovalId' => [
- 'description' => '审批实例ID。',
- 'type' => 'string',
- 'example' => 'approval-165e6738ad9d****',
- ],
- 'ApprovalProgresses' => [
- 'description' => '审批实例进展节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例进展节点。',
- 'type' => 'object',
- 'properties' => [
- 'Operators' => [
- 'description' => '审批进展节点操作人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批进展节点操作人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批进展节点操作人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批进展节点操作人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- 'Status' => [
- 'description' => '审批进展节点状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。',
- 'type' => 'string',
- 'example' => 'Approved',
- ],
- 'Executor' => [
- 'description' => '审批进展节点执行人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Action' => [
- 'description' => '审批进展节点执行操作。取值:'."\n"
- .'- **Approve**:通过。'."\n"
- .'- **Reject**:拒绝。'."\n"
- .'- **Revoke**:撤回。'."\n"
- .'- **Comment**:评论。',
- 'type' => 'string',
- 'example' => 'Approve',
- ],
- 'Comment' => [
- 'description' => '审批进展节点执行评论。',
- 'type' => 'string',
- 'example' => '审核通过',
- ],
- 'Timestamp' => [
- 'description' => '审批进展节点执行时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1736752000',
- ],
- ],
- ],
- ],
- 'EndTimestamp' => [
- 'description' => '审批实例有效截止时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1757952000',
- ],
- 'ApprovalDetail' => [
- 'description' => '审批实例详情。',
- 'type' => 'string',
- 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}',
- ],
- 'Status' => [
- 'description' => '审批实例状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。'."\n"
- .'- **Expired**:已过期。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'ProcessId' => [
- 'description' => '审批实例关联流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-fcc351b8a95b****',
- ],
- 'ProcessName' => [
- 'description' => '审批实例关联流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'PolicyType' => [
- 'description' => '审批实例关联策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- 'SchemaId' => [
- 'description' => '审批实例关联模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批实例关联模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'SchemaContent' => [
- 'description' => '审批实例关联模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'CreatorUserId' => [
- 'description' => '审批实例创建人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'CreatorDevTag' => [
- 'description' => '审批实例创建终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'CreateTime' => [
- 'description' => '审批实例创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-15 22:11:55',
- ],
- 'Reason' => [
- 'description' => '审批实例创建原因。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建用户组',
+ 'summary' => '创建当前阿里云账号下用户组。',
+ 'description' => '默认最多可创建500个用户组。',
+ 'changeSet' => [
+ ['createdAt' => '2023-06-09T12:50:17.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-165e6738ad9d****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '更新审批实例状态',
- ],
- 'UpdateApprovalProcess' => [
- 'summary' => '更新当前阿里云账号下审批流程。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\"\\n}","type":"json"}]',
+ ],
+ 'CreateWmBaseImage' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -3696,457 +2979,679 @@
'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213358',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '226309',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'ProcessName',
+ 'name' => 'WmType',
'in' => 'formData',
'schema' => [
- 'description' => '审批流程名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
+ 'title' => '水印类型'."\n"
+ .'PureWebappInvisible: 常规网页水印'."\n"
+ .'PureAppInvisible: 常规APP水印'."\n"
+ .'PureScreenInvisible: 常规屏幕水印'."\n"
+ .'AigcWebappInvisible: AIGC网页水印'."\n"
+ .'AigcAppInvisible: AIGCAPP水印'."\n"
+ .'AigcScreenInvisible: AIGC屏幕水印',
+ 'description' => '水印类型。取值:'."\n"
+ .'- **PureWebappInvisible**:网页水印。'."\n"
+ .'- **PureAppInvisible**:App水印。'."\n"
+ .'- **PureScreenInvisible**:屏幕水印。'."\n"
+ .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
+ .'- **AigcAppInvisible**:AIGC App水印。'."\n"
+ .'- **AigcScreenInvisible**:AIGC屏幕水印。',
'type' => 'string',
- 'required' => false,
- 'example' => '测试',
+ 'required' => true,
+ 'enumValueTitles' => ['AigcAppInvisible' => 'AIGC App水印', 'PureWebappInvisible' => '网页水印', 'AigcWebappInvisible' => 'AIGC网页水印', 'PureAppInvisible' => 'App水印', 'PureScreenInvisible' => '屏幕水印', 'AigcScreenInvisible' => 'AIGC屏幕水印'],
+ 'example' => 'PureWebappInvisible',
+ 'enum' => ['PureWebappInvisible', 'PureAppInvisible', 'PureScreenInvisible', 'AigcWebappInvisible', 'AigcAppInvisible', 'AigcScreenInvisible'],
],
],
[
- 'name' => 'Description',
+ 'name' => 'WmInfoSize',
'in' => 'formData',
'schema' => [
- 'description' => '审批流程描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
+ 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
+ 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。',
+ 'type' => 'integer',
+ 'format' => 'int64',
'required' => false,
- 'example' => '这是一个测试',
+ 'enumValueTitles' => [32 => '32', 40 => '40', 64 => '64'],
+ 'example' => '32',
],
],
[
- 'name' => 'ProcessNodes',
+ 'name' => 'WmInfoUint',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '审批节点列表。最多可定义5个审批节点。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批节点的审批人列表。最多可定义5个审批人。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批人ID。取值来源:'."\n"
- .'- [ListUsers](~~ListUsers~~):批量查询用户。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****',
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '10进制数字格式水印信息。若设置该值,则 WmInfoBytesB64 不能设置。'."\n"
+ ."\n"
+ .'取值范围取决于 WmInfoSize 参数:'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为**32**时,取值范围为 1~4294967295。'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为**40**时,取值范围为 1~1099511627775。'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为**64**时,取值范围为 1~18446744073709551615。', 'type' => 'string', 'required' => false, 'example' => '12*****'],
],
[
- 'name' => 'MatchSchemas',
+ 'name' => 'WmInfoBytesB64',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '匹配的审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'DomainWhitelistSchemaId' => [
- 'description' => '域名白名单审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DomainBlacklistSchemaId' => [
- 'description' => '域名黑名单审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SoftwareBlockSchemaId' => [
- 'description' => '软件禁用审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DeviceRegistrationSchemaId' => [
- 'description' => '设备注册审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'AppUninstallSchemaId' => [
- 'description' => '设备卸载审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PeripheralBlockSchemaId' => [
- 'description' => '外设管控审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DlpSendSchemaId' => [
- 'description' => '文件外发审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'EndpointHardeningSchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SoftwareHardeningSchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 参数不能设置。', 'description' => 'Base64编码后的字符串格式水印信息 。长度1~300个字符。若设置该值,则 WmInfoUint 参数不能设置。', 'type' => 'string', 'required' => false, 'example' => 'aGVsbG8gc2F*****', 'maxLength' => 400],
],
[
- 'name' => 'ProcessId',
+ 'name' => 'Scale',
'in' => 'formData',
- 'schema' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-process-f16bf74b2b29****',
- ],
+ 'schema' => ['title' => '水印图片的缩放比例。', 'description' => '水印图片的缩放比例。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '3', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'MatchSchemaConfigs',
- 'in' => 'query',
+ 'name' => 'Width',
+ 'in' => 'formData',
+ 'schema' => ['title' => '水印图片的宽度,单位为像素。取值范围为 [100, 5000]', 'description' => '水印图片的宽度,单位为像素。取值:100~5000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '10000', 'minimum' => '100', 'example' => '1920'],
+ ],
+ [
+ 'name' => 'Height',
+ 'in' => 'formData',
+ 'schema' => ['title' => '水印图片的高度,单位为像素。取值范围为 [100, 5000]', 'description' => '水印图片的高度,单位为像素。取值:100~5000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '10000', 'minimum' => '100', 'example' => '1080'],
+ ],
+ [
+ 'name' => 'Opacity',
+ 'in' => 'formData',
+ 'schema' => ['title' => '水印图片的透明度。取值范围为 [1, 255]', 'description' => '水印图片的透明度。取值:1~255。取值越大,透明度越低。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '255', 'minimum' => '1', 'example' => '255'],
+ ],
+ [
+ 'name' => 'ImageControl',
+ 'in' => 'formData',
'style' => 'json',
'schema' => [
+ 'description' => '图片水印控制参数。',
'type' => 'object',
'properties' => [
- 'DomainWhitelistSchemaConfig' => [
+ 'TextVisibleControl' => [
+ 'description' => '图片文本水印控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
+ 'VisibleText' => ['description' => '文本水印文案。格式为utf8字符串。', 'type' => 'string', 'required' => false, 'example' => '水印文本'],
+ 'Mode' => [
+ 'description' => '文本水印显示模式。取值:'."\n"
+ .'- **pos**:固定位置模式。'."\n"
+ .'- **repeat**:平铺模式。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['pos' => 'pos', 'repeat' => 'repeat'],
+ 'example' => 'pos',
],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'Opacity' => ['description' => '文本水印透明度。取值:1~255。取值越大,越不透明。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '255'],
+ 'FontSize' => ['description' => '文本水印文字字号。取值越大,字体越大。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'FontColor' => ['description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。如 0x000000或#000000 表示黑色。', 'type' => 'string', 'required' => false, 'example' => '#FF0000'],
+ 'Angle' => ['description' => '文本水印文字顺针旋转角度。取值范围0~360。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制文本水印水平位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制文本水印垂直位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'SpaceX' => ['description' => 'Mode为repeat时生效。控制文本水印平铺水平间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'SpaceY' => ['description' => 'Mode为repeat时生效。控制文本水印平铺垂直间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosAx' => ['description' => '文本水印水平方向锚点。'."\n"
+ .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'PosAy' => ['description' => '文本水印垂直方向锚点。'."\n"
+ .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Visible' => ['description' => '可见性:'."\n"
+ ."\n"
+ .'true : 显示'."\n"
+ ."\n"
+ .'false: 不显示', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'Margin' => [
+ 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Top' => ['description' => 'Mode为top-left、top-right时生效。上边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Right' => ['description' => 'Mode为top-right、bottom-right时生效。右边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Bottom' => ['description' => 'Mode为bottom-left、bottom-right时生效。下边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Left' => ['description' => 'Mode为top-left、bottom-left时生效。左边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
],
'required' => false,
],
],
'required' => false,
],
- 'DomainBlacklistSchemaConfig' => [
+ 'LogoVisibleControl' => [
+ 'description' => 'Logo水印控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
+ 'Enhance' => ['description' => '是否开启增强明水印。开启后logo会被转换为水印logo,添加到图片上。', 'type' => 'boolean', 'required' => false],
+ 'LogoBase64' => ['description' => 'Base64格式logo水印。Logo文件为PNG图片转成Base64格式。', 'type' => 'string', 'required' => false, 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFLRJREFUeF7tnXmYZFV5h9+vehwHE5FFQBZFDGDCoiiKYYIJqBBF4DEakARJGCQwfYtRRicsQiQkgWBEQGb6VjOyJKgxRpIYASWiPmZhcdgkGXABVDBq3FgSGGdguk/uObV0dXdV3Vunq073mfud55k/puus73d/92zfOVfQoASUQFcComyUgBLoTkAFok+HEuhBQAWij4cSUIHoM6AE/AhoD+LHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhMC8C8QkvAj4PeCtGF6KsCuwZED8j5GUG/LyMlUOx/DFvHh9/P494BGEmxA+KWv4YR9pNeoCIjBvAjEJe2Yc/hQ4HhgZAhMDbC0pT+XlbU5iCc/jaaCSF9fjd1uPf2CC8+VKHvBIr0nmkcC8CMSMsizrKT42JGE0cd4rKa8uytYk3AG8rmh8j3iTwHJJXbs1REIguEBMwp8BfxKAz2WS8r6i5ZgqF2M4q2h873iGi6TGud7pNWFQAkEF0ug5rgnUwkLzj2Zdsh7kzVkP8oVAdTtFUq7upyxT5XgMy7umqbCKSY7qJ08bV1I3zHXBJFwKxXvd3LI2c6SsZcPMeCbhFuA5uek7RTA8KjX+wCutR6JgAjGnsQ8j3O9RR78kI7xAVvO/RRObhF8G/q9o/AHE20dSvlE0H1PljzH8Vdf4m9ieJSzF5C9KtPIQjpYxbmwJpMqXMbyhaJ1y421ka7lmOlOT8FpgXW7aXhEWs61czhNzyqNg4nACSfgccHTBes012mcl5Xf6zcQkfAb43X7Tecb/Z0l5W9G0bQL5PtDshW2PcSDwDUnZx5zBzjzDaTl5nt/4/QIWc6Vczo86COTerCex9uoU7LD1+eBYzV50MOyIMOoSdhLIKAcic3wOhGtljEeKsptLvCACMcvZjwr/NZeK9khrDfw14HaEO1jMnXIZv/Atq7Gi9RqEgzH8Orh/u/jm1zPdJPvLOOuL5N0mkNsk5TdsGpNwK7AU+JiknFoonwS7qgaTHCbjfLU9jZnqQa6WlFM65WcSfuB4GI6TmhPJtDDN1h0EUqSOCylOGIFUOQ/Dnw+o4bdhXBd9GxXWhXiTmIQXU+GgbK9kKZO8Dqk/oHMOhvOl5hYtcsNMgTSEXH8RGE6SGn9jTmVnFvPyTpnJmroYjAokl3V7hDACmXrT9VU54HsY7qDC7baXkDHXUyyI0BhLW7E0e5qX9V0xcQIvtLRsEs4EPmR7SklZakZ5PcK/uTIn2Fuu5EEzyqkIV3asxyQ7yTg/6SmQhK8AhwGuBzGjHIuw74z83g9uvnY9zJpTXsIkL22NFvqcB/bNL0CCUAKx4+bdCrbH7kL/BSN8Tlbz04Jp5j2aqbI9xo2t7RJ2UbE8Jakbz+eGWT3IKGchXAz8VFJ2bPQOf5QNf9aCWzm6E2ErDAe5zEfY0fLspwcxCd8C9s6tXDNChTezmR+0BKJDrGLoWkbJj/51nsvSucwh8osYfoy+Nh0bb/a8WnUQyA2IW9ZtLUhk84O6QIQHZIx9zWnsxQjf9hEIG1nJko4rYr/l8hMewMx6gV3DJPeoQPKsOeP3wgIxnCA1/rbP7BdcdJO4lbBZE9iOFa3wMlnDd/MaMUsgCY8B2wKrsl7oI9N6kAEIxHuSfjr7M8l/uvZoD5Jn1vrvhQVS4RWyZmirXcUqO4BYZpSXI3yzUFaT7CHj2GFlz2ASVgEfxnArFU7IJubNNJ+UlHc5zlVOwThXlvslZb+Gv9uDLuPN7CBr+VnOHORLwBubc5BOFTIJ/52tmlmH0mOzMuw8ZFowo7wN4Z9cJ5MybQhvqqzJep1qXlsL/S6slDEuLxR3DpFCzUHqS4t5YUsRSPvQJr/Nfj1IlQswfLD+BuJXpca3BjjE8t0H2TrzYl4GbGNXGZvL0U0Epsr9GPbJQ1Lw9772kQrmOSuaCsSXXI9008b+efl7DrGcLhJ+AuyA4cNS48wBCiSv1vm/Gw6VGv/aHtGczqGt/9slc8OFjf+/hQob8zNti7GZDTI+xx35AgUuLIH0sXFWoG3zFmXa0CavFh5DLKlxiBPI1JBlvaTsP+chVpWPZK4qdme+W7DPy282frS9zExXnmcyT4T1CFfLWG+3opbTquE+qXFAHqb5+n1hCUSHWF2fgy476acDq60PmaRsPdcepMhD2JrDGA6Wmjsi4BVMwm3AwcAVkvJer0wCJFpYAtEepLtA2ibpbT3IiRius4nshHiuPUiR522AAqnPS7u4rMysi0mwCwiLmGSljGN7ryBBBTIEzMGGWKNciPAB4IfZQaxdZwlkOW+gwpcbD+J2UuPxXqtY7nmtOxO6ZeMOoX2IZd317YrW7GC4uVfvYqrO+8D2IHZ1bRdZO+Uw2c0cJnGisEOxsyTt4dU8YHsuLIHoEKt7DzLl7j7lrFjlEQwvabmGNDcKmzvpOL8se+b/cUnZzgmghy9W43frCVDIP6zHs3iNpLy7x8N+NvCX1pVIUvYo8kybhDEgyZxHb5aUtxRJM4g4C0sgAxpimeUcSqWru3Z3boZVUnOuGnMKw+5B3LEB4ePuoot62CvbC3morQeZWf8zJOWjZgVbM8GT7scO3rxOIFWO67EUa5dv6/OFzjvpzXK/K6lb7u0YTOIOptkDap+QlBOLwDaj/L69ACPbGC3snlMk37w4W7JA7NCjv2C4PhKBrEKcA6cN50jqfLLsw/1qDMe0NfpJhC82V5RMwtvdBRI2bGZ3Wcuj/QAyy50jYnPXv+NGYZH8TMLjjb2SauZHlhZKs5xdqTSGdAN6kRYpd4sUSJGGDzNOgB7ECuQfgZWS8umibWnbBXcewUXTNeMNQiAm4ddaB62EA2WMe4rWwyT8D7AThtMG8SIrUu7CEojOQbrarNMybxEDN1w/7BVLdmhU96judtipyr4Yju2Rr/X9ek/j984nCqcS272Z2a4oU/MkW4+LEJ4t0g4XR1jWmHN9WlJ3XdTQw8ISiOGVUms4ug296cMrwFTZG+NcxfOD4VeySwi+kxdx5nmQvPitt/7U5Lb5pxWSsqZTepM4V/25TtCbWX9b0tmHt0zCVdB9Al+oXYarpOY8l4ceFpZAtAfp1YPUbzUR1ssYdoOwUHALFuIeJrvDfXc2tOp6g6RJ3A0nU+4ghUroGemomRf3mVGsC6OvP9YmhH9nKy6TS9xFf0MPC0sgW0oP0o837wh7ymoeHrqltQAvAioQL2y9E/Xl7q4CGYIFBpelCmRwLFs5qUCGAHWeslxoAnmN1Lh7nlgMrFjTfqouL9eC7u552ZiTeb47Imt4v2VoEm5EGG+/GC4vD/19NoGFJpBRqTEeu6GyjTC7pFrstNugBDLKtgiPZScOD8+cGb+kAhnMUxRKIPbcQP7tHcKjTPBaez3NYJoXPhdzOru4iwvshlaR0LhtpEjUXnHMu9mO5/LzpkDmmp+mrxMIJRB7RaXdQS0SrAPe+Ri+EJNQ3LU/kxyDuH2EolcczTq33VMEo7wVcb2Tve3Rnkm/lY2cae+/NWewDc/w+LQexFBjhIeZZJwKy2XN1Dl5M8rN1smRCr9w9/luYCv56/qpPpNwNoZTpMaepu7iYX2gLgB359ZemdOgfYGd2G3J2KxgByZcXHv968+A/6DChbKGu1z+VS7CuOtJrW+Xbcd5kroymufqz8hcZu5BWn5an8heOLXGRRj2lstvMsLxspr7ijxQc4kTRiCjXI/wDo+K2i8z3Y3hLoR1bGKdXO1u85j34C6Os1eT2ovj6t8VKXoXVnvdH8oeDPvA5Ya2y7XPYYSrWcRTbOKzCPfKGGd3EMgTCKtkjKtMwqPUN9fcJqBJ3OVwX2GSPRhhv54CqX/o6MHG8O09CE9iWJGdOT+i260lGZubsoNc22fCeJPdB8kWLT6FcEh2o/2LTeL2cC52d3rZ20/EiegkDG7+2XK4NNxHhSsyh8Y9MZwDbt/j2uwuYvvFsPMaTotH5oKbY4RQArEfzBnMZw/sMMy+Xez1oxXu4lnWydqGh+ocYXRLPrSrR4XVMtZy3ehZe/NeduJZRmd8rsBu7B1gL8HuKZD6t09+W1Je1RDIGPU9p0NMlaMKCuRcGeMil765CDHCATPf4q27eQ1HSq3+OQnHDz7uXpL2wRcuab+RxM2X4Onstvt3tgTSNjczifM0sK4rzhHTjPKHiDuJ+IIhmbyVbRiB1G8dtIdrBvXtwZlcLEA77r+z+a/Ip9c6we1webXtIXYeiiEqHNa8M7dI/qbK7kxiLziwb/0X2je0Hb4UEIj1sVpP46EziTugZA8eXddRIFU+wCQnuyHWVA/Sciw0K9iNCb5Ph2O3rWt/NrH9zN7erGQrNrGBGd64pn5L5AmS8oqGQOzD/7wmkyzPrwM3NT881PhWyqdmXitUhGG/cYIIpDG2tONO21UOPxgetsbttyCT8Pf2vqd+03nGtw/264umzeYMdjhn5w0XuUu71/BVk7gLqZ/IE0jjrWsfsuvcUBVuYSM7urlL5x7kUus2P00g8KqsHJsHOQJ5lzurspltZvbsZjk7UuHHTaG2CeB9CCe7u7zqd3tdIqmbn7jgBCLcKKkbWtl5inW72cIEUj+sYz+gU3gCW/Th6Rhvkt1k3F3VXyjMwwd0DpLU9XiFgqnfg7Vz+2cOGoJeXEggCfbSaTsPtALZRVKOcw9bwhHZ5Qn/gvBCGePnjb/djmEHT4HYI7t3tfcuzk1euJZNHMMSfoRhWfunE0x9jrrItaOsAmm8eV7JhDuL3Oo+Cz0dPpEMJ2YGtqsfhULQT7B53ApoqoxiOJMKy5jgMcRNdu0Ni/dieCdLeHrGKlZrku7Y15ef7QvDXghuPyZqz5NM/V24FOEGJjjcfQDH8FhRgZiEc7M55ktkrP7xHlPla9lowToW1j+kA1cwyYZsEn60Sdz+kB0mnswzrGeRE6q9T/gIGeOWUgukAc9+k9wax16hP8zQ9SMwnQoN+BFPd8mbT8Oz8+T261BWGHb+cQvilmPt2W672mdXlm6ctpNuqEnNrSi5YBLnybu/pNPnVI1exJ7AtBdTr8dwKRXeJGOc0LbMa7+r+FDjRWeXcT/DBIn9tPUsgdjvlCxyy7L2GlNrZ9tTviM7p25v+bcCsr2hvUq1/qIUphYA6kvZdjGi9b3Fhou8PeTlvuto6pdRfFDSgXoedzRJsDlIe+mNlY7PZ+vwdnVjOKHPeUhfN7L71dhOjE/q5W7ul23xVCZxw6vPt6+EFU892Jhuwr6RgxC+0xTOYEsYTG7zIhD3FljFL2VfsbDLlPZNMpxQcB4y9PmH3bCb4JxhL0d3g2jqJwX3A/6O5/Ai+Sg/Hg7wLS/XeRNIq9u3PkT17+zZyd3uje8BbjUQ1PVPnE27H7ZTvgOef9gNrfon4uy3Ezdx63xvbprEXdTwdgyXS42VA2FbkkzmXSAl4azNjJSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ+D/AdF26yPzUbcJAAAAAElFTkSuQmCC'],
+ 'Mode' => [
+ 'description' => 'Logo水印显示模式。取值:'."\n"
+ .'- **pos**:固定位置模式。'."\n"
+ .'- **repeat**:平铺模式。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['pos' => 'pos', 'repeat' => 'repeat'],
+ 'example' => 'pos',
],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'Opacity' => ['description' => 'Logo水印透明度。取值:1~255。取值越大,透明度越低。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '255'],
+ 'Angle' => ['description' => 'Logo水印文字顺针旋转角度。取值范围1~360', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'SpaceX' => ['description' => 'Mode为repeat时生效。控制明水印平铺水平间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'SpaceY' => ['description' => 'Mode为repeat时生效。控制明水印平铺垂直间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosAx' => ['description' => 'Logo水印水平方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'PosAy' => ['description' => 'Logo水印垂直方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角为位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Visible' => ['description' => '可见性:'."\n"
+ ."\n"
+ .'**true** : 显示'."\n"
+ ."\n"
+ .'**false**: 不显示', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'Margin' => [
+ 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Top' => ['description' => 'Mode为top-left、top-right时生效。上边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Right' => ['description' => 'Mode为top-right、bottom-right时生效。右边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Bottom' => ['description' => 'Mode为bottom-left、bottom-right时生效。下边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Left' => ['description' => 'Mode为top-left、bottom-left时生效。左边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
],
'required' => false,
],
],
'required' => false,
],
- 'SoftwareBlockSchemaConfig' => [
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'comment',
+ 'in' => 'query',
+ 'schema' => ['description' => '备注信息。', 'type' => 'string', 'required' => false, 'example' => '备注'],
+ ],
+ ],
+ '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' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Data' => [
+ 'description' => '透明图信息。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'ImageId' => ['description' => '透明图ID,相同的ID表示图片内容完全一致。', 'type' => 'string', 'example' => 'fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****'],
+ 'ImageUrl' => ['description' => '可用于下载图片的临时URL。', 'type' => 'string', 'example' => 'https://example.com/test-*****.png'],
+ 'ImageUrlExp' => ['description' => '图片临时URL的有效截止时间,格式为Unix时间戳,单位为秒。', 'type' => 'integer', 'format' => 'int64', 'example' => '17185*****'],
],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建暗水印透明底图',
+ 'summary' => '获取网页水印、屏幕水印和App水印的暗水印透明底图。',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-01T07:11:54.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-16T02:23:47.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-03-21T14:06:13.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmBaseImage'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmBaseImage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"ImageId\\": \\"fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****\\",\\n \\"ImageUrl\\": \\"https://example.com/test-*****.png\\",\\n \\"ImageUrlExp\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateWmEmbedTask' => [
+ 'summary' => '创建数字水印嵌入任务。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '216120',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'WmType',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '水印类型'."\n"
+ .'PureDocument: 常规文档水印'."\n"
+ .'PureImage: 常规图片水印'."\n"
+ .'PureAudio: 常规音频水印'."\n"
+ .'PureVideo: 常规视频水印'."\n"
+ .'AigcDocument: AIGC文档水印'."\n"
+ .'AigcImage: AIGC图片水印'."\n"
+ .'AigcAudio: AIGC音频水印'."\n"
+ .'AigcVideo: AIGC视频水印',
+ 'description' => '水印类型。取值:'."\n"
+ .'- **PureDocument**:文档水印。'."\n"
+ .'- **PureImage**:图片水印。'."\n"
+ .'- **PureAudio**:音频水印。'."\n"
+ .'- **PureVideo**:视频水印。'."\n"
+ .'- **AigcDocument**:AIGC文档水印。'."\n"
+ .'- **AigcImage**:AIGC图片水印。'."\n"
+ .'- **AigcAudio**:AIGC音频水印。'."\n"
+ .'- **AigcVideo**:AIGC视频水印。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['PureImage' => '图片水印', 'AigcImage' => 'AIGC图片水印', 'AigcAudio' => 'AIGC音频水印', 'PureDocument' => '文档水印', 'PureAudio' => '音频水印', 'PureVideo' => '视频水印', 'AigcDocument' => 'AIGC文档水印', 'AigcVideo' => 'AIGC视频水印'],
+ 'example' => 'PureDocument',
+ 'enum' => ['PureDocument', 'PureImage', 'PureAudio', 'PureVideo', 'AigcDocument', 'AigcImage', 'AigcAudio', 'AigcVideo'],
+ ],
+ ],
+ [
+ 'name' => 'Filename',
+ 'in' => 'formData',
+ 'schema' => ['title' => '文件名,后端需要根据文件名的后缀判断校验文件类型', 'description' => '待嵌入文件的文件名,后端需要根据文件名的后缀判断校验文件类型。', 'type' => 'string', 'required' => true, 'example' => 'abc****.pdf'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'formData',
+ 'schema' => ['title' => '可用于下载文件的 URL'."\n"
+ .'控制台调用时传递文件的 oss 路径', 'description' => '可用于下载待嵌入文件的URL,需要可以公网访问。', 'type' => 'string', 'required' => true, 'example' => 'https://example.com/abc****.pdf'],
+ ],
+ [
+ 'name' => 'WmInfoSize',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
+ 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'required' => false,
+ 'maximum' => '64',
+ 'minimum' => '32',
+ 'enumValueTitles' => [32 => '32', 40 => '40', 64 => '64'],
+ 'example' => '32',
+ ],
+ ],
+ [
+ 'name' => 'WmInfoUint',
+ 'in' => 'formData',
+ 'schema' => ['description' => '10进制数字格式水印信息。若设置该值,则 WmInfoBytesB64 不能设置。'."\n"
+ ."\n"
+ .'取值范围取决于 WmInfoSize 参数:'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为32时,取值范围为 1~4294967295。'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为40时,取值范围为 1~1099511627775。'."\n"
+ ."\n"
+ .'- 当 WmInfoSize 为64时,取值范围为 1~18446744073709551615。', 'type' => 'string', 'required' => false, 'example' => '123***'],
+ ],
+ [
+ 'name' => 'WmInfoBytesB64',
+ 'in' => 'formData',
+ 'schema' => ['title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。', 'description' => 'Base64 编码后的字符串格式水印信息 。若设置该值,则 WmInfoUint 不能设置。', 'type' => 'string', 'required' => false, 'example' => 'aGVsbG8gc2F*****', 'maxLength' => 400],
+ ],
+ [
+ 'name' => 'VideoIsLong',
+ 'in' => 'formData',
+ 'schema' => [
+ 'title' => '视频水印参数:默认为 false,此时会使用短视频的 SDK,设为true时会使用使用长视频的SDK',
+ 'description' => '视频水印参数:是否使用长视频水印SDK,默认为false。取值:'."\n"
+ ."\n"
+ .'- **true**: 是'."\n"
+ .'- **false**: 否',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'false',
+ ],
+ ],
+ [
+ 'name' => 'VideoBitrate',
+ 'in' => 'formData',
+ 'schema' => ['title' => '短视频水印参数,含义为视频的比特率(bitrate),短视频时必须设置该参数。', 'description' => '短视频水印参数:含义为视频的比特率,默认会自动获取视频的比特率,可以通过该参数强制指定提取时使用的比特率。通常无需设置该参数。', 'type' => 'string', 'required' => false, 'example' => '3000k'],
+ ],
+ [
+ 'name' => 'ImageEmbedLevel',
+ 'in' => 'formData',
+ 'schema' => ['title' => '图像水印参数:取值范围为 [0, 4],默认值为 2。更大的值意味着更高的鲁棒性,但是视觉质量会下降。', 'description' => '图像水印参数:更大的值意味着更高的鲁棒性,但是视觉质量会下降。默认值2。取值:0~4。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '2'],
+ ],
+ [
+ 'name' => 'ImageEmbedJpegQuality',
+ 'in' => 'formData',
+ 'schema' => ['title' => '图像水印参数:期望的输出图像jpeg压缩质量因子,取值范围 [1, 100],默认值 95', 'description' => '图像水印参数:期望的输出图像jpeg压缩质量因子,默认值 95。取值:1~100。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '95'],
+ ],
+ [
+ 'name' => 'InvisibleEnable',
+ 'in' => 'formData',
+ 'allowEmptyValue' => false,
+ 'schema' => ['description' => '是否启用嵌入暗水印。默认为true。'."\n"
+ .'取值:'."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否', 'type' => 'boolean', 'required' => false, 'default' => 'true'],
+ ],
+ [
+ 'name' => 'DocumentControl',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '文档水印控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'InvisibleAntiTextCopy' => [
+ 'description' => '是否启用零宽字符暗水印。零宽字符暗水印可以抵抗文档增、删、改、另存(格式不变)、部分文本复制粘贴、CopytoTxt攻击。不能抵抗格式转换toPDF攻击。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否',
+ 'type' => 'boolean',
'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'true',
],
- 'DeviceRegistrationSchemaConfig' => [
+ 'InvisibleAntiAllCopy' => [
+ 'description' => '是否启用组件暗水印。组件暗水印可以抵抗文档增、删、改、另存(格式不变)、docx全选复制拷贝到新docx文档,不能抵抗格式转换攻击。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'true',
+ ],
+ 'BackgroundControl' => [
+ 'description' => '背景水印控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
+ 'BgAddVisible' => ['description' => '是否启用背景明水印。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'BgVisibleControl' => [
+ 'description' => '背景明水印控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'VisibleText' => ['description' => '背景明水印文案。格式为utf8字符串。', 'type' => 'string', 'required' => false, 'example' => 'hello ****', 'maxLength' => 1000],
+ 'Mode' => [
+ 'title' => '',
+ 'description' => '背景明水印模式。取值:'."\n"
+ ."\n"
+ .'- **pos**:在背景的特定位置嵌入一处明水印文案。'."\n"
+ .'- **repeat**:在文档背景中平铺嵌入多处明水印文案。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'pos',
+ 'enum' => ['repeat', 'pos'],
+ ],
+ 'FontSize' => ['description' => '明水印文字字号。取值越大,字体越大。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'example' => '30'],
+ 'FontColor' => ['description' => '明水印文字颜色。格式为 0xFFFFFF RGB颜色格式。如 0x000000 表示黑色。', 'type' => 'string', 'required' => false, 'example' => '0x000000', 'pattern' => '^0[xX][0-9a-fA-F]{6}$'],
+ 'Angle' => ['description' => '明水印文字逆时针旋转角度。取值范围1~360。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '360', 'minimum' => '0', 'example' => '30'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左下角为原点。数值在0~1之间时,为比例控制。数值大于1时,为精确的像素位置控制。', 'type' => 'string', 'required' => false, 'example' => '0.5', 'pattern' => '^[\\d.]+$'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左下角为原点。数值在0~1之间时,为比例控制,数值大于1时,为精确的像素位置控制。', 'type' => 'string', 'required' => false, 'example' => '0.5', 'pattern' => '^[\\d.]+$'],
+ 'HorizontalNumber' => ['description' => 'Mode为repeat时生效。表示明水印在水平方向上重复出现的次数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'example' => '3'],
+ 'VerticalNumber' => ['description' => 'Mode为repeat时生效。表示明水印在垂直方向上重复出现的次数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '200', 'example' => '3'],
+ 'Opacity' => ['description' => '明水印透明度参数。取值范围1~255。取值越大,越不透明。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '255', 'minimum' => '1', 'example' => '100'],
+ ],
'required' => false,
],
- 'ExternalProcessId' => [
- 'type' => 'string',
+ 'BgAddInvisible' => [
+ 'description' => '是否添加背景暗水印。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否',
+ 'type' => 'boolean',
'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'true',
],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'BgInvisibleControl' => [
+ 'description' => '背景暗水印控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Opacity' => ['description' => '背景暗水印透明度参数。取值范围1~13。取值越大,越不透明。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '255', 'minimum' => '1', 'example' => '10'],
],
'required' => false,
],
],
'required' => false,
],
- 'AppUninstallSchemaConfig' => [
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'CsvControl',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => 'Csv嵌入水印控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Method' => [
+ 'description' => '水印嵌入方式。'."\n"
+ .'取值:'."\n"
+ ."\n"
+ .'- **lossless_row_shift_embed**:数据无损方法'."\n"
+ .'- **lossy_number_embed**:数据有损方法'."\n"
+ .'- **lossy_time_stamp_embed**:时间戳方法'."\n"
+ .'- **lossy_zero_width_embed**:零宽字符方法',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lossy_zero_width_embed',
+ 'enum' => ['lossless_row_shift_embed', 'lossy_number_embed', 'lossy_time_stamp_embed', 'lossy_zero_width_embed'],
+ ],
+ 'EmbedColumn' => ['description' => '指定嵌入列,建议为string内容列,计数从1开始。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'EmbedPrecision' => ['description' => '修改精度,表示修改的幅度,为10的n次方,比如0表示修改精度为10^0,即个位部分,-1表示小数点后一位,1表示十位部分,若float数据无此精度的部分,则不修改。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '-1'],
+ 'EmbedTimePosition' => [
+ 'title' => '时间戳水印参数。水印嵌入位置。可以为Min(分)、Sec(秒)、MilSec(毫秒),三者选一个填入,选择哪个,则算法修改哪个位置的数据。',
+ 'description' => '时间戳水印参数。水印嵌入位置。可以为Min(分)、Sec(秒)、MilSec(毫秒),三者选一个填入,选择哪个,则算法修改哪个位置的数据。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Sec',
+ 'enum' => ['Min', 'Sec', 'MilSec'],
+ ],
+ 'TimeFormat' => ['title' => '时间戳水印参数。解析csv文件中时间戳的格式字符串。若csv文件中的时间戳类似“2023-10-15 13:20:59:342”,则对应的格式字符串为“Year-Mon-Day Hour:Min:Sec.MilSec”,则这里要填“Year-Mon-Day Hour:Min:Sec.MilSec”,水印嵌入后依然按照此格式输出,一旦填错则该方法无法使用。格式字符串中的年、月、日、时、分、秒、毫秒必须按照上述写法填写,连接符为英文非字符的单连接符,一般可以是“:”“/”“-”“ ”(空格),额外支持“T”“Z”为连接符。其他形式的时间格式目前不支持解析。 ', 'description' => '时间戳水印参数。解析csv文件中时间戳的格式字符串。若csv文件中的时间戳类似“2023-10-15 13:20:59:342”,则对应的格式字符串为“Year-Mon-Day Hour:Min:Sec.MilSec”,则这里要填“Year-Mon-Day Hour:Min:Sec.MilSec”,水印嵌入后依然按照此格式输出,一旦填错则该方法无法使用。格式字符串中的年、月、日、时、分、秒、毫秒必须按照上述写法填写,连接符为英文非字符的单连接符,一般可以是“:”“/”“-”“ ”(空格),额外支持“T”“Z”为连接符。其他形式的时间格式目前不支持解析。 ', 'type' => 'string', 'required' => false, 'example' => 'Hour:Min:Sec'],
+ 'EmbedBitsNumberInEachTime' => ['title' => '时间戳水印信息位宽。指定单个时间戳容纳多少信息,这个数越大,提取信息需要的行数理论上越少,但是修改的时间幅度变大,幅度范围是2的n次方,n为此参数值。', 'description' => '时间戳水印信息位宽。指定单个时间戳容纳多少信息,这个数越大,提取信息需要的行数理论上越少,但是修改的时间幅度变大,幅度范围是2的n次方,n为此参数值。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '4', 'minimum' => '1', 'example' => '2'],
+ 'EmbedDensity' => ['title' => '零宽字符水印参数。嵌入密度,取值在0~1之间的浮点数,0为仅嵌入第一行内容,1为所有行均嵌入。', 'description' => '零宽字符水印参数。嵌入密度,取值在0~1之间的浮点数,0为仅嵌入第一行内容,1为所有行均嵌入。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ImageControl',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '图片水印控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TextVisibleControl' => [
+ 'description' => '图片文本水印控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
+ 'VisibleText' => ['description' => '文本水印文案。格式为utf8字符串。', 'type' => 'string', 'required' => false, 'example' => '水印文本'],
+ 'Mode' => [
+ 'description' => '文本水印显示模式。取值:'."\n"
+ .'- **pos**:固定位置模式。'."\n"
+ .'- **repeat**:平铺模式。'."\n"
+ .'- **top-left**:左上模式。'."\n"
+ .'- **top-right**:右上模式。'."\n"
+ .'- **bottom-left**:左下模式。'."\n"
+ .'- **bottom-right**:右下模式。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['top-right' => 'top-right', 'pos' => 'pos', 'bottom-right' => 'bottom-right', 'bottom-left' => 'bottom-left', 'repeat' => 'repeat', 'top-left' => 'top-left'],
+ 'example' => 'pos',
],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'Opacity' => ['description' => '文本水印透明度。取值:1~255。取值越大,越不透明。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '255'],
+ 'FontSize' => ['description' => '文本水印文字字号。取值越大,字体越大。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'FontColor' => ['description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。如 0x000000或#000000 表示黑色。', 'type' => 'string', 'required' => false, 'example' => '#FF0000'],
+ 'Angle' => ['description' => '文本水印文字顺针旋转角度。取值范围0~360。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制文本水印水平位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制文本水印垂直位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'SpaceX' => ['description' => 'Mode为repeat时生效。控制文本水印平铺水平间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'SpaceY' => ['description' => 'Mode为repeat时生效。控制文本水印平铺垂直间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosAx' => ['description' => '文本水印水平方向锚点。'."\n"
+ .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'PosAy' => ['description' => '文本水印垂直方向锚点。'."\n"
+ .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Visible' => ['description' => '可见性:'."\n"
+ ."\n"
+ .'true : 显示'."\n"
+ ."\n"
+ .'false: 不显示', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'Margin' => [
+ 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Top' => ['description' => 'Mode为top-left、top-right时生效。上边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Right' => ['description' => 'Mode为top-right、bottom-right时生效。右边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Bottom' => ['description' => 'Mode为bottom-left、bottom-right时生效。下边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Left' => ['description' => 'Mode为top-left、bottom-left时生效。左边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
],
'required' => false,
],
],
'required' => false,
],
- 'DlpSendSchemaConfig' => [
+ 'LogoVisibleControl' => [
+ 'description' => 'Logo水印控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
+ 'Enhance' => ['description' => '是否开启增强明水印。开启后会对logo进行处理,处理后可以对嵌入logo嵌入信息进行提取。', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ 'LogoBase64' => ['description' => 'Base64格式logo水印。Logo文件为PNG图片转成Base64格式。', 'type' => 'string', 'required' => false, 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFLRJREFUeF7tnXmYZFV5h9+vehwHE5FFQBZFDGDCoiiKYYIJqBBF4DEakARJGCQwfYtRRicsQiQkgWBEQGb6VjOyJKgxRpIYASWiPmZhcdgkGXABVDBq3FgSGGdguk/uObV0dXdV3Vunq073mfud55k/puus73d/92zfOVfQoASUQFcComyUgBLoTkAFok+HEuhBQAWij4cSUIHoM6AE/AhoD+LHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhMC8C8QkvAj4PeCtGF6KsCuwZED8j5GUG/LyMlUOx/DFvHh9/P494BGEmxA+KWv4YR9pNeoCIjBvAjEJe2Yc/hQ4HhgZAhMDbC0pT+XlbU5iCc/jaaCSF9fjd1uPf2CC8+VKHvBIr0nmkcC8CMSMsizrKT42JGE0cd4rKa8uytYk3AG8rmh8j3iTwHJJXbs1REIguEBMwp8BfxKAz2WS8r6i5ZgqF2M4q2h873iGi6TGud7pNWFQAkEF0ug5rgnUwkLzj2Zdsh7kzVkP8oVAdTtFUq7upyxT5XgMy7umqbCKSY7qJ08bV1I3zHXBJFwKxXvd3LI2c6SsZcPMeCbhFuA5uek7RTA8KjX+wCutR6JgAjGnsQ8j3O9RR78kI7xAVvO/RRObhF8G/q9o/AHE20dSvlE0H1PljzH8Vdf4m9ieJSzF5C9KtPIQjpYxbmwJpMqXMbyhaJ1y421ka7lmOlOT8FpgXW7aXhEWs61czhNzyqNg4nACSfgccHTBes012mcl5Xf6zcQkfAb43X7Tecb/Z0l5W9G0bQL5PtDshW2PcSDwDUnZx5zBzjzDaTl5nt/4/QIWc6Vczo86COTerCex9uoU7LD1+eBYzV50MOyIMOoSdhLIKAcic3wOhGtljEeKsptLvCACMcvZjwr/NZeK9khrDfw14HaEO1jMnXIZv/Atq7Gi9RqEgzH8Orh/u/jm1zPdJPvLOOuL5N0mkNsk5TdsGpNwK7AU+JiknFoonwS7qgaTHCbjfLU9jZnqQa6WlFM65WcSfuB4GI6TmhPJtDDN1h0EUqSOCylOGIFUOQ/Dnw+o4bdhXBd9GxXWhXiTmIQXU+GgbK9kKZO8Dqk/oHMOhvOl5hYtcsNMgTSEXH8RGE6SGn9jTmVnFvPyTpnJmroYjAokl3V7hDACmXrT9VU54HsY7qDC7baXkDHXUyyI0BhLW7E0e5qX9V0xcQIvtLRsEs4EPmR7SklZakZ5PcK/uTIn2Fuu5EEzyqkIV3asxyQ7yTg/6SmQhK8AhwGuBzGjHIuw74z83g9uvnY9zJpTXsIkL22NFvqcB/bNL0CCUAKx4+bdCrbH7kL/BSN8Tlbz04Jp5j2aqbI9xo2t7RJ2UbE8Jakbz+eGWT3IKGchXAz8VFJ2bPQOf5QNf9aCWzm6E2ErDAe5zEfY0fLspwcxCd8C9s6tXDNChTezmR+0BKJDrGLoWkbJj/51nsvSucwh8osYfoy+Nh0bb/a8WnUQyA2IW9ZtLUhk84O6QIQHZIx9zWnsxQjf9hEIG1nJko4rYr/l8hMewMx6gV3DJPeoQPKsOeP3wgIxnCA1/rbP7BdcdJO4lbBZE9iOFa3wMlnDd/MaMUsgCY8B2wKrsl7oI9N6kAEIxHuSfjr7M8l/uvZoD5Jn1vrvhQVS4RWyZmirXcUqO4BYZpSXI3yzUFaT7CHj2GFlz2ASVgEfxnArFU7IJubNNJ+UlHc5zlVOwThXlvslZb+Gv9uDLuPN7CBr+VnOHORLwBubc5BOFTIJ/52tmlmH0mOzMuw8ZFowo7wN4Z9cJ5MybQhvqqzJep1qXlsL/S6slDEuLxR3DpFCzUHqS4t5YUsRSPvQJr/Nfj1IlQswfLD+BuJXpca3BjjE8t0H2TrzYl4GbGNXGZvL0U0Epsr9GPbJQ1Lw9772kQrmOSuaCsSXXI9008b+efl7DrGcLhJ+AuyA4cNS48wBCiSv1vm/Gw6VGv/aHtGczqGt/9slc8OFjf+/hQob8zNti7GZDTI+xx35AgUuLIH0sXFWoG3zFmXa0CavFh5DLKlxiBPI1JBlvaTsP+chVpWPZK4qdme+W7DPy282frS9zExXnmcyT4T1CFfLWG+3opbTquE+qXFAHqb5+n1hCUSHWF2fgy476acDq60PmaRsPdcepMhD2JrDGA6Wmjsi4BVMwm3AwcAVkvJer0wCJFpYAtEepLtA2ibpbT3IiRius4nshHiuPUiR522AAqnPS7u4rMysi0mwCwiLmGSljGN7ryBBBTIEzMGGWKNciPAB4IfZQaxdZwlkOW+gwpcbD+J2UuPxXqtY7nmtOxO6ZeMOoX2IZd317YrW7GC4uVfvYqrO+8D2IHZ1bRdZO+Uw2c0cJnGisEOxsyTt4dU8YHsuLIHoEKt7DzLl7j7lrFjlEQwvabmGNDcKmzvpOL8se+b/cUnZzgmghy9W43frCVDIP6zHs3iNpLy7x8N+NvCX1pVIUvYo8kybhDEgyZxHb5aUtxRJM4g4C0sgAxpimeUcSqWru3Z3boZVUnOuGnMKw+5B3LEB4ePuoot62CvbC3morQeZWf8zJOWjZgVbM8GT7scO3rxOIFWO67EUa5dv6/OFzjvpzXK/K6lb7u0YTOIOptkDap+QlBOLwDaj/L69ACPbGC3snlMk37w4W7JA7NCjv2C4PhKBrEKcA6cN50jqfLLsw/1qDMe0NfpJhC82V5RMwtvdBRI2bGZ3Wcuj/QAyy50jYnPXv+NGYZH8TMLjjb2SauZHlhZKs5xdqTSGdAN6kRYpd4sUSJGGDzNOgB7ECuQfgZWS8umibWnbBXcewUXTNeMNQiAm4ddaB62EA2WMe4rWwyT8D7AThtMG8SIrUu7CEojOQbrarNMybxEDN1w/7BVLdmhU96judtipyr4Yju2Rr/X9ek/j984nCqcS272Z2a4oU/MkW4+LEJ4t0g4XR1jWmHN9WlJ3XdTQw8ISiOGVUms4ug296cMrwFTZG+NcxfOD4VeySwi+kxdx5nmQvPitt/7U5Lb5pxWSsqZTepM4V/25TtCbWX9b0tmHt0zCVdB9Al+oXYarpOY8l4ceFpZAtAfp1YPUbzUR1ssYdoOwUHALFuIeJrvDfXc2tOp6g6RJ3A0nU+4ghUroGemomRf3mVGsC6OvP9YmhH9nKy6TS9xFf0MPC0sgW0oP0o837wh7ymoeHrqltQAvAioQL2y9E/Xl7q4CGYIFBpelCmRwLFs5qUCGAHWeslxoAnmN1Lh7nlgMrFjTfqouL9eC7u552ZiTeb47Imt4v2VoEm5EGG+/GC4vD/19NoGFJpBRqTEeu6GyjTC7pFrstNugBDLKtgiPZScOD8+cGb+kAhnMUxRKIPbcQP7tHcKjTPBaez3NYJoXPhdzOru4iwvshlaR0LhtpEjUXnHMu9mO5/LzpkDmmp+mrxMIJRB7RaXdQS0SrAPe+Ri+EJNQ3LU/kxyDuH2EolcczTq33VMEo7wVcb2Tve3Rnkm/lY2cae+/NWewDc/w+LQexFBjhIeZZJwKy2XN1Dl5M8rN1smRCr9w9/luYCv56/qpPpNwNoZTpMaepu7iYX2gLgB359ZemdOgfYGd2G3J2KxgByZcXHv968+A/6DChbKGu1z+VS7CuOtJrW+Xbcd5kroymufqz8hcZu5BWn5an8heOLXGRRj2lstvMsLxspr7ijxQc4kTRiCjXI/wDo+K2i8z3Y3hLoR1bGKdXO1u85j34C6Os1eT2ovj6t8VKXoXVnvdH8oeDPvA5Ya2y7XPYYSrWcRTbOKzCPfKGGd3EMgTCKtkjKtMwqPUN9fcJqBJ3OVwX2GSPRhhv54CqX/o6MHG8O09CE9iWJGdOT+i260lGZubsoNc22fCeJPdB8kWLT6FcEh2o/2LTeL2cC52d3rZ20/EiegkDG7+2XK4NNxHhSsyh8Y9MZwDbt/j2uwuYvvFsPMaTotH5oKbY4RQArEfzBnMZw/sMMy+Xez1oxXu4lnWydqGh+ocYXRLPrSrR4XVMtZy3ehZe/NeduJZRmd8rsBu7B1gL8HuKZD6t09+W1Je1RDIGPU9p0NMlaMKCuRcGeMil765CDHCATPf4q27eQ1HSq3+OQnHDz7uXpL2wRcuab+RxM2X4Onstvt3tgTSNjczifM0sK4rzhHTjPKHiDuJ+IIhmbyVbRiB1G8dtIdrBvXtwZlcLEA77r+z+a/Ip9c6we1webXtIXYeiiEqHNa8M7dI/qbK7kxiLziwb/0X2je0Hb4UEIj1sVpP46EziTugZA8eXddRIFU+wCQnuyHWVA/Sciw0K9iNCb5Ph2O3rWt/NrH9zN7erGQrNrGBGd64pn5L5AmS8oqGQOzD/7wmkyzPrwM3NT881PhWyqdmXitUhGG/cYIIpDG2tONO21UOPxgetsbttyCT8Pf2vqd+03nGtw/264umzeYMdjhn5w0XuUu71/BVk7gLqZ/IE0jjrWsfsuvcUBVuYSM7urlL5x7kUus2P00g8KqsHJsHOQJ5lzurspltZvbsZjk7UuHHTaG2CeB9CCe7u7zqd3tdIqmbn7jgBCLcKKkbWtl5inW72cIEUj+sYz+gU3gCW/Th6Rhvkt1k3F3VXyjMwwd0DpLU9XiFgqnfg7Vz+2cOGoJeXEggCfbSaTsPtALZRVKOcw9bwhHZ5Qn/gvBCGePnjb/djmEHT4HYI7t3tfcuzk1euJZNHMMSfoRhWfunE0x9jrrItaOsAmm8eV7JhDuL3Oo+Cz0dPpEMJ2YGtqsfhULQT7B53ApoqoxiOJMKy5jgMcRNdu0Ni/dieCdLeHrGKlZrku7Y15ef7QvDXghuPyZqz5NM/V24FOEGJjjcfQDH8FhRgZiEc7M55ktkrP7xHlPla9lowToW1j+kA1cwyYZsEn60Sdz+kB0mnswzrGeRE6q9T/gIGeOWUgukAc9+k9wax16hP8zQ9SMwnQoN+BFPd8mbT8Oz8+T261BWGHb+cQvilmPt2W672mdXlm6ctpNuqEnNrSi5YBLnybu/pNPnVI1exJ7AtBdTr8dwKRXeJGOc0LbMa7+r+FDjRWeXcT/DBIn9tPUsgdjvlCxyy7L2GlNrZ9tTviM7p25v+bcCsr2hvUq1/qIUphYA6kvZdjGi9b3Fhou8PeTlvuto6pdRfFDSgXoedzRJsDlIe+mNlY7PZ+vwdnVjOKHPeUhfN7L71dhOjE/q5W7ul23xVCZxw6vPt6+EFU892Jhuwr6RgxC+0xTOYEsYTG7zIhD3FljFL2VfsbDLlPZNMpxQcB4y9PmH3bCb4JxhL0d3g2jqJwX3A/6O5/Ai+Sg/Hg7wLS/XeRNIq9u3PkT17+zZyd3uje8BbjUQ1PVPnE27H7ZTvgOef9gNrfon4uy3Ezdx63xvbprEXdTwdgyXS42VA2FbkkzmXSAl4azNjJSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ+D/AdF26yPzUbcJAAAAAElFTkSuQmCC'],
+ 'Mode' => [
+ 'description' => 'Logo水印显示模式。取值:'."\n"
+ .'- **pos**:固定位置模式。'."\n"
+ .'- **repeat**:平铺模式。'."\n"
+ .'- **top-left**:左上模式。'."\n"
+ .'- **top-right**:右上模式。'."\n"
+ .'- **bottom-left**:左下模式。'."\n"
+ .'- **bottom-right**:右下模式。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['top-right' => 'top-right', 'pos' => 'pos', 'bottom-right' => 'bottom-right', 'bottom-left' => 'bottom-left', 'repeat' => 'repeat', 'top-left' => 'top-left'],
+ 'example' => 'pos',
],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'Opacity' => ['description' => 'Logo水印透明度。取值:1~255。取值越大,透明度越低。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '255'],
+ 'Angle' => ['description' => 'Logo水印文字顺针旋转角度。取值范围1~360', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'SpaceX' => ['description' => 'Mode为repeat时生效。控制明水印平铺水平间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'SpaceY' => ['description' => 'Mode为repeat时生效。控制明水印平铺垂直间距的参数。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '30'],
+ 'PosAx' => ['description' => 'Logo水印水平方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'PosAy' => ['description' => 'Logo水印垂直方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角为位置绘制。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Visible' => ['description' => '可见性:'."\n"
+ ."\n"
+ .'**true** : 显示'."\n"
+ ."\n"
+ .'**false**: 不显示', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ 'Margin' => [
+ 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Top' => ['description' => 'Mode为top-left、top-right时生效。上边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Right' => ['description' => 'Mode为top-right、bottom-right时生效。右边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Bottom' => ['description' => 'Mode为bottom-left、bottom-right时生效。下边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
+ 'Left' => ['description' => 'Mode为top-left、bottom-left时生效。左边距。', 'type' => 'number', 'format' => 'float', 'required' => false, 'example' => '0'],
],
'required' => false,
],
],
'required' => false,
],
- 'PeripheralBlockSchemaConfig' => [
+ 'MetadataControl' => [
+ 'description' => '元信息控制参数。WmType为PureImage或AigcImage时生效。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
+ 'XmpKvBase64' => ['description' => '元信息Base64格式。需要将格式为AIGC:{"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC:"前缀需要加上,否则无法进行添加,另外需要注意与音视频的格式不同。2.Base64为标准格式需要,需要有补位。', 'type' => 'string', 'required' => false, 'example' => 'QUlHQzp7IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0='],
+ 'Enable' => [
+ 'description' => '是否启用。'."\n"
+ ."\n"
+ .'true : 显示'."\n"
+ ."\n"
+ .'false: 不显示',
+ 'type' => 'boolean',
'required' => false,
+ 'enumValueTitles' => ['true' => 'true', 'false' => 'false'],
+ 'example' => 'true',
],
],
'required' => false,
],
- 'EndpointHardeningSchemaConfig' => [
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'VideoControl',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '视频控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TextVisibleControl' => [
+ 'description' => '视频文本水印控制参数',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
+ 'VisibleText' => ['description' => '文本水印文案。格式为utf8字符串。', 'type' => 'string', 'required' => false, 'example' => '水印测试'],
+ 'Mode' => [
+ 'description' => '文本水印显示模式。取值:'."\n"
+ .'- **pos**:固定位置,左上角为原点。'."\n"
+ .'- **bottom-right**:左下模式。',
'type' => 'string',
'required' => false,
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
+ 'example' => 'bottom-right',
+ 'enum' => ['pos', 'bottom-right'],
+ ],
+ 'Opacity' => ['description' => '文本水印透明度。取值:1~255。取值越大,越不透明。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '255'],
+ 'FontSize' => ['description' => '字体大小,取值范围:**0**~**72**。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '30'],
+ 'FontColor' => ['description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。', 'type' => 'string', 'required' => false, 'example' => '#FF0000'],
+ 'PosX' => ['description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'PosY' => ['description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'Visible' => ['description' => '可见性:'."\n"
+ ."\n"
+ .'true : 显示'."\n"
+ ."\n"
+ .'false: 不显示', 'type' => 'boolean', 'required' => false, 'example' => 'True'],
+ 'Margin' => [
+ 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Bottom' => ['description' => 'Mode为bottom-left、bottom-right时生效。下边距。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
+ 'Right' => ['description' => 'Mode为top-right、bottom-right时生效。右边距。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
'required' => false,
],
],
'required' => false,
],
- 'SoftwareHardeningSchemaConfig' => [
+ 'MetadataControl' => [
+ 'description' => '元信息控制参数。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayField' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'XmpKvBase64' => ['description' => '元信息Base64格式。需要将格式为AIGC={"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC="前缀需要加上,否则无法进行添加,另外需要注意与图片元信息前缀不同。2.Base64为标准格式需要,需要有补位。', 'type' => 'string', 'required' => false, 'example' => 'QUlHQz17IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0='],
+ 'Enable' => ['description' => '是否开启。'."\n"
+ .'- **false**:未开启。'."\n"
+ ."\n"
+ .'- **true**:已开启。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
],
'required' => false,
],
@@ -4155,32 +3660,26 @@
],
],
[
- 'name' => 'ApprovalType',
- 'in' => 'query',
+ 'name' => 'AudioControl',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'enum' => [
- '0',
- '1',
- '2',
+ 'description' => '音频控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MetadataControl' => [
+ 'description' => '音频元信息控制参数。',
+ 'type' => 'object',
+ 'properties' => [
+ 'XmpKvBase64' => ['description' => '元信息Base64格式。需要将格式为AIGC={"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC="前缀需要加上,否则无法进行添加,另外需要注意与图片元信息前缀不同。2.Base64为标准格式需要,需要有补位。', 'type' => 'string', 'required' => false, 'example' => 'QUlHQz17IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0='],
+ 'Enable' => ['description' => '是否开启。'."\n"
+ .'- **false**:未开启。'."\n"
+ ."\n"
+ .'- **true**:已开启。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ 'required' => false,
+ ],
],
- ],
- ],
- [
- 'name' => 'EventLabel',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- [
- 'name' => 'ExternalConfig',
- 'in' => 'query',
- 'schema' => [
- 'type' => 'string',
'required' => false,
],
],
@@ -4189,671 +3688,607 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
- 'Process' => [
- 'description' => '审批流程。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ 'Data' => [
+ 'description' => '任务信息。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '审批流程创建时间。',
- 'type' => 'string',
- 'example' => '2022-07-11 15:31:39',
- ],
- 'ProcessId' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-2677fcf063f5****',
- ],
- 'ProcessName' => [
- 'description' => '审批流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批流程描述。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- 'ProcessNodes' => [
- 'description' => '审批节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点审批人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点审批人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- ],
- 'DomainWhitelistPolicies' => [
- 'description' => '域名白名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名白名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名白名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DomainBlacklistPolicies' => [
- 'description' => '域名黑名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名黑名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名黑名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SoftwareBlockPolicies' => [
- 'description' => '软件禁用关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '软件禁用策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '软件禁用策略ID。',
- 'type' => 'string',
- 'example' => 'pid-9f37f3a5991f****',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DeviceRegistrationPolicies' => [
- 'description' => '设备注册关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '设备注册策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-63b2f1844b86****',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'AppUninstallPolicies' => [
- 'description' => '终端卸载关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '终端卸载策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端卸载策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-5919f8afff47****',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'DlpSendPolicies' => [
- 'description' => '文件外发关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '文件外发策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文件外发策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'PeripheraBlockPolicies' => [
- 'description' => '外设管控关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '外设管控策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '外设管控策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'EndpointHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'SoftwareHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'ExternalProcessId' => [
- 'type' => 'string',
- ],
- 'FieldMap' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'SystemField' => [
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- ],
- ],
- 'ApprovalType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ExternalConfig' => [
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'type' => 'string',
- ],
+ 'TaskId' => ['title' => '嵌入任务ID', 'description' => '任务ID,用于后续查询任务执行结果。', 'type' => 'string', 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-07-11 15:31:39\\",\\n \\"ProcessId\\": \\"approval-process-2677fcf063f5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个测试\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-9f37f3a5991f****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheraBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]',
- 'title' => '更新审批流程',
- ],
- 'ListApprovals' => [
- 'summary' => '查询当前阿里云账号下审批实例列表。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建水印嵌入任务',
+ 'description' => '默认最多可创建500个用户组。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-16T14:44:27.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-08-21T11:28:28.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-01-14T13:21:39.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-10-29T13:50:33.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmEmbedTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmEmbedTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateWmExtractTask' => [
+ 'summary' => '创建数字水印提取任务。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213405',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '216136',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
+ 'name' => 'WmType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'title' => '水印类型,枚举值:'."\n"
+ .'PureDocument: 常规文档水印'."\n"
+ .'PureWebappInvisible: 常规网页水印'."\n"
+ .'PureAppInvisible: 常规APP水印'."\n"
+ .'PureScreenInvisible: 常规屏幕水印'."\n"
+ .'PureImage: 常规图片水印'."\n"
+ .'PureAudio: 常规音频水印'."\n"
+ .'PureVideo: 常规视频水印'."\n"
+ .'AigcDocument: AIGC文档水印'."\n"
+ .'AigcWebappInvisible: AIGC网页水印'."\n"
+ .'AigcAppInvisible: AIGCAPP水印'."\n"
+ .'AigcScreenInvisible: AIGC屏幕水印'."\n"
+ .'AigcImage: AIGC图片水印'."\n"
+ .'AigcAudio: AIGC音频水印'."\n"
+ .'AigcVideo: AIGC视频水印',
+ 'description' => '水印类型。取值:'."\n"
+ .'- **PureWebappInvisible**:网页水印。'."\n"
+ .'- **PureAppInvisible**:App水印。'."\n"
+ .'- **PureScreenInvisible**:屏幕水印。'."\n"
+ .'- **PureDocument**:文档水印。'."\n"
+ .'- **PureImage**:图片水印。'."\n"
+ .'- **PureAudio**:音频水印。'."\n"
+ .'- **PureVideo**:视频水印。'."\n"
+ .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
+ .'- **AigcAppInvisible**:AIGC App水印。'."\n"
+ .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
+ .'- **AigcDocument**:AIGC文档水印。'."\n"
+ .'- **AigcImage**:AIGC图片水印。'."\n"
+ .'- **AigcAudio**:AIGC音频水印。'."\n"
+ .'- **AigcVideo**:AIGC视频水印。',
+ 'type' => 'string',
'required' => true,
- 'example' => '1',
+ 'docRequired' => true,
+ 'enumValueTitles' => [
+ 'PureImage' => '图片水印', 'AigcAppInvisible' => 'AIGC App水印', 'PureWebappInvisible' => '网页水印', 'AigcAudio' => 'AIGC音频水印', 'PureDocument' => '文档水印', 'PureAudio' => '音频水印', 'AigcScreenInvisible' => 'AIGC屏幕水印', 'AigcVideo' => 'AIGC视频水印', 'AigcImage' => 'AIGC图片水印', 'AigcWebappInvisible' => 'AIGC网页水印',
+ 'PureAppInvisible' => 'App水印', 'PureScreenInvisible' => '屏幕水印', 'PureVideo' => '视频水印',
+ ],
+ 'example' => 'PureDocument',
+ 'enum' => ['PureWebappInvisible', 'PureAppInvisible', 'PureScreenInvisible', 'PureImage', 'PureAudio', 'PureVideo', 'AigcWebappInvisible', 'AigcAppInvisible', 'AigcScreenInvisible', 'AigcImage', 'AigcAudio', 'AigcVideo', 'PureDocument', 'VisibleEnhance'],
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'IsClientEmbed',
'in' => 'query',
+ 'schema' => ['description' => '音频水印参数:是否为客户端SDK嵌入,默认为false。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否', 'type' => 'boolean', 'required' => false, 'example' => 'false'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'formData',
+ 'schema' => ['title' => '可用于下载文件的 URL'."\n"
+ .'控制台调用时传递文件的 oss 路径', 'description' => '用于下载待提取文件的URL,需要可以公网访问。', 'type' => 'string', 'required' => true, 'example' => 'https://example.com/test-****.pdf'],
+ ],
+ [
+ 'name' => 'Filename',
+ 'in' => 'formData',
+ 'schema' => ['title' => '文件名,后端需要根据文件名的后缀判断校验文件类型', 'description' => '待提取文件的文件名,后端需要根据文件名的后缀判断校验文件类型。', 'type' => 'string', 'required' => true, 'example' => 'test-****.pdf'],
+ ],
+ [
+ 'name' => 'WmInfoSize',
+ 'in' => 'formData',
+ 'schema' => ['title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '64', 'minimum' => '32', 'example' => '32'],
+ ],
+ [
+ 'name' => 'VideoSpeed',
+ 'in' => 'formData',
+ 'schema' => ['title' => '长视频水印参数:含义为视频倍速,浮点数字符串。默认1,代表添加水印时的采用倍速,或者添加水印之后,视频时间轴拉伸的倍速', 'description' => '长视频水印参数:含义为视频倍速,浮点数字符串。默认1,代表添加水印时的采用倍速,或者添加水印之后,视频时间轴拉伸的倍速。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'VideoIsLong',
+ 'in' => 'formData',
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
+ 'title' => '视频水印参数:在嵌入视频水印时,通过该值控制使用使用长视频的SDK。默认为 false,此时会使用短视频的 SDK',
+ 'description' => '视频水印参数:是否使用长视频水印SDK,默认为false。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'false',
],
],
[
- 'name' => 'ApprovalIds',
- 'in' => 'query',
- 'style' => 'flat',
+ 'name' => 'DocumentIsCapture',
+ 'in' => 'formData',
'schema' => [
- 'description' => '审批实例ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例ID。取值来源:'."\n"
- .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
- .'- [GetApproval](~~GetApproval~~):查询审批实例详情。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-872b5e911b35****',
- ],
+ 'title' => '文档水印参数:当提取文档截图中的背景暗水印信息时将该参数设为true。默认为 false',
+ 'description' => '文档水印参数:指定待提取文件是否为添加了背景水文档的截图。服务会根据待提取文件是否为图像文件来判断是否走文档背景水印提取逻辑,因此默认无需设置该参数 。取值:'."\n"
+ ."\n"
+ .'- **true**:是'."\n"
+ .'- **false**:否',
+ 'type' => 'boolean',
'required' => false,
+ 'enumValueTitles' => ['true' => '是', 'false' => '否'],
+ 'example' => 'false',
],
],
[
- 'name' => 'Statuses',
+ 'name' => 'CsvControl',
'in' => 'query',
- 'style' => 'flat',
+ 'style' => 'json',
'schema' => [
- 'description' => '审批实例状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。'."\n"
- .'- **Expired**:已过期。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Revoked' => '已撤回',
- 'Approved' => '已通过',
- 'Expired' => '已过期',
- 'Rejected' => '已拒绝',
- 'Pending' => '待审批',
+ 'description' => 'CSV水印控制参数。需要和嵌入时的参数保持一致,否则会提取失败。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Method' => [
+ 'description' => 'CSV水印嵌入方法。需要和嵌入时的参数保持一致,否则会提取失败。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'lossless_row_shift_embed',
+ 'enum' => ['lossless_row_shift_embed', 'lossy_number_embed', 'lossy_time_stamp_embed', 'lossy_zero_width_embed'],
],
- 'example' => 'Pending',
+ 'EmbedColumn' => ['description' => '有损嵌入控制参数:指定修改列。需要和嵌入时的参数保持一致,否则会提取失败。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1'],
+ 'EmbedPrecision' => ['description' => '有损嵌入控制参数:指定修改精度。需要和嵌入时的参数保持一致,否则会提取失败。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ 'EmbedTimePosition' => [
+ 'title' => '嵌入位置,枚举值。需要和嵌入时的参数保持一致'."\n",
+ 'description' => '时间戳水印参数:控制时间戳水印嵌入位置。需要和嵌入时对应参数保持一致,否则会提取失败。',
+ 'type' => 'string',
+ 'required' => false,
+ 'example' => 'Min',
+ 'enum' => ['Min', 'Sec', 'MilSec'],
+ ],
+ 'EmbedBitsNumberInEachTime' => ['title' => '时间戳信息位宽,需要和嵌入时保持一致。', 'description' => '时间戳水印参数:指定单个时间戳容纳多少信息。需要和嵌入时对应参数保持一致,否则会提取失败。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '4', 'minimum' => '1', 'example' => '1'],
+ 'TimeFormat' => ['title' => '时间戳的格式,需要和嵌入时保持一致。', 'description' => '时间戳水印参数:指定时间戳格式。需要和嵌入时对应参数保持一致,否则会提取失败。', 'type' => 'string', 'required' => false, 'example' => 'Year-Mon-Day Hour:Min:Sec.MilSec'],
],
'required' => false,
],
],
[
- 'name' => 'SchemaId',
+ 'name' => 'ImageExtractParamsOpenApi',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '关联审批模板ID。',
- 'type' => 'string',
+ 'description' => '图片提取参数',
+ 'type' => 'object',
+ 'properties' => [
+ 'SrcLogoBase64' => ['description' => '增强明水印Logo,base64格式原文件。用于提取增强明水印。', 'type' => 'string', 'required' => false, 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAGQAAAAWCAYAAAA2CDmeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE7mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4wLWMwMDAgNzkuMTcxYzI3ZiwgMjAyMi8wOC8xNi0xODowMjo0MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyNS0wNS0yN1QyMjo1MToyMyswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjUtMDUtMjdUMjM6NDQ6MzcrMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjUtMDUtMjdUMjM6NDQ6MzcrMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOmRiYTA3MjM3LWJmNWUtNTc0ZS04ZDhlLTAyNDlmNDFlNWE2ZCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpkYmEwNzIzNy1iZjVlLTU3NGUtOGQ4ZS0wMjQ5ZjQxZTVhNmQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpkYmEwNzIzNy1iZjVlLTU3NGUtOGQ4ZS0wMjQ5ZjQxZTVhNmQiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmRiYTA3MjM3LWJmNWUtNTc0ZS04ZDhlLTAyNDlmNDFlNWE2ZCIgc3RFdnQ6d2hlbj0iMjAyNS0wNS0yN1QyMjo1MToyMyswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj/PwpEAAAZYSURBVGje3Zp7iFVFHMfPlkaW9qAM0nQlzQxiS1YrQ0vyEdVmRmaCiu9777nnruuu2oMK2wQrkUpJxAyFJDAoIiqt7AVmDylbFMuSnpaKFLXqrliup+/M+c49c+eec+859xHVHx/3zsxv5szMd56/0XITluXaIA0c61b8fRMcBcfBEY120AVbF3Y3uY2wzxCH+X1GSru0dZL59HKOyzjH2oK/DdJefD9B0nnlDafdGA1Rz2vAGaAODANDCzACDNTK7AHqydCYXAsuN9p7JrgUDAC1MRkEestyXBf/zGWHONYHiHSLMt96Dlg5NAXQaK2NVJ5jbcP3u7nzWJdkniCfhOTdzg44Guk73kBTZdZFzBPGDkOQMWWW95IvSEoW+F7RTN6If81tgf0isFCjxUDENctyt0Ss0PuyHqlsfYIE+RN0gGMMf8QR9gfDJw3+kjPa/8bmEEG6AvKGpXVVXxDHmlnEWDT8YdhdJjOpTkuSFGdYEF5lB8v83oguNFNmyJmRv/ztoM18hufJwZGxPpSz05bLVs8AhG2aeYWQF4QIMplxKs8gLW2UkTaK8buMOp4FrgRXgCExEXXp6wuSDlyqvgTN6Jy+2TVddVR+h8fhErAA7A0Q5K2QPUkJMpfhFbRfJ20Lf28284q96+wQQSYYeS7W0uqNtHrG7y6h7cWhIIeNjmnLCuBom6wuSDkf9cvaZYjyE8o+LUBsJcg0hj9nPRMsZzx4BTxD1oG1tJ0YQZA3wFLmXQ42aGkvgmVMW8awiN9ZTUGOGHuFk+2UIEHKxZ9hCw1BDvP0E7Zk3c6wGjh1rNP9IcugSBsbQZBKbOpVFWR6GUtSHEHmxhTkBgjQj7+/09KVIG3g+RIEeQc8BdaD1WCTlvYqWMm0VQy7nKX/kCBpCJKukhi5xBPEtq7DAeJmiCJsX9fS72P+pcwfV5B/3R4SRxBxzGwCc7hhFqIl4AJVuiDisilOWL59G9OdMgW5m3EqfaCWNtJIGxlwyjoffMpZ20a+4CzaqcUVQlyWW0sRZGLMtTZRRUG+N462pQoi7jed7BTFKaad0NI6GTb3kN5MCzrKu5zRUVj/XxNkKsOPZU9llRGk3E1duE1mABvL6iy6dXZLIVLWt2AKfk8vsposknecEgTpTb/SWMO3FMSE7IWnMoLMY7iB4Z/LEKQnj8vjjTqL5WoJ8/zGuBGGTQP9a/nHec+/d5GcUZ4gGXlxdv6Pm3plBSnEncxzIFZ7hBgLpCDP0s0kBD0v0r0s0rFXGaWqcAS2qyLIyxxMUQQZxsteK3hEw9GOvUcZ94Bh8wR4kO4Ss119uCe5dBcFea9zL9gL6RtsCZ8hiawIKcN3ZVfwHuL5piopSJyLYarMPUQ4OC+UZc0Bs/h0kLEe5WbeKZcu5QrKb9MI2DyNtKQ71erlTkLcPb4gvxong+05M0P9TZblwwpynXxsNPIA3zfCBJnEsHJf/GAsfcfoROziKBVp40IEGU1P9AZe+hRPgneZ5xRny2rDRnx/DfrBczguAY+DhxBOoS9tucqsCvVweH1Ylz2BTcWmPhlxU3xvb5AXdpvsABsjVs2QRKg3Nw7dwR0hnt/tIXmUINdrFzPvcug1tgacC87hZl2j+d2aaNtewh4ihO0TaqeeCZaBlaAVMz5JIZNWf/m+Yxfc0FdI8ZrR7nsRXqwEsXFcC5+anXxHWIyPDMgKkYqIN0p64e8s+vzbQ7+VwkUy+D1ECTKaF03xW3iG+0v3e9gszKAzbWs/7ffE8MVFE0SVNxNMA7OtfbxzbIro+xuitf82f1NP8BHIKfhWoX6/LTcgpejigMcqfZNKWy9EXJP3oR7d5Yth/sgy9xDV4d7JJreRPfh00AGbE9mHtQxGbxPz2dbpvEGLB6xfDH7k6UjV6xDYH2An0jZq3x2s5RFlfA0OBuRTHJKDxB+gW31BvFEvGvJZxCfcjTnPt418sm3hK2EzfzdJd3UUMQ6io2qzG2Cm6KZeSBBx8vndKH+5tPNtu2mdWg6bQwQphV3QoMYTJJmz2dyFxm6VIzZtfQO+0tgjR4stLz3Ds//JoZEdlPtyeBXP4m7Af3LoIHvlDVW8pzsFXfzD+arXN0+QfPHE6L+RS8B4pNdqFzZlU0M3zC0RLrdhiKeAq42BMC7golmMsTw19pP9B0H+Bvsku1jBpCmEAAAAAElFTkSuQmCC'],
+ ],
'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
],
],
- [
- 'name' => 'ProcessId',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '关联审批流程ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-process-fcc351b8a95b****',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
+ 'Data' => [
+ 'description' => '水印提取任务信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TaskId' => ['title' => 'task id, 用于查询任务结果', 'description' => '任务ID,用于查询任务结果。', 'type' => 'string', 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********'],
+ ],
+ ],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建水印提取任务',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-01T07:11:54.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-06T14:20:53.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-01-14T13:21:39.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-10-29T13:50:33.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmExtractTask'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PolicyType',
- 'in' => 'query',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmExtractTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'CreateWmInfoMapping' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'create',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '226693',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'WmType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
+ 'title' => '水印类型,枚举值:'."\n"
+ .'PureDocument: 常规文档水印'."\n"
+ .'PureWebappInvisible: 常规网页水印'."\n"
+ .'PureAppInvisible: 常规APP水印'."\n"
+ .'PureScreenInvisible: 常规屏幕水印'."\n"
+ .'PureImage: 常规图片水印'."\n"
+ .'PureAudio: 常规音频水印'."\n"
+ .'PureVideo: 常规视频水印'."\n"
+ .'AigcDocument: AIGC文档水印'."\n"
+ .'AigcWebappInvisible: AIGC网页水印'."\n"
+ .'AigcAppInvisible: AIGCAPP水印'."\n"
+ .'AigcScreenInvisible: AIGC屏幕水印'."\n"
+ .'AigcImage: AIGC图片水印'."\n"
+ .'AigcAudio: AIGC音频水印'."\n"
+ .'AigcVideo: AIGC视频水印',
+ 'description' => '水印类型。取值:'."\n"
+ .'- **PureWebappInvisible**:网页水印。'."\n"
+ .'- **PureAppInvisible**:App水印。'."\n"
+ .'- **PureScreenInvisible**:屏幕水印。'."\n"
+ .'- **PureDocument**:文档水印。'."\n"
+ .'- **PureImage**:图片水印。'."\n"
+ .'- **PureAudio**:音频水印。'."\n"
+ .'- **PureVideo**:视频水印。'."\n"
+ .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
+ .'- **AigcAppInvisible**:AIGC App水印。'."\n"
+ .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
+ .'- **AigcDocument**:AIGC文档水印。'."\n"
+ .'- **AigcImage**:AIGC图片水印。'."\n"
+ .'- **AigcAudio**:AIGC音频水印。'."\n"
+ .'- **AigcVideo**:AIGC视频水印。',
'type' => 'string',
- 'required' => false,
+ 'required' => true,
+ 'docRequired' => true,
'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
+ 'PureImage' => '图片水印', 'AigcAppInvisible' => 'AIGC App水印', 'PureWebappInvisible' => '网页水印', 'AigcAudio' => 'AIGC音频水印', 'PureDocument' => '文档水印', 'PureAudio' => '音频水印', 'AigcScreenInvisible' => 'AIGC屏幕水印', 'AigcVideo' => 'AIGC视频水印', 'AigcImage' => 'AIGC图片水印', 'AigcWebappInvisible' => 'AIGC网页水印',
+ 'PureAppInvisible' => 'App水印', 'PureScreenInvisible' => '屏幕水印', 'PureVideo' => '视频水印',
],
- 'example' => 'DlpSend',
+ 'example' => 'PureDocument',
+ 'enum' => ['PureWebappInvisible', 'PureAppInvisible', 'PureScreenInvisible', 'PureImage', 'PureAudio', 'PureVideo', 'AigcWebappInvisible', 'AigcAppInvisible', 'AigcScreenInvisible', 'AigcImage', 'AigcAudio', 'AigcVideo', 'PureDocument'],
],
],
[
- 'name' => 'CreatorUserId',
- 'in' => 'query',
+ 'name' => 'WmInfoSize',
+ 'in' => 'formData',
+ 'schema' => ['title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', 'description' => '水印信息的容量位宽,默认为32。该参数应该和实际嵌入或者生成透明图时的容量位宽保持一致。取值范围:32~64。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '64', 'minimum' => '32', 'example' => '32'],
+ ],
+ [
+ 'name' => 'WmInfoBytesB64',
+ 'in' => 'formData',
'schema' => [
- 'description' => '审批实例创建人ID。',
+ 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。',
+ 'description' => 'Base64编码后的字符串格式水印信息 。长度1~300个字符。',
'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
+ 'required' => true,
+ 'enumValueTitles' => [],
+ 'example' => 'aGVsbG8gc2F*****',
+ 'maxLength' => 400,
],
],
- [
- 'name' => 'CreatorDevTag',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审批实例创建终端设备ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
+ 'Data' => [
+ 'description' => '映射结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'WmInfoUint' => ['description' => '映射得到的数字格式的水印信息。后续可以使用该值查找到对应映射的字符串格式的水印信息。', 'type' => 'integer', 'format' => 'int64', 'example' => '123***'],
+ ],
+ ],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '创建水印信息映射关系',
+ 'summary' => '创建一条字符串格式的水印信息到数字格式的水印信息的映射关系。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmInfoMapping'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'OperatorUserId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审批实例操作人ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmInfoMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoUint\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'DeleteApprovalProcesses' => [
+ 'summary' => '批量删除当前阿里云账号下审批流程。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'OperatorUsername',
- 'in' => 'query',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213359',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ProcessIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '审批实例操作人用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '李小姐',
+ 'description' => '审批流程ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批模板ID。取值:'."\n"
+ .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
+ .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。', 'type' => 'string', 'required' => false, 'example' => 'approval-process-dc61e92ba5c5****'],
+ 'required' => true,
],
],
- [
- 'name' => 'CreatorUsername',
- 'in' => 'query',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审批实例创建人用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量删除审批流程',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApprovalProcesses'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'CreatorDepartment',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审批实例创建人部门。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteClientUser' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215391',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ 'parameters' => [
[
- 'name' => 'CreateStartTime',
+ 'name' => 'Id',
'in' => 'query',
+ 'schema' => ['description' => '待删除的用户ID。', 'type' => 'string', 'required' => true, 'example' => '27058'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审批实例创建起始时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1730000000',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除自定义身份源指定用户',
+ 'summary' => '删除当前阿里云账户自定义身份源的指定用户。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClientUser'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'CreateEndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '审批实例创建结束时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1736750500',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteDynamicRoute' => [
+ 'summary' => '删除当前阿里云账号下动态路由。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'ProcessName',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '173167',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DynamicRouteId',
'in' => 'query',
+ 'schema' => ['description' => '动态路由ID。', 'type' => 'string', 'required' => true, 'example' => 'dr-ca9fddfac7c6****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '关联审批流程名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'DynamicRoute.NotFound', 'errorMessage' => 'The dynamicRoute is not found.', 'description' => '指定的动态路由不存在。'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除动态路由',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDynamicRoute'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SchemaName',
- 'in' => 'query',
- 'schema' => [
- 'description' => '关联审批模板名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteEnterpriseAcceleratePolicy' => [
+ 'summary' => '删除企业加速策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '263724',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EapId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-6edfb9d722ef8429'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
@@ -4861,265 +4296,69 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '6965F5BA-53B6-5650-A708-51F090F843BB',
- ],
- 'TotalNum' => [
- 'description' => '审批实例总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Approvals' => [
- 'description' => '审批实例列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例。',
- 'type' => 'object',
- 'properties' => [
- 'ApprovalId' => [
- 'description' => '审批实例ID。',
- 'type' => 'string',
- 'example' => 'approval-872b5e911b35****',
- ],
- 'ApprovalProgresses' => [
- 'description' => '审批实例进展节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例进展节点。',
- 'type' => 'object',
- 'properties' => [
- 'Operators' => [
- 'description' => '审批进展节点操作人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批进展节点操作人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批进展节点操作人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批进展节点操作人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- 'Status' => [
- 'description' => '审批进展节点状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Revoked' => '已撤回',
- 'Approved' => '已通过',
- 'Rejected' => '已拒绝',
- 'Pending' => '待审批',
- ],
- 'example' => 'Approved',
- ],
- 'Executor' => [
- 'description' => '审批进展节点执行人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Action' => [
- 'description' => '审批进展节点执行操作。取值:'."\n"
- .'- **Approve**:通过。'."\n"
- .'- **Reject**:拒绝。'."\n"
- .'- **Revoke**:撤回。'."\n"
- .'- **Comment**:评论。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Reject' => '拒绝',
- 'Comment' => '评论',
- 'Revoke' => '撤回',
- 'Approve' => '通过',
- ],
- 'example' => 'Approve',
- ],
- 'Comment' => [
- 'description' => '审批进展节点执行评论。',
- 'type' => 'string',
- 'example' => '审核通过',
- ],
- 'Timestamp' => [
- 'description' => '审批进展节点执行时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1736752000',
- ],
- ],
- ],
- ],
- 'EndTimestamp' => [
- 'description' => '审批实例有效截止时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1757952000',
- ],
- 'ApprovalDetail' => [
- 'description' => '审批实例详情。',
- 'type' => 'string',
- 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}',
- ],
- 'Status' => [
- 'description' => '审批实例状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。'."\n"
- .'- **Expired**:已过期。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Revoked' => '已撤回',
- 'Approved' => '已通过',
- 'Expired' => '已过期',
- 'Rejected' => '已拒绝',
- 'Pending' => '待审批',
- ],
- 'example' => 'Pending',
- ],
- 'ProcessId' => [
- 'description' => '审批实例关联流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-fcc351b8a95b****',
- ],
- 'ProcessName' => [
- 'description' => '审批实例关联流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'PolicyType' => [
- 'description' => '审批实例关联策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
- ],
- 'SchemaId' => [
- 'description' => '审批实例关联模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批实例关联模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'SchemaContent' => [
- 'description' => '审批实例关联模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'CreatorUserId' => [
- 'description' => '审批实例创建人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'CreatorDevTag' => [
- 'description' => '审批实例创建终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'CreateTime' => [
- 'description' => '审批实例创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-15 22:11:55',
- ],
- 'Reason' => [
- 'description' => '审批实例创建原因。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- 'CreatorUsername' => [
- 'description' => '审批实例创建人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'CreatorDepartment' => [
- 'description' => '审批实例创建人部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'ApprovalType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '删除企业加速策略',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6965F5BA-53B6-5650-A708-51F090F843BB\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Approvals\\": [\\n {\\n \\"ApprovalId\\": \\"approval-872b5e911b35****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\",\\n \\"ApprovalType\\": 0\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询审批实例列表',
- ],
- 'ListApprovalSchemasForApprovalProcesses' => [
- 'summary' => '查询审批流程关联的渲染模板',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEnterpriseAcceleratePolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteEnterpriseAccelerateTarget' => [
+ 'summary' => '删除企业加速地址。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213390',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '263730',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ProcessIds',
- 'in' => 'query',
+ 'name' => 'EapId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-ed1f0e392a28a4e6'],
+ ],
+ [
+ 'name' => 'Target',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '审批流程ID集合。',
+ 'description' => '企业加速地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '审批模板ID。取值:'."\n"
- .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
- .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-process-dc61e92ba5c5****',
- ],
+ 'items' => ['description' => '企业加速地址。', 'type' => 'string', 'required' => false, 'example' => '*.chatgpt.com'],
'required' => true,
],
],
@@ -5131,179 +4370,673 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Processes' => [
- 'description' => '审批流程列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批流程。',
- 'type' => 'object',
- 'properties' => [
- 'ProcessId' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-35ee09077ee9****',
- ],
- 'Schemas' => [
- 'description' => '审批模板列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '审批模板创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15 14:44:07',
- ],
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批模板描述。',
- 'type' => 'string',
- 'example' => '这是一个模板',
- ],
- 'SchemaContent' => [
- 'description' => '审批模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'SchemaVersion' => [
- 'description' => '审批模板版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1715680940',
- ],
- 'PolicyType' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
- ],
- 'IsDefault' => [
- 'description' => '是否为官方维护模板。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '655CE28F-2C0C-5801-A31E-C16BF54BD225'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '删除企业加速地址',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Processes\\": [\\n {\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询审批流程关联的模板',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEnterpriseAccelerateTarget'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteEnterpriseAccelerateTarget',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"655CE28F-2C0C-5801-A31E-C16BF54BD225\\"\\n}","type":"json"}]',
],
- 'ListApprovalSchemas' => [
- 'summary' => '查询当前阿里云账号下审批模板列表。',
- 'methods' => [
- 'get',
+ 'DeleteIdpDepartment' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215371',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'parameters' => [
+ [
+ 'name' => 'IdpConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg68956d86e********'],
+ ],
+ [
+ 'name' => 'DepartmentId',
+ 'in' => 'query',
+ 'schema' => ['description' => '部门ID。', 'type' => 'string', 'required' => true, 'example' => '10829'],
+ ],
],
+ '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' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除自定义身份源指定部门',
+ 'summary' => '删除当前阿里云账户自定义身份源指定的部门。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIdpDepartment'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteOtpConfig' => [
+ 'path' => '',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'delete',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213353',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'Username',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => '张三'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => '请求响应。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => '54A4055A-343D-583E-9EAC-D12231148A68'],
+ ],
+ ],
],
],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除员工OTP配置。',
+ 'summary' => '删除员工OTP配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteOtpConfig'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteOtpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54A4055A-343D-583E-9EAC-D12231148A68\\"\\n}","type":"json"}]',
+ ],
+ 'DeletePrivateAccessApplication' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163584',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ ],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
+ 'name' => 'ApplicationId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'Application.NotFound', 'errorMessage' => 'The application is not found.', 'description' => '指定的应用不存在。'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除内网访问应用',
+ 'summary' => '删除当前阿里云账号下内网访问应用。',
+ 'description' => '当存在办公区识别、策略引用时,不允许删除。参考:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。',
+ 'changeSet' => [
+ ['createdAt' => '2026-01-14T02:41:41.000Z', 'description' => '错误码发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessApplication'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
+ ],
+ 'DeletePrivateAccessPolicy' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163593',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => true, 'example' => 'pa-policy-867ef4007c8a****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'title' => '删除内网访问策略',
+ 'summary' => '删除当前阿里云账号下内网访问策略。',
+ 'changeSet' => [
+ ['createdAt' => '2023-03-17T07:16:10.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessPolicy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
+ ],
+ 'DeletePrivateAccessTag' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'SchemaName',
- 'in' => 'query',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163589',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TagId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => true, 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '模板名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'test',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D'],
+ ],
+ 'description' => '',
],
],
+ ],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'Tag.NotFound', 'errorMessage' => 'The tag is not found.', 'description' => '指定的标签不存在。'],
+ ],
+ 500 => [
+ ['errorCode' => 'Tag.UsedByApplication', 'errorMessage' => 'The tag is used by application.', 'description' => ''],
+ ['errorCode' => 'Tag.UsedByPolicy', 'errorMessage' => 'The tag is used by policy.', 'description' => ''],
+ ['errorCode' => 'Tag.UsedByWorkshop', 'errorMessage' => 'The tag is used by workshop.', 'description' => ''],
+ ['errorCode' => 'Tag.DefaultCannotDelete', 'errorMessage' => 'The default tag cannot be deleted.', 'description' => ''],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除内网访问标签',
+ 'summary' => '删除当前阿里云账号下内网访问标签。',
+ 'description' => '当存在应用、办公区识别、策略引用时,不允许删除。参考:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessTag'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SchemaIds',
- 'in' => 'query',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteRegistrationPolicies' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyIds',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '审批模板ID集合。',
+ 'description' => '设备注册策略ID集合。',
'type' => 'array',
- 'items' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
+ 'items' => ['description' => '设备注册策略ID。取值来源:'."\n"
+ .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
+ .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
+ .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
+ .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。', 'type' => 'string', 'required' => false, 'example' => 'reg-policy-63b2f1844b86****'."\n"],
+ 'required' => 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' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量删除设备注册策略',
+ 'summary' => '批量删除当前阿里云账号下设备注册策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistrationPolicies'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteRegistrationPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteUserDevices' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '197382',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DeviceTags',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '终端设备ID集合。最多100条。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
'required' => false,
],
],
+ ],
+ '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' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'."\n"],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量删除用户终端设备',
+ 'summary' => '批量删除用户终端设备。',
+ 'description' => '单次最多删除100台设备。每台设备的设备状态必须是离线或长期离线状态,若传入的终端设备ID集合中部分设备状态不符,则仅删除状态符合的设备,接口仍返回成功。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserDevices'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\\\n\\"\\n}","type":"json"}]',
+ ],
+ 'DeleteUserGroup' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '163604',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => true, 'example' => 'usergroup-6f1ef2fc56b6****'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'errorCodes' => [
+ 400 => [
+ ['errorCode' => 'UserGroup.UsedByPolicy', 'errorMessage' => 'The userGroup is used by policy.', 'description' => '用户组已被策略使用。'],
+ ],
+ 404 => [
+ ['errorCode' => 'UserGroup.NotFound', 'errorMessage' => 'The userGroup is not found.', 'description' => '指定的用户组不存在。'],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '删除用户组',
+ 'summary' => '删除当前阿里云账号下用户组。',
+ 'description' => '当存在策略引用时,不允许删除。'."\n"
+ .'参考:'."\n"
+ .'- [ListPolicesForUserGroup](~~ListPolicesForUserGroup~~):批量查询用户组的策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserGroup'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\"\\n}","type":"json"}]',
+ ],
+ 'DetachApplication2Connector' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => true,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '165052',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'ConnectorId',
+ 'in' => 'formData',
+ 'schema' => ['description' => 'ConnectorID。', 'type' => 'string', 'required' => true, 'example' => 'connector-94db94e06b98****'],
+ ],
+ [
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-b927baf3e592****'],
+ 'required' => true,
+ ],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
+ 'schema' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'staticInfo' => [
+ 'substitutions' => ['csas::2023-01-20::ModifyForwardStrategy'],
+ 'returnType' => 'synchronous',
+ ],
+ 'title' => '卸载Connector的应用',
+ 'summary' => '卸载当前阿里云账号下Connector的内网访问应用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachApplication2Connector'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:DetachApplication2Connector',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
+ ],
+ 'DetachPolicy2ApprovalProcess' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'delete',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '213393',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
[
'name' => 'PolicyType',
- 'in' => 'query',
+ 'in' => 'formData',
'schema' => [
'description' => '适配策略类型。取值:'."\n"
.'- **DomainBlacklist**:域名黑名单。'."\n"
@@ -5313,18 +5046,21 @@
.'- **DlpSend**:文件外发。'."\n"
.'- **PeripheralBlock**:外设管控。',
'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
+ 'required' => true,
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'PeripheralBlock',
],
],
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '业务策略ID。', 'type' => 'string', 'required' => true, 'example' => 'ladp-27a4fedf5e73****'],
+ ],
+ [
+ 'name' => 'ProcessId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程ID。', 'type' => 'string', 'required' => true, 'example' => 'approval-process-2677fcf063f5****'],
+ ],
],
'responses' => [
200 => [
@@ -5333,137 +5069,124 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'TotalNum' => [
- 'description' => '审批模板总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Schemas' => [
- 'description' => '审批模板列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '审批模板创建时间。',
- 'type' => 'string',
- 'example' => '2024-03-15 14:44:07',
- ],
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批模板描述。',
- 'type' => 'string',
- 'example' => '这是一个模板',
- ],
- 'SchemaContent' => [
- 'description' => '审批模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'SchemaVersion' => [
- 'description' => '审批模板版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1715680940',
- ],
- 'PolicyType' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
- ],
- 'IsDefault' => [
- 'description' => '是否为官方维护模板。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询审批模板列表',
- ],
- 'ListApprovalProcessesForApprovalSchemas' => [
- 'summary' => '查询审批渲染模板关联的流程',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '解绑业务策略与审批流程',
+ 'summary' => '解绑业务策略与审批流程',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachPolicy2ApprovalProcess'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DetachPolicy2ApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
+ ],
+ 'DisableEnterpriseAcceleratePolicy' => [
+ 'summary' => '禁用企业加速策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213391',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '263726',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'SchemaIds',
- 'in' => 'query',
- 'style' => 'flat',
+ 'name' => 'EapId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-d50b45aa7dc04aef'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '审批模板ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批模板ID。取值:'."\n"
- .'- [ListApprovalSchemas](~~ListApprovalSchemas~~):批量查询审批模板列表。'."\n"
- .'- [GetApprovalSchema](~~GetApprovalSchema~~):查询审批模板详情。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => 'E4C3E4CA-87CC-5EF6-91DD-D400A812EB43'],
],
- 'required' => true,
],
],
],
+ 'title' => '禁用企业加速策略',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableEnterpriseAcceleratePolicy'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:DisableEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E4C3E4CA-87CC-5EF6-91DD-D400A812EB43\\"\\n}","type":"json"}]',
+ ],
+ 'EnableEnterpriseAcceleratePolicy' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'write',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '263725',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'EapId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-530da9f7110441fb'],
+ ],
+ ],
'responses' => [
200 => [
'schema' => [
@@ -5471,76 +5194,40 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- 'Schemas' => [
- 'description' => '审批模板列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'Processes' => [
- 'description' => '审批流程集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批流程。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '审批流程创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-25 10:44:09',
- ],
- 'ProcessId' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-dc61e92ba5c5****',
- ],
- 'ProcessName' => [
- 'description' => '审批流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批流程描述。',
- 'type' => 'string',
- 'example' => '这是一个审批流程',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '09D9F396-29C5-5F0F-9C12-83308062CA2F'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '启用企业加速策略',
+ 'summary' => '启用企业加速策略。',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Schemas\\": [\\n {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询审批模板关联的流程',
- ],
- 'ListApprovalProcesses' => [
- 'summary' => '查询当前阿里云账号下审批流程列表。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableEnterpriseAcceleratePolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:EnableEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"09D9F396-29C5-5F0F-9C12-83308062CA2F\\"\\n}","type":"json"}]',
+ ],
+ 'ExportUserDevices' => [
+ 'summary' => '导出用户终端设备列表Excel文件。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5552,115 +5239,220 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213355',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '197383',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
+ 'name' => 'Username',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
+ ],
+ [
+ 'name' => 'SaseUserId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ ],
+ [
+ 'name' => 'Department',
+ 'in' => 'formData',
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
+ ],
+ [
+ 'name' => 'Hostname',
+ 'in' => 'formData',
+ 'schema' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'required' => false, 'example' => 'win10-64bit'],
+ ],
+ [
+ 'name' => 'DeviceBelong',
+ 'in' => 'formData',
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
],
[
- 'name' => 'PageSize',
- 'in' => 'query',
+ 'name' => 'Mac',
+ 'in' => 'formData',
+ 'schema' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'required' => false, 'example' => '00:16:7c:46:**:**'],
+ ],
+ [
+ 'name' => 'SharingStatus',
+ 'in' => 'formData',
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'required' => false,
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
],
],
[
- 'name' => 'ProcessName',
- 'in' => 'query',
+ 'name' => 'DeviceStatuses',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '模板名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
+ 'description' => '终端设备状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。包括长期离线状态。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
+ ],
'required' => false,
- 'example' => 'test',
],
],
[
- 'name' => 'ProcessIds',
- 'in' => 'query',
+ 'name' => 'AppStatuses',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '审批流程ID集合。',
+ 'description' => '客户端状态集合。',
'type' => 'array',
'items' => [
- 'description' => '审批模板ID。取值:'."\n"
- .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
- .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。',
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
'type' => 'string',
'required' => false,
- 'example' => 'approval-process-dc61e92ba5c5****',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
],
'required' => false,
],
],
[
- 'name' => 'PolicyType',
- 'in' => 'query',
+ 'name' => 'PaStatuses',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
+ 'description' => '内网访问状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
'required' => false,
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
+ ],
+ ],
+ [
+ 'name' => 'IaStatuses',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '互联网访问状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '互联网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Disabled',
],
- 'example' => 'DlpSend',
+ 'required' => false,
],
],
[
- 'name' => 'PolicyId',
- 'in' => 'query',
+ 'name' => 'DlpStatuses',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '关联业务策略ID。',
- 'type' => 'string',
+ 'description' => '办公数据保护状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
'required' => false,
- 'example' => 'pid-6d6ad77d5b52****',
],
],
[
- 'name' => 'SaseUserId',
- 'in' => 'query',
+ 'name' => 'NacStatuses',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '关联审批人ID。取值来源:'."\n"
- .'- [ListUsers](~~ListUsers~~):批量查询用户。',
- 'type' => 'string',
+ 'description' => '网络准入状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Unprovisioned',
+ ],
'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
],
],
[
- 'name' => 'Username',
- 'in' => 'query',
+ 'name' => 'DeviceTypes',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '关联审批人用户名。',
- 'type' => 'string',
+ 'description' => '终端设备操作系统类型集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
+ ],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'DeviceTags',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '终端设备ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
'required' => false,
- 'example' => '王先生',
],
],
],
@@ -5668,262 +5460,105 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7E39C33B-F565-55C6-ACC2-953FCE7DA7D6',
- ],
- 'Processes' => [
- 'description' => '审批流程列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批流程。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '审批流程创建时间。',
- 'type' => 'string',
- 'example' => '2024-02-27 14:04:27',
- ],
- 'ProcessId' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-35ee09077ee9****',
- ],
- 'ProcessName' => [
- 'description' => '审批流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批流程描述。',
- 'type' => 'string',
- 'example' => '这是一个审批流程',
- ],
- 'ProcessNodes' => [
- 'description' => '审批节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点审批人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点审批人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- ],
- 'DomainWhitelistPolicies' => [
- 'description' => '域名白名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名白名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名白名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- ],
- ],
- 'DomainBlacklistPolicies' => [
- 'description' => '域名黑名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名黑名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名黑名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- ],
- ],
- 'SoftwareBlockPolicies' => [
- 'description' => '软件禁用关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '软件禁用策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '软件禁用策略ID。',
- 'type' => 'string',
- 'example' => 'pid-6d6ad77d5b52****',
- ],
- ],
- ],
- ],
- 'DeviceRegistrationPolicies' => [
- 'description' => '设备注册关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '设备注册策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-63b2f1844b86****',
- ],
- ],
- ],
- ],
- 'AppUninstallPolicies' => [
- 'description' => '终端卸载关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '终端卸载策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端卸载策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-5919f8afff47****',
- ],
- ],
- ],
- ],
- 'DlpSendPolicies' => [
- 'description' => '文件外发关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '文件外发策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文件外发策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- ],
- ],
- 'PeripheralBlockPolicies' => [
- 'description' => '外设管控关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '外设管控策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '外设管控策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- ],
- ],
- 'EndpointHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'SoftwareHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
- ],
- 'ApprovalType' => [
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D'],
+ 'SignedUrl' => ['description' => '文件下载URL,有效时间1分钟。', 'type' => 'string', 'example' => 'https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************'],
+ ],
+ ],
+ ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '导出用户终端设备列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportUserDevices'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ExportUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"SignedUrl\\": \\"https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************\\"\\n}","type":"json"}]',
+ ],
+ 'GetActiveIdpConfig' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '215457',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ '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' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ 'Data' => [
+ 'description' => '身份源配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '身份源配置ID。', 'type' => 'string', 'example' => 'idp-cfg001'],
+ 'Name' => ['description' => '身份源配置名称。', 'type' => 'string', 'example' => '测试身份源'],
+ 'Type' => ['description' => '身份源配置类型。', 'type' => 'string', 'example' => 'DingTalk'],
+ 'Description' => ['description' => '身份源配置描述。', 'type' => 'string', 'example' => '示例身份源'],
],
],
- 'TotalNum' => [
- 'description' => '审批流程总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E39C33B-F565-55C6-ACC2-953FCE7DA7D6\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2024-02-27 14:04:27\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"ApprovalType\\": 0\\n }\\n ],\\n \\"TotalNum\\": \\"1\\"\\n}","type":"json"}]',
- 'title' => '批量查询审批流程列表',
- ],
- 'GetApprovalSchema' => [
- 'summary' => '查询当前阿里云账号下审批模板详情。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询已启用的身份源配置',
+ 'summary' => '查询当前阿里云账户已启用的身份源配置。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetActiveIdpConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetActiveIdpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg001\\",\\n \\"Name\\": \\"测试身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例身份源\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetApproval' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -5935,22 +5570,16 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213354',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '213407',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'SchemaId',
+ 'name' => 'ApprovalId',
'in' => 'query',
- 'schema' => [
- 'description' => '审批模板ID。取值:'."\n"
- .'- [ListApprovalSchemas](~~ListApprovalSchemas~~):批量查询审批模板列表。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'schema' => ['description' => '审批实例ID。取值来源:'."\n"
+ .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
+ .'- [GetApproval](~~GetApproval~~):查询审批实例详情。', 'type' => 'string', 'required' => true, 'example' => 'approval-872b5e911b35****'],
],
],
'responses' => [
@@ -5960,70 +5589,76 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649',
- ],
- 'Schema' => [
- 'description' => '审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'description' => '审批模板创建时间。',
- 'type' => 'string',
- 'example' => '2022-02-14 11:57:51',
- ],
- 'SchemaId' => [
- 'description' => '审批模板id。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'description' => '审批模板描述。',
- 'type' => 'string',
- 'example' => '这是一个模板',
- ],
- 'SchemaContent' => [
- 'description' => '审批模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'SchemaVersion' => [
- 'description' => '审批模板版本。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1715680940',
- ],
- 'PolicyType' => [
- 'description' => '适配策略类型。取值:'."\n"
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
+ 'Approval' => [
+ 'description' => '审批实例。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批实例。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApprovalId' => ['description' => '审批实例ID。', 'type' => 'string', 'example' => 'approval-3564b140642f****'],
+ 'ApprovalProgresses' => [
+ 'description' => '审批实例进展节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批实例进展节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Operators' => [
+ 'description' => '审批进展节点操作人列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批进展节点操作人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => '审批进展节点操作人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批进展节点操作人用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ ],
+ ],
+ 'Status' => ['description' => '审批进展节点状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。', 'type' => 'string', 'example' => 'Approved'],
+ 'Executor' => ['description' => '审批进展节点执行人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Action' => ['description' => '审批进展节点执行操作。取值:'."\n"
+ .'- **Approve**:通过。'."\n"
+ .'- **Reject**:拒绝。'."\n"
+ .'- **Revoke**:撤回。'."\n"
+ .'- **Comment**:评论。', 'type' => 'string', 'example' => 'Approve'],
+ 'Comment' => ['description' => '审批进展节点执行评论。', 'type' => 'string', 'example' => '审核通过'],
+ 'Timestamp' => ['description' => '审批进展节点执行时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736752000'],
+ ],
+ ],
+ ],
+ 'EndTimestamp' => ['description' => '审批实例有效截止时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1757952000'],
+ 'ApprovalDetail' => ['description' => '审批实例详情。', 'type' => 'string', 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}'],
+ 'Status' => ['description' => '审批实例状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。'."\n"
+ .'- **Expired**:已过期。', 'type' => 'string', 'example' => 'Pending'],
+ 'ProcessId' => ['description' => '审批实例关联流程ID。', 'type' => 'string', 'example' => 'approval-process-fcc351b8a95b****'],
+ 'ProcessName' => ['description' => '审批实例关联流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'PolicyType' => ['description' => '审批实例关联策略类型。取值:'."\n"
.'- **DomainBlacklist**:域名黑名单。'."\n"
.'- **DomainWhitelist**:域名白名单。'."\n"
.'- **SoftwareBlock**:软件禁用。'."\n"
.'- **AppUninstall**:终端卸载。'."\n"
.'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
- ],
- 'IsDefault' => [
- 'description' => '是否为官方维护模板。',
- 'type' => 'boolean',
- 'example' => 'true',
+ .'- **PeripheralBlock**:外设管控。', 'type' => 'string', 'example' => 'DlpSend'],
+ 'SchemaId' => ['description' => '审批实例关联模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批实例关联模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'SchemaContent' => ['description' => '审批实例关联模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'CreatorUserId' => ['description' => '审批实例创建人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'CreatorDevTag' => ['description' => '审批实例创建终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'CreateTime' => ['description' => '审批实例创建时间。', 'type' => 'string', 'example' => '2022-11-15 22:11:55'],
+ 'Reason' => ['description' => '审批实例创建原因。', 'type' => 'string', 'example' => '这是一个测试'],
+ 'CreatorUsername' => ['description' => '审批实例创建人用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'CreatorDepartment' => ['description' => '审批实例创建人部门。', 'type' => 'string', 'example' => '测试部'],
],
],
],
@@ -6031,21 +5666,33 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询审批实例详情',
+ 'summary' => '查询当前阿里云账号下审批实例详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApproval'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Schema\\": {\\n \\"CreateTime\\": \\"2022-02-14 11:57:51\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n}","type":"json"}]',
- 'title' => '查询审批模板详情',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetApproval',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-3564b140642f****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\"\\n }\\n ]\\n}","type":"json"}]',
],
'GetApprovalProcess' => [
- 'summary' => '查询当前阿里云账号下审批流程详情。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6058,21 +5705,14 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '213356',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'description' => '审批流程ID。取值:'."\n"
- .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-process-fcc351b8a95b****',
- ],
+ 'schema' => ['description' => '审批流程ID。取值:'."\n"
+ .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。', 'type' => 'string', 'required' => true, 'example' => 'approval-process-fcc351b8a95b****'],
],
],
'responses' => [
@@ -6082,41 +5722,16 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF'],
'Process' => [
'title' => '',
'description' => '审批流程。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'title' => '创建时间',
- 'description' => '审批流程创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-25 10:44:09',
- ],
- 'ProcessId' => [
- 'title' => '流程ID',
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-35ee09077ee9****',
- ],
- 'ProcessName' => [
- 'title' => '流程名称',
- 'description' => '审批流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'Description' => [
- 'title' => '流程描述',
- 'description' => '审批流程描述。',
- 'type' => 'string',
- 'example' => '这是一个审批流程',
- ],
+ 'CreateTime' => ['title' => '创建时间', 'description' => '审批流程创建时间。', 'type' => 'string', 'example' => '2022-10-25 10:44:09'],
+ 'ProcessId' => ['title' => '流程ID', 'description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-35ee09077ee9****'],
+ 'ProcessName' => ['title' => '流程名称', 'description' => '审批流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['title' => '流程描述', 'description' => '审批流程描述。', 'type' => 'string', 'example' => '这是一个审批流程'],
'ProcessNodes' => [
'title' => '流程节点',
'description' => '审批节点列表。',
@@ -6128,18 +5743,8 @@
'description' => '节点审批人。',
'type' => 'object',
'properties' => [
- 'SaseUserId' => [
- 'title' => 'SASE用户ID',
- 'description' => '审批人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'title' => '用户名称',
- 'description' => '审批人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
+ 'SaseUserId' => ['title' => 'SASE用户ID', 'description' => '审批人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['title' => '用户名称', 'description' => '审批人用户名。', 'type' => 'string', 'example' => '王先生'],
],
],
],
@@ -6149,28 +5754,14 @@
'description' => '域名白名单关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '域名白名单策略ID列表。',
'type' => 'array',
- 'items' => [
- 'title' => '',
- 'description' => '域名白名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['title' => '', 'description' => '域名白名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射表',
'description' => '字段映射表',
@@ -6178,20 +5769,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6201,27 +5783,14 @@
'description' => '域名黑名单关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '域名黑名单策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '域名黑名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '域名黑名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6229,20 +5798,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6252,27 +5812,14 @@
'description' => '软件禁用关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '软件禁用策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '软件禁用策略ID。',
- 'type' => 'string',
- 'example' => 'pid-6d6ad77d5b52****',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '软件禁用策略ID。', 'type' => 'string', 'example' => 'pid-6d6ad77d5b52****'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6280,20 +5827,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6303,27 +5841,14 @@
'description' => '设备注册关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '设备注册策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-63b2f1844b86****',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-63b2f1844b86****'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6331,20 +5856,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6354,27 +5870,14 @@
'description' => '终端卸载关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '终端卸载策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '终端卸载策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-5919f8afff47****',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '终端卸载策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-5919f8afff47****'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6384,21 +5887,9 @@
'description' => '字段映射项',
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- 'example' => '名称',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- 'example' => '名称',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string', 'example' => '名称'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string', 'example' => '名称'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
],
],
@@ -6409,27 +5900,14 @@
'description' => '文件外发关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '文件外发策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '文件外发策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '文件外发策略ID。', 'type' => 'string', 'example' => '17**'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6437,20 +5915,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6460,27 +5929,14 @@
'description' => '外设管控关联策略列表。',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '外设管控策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '外设管控策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['description' => '外设管控策略ID。', 'type' => 'string', 'example' => '17**'],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6488,20 +5944,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6511,24 +5958,14 @@
'description' => '终端防护策略',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '模板ID',
- 'type' => 'string',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'string'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '策略ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['type' => 'string', 'description' => ''],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6536,20 +5973,11 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
@@ -6559,24 +5987,14 @@
'description' => '软件加固策略',
'type' => 'object',
'properties' => [
- 'SchemaId' => [
- 'title' => '模板ID',
- 'description' => '模板ID',
- 'type' => 'string',
- ],
+ 'SchemaId' => ['title' => '模板ID', 'description' => '模板ID', 'type' => 'string'],
'PolicyIds' => [
'title' => '策略ID',
'description' => '策略ID',
'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- 'ExternalProcessId' => [
- 'title' => '外部流程ID',
- 'description' => '外部流程ID',
- 'type' => 'string',
+ 'items' => ['type' => 'string', 'description' => ''],
],
+ 'ExternalProcessId' => ['title' => '外部流程ID', 'description' => '外部流程ID', 'type' => 'string'],
'FieldMap' => [
'title' => '字段映射',
'description' => '字段映射',
@@ -6584,58 +6002,77 @@
'items' => [
'type' => 'object',
'properties' => [
- 'SystemField' => [
- 'title' => '系统字段',
- 'description' => '系统字段',
- 'type' => 'string',
- ],
- 'DisplayField' => [
- 'title' => '展示字段',
- 'description' => '展示字段',
- 'type' => 'string',
- ],
- 'DisplayFieldValue' => [
- 'type' => 'string',
- ],
+ 'SystemField' => ['title' => '系统字段', 'description' => '系统字段', 'type' => 'string'],
+ 'DisplayField' => ['title' => '展示字段', 'description' => '展示字段', 'type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
],
+ 'description' => '',
],
],
],
],
- 'ApprovalType' => [
- 'title' => '审批类型',
- 'description' => '审批类型',
- 'type' => 'integer',
- 'format' => 'int32',
- ],
- 'ExternalConfig' => [
- 'title' => '外部配置',
- 'description' => '外部配置',
- 'type' => 'string',
- ],
- 'EventLabel' => [
- 'title' => '标签',
- 'description' => '标签',
- 'type' => 'string',
+ 'PrivateAccessBlockPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string'],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string'],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string'],
+ 'DisplayField' => ['type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
],
+ 'ApprovalType' => ['title' => '审批类型', 'description' => '审批类型', 'type' => 'integer', 'format' => 'int32'],
+ 'ExternalConfig' => ['title' => '外部配置', 'description' => '外部配置', 'type' => 'string'],
+ 'EventLabel' => ['title' => '标签', 'description' => '标签', 'type' => 'string'],
],
],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"名称\\",\\n \\"DisplayField\\": \\"名称\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]',
'title' => '查询审批流程详情',
- ],
- 'GetApproval' => [
- 'summary' => '查询当前阿里云账号下审批实例详情。',
- 'methods' => [
- 'get',
+ 'summary' => '查询当前阿里云账号下审批流程详情。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-26T15:43:42.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-08-19T16:05:20.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-04-27T10:40:41.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalProcess'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C81E0B4B-AAEB-5FDD-B27E-3F5AF7EBD7EF\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"名称\\",\\n \\"DisplayField\\": \\"名称\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PrivateAccessBlockPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetApprovalSchema' => [
+ 'summary' => '查询当前阿里云账号下审批模板详情。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -6647,23 +6084,15 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213407',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '213354',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'ApprovalId',
+ 'name' => 'SchemaId',
'in' => 'query',
- 'schema' => [
- 'description' => '审批实例ID。取值来源:'."\n"
- .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
- .'- [GetApproval](~~GetApproval~~):查询审批实例详情。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-872b5e911b35****',
- ],
+ 'schema' => ['description' => '审批模板ID。取值:'."\n"
+ .'- [ListApprovalSchemas](~~ListApprovalSchemas~~):批量查询审批模板列表。', 'type' => 'string', 'required' => true, 'example' => 'approval-schema-090134f1ebff****'],
],
],
'responses' => [
@@ -6673,822 +6102,369 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
- 'Approval' => [
- 'description' => '审批实例。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例。',
- 'type' => 'object',
- 'properties' => [
- 'ApprovalId' => [
- 'description' => '审批实例ID。',
- 'type' => 'string',
- 'example' => 'approval-3564b140642f****',
- ],
- 'ApprovalProgresses' => [
- 'description' => '审批实例进展节点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批实例进展节点。',
- 'type' => 'object',
- 'properties' => [
- 'Operators' => [
- 'description' => '审批进展节点操作人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批进展节点操作人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批进展节点操作人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批进展节点操作人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- 'Status' => [
- 'description' => '审批进展节点状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。',
- 'type' => 'string',
- 'example' => 'Approved',
- ],
- 'Executor' => [
- 'description' => '审批进展节点执行人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Action' => [
- 'description' => '审批进展节点执行操作。取值:'."\n"
- .'- **Approve**:通过。'."\n"
- .'- **Reject**:拒绝。'."\n"
- .'- **Revoke**:撤回。'."\n"
- .'- **Comment**:评论。',
- 'type' => 'string',
- 'example' => 'Approve',
- ],
- 'Comment' => [
- 'description' => '审批进展节点执行评论。',
- 'type' => 'string',
- 'example' => '审核通过',
- ],
- 'Timestamp' => [
- 'description' => '审批进展节点执行时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1736752000',
- ],
- ],
- ],
- ],
- 'EndTimestamp' => [
- 'description' => '审批实例有效截止时刻,秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1757952000',
- ],
- 'ApprovalDetail' => [
- 'description' => '审批实例详情。',
- 'type' => 'string',
- 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}',
- ],
- 'Status' => [
- 'description' => '审批实例状态。取值:'."\n"
- .'- **Pending**:待审批。'."\n"
- .'- **Approved**:已通过。'."\n"
- .'- **Rejected**:已拒绝。'."\n"
- .'- **Revoked**:已撤回。'."\n"
- .'- **Expired**:已过期。',
- 'type' => 'string',
- 'example' => 'Pending',
- ],
- 'ProcessId' => [
- 'description' => '审批实例关联流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-fcc351b8a95b****',
- ],
- 'ProcessName' => [
- 'description' => '审批实例关联流程名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'PolicyType' => [
- 'description' => '审批实例关联策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'example' => 'DlpSend',
- ],
- 'SchemaId' => [
- 'description' => '审批实例关联模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SchemaName' => [
- 'description' => '审批实例关联模板名称。',
- 'type' => 'string',
- 'example' => '测试',
- ],
- 'SchemaContent' => [
- 'description' => '审批实例关联模板内容。',
- 'type' => 'string',
- 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}',
- ],
- 'CreatorUserId' => [
- 'description' => '审批实例创建人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'CreatorDevTag' => [
- 'description' => '审批实例创建终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'CreateTime' => [
- 'description' => '审批实例创建时间。',
- 'type' => 'string',
- 'example' => '2022-11-15 22:11:55',
- ],
- 'Reason' => [
- 'description' => '审批实例创建原因。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- 'CreatorUsername' => [
- 'description' => '审批实例创建人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'CreatorDepartment' => [
- 'description' => '审批实例创建人部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649'],
+ 'Schema' => [
+ 'description' => '审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批模板创建时间。', 'type' => 'string', 'example' => '2022-02-14 11:57:51'],
+ 'SchemaId' => ['description' => '审批模板id。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批模板描述。', 'type' => 'string', 'example' => '这是一个模板'],
+ 'SchemaContent' => ['description' => '审批模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'SchemaVersion' => ['description' => '审批模板版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1715680940'],
+ 'PolicyType' => [
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
+ 'IsDefault' => ['description' => '是否为官方维护模板。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-3564b140642f****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询审批实例详情',
- ],
- 'DetachPolicy2ApprovalProcess' => [
- 'summary' => '解绑业务策略与审批流程',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '213393',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询审批模板详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalSchema'],
],
],
- 'parameters' => [
- [
- 'name' => 'PolicyType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'PeripheralBlock',
- ],
- ],
- [
- 'name' => 'PolicyId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '业务策略ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'ProcessId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-process-2677fcf063f5****',
- ],
- ],
- ],
- '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' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetApprovalSchema',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
- 'title' => '解绑业务策略与审批流程',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Schema\\": {\\n \\"CreateTime\\": \\"2022-02-14 11:57:51\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n}","type":"json"}]',
],
- 'DeleteApprovalProcesses' => [
- 'summary' => '批量删除当前阿里云账号下审批流程。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'GetBootAndAntiUninstallPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213359',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'ProcessIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '审批流程ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批模板ID。取值:'."\n"
- .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
- .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-process-dc61e92ba5c5****',
- ],
- 'required' => true,
- ],
- ],
+ 'abilityTreeCode' => '218008',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
+ 'parameters' => [],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CB67D866-1E54-5106-89DF-6D70C73E5989'],
+ 'Strategy' => [
+ 'description' => '自启动&防卸载策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '策略创建时间。', 'type' => 'string', 'example' => '2023-04-16 10:50:05'],
+ 'UpdateTime' => ['description' => '策略更新时间。', 'type' => 'string', 'example' => '2024-06-14 10:17:14'],
+ 'IsBoot' => ['description' => '是否开启自启动功能。', 'type' => 'boolean', 'example' => 'true'],
+ 'IsAntiUninstall' => ['description' => '是否开启防卸载功能。', 'type' => 'boolean', 'example' => 'true'],
+ 'AllowReport' => ['description' => '是否允许终端用户提交审批。', 'type' => 'boolean', 'example' => 'true'],
+ 'WhitelistUsers' => [
+ 'description' => '白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '白名单用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ 'UserGroupIds' => [
+ 'description' => '策略生效用户组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '策略生效用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
+ ],
+ 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****'],
+ 'BlockContent' => [
+ 'description' => '客户端拦截弹窗展示内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BlockTextZh' => [
+ 'description' => '中文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'example' => '防卸载警告'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'example' => '去报备'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'example' => '我知道了'],
+ ],
+ ],
+ 'BlockTextEn' => [
+ 'description' => '英文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'example' => 'Anti-Uninstall Warning'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'example' => 'Report'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'example' => 'Ignore'],
+ ],
+ ],
+ ],
+ ],
+ 'ReportProcessId' => ['description' => '策略关联审批流程ID。', 'type' => 'string', 'example' => 'approval-process-300abfb970cc****'],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\"\\n}","type":"json"}]',
- 'title' => '批量删除审批流程',
- ],
- 'AttachPolicy2ApprovalProcess' => [
- 'summary' => '挂载业务策略至指定审批流程',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询自启动&防卸载策略详情',
+ 'summary' => '查询当前阿里云账号下自启动与防卸载策略详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBootAndAntiUninstallPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetBootAndAntiUninstallPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-300abfb970cc****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetClientUser' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213392',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '215387',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'PolicyType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '适配策略类型。取值:'."\n"
- .'- **DomainBlacklist**:域名黑名单。'."\n"
- .'- **DomainWhitelist**:域名白名单。'."\n"
- .'- **SoftwareBlock**:软件禁用。'."\n"
- .'- **AppUninstall**:终端卸载。'."\n"
- .'- **DlpSend**:文件外发。'."\n"
- .'- **PeripheralBlock**:外设管控。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'AppUninstall' => '终端卸载',
- 'DlpSend' => '文件外发',
- 'DomainWhitelist' => '域名白名单',
- 'DomainBlacklist' => '域名黑名单',
- 'SoftwareBlock' => '软件禁用',
- 'PeripheralBlock' => '外设管控',
- ],
- 'example' => 'DlpSend',
- ],
- ],
- [
- 'name' => 'PolicyId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '业务策略ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'ladp-27a4fedf5e73****',
- ],
+ 'name' => 'IdpConfigId',
+ 'in' => 'query',
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg68956d86e********'],
],
[
- 'name' => 'ProcessId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '审批流程ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'approval-process-2677fcf063f5****',
- ],
+ 'name' => 'Username',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => true, 'example' => '张三'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'C51D9340-4604-5331-AE62-407F3B408F86',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Data' => [
+ 'description' => '用户详情信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '用户ID。', 'type' => 'string', 'example' => '83'],
+ 'IdpConfigId' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'example' => 'idp-cfg68956d86e********'],
+ 'Username' => ['description' => '用户名称。', 'type' => 'string', 'example' => '张三'],
+ 'UserId' => ['description' => '用户唯一标识。', 'type' => 'string', 'example' => 'su_abcd7215****'],
+ 'Description' => ['description' => '用户描述。', 'type' => 'string', 'example' => '示例用户'],
+ 'Email' => ['description' => '电子邮件地址。', 'type' => 'string', 'example' => 'johndoe@example.com'],
+ 'MobileNumber' => ['description' => '手机号码,不需要带国家编码。', 'type' => 'string', 'example' => '1364196****'],
+ 'DepartmentId' => ['description' => '部门ID。', 'type' => 'string', 'example' => '10713'],
+ 'Status' => ['description' => '用户启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Disabled'],
+ 'Department' => [
+ 'description' => '用户所属部门。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '部门ID。', 'type' => 'string', 'example' => '107'],
+ 'Name' => ['description' => '部门名称。', 'type' => 'string', 'example' => '示例部门'],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C51D9340-4604-5331-AE62-407F3B408F86\\"\\n}","type":"json"}]',
- 'title' => '绑定业务策略与审批流程',
- ],
- 'CreateApprovalProcess' => [
- 'summary' => '创建当前阿里云账号下审批流程。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询自定义身份源用户详情',
+ 'summary' => '查询当前阿里云账户自定义身份源指定用户的详情信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClientUser'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"Id\\": \\"83\\",\\n \\"IdpConfigId\\": \\"idp-cfg68956d86e********\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_abcd7215****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"johndoe@example.com\\",\\n \\"MobileNumber\\": \\"1364196****\\",\\n \\"DepartmentId\\": \\"10713\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"107\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetDynamicRoute' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '213357',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'ProcessName',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '流程名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test_process',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '审批流程描述。长度为 1~128 个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一个审批流程',
- ],
- ],
- [
- 'name' => 'ProcessNodes',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '审批节点列表。最多可定义5个审批节点。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批节点的审批人列表。最多可定义5个审批人。',
- 'type' => 'array',
- 'items' => [
- 'description' => '审批人ID。取值来源:'."\n"
- .'- [ListUsers](~~ListUsers~~):批量查询用户。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****',
- ],
- 'required' => false,
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'MatchSchemas',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '匹配的审批模板。',
- 'type' => 'object',
- 'properties' => [
- 'DomainWhitelistSchemaId' => [
- 'description' => '域名白名单审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DomainBlacklistSchemaId' => [
- 'description' => '域名黑名单审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'SoftwareBlockSchemaId' => [
- 'description' => '软件禁用审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DeviceRegistrationSchemaId' => [
- 'description' => '设备注册审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'AppUninstallSchemaId' => [
- 'description' => '设备卸载审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'DlpSendSchemaId' => [
- 'description' => '文件外发审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PeripheralBlockSchemaId' => [
- 'description' => '外设管控审批模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'EndpointHardeningSchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'SoftwareHardeningSchemaId' => [
- 'type' => 'string',
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
+ 'name' => 'DynamicRouteId',
+ 'in' => 'query',
+ 'schema' => ['description' => '动态路由ID。', 'type' => 'string', 'required' => true, 'example' => 'dr-16ff07c8207d****'],
],
],
'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' => '2CABFEBB-0CE7-575E-833A-266F75D46713',
- ],
- 'Process' => [
- 'description' => '审批流程。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'DynamicRoute' => [
+ 'description' => '动态路由。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '审批流程创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-25 10:44:09',
- ],
- 'ProcessId' => [
- 'description' => '审批流程ID。',
+ 'DynamicRouteId' => ['description' => '动态路由ID。', 'type' => 'string', 'example' => 'dr-16ff07c8207d****'."\n"],
+ 'Name' => ['description' => '动态路由名称。', 'type' => 'string', 'example' => 'dynamic_route_name'],
+ 'Description' => ['description' => '动态路由的描述。', 'type' => 'string', 'example' => '这是一条动态路由'."\n"],
+ 'Status' => [
+ 'description' => '动态路由状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'example' => 'approval-process-dc61e92ba5c5****',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'ProcessName' => [
- 'description' => '审批流程名称。',
- 'type' => 'string',
- 'example' => '测试',
+ 'Priority' => ['description' => '动态路由优先级。数字1表示优先级最高。优先级排序和列表查询从上到下保持一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RegionIds' => [
+ 'description' => 'SASE的POP集群接入点支持的地域列表。',
+ 'type' => 'array',
+ 'items' => ['description' => 'SASE的POP集群接入点支持的地域。', 'type' => 'string', 'example' => 'ap-southeast-1'],
],
- 'Description' => [
- 'description' => '审批流程描述。',
+ 'ApplicationType' => [
+ 'description' => '动态路由的应用类型。取值:'."\n"
+ .'- **All**:全部应用。'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
- 'example' => '这是一个审批流程',
+ 'enumValueTitles' => ['All' => '全部应用', 'Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
- 'ProcessNodes' => [
- 'description' => '审批节点列表。',
+ 'ApplicationIds' => [
+ 'description' => '动态路由的内网访问应用ID集合。当应用类型为**Application**时,该字段有值。',
'type' => 'array',
- 'items' => [
- 'description' => '节点审批人列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '节点审批人。',
- 'type' => 'object',
- 'properties' => [
- 'SaseUserId' => [
- 'description' => '审批人ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Username' => [
- 'description' => '审批人用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- ],
- ],
- ],
- 'DomainWhitelistPolicies' => [
- 'description' => '域名白名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名白名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名白名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- ],
- ],
- 'DomainBlacklistPolicies' => [
- 'description' => '域名黑名单关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '域名黑名单策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '域名黑名单策略ID。',
- 'type' => 'string',
- 'example' => 'ladp-27a4fedf5e73****',
- ],
- ],
- ],
- ],
- 'SoftwareBlockPolicies' => [
- 'description' => '软件禁用关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '软件禁用策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '软件禁用策略ID。',
- 'type' => 'string',
- 'example' => 'pid-6d6ad77d5b52****',
- ],
- ],
- ],
- ],
- 'DeviceRegistrationPolicies' => [
- 'description' => '设备注册关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '设备注册策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-63b2f1844b86****',
- ],
- ],
- ],
- ],
- 'AppUninstallPolicies' => [
- 'description' => '终端卸载关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '终端卸载策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端卸载策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-5919f8afff47****',
- ],
- ],
- ],
+ 'items' => ['description' => '动态路由的内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'."\n"],
],
- 'DlpSendPolicies' => [
- 'description' => '文件外发关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '文件外发策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '文件外发策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- ],
- ],
- 'PeripheralBlockPolicies' => [
- 'description' => '外设管控关联策略列表。',
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'description' => '审批模板ID。',
- 'type' => 'string',
- 'example' => 'approval-schema-090134f1ebff****',
- ],
- 'PolicyIds' => [
- 'description' => '外设管控策略ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '外设管控策略ID。',
- 'type' => 'string',
- 'example' => '17**',
- ],
- ],
- ],
- ],
- 'EndpointHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'TagIds' => [
+ 'description' => '动态路由的内网访问标签ID集合。当应用类型为**Tag**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问标签ID。', 'type' => 'string', 'example' => 'tag-fc0e2395e6f2****'],
],
- 'SoftwareHardeningPolicies' => [
- 'type' => 'object',
- 'properties' => [
- 'SchemaId' => [
- 'type' => 'string',
- ],
- 'PolicyIds' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- ],
- ],
- ],
+ 'DynamicRouteType' => [
+ 'description' => '动态路由类型。取值:**connector**:自有专线。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['connector' => '自有专线'],
+ 'example' => 'connector',
],
+ 'NextHop' => ['description' => '动态路由下一跳实例ID。', 'type' => 'string', 'example' => 'connector-8ccb13b6f52c****'],
+ 'CreateTime' => ['description' => '动态路由创建时间。', 'type' => 'string', 'example' => '2023-02-09 10:31:47'],
],
],
],
+ 'description' => '',
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n }\\n }\\n}","type":"json"}]',
- 'title' => '创建审批流程',
- ],
- 'ListUninstallApplications' => [
- 'summary' => '批量查询当前阿里云账号下卸载申请列表。',
- 'methods' => [
- 'get',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'DynamicRoute.NotFound', 'errorMessage' => 'The dynamicRoute is not found.', 'description' => '指定的动态路由不存在。'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询动态路由详情',
+ 'summary' => '获取当前阿里云账号下指定动态路由的详情信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDynamicRoute'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"DynamicRoute\\": {\\n \\"DynamicRouteId\\": \\"dr-16ff07c8207d****\\\\n\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\\\n\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-fc0e2395e6f2****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-02-09 10:31:47\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetIdpConfig' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -7497,387 +6473,104 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215483',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '215357',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'ApplicationIds',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '卸载申请ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '卸载申请ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'uninstall-app-6646831ac314****',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Statuses',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '卸载申请状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '卸载申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Pending',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Username',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
- ],
- [
- 'name' => 'Department',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
- ],
- [
- 'name' => 'Mac',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00:16:XX:XX:7c:46',
- ],
- ],
- [
- 'name' => 'Hostname',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'win10-64bit',
- ],
+ 'schema' => ['description' => '身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg68956d86e********'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => '卸载申请总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Applications' => [
- 'description' => '卸载申请列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '卸载申请。',
- 'type' => 'object',
- 'properties' => [
- 'DevTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DevType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Reason' => [
- 'description' => '申请原因。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- 'Status' => [
- 'description' => '卸载申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'example' => 'Approved',
- ],
- 'ApplicationId' => [
- 'description' => '卸载申请ID。',
- 'type' => 'string',
- 'example' => 'uninstall-app-6646831ac314****',
- ],
- 'IsUninstall' => [
- 'description' => '是否已执行卸载。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'CreateTime' => [
- 'description' => '卸载申请创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
- ],
- 'IdpName' => [
- 'description' => '用户身份源名称。',
- 'type' => 'string',
- 'example' => '测试身份源',
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-******'],
+ 'Data' => [
+ 'description' => '身份源配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '身份源配置ID。', 'type' => 'string', 'example' => 'idp-cfg68956d86e********'],
+ 'Name' => ['description' => '身份源配置名称。', 'type' => 'string', 'example' => '示例身份源'],
+ 'Type' => ['description' => '身份源配置类型。', 'type' => 'string', 'example' => 'CSAS'],
+ 'IdpMetadata' => ['description' => '身份提供商IdP的元数据。', 'type' => 'string', 'example' => '<?xml version="1.0" encoding="utf-8"?>***'],
+ 'AccessKey' => ['description' => 'IDaaS身份源 AccessKey ID。', 'type' => 'string', 'example' => '*******'],
+ 'AccessKeySecret' => ['description' => 'IDaaS身份源 AccessKey。', 'type' => 'string', 'example' => '*******'],
+ 'Status' => ['description' => '身份源配置启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'MfaConfigType' => ['description' => '二次认证配置类型。', 'type' => 'string', 'example' => 'totp'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2024-02-26T02:02:42Z'],
+ 'GetGroupUrl' => ['description' => '自建身份源查询组织架构链接地址。', 'type' => 'string', 'example' => 'https://172.10.XX.XX:4321/getGroup?name=%s&pass=%s'],
+ 'Description' => ['description' => '身份源配置描述。', 'type' => 'string', 'example' => '示例身份源'],
+ 'MultiIdpInfo' => ['description' => '多身份源配置ID列表。', 'type' => 'string', 'example' => '1482,1355'],
+ 'PcLoginType' => ['description' => 'PC端登录类型。', 'type' => 'string', 'example' => 'password'],
+ 'MobileLoginType' => ['description' => '移动端登录类型。', 'type' => 'string', 'example' => 'password'],
+ 'MobileMfaConfigType' => ['description' => '移动端二次认证配置类型。', 'type' => 'string', 'example' => 'totp'],
+ 'VerifyToken' => ['description' => '自建二次认证服务请求签名校验Token。', 'type' => 'string', 'example' => '7JAr3fYtn****'],
+ 'VerifyAesKey' => ['description' => '自建二次认证服务请求加密密钥。', 'type' => 'string', 'example' => 'QVhaU0RDR0JIWV****'],
+ 'VerifyUrl' => ['description' => '自建二次认证服务验证链接地址。', 'type' => 'string', 'example' => 'http://172.10.XX.XX:1234/otp_verify'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"IdpName\\": \\"测试身份源\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询卸载申请列表',
- ],
- 'UpdateBootAndAntiUninstallPolicy' => [
- 'summary' => '更新当前阿里云账号下自启动与防卸载策略。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询身份源配置详情',
+ 'summary' => '查询当前阿里云账户指定的身份源配置详情信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIdpConfig'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetIdpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-******\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg68956d86e********\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"CSAS\\",\\n \\"IdpMetadata\\": \\"<?xml version=\\\\\\"1.0\\\\\\" encoding=\\\\\\"utf-8\\\\\\"?>***\\",\\n \\"AccessKey\\": \\"*******\\",\\n \\"AccessKeySecret\\": \\"*******\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"MfaConfigType\\": \\"totp\\",\\n \\"UpdateTime\\": \\"2024-02-26T02:02:42Z\\",\\n \\"GetGroupUrl\\": \\"https://172.10.XX.XX:4321/getGroup?name=%s&pass=%s\\",\\n \\"Description\\": \\"示例身份源\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"totp\\",\\n \\"VerifyToken\\": \\"7JAr3fYtn****\\",\\n \\"VerifyAesKey\\": \\"QVhaU0RDR0JIWV****\\",\\n \\"VerifyUrl\\": \\"http://172.10.XX.XX:1234/otp_verify\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPADiagnosisTask' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '218007',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '236277',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'IsBoot',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否开启自启动功能。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'IsAntiUninstall',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否开启防卸载功能。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'AllowReport',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '是否允许终端用户提交审批。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- [
- 'name' => 'WhitelistUsers',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '白名单用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'UserGroupIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '策略生效用户组ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '策略生效用户组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'BlockContent',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '客户端拦截弹窗展示内容。',
- 'type' => 'object',
- 'properties' => [
- 'BlockTextZh' => [
- 'description' => '中文内容。',
- 'type' => 'object',
- 'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '防卸载警告',
- ],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!',
- ],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '去报备',
- ],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '我知道了',
- ],
- ],
- 'required' => false,
- ],
- 'BlockTextEn' => [
- 'description' => '英文内容。',
- 'type' => 'object',
- 'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Anti-Uninstall Warning',
- ],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!',
- ],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Report',
- ],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Ignore',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
+ 'name' => 'DiagnoseId',
+ 'in' => 'query',
+ 'schema' => ['description' => '诊断任务ID。', 'type' => 'string', 'required' => true, 'example' => 'diag-58d0750e8786919a'],
],
],
'responses' => [
@@ -7887,706 +6580,698 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'CB67D866-1E54-5106-89DF-6D70C73E5989',
- ],
- 'Strategy' => [
- 'description' => '自启动&防卸载策略。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713'],
+ 'DiagnosisTask' => [
+ 'description' => '诊断任务。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-04-16 10:50:05',
- ],
- 'UpdateTime' => [
- 'description' => '策略更新时间。',
- 'type' => 'string',
- 'example' => '2024-06-14 10:17:14',
- ],
- 'IsBoot' => [
- 'description' => '是否开启自启动功能。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'IsAntiUninstall' => [
- 'description' => '是否开启防卸载功能。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'AllowReport' => [
- 'description' => '是否允许终端用户提交审批。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'WhitelistUsers' => [
- 'description' => '白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '白名单用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- 'UserGroupIds' => [
- 'description' => '策略生效用户组ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '策略生效用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
+ 'DiagnoseType' => ['description' => '诊断类型,可选的有:'."\n"
+ ."\n"
+ .'- **FullLink**:全链路诊断'."\n"
+ .'- **Application**: 应用诊断', 'type' => 'string', 'example' => 'FullLink'],
+ 'UserGroup' => [
+ 'description' => '用户组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'ug-xxxxx'],
+ 'UserGroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'IT'],
+ ],
+ ],
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '76C08B0F-CEFD-8F01-C1D3-0D5B493B5EAF'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => 'zhangsan'],
+ 'Protocol' => ['description' => '内网访问应用协议。取值:'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**', 'type' => 'string', 'example' => 'All'],
+ 'Host' => ['description' => '需要诊断的域名。', 'type' => 'string', 'example' => 'mtools-admin.redotpay.com'],
+ 'Port' => ['description' => '端口。', 'type' => 'string', 'example' => '80'],
+ 'PopMode' => ['description' => 'pop点选择模式:'."\n"
+ .'- **AutoSelect**: 自动选择'."\n"
+ .'- **ManualSelect**: 手动选择', 'type' => 'string', 'example' => 'AutoSelect'],
+ 'PopId' => ['description' => 'POP点ID。', 'type' => 'string', 'example' => 'pop-2504cd067e094750'],
+ 'UdpExtraConfigs' => [
+ 'description' => 'UDP额外配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestContent' => ['description' => 'UDP请求内容。', 'type' => 'string', 'example' => 'hello'],
+ 'ExpectedResponse' => ['description' => '用户预期的后端服务器返回信息。', 'type' => 'string', 'example' => 'hello'],
],
],
- 'PolicyId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****',
- ],
- 'BlockContent' => [
- 'description' => '客户端拦截弹窗展示内容。',
+ 'DiagnoseId' => ['description' => '诊断任务ID。', 'type' => 'string', 'example' => 'diag-3e0d36d6c15a0502'],
+ 'Status' => ['description' => '任务运行状态。取值:'."\n"
+ .'- **Running**:运行中。'."\n"
+ .'- **Finished**:已完成。'."\n"
+ .'- **Failed**:运行失败。', 'type' => 'string', 'example' => 'Running'],
+ 'Result' => [
+ 'description' => '诊断结果。',
'type' => 'object',
'properties' => [
- 'BlockTextZh' => [
- 'description' => '中文内容。',
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'ErrorMessage' => ['description' => '错误信息。', 'type' => 'string', 'example' => 'device offline'],
+ 'FlowId' => ['description' => '请求流ID。', 'type' => 'string', 'example' => 'flow-d918b12f9b974f6489fc'],
+ 'PolicyInfo' => [
+ 'description' => '策略信息。',
'type' => 'object',
'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'example' => '防卸载警告',
+ 'ProcessTime' => ['description' => '处理时长。', 'type' => 'integer', 'format' => 'int64', 'example' => '1000'],
+ 'UserGroupInfo' => [
+ 'description' => '用户组信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Email' => ['description' => '电子邮件。', 'type' => 'string', 'example' => '1234@xxxx.com'],
+ 'Telephone' => ['description' => '手机号码。', 'type' => 'string', 'example' => '123456789'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => 'zhangsan'],
+ 'Group' => [
+ 'description' => '部门名称列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '部门名称。', 'type' => 'string', 'example' => 'IT'],
+ ],
+ 'MatchedUserGroups' => ['description' => '匹配的用户组。', 'type' => 'string', 'example' => 'IT'],
+ ],
],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!',
+ 'DeviceAttributeInfo' => [
+ 'description' => '设备信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => 'E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94'],
+ 'DeviceType' => ['description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。', 'type' => 'string', 'example' => 'macos'],
+ 'Ssid' => ['description' => 'SSID。', 'type' => 'string', 'example' => 'abcd'],
+ 'Process' => [
+ 'description' => '安全基线进程列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '安全基线进程。', 'type' => 'string', 'example' => 'msedge.exe'],
+ ],
+ 'File' => [
+ 'description' => '文件名称。',
+ 'type' => 'array',
+ 'items' => ['description' => '文件名称', 'type' => 'string', 'example' => '[{\\"Platform\\":\\"windows\\",\\"Path\\":\\"\\",\\"Name\\":\\"\\"},{\\"Platform\\":\\"macos\\",\\"Path\\":\\"\\",\\"Name\\":\\"\\"}]'],
+ ],
+ 'Firewall' => ['description' => '防火墙。', 'type' => 'string', 'example' => '[{\\"Platform\\":\\"windows\\",\\"Status\\":\\"disabled\\"},{\\"Platform\\":\\"macos\\",\\"Status\\":\\"disabled\\"},{\\"Platform\\":\\"linux\\",\\"Status\\":\\"disabled\\"}]'],
+ 'InnerIp' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'example' => '10.5.208.122'],
+ 'InternetIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '47.98.146.136'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '`curl Rj0F9uvI.popscan.xaliyun.com`'],
+ 'Hostname' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'example' => 'DESKTOP-CVTB5KT.CXISHD01.CATHAY_INS.CHN'],
+ 'MatchedSecurityBaseline' => ['description' => '匹配的安全基线。', 'type' => 'string', 'example' => 'Test'],
+ ],
],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'example' => '去报备',
+ 'ZeroTrustPolicyInfo' => [
+ 'description' => '零信任策略信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'AppName' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'MyApp2'],
+ 'PolicyName' => ['description' => '零信任策略名。', 'type' => 'string', 'example' => '保密测试'],
+ 'Action' => ['description' => '策略动作:'."\n"
+ .'- **Allow**:放行'."\n"
+ .'- **Block**:拦截'."\n"
+ .'- **Observe**:观察模式', 'type' => 'string', 'example' => 'block'],
+ 'BlockInfo' => ['description' => '拦截信息。', 'type' => 'string', 'example' => 'access denied'],
+ ],
],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'example' => '我知道了',
+ 'RouteStrategyInfo' => [
+ 'description' => '路由策略名称。',
+ 'type' => 'object',
+ 'properties' => [
+ 'StrategyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'av-rtd-091c2d6e3f24aae4'],
+ 'StrategyName' => ['description' => '策略名称。', 'type' => 'string', 'example' => '1'],
+ 'RouteType' => ['description' => '策略类型。', 'type' => 'string', 'example' => 'connector'],
+ ],
],
],
],
- 'BlockTextEn' => [
- 'description' => '英文内容。',
+ 'NetworkLinkInfo' => [
+ 'description' => '网络连接信息。',
'type' => 'object',
'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'example' => 'Anti-Uninstall Warning',
- ],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!',
+ 'Nodes' => [
+ 'description' => '转发节点。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '节点ID。', 'type' => 'integer', 'format' => 'int64', 'example' => '1237'],
+ 'NodeType' => ['description' => '节点类型。', 'type' => 'string', 'example' => 'stunnel'],
+ 'Address' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '172.27.228.132'],
+ 'CloudNetId' => ['description' => '云上网络实例ID。', 'type' => 'string', 'example' => 'vpc-xxxxxx'],
+ 'GeoData' => [
+ 'description' => '地理位置信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Country' => ['description' => '国家。', 'type' => 'string', 'example' => 'CN'],
+ 'Prov' => ['description' => '省份。', 'type' => 'string', 'example' => 'Zhejiang'],
+ 'City' => ['description' => '城市。', 'type' => 'string', 'example' => 'Hangzhou'],
+ 'Isp' => ['description' => '运营商。', 'type' => 'string', 'example' => 'ChinaTelecom_L2'],
+ ],
+ ],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'Error' => ['description' => '错误信息。', 'type' => 'string', 'example' => '1'],
+ 'Name' => ['description' => '节点名称。', 'type' => 'string', 'example' => '全局加速'],
+ 'NameEn' => ['description' => '节点名称(英文)。', 'type' => 'string', 'example' => 'Japan Private POP'],
+ 'ResourceId' => ['description' => '资源ID。', 'type' => 'string', 'example' => 'pop-xxxxxx'],
+ ],
+ 'description' => '',
+ ],
],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'example' => 'Report',
+ 'Links' => [
+ 'description' => '节点间连接。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'FromNode' => ['description' => '起始节点。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'ToNode' => ['description' => '结束节点。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'Hops' => [
+ 'description' => '中间hop。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Address' => ['description' => '地址。', 'type' => 'string', 'example' => '**********************'],
+ 'TTL' => ['description' => 'TTL。', 'type' => 'string', 'example' => '10'],
+ 'Latency' => ['description' => '延迟。', 'type' => 'string', 'example' => '10'],
+ 'GeoData' => [
+ 'description' => '地理位置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Country' => ['description' => '国家。', 'type' => 'string', 'example' => 'CN'],
+ 'Prov' => ['description' => '省份。', 'type' => 'string', 'example' => 'ZHejiang'],
+ 'City' => ['description' => '城市。', 'type' => 'string', 'example' => 'Haikou City'],
+ 'Isp' => ['description' => '运营商。', 'type' => 'string', 'example' => 'ChinaMobile_L2'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'Latency' => ['description' => '延迟', 'type' => 'string', 'example' => '10'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'Error' => ['description' => '错误信息。', 'type' => 'string', 'example' => '0'],
+ ],
+ 'description' => '',
+ ],
],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'example' => 'Ignore',
+ 'Dns' => [
+ 'description' => 'DNS信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'FromNode' => ['description' => '起始节点。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'ToNode' => ['description' => '结束节点。', 'type' => 'integer', 'format' => 'int64', 'example' => '3'],
+ 'Hops' => [
+ 'description' => '中间Hop。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'hop数组',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Address' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '*******************************************'],
+ 'TTL' => ['description' => 'TTL。', 'type' => 'string', 'example' => '10'],
+ 'Latency' => ['description' => '延迟。', 'type' => 'string', 'example' => '10'],
+ 'GeoData' => [
+ 'description' => '地理位置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Country' => ['description' => '国家。', 'type' => 'string', 'example' => 'CN'],
+ 'Prov' => ['description' => '省份。', 'type' => 'string', 'example' => 'Zhejiang'],
+ 'City' => ['description' => '城市。', 'type' => 'string', 'example' => 'hangzhou'],
+ 'Isp' => ['description' => '运营商。', 'type' => 'string', 'example' => 'telecom'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'Latency' => ['description' => '延迟', 'type' => 'string', 'example' => '10'],
+ 'Success' => ['description' => '是否成功。', 'type' => 'boolean', 'example' => 'True'],
+ 'Error' => ['description' => '错误信息。', 'type' => 'string', 'example' => '0'],
+ 'DnsType' => ['description' => 'DNS类型。', 'type' => 'string', 'example' => 'private-zone'],
+ 'DnsServer' => ['description' => 'DNS服务器。', 'type' => 'string', 'example' => '100.100.2.136,100.100.2.138'],
+ 'Result' => ['description' => 'DNS结果。', 'type' => 'string', 'example' => '10.0.0.1'],
+ ],
],
+ 'FBT' => ['description' => '首字节时间。', 'type' => 'string', 'example' => '300'],
],
],
],
],
- 'ReportProcessId' => [
- 'description' => '策略关联审批流程ID。',
- 'type' => 'string',
- 'example' => 'approval-process-65c255598826****',
- ],
+ 'CreateTime' => ['description' => '任务创建时间。', 'type' => 'string', 'example' => '2023-08-17 09:49:03'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询内网诊断任务',
+ 'summary' => '查询内网访问诊断任务详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-65c255598826****\\"\\n }\\n}","type":"json"}]',
- 'title' => '更新自启动&防卸载策略',
- ],
- 'UpdateUninstallApplicationsStatus' => [
- 'summary' => '批量更新当前阿里云账号下卸载申请状态。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPADiagnosisTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\",\\n \\"DiagnosisTask\\": {\\n \\"DiagnoseType\\": \\"FullLink\\",\\n \\"UserGroup\\": {\\n \\"UserGroupId\\": \\"ug-xxxxx\\",\\n \\"UserGroupName\\": \\"IT\\"\\n },\\n \\"DevTag\\": \\"76C08B0F-CEFD-8F01-C1D3-0D5B493B5EAF\\",\\n \\"Username\\": \\"zhangsan\\",\\n \\"Protocol\\": \\"All\\",\\n \\"Host\\": \\"mtools-admin.redotpay.com\\",\\n \\"Port\\": \\"80\\",\\n \\"PopMode\\": \\"AutoSelect\\",\\n \\"PopId\\": \\"pop-2504cd067e094750\\",\\n \\"UdpExtraConfigs\\": {\\n \\"RequestContent\\": \\"hello\\",\\n \\"ExpectedResponse\\": \\"hello\\"\\n },\\n \\"DiagnoseId\\": \\"diag-3e0d36d6c15a0502\\",\\n \\"Status\\": \\"Running\\",\\n \\"Result\\": {\\n \\"Success\\": true,\\n \\"ErrorMessage\\": \\"device offline\\",\\n \\"FlowId\\": \\"flow-d918b12f9b974f6489fc\\",\\n \\"PolicyInfo\\": {\\n \\"ProcessTime\\": 1000,\\n \\"UserGroupInfo\\": {\\n \\"Email\\": \\"1234@xxxx.com\\",\\n \\"Telephone\\": \\"123456789\\",\\n \\"Username\\": \\"zhangsan\\",\\n \\"Group\\": [\\n \\"IT\\"\\n ],\\n \\"MatchedUserGroups\\": \\"IT\\"\\n },\\n \\"DeviceAttributeInfo\\": {\\n \\"DevTag\\": \\"E9EE1CE7-4AA0-521D-B8E1-E13E47F05E94\\",\\n \\"DeviceType\\": \\"macos\\",\\n \\"Ssid\\": \\"abcd\\",\\n \\"Process\\": [\\n \\"msedge.exe\\"\\n ],\\n \\"File\\": [\\n \\"[{\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"windows\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"macos\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Path\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Name\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"\\\\\\\\\\\\\\"}]\\"\\n ],\\n \\"Firewall\\": \\"[{\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"windows\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"disabled\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"macos\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"disabled\\\\\\\\\\\\\\"},{\\\\\\\\\\\\\\"Platform\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"linux\\\\\\\\\\\\\\",\\\\\\\\\\\\\\"Status\\\\\\\\\\\\\\":\\\\\\\\\\\\\\"disabled\\\\\\\\\\\\\\"}]\\",\\n \\"InnerIp\\": \\"10.5.208.122\\",\\n \\"InternetIp\\": \\"47.98.146.136\\",\\n \\"Mac\\": \\"`curl Rj0F9uvI.popscan.xaliyun.com`\\",\\n \\"Hostname\\": \\"DESKTOP-CVTB5KT.CXISHD01.CATHAY_INS.CHN\\",\\n \\"MatchedSecurityBaseline\\": \\"Test\\"\\n },\\n \\"ZeroTrustPolicyInfo\\": {\\n \\"AppName\\": \\"MyApp2\\",\\n \\"PolicyName\\": \\"保密测试\\",\\n \\"Action\\": \\"block\\",\\n \\"BlockInfo\\": \\"access denied\\"\\n },\\n \\"RouteStrategyInfo\\": {\\n \\"StrategyId\\": \\"av-rtd-091c2d6e3f24aae4\\",\\n \\"StrategyName\\": \\"1\\",\\n \\"RouteType\\": \\"connector\\"\\n }\\n },\\n \\"NetworkLinkInfo\\": {\\n \\"Nodes\\": [\\n {\\n \\"Id\\": 1237,\\n \\"NodeType\\": \\"stunnel\\",\\n \\"Address\\": \\"172.27.228.132\\",\\n \\"CloudNetId\\": \\"vpc-xxxxxx\\",\\n \\"GeoData\\": {\\n \\"Country\\": \\"CN\\",\\n \\"Prov\\": \\"Zhejiang\\",\\n \\"City\\": \\"Hangzhou\\",\\n \\"Isp\\": \\"ChinaTelecom_L2\\"\\n },\\n \\"Success\\": true,\\n \\"Error\\": \\"1\\",\\n \\"Name\\": \\"全局加速\\",\\n \\"NameEn\\": \\"Japan Private POP\\",\\n \\"ResourceId\\": \\"pop-xxxxxx\\"\\n }\\n ],\\n \\"Links\\": [\\n {\\n \\"FromNode\\": 1,\\n \\"ToNode\\": 2,\\n \\"Hops\\": [\\n {\\n \\"Address\\": \\"**********************\\",\\n \\"TTL\\": \\"10\\",\\n \\"Latency\\": \\"10\\",\\n \\"GeoData\\": {\\n \\"Country\\": \\"CN\\",\\n \\"Prov\\": \\"ZHejiang\\",\\n \\"City\\": \\"Haikou City\\",\\n \\"Isp\\": \\"ChinaMobile_L2\\"\\n }\\n }\\n ],\\n \\"Latency\\": \\"10\\",\\n \\"Success\\": true,\\n \\"Error\\": \\"0\\"\\n }\\n ],\\n \\"Dns\\": {\\n \\"FromNode\\": 2,\\n \\"ToNode\\": 3,\\n \\"Hops\\": [\\n [\\n {\\n \\"Address\\": \\"*******************************************\\",\\n \\"TTL\\": \\"10\\",\\n \\"Latency\\": \\"10\\",\\n \\"GeoData\\": {\\n \\"Country\\": \\"CN\\",\\n \\"Prov\\": \\"Zhejiang\\",\\n \\"City\\": \\"hangzhou\\",\\n \\"Isp\\": \\"telecom\\"\\n }\\n }\\n ]\\n ],\\n \\"Latency\\": \\"10\\",\\n \\"Success\\": true,\\n \\"Error\\": \\"0\\",\\n \\"DnsType\\": \\"private-zone\\",\\n \\"DnsServer\\": \\"100.100.2.136,100.100.2.138\\",\\n \\"Result\\": \\"10.0.0.1\\"\\n },\\n \\"FBT\\": \\"300\\"\\n }\\n },\\n \\"CreateTime\\": \\"2023-08-17 09:49:03\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPrivateAccessApplication' => [
+ 'summary' => '查询当前阿里云账号下内网访问应用详情。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215484',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '163601',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'ApplicationIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '卸载申请ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '卸载申请ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'uninstall-app-6646831ac314****',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '卸载申请状态。取值:'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Approved',
- ],
+ 'name' => 'ApplicationId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-e12860ef6c48****'],
],
],
'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' => '9B769522-D50C-5978-8981-52BE800D6099',
- ],
- 'Applications' => [
- 'description' => '卸载申请列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '卸载申请。',
- 'type' => 'object',
- 'properties' => [
- 'DevTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DevType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'example' => 'Windows',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Reason' => [
- 'description' => '申请原因。',
- 'type' => 'string',
- 'example' => '这是一个测试',
- ],
- 'Status' => [
- 'description' => '卸载申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'example' => 'Approved',
- ],
- 'ApplicationId' => [
- 'description' => '卸载申请ID。',
- 'type' => 'string',
- 'example' => 'uninstall-app-6646831ac314****',
- ],
- 'IsUninstall' => [
- 'description' => '是否已执行卸载。',
- 'type' => 'boolean',
- 'example' => 'false',
- ],
- 'IdpName' => [
- 'description' => '用户身份源名称。',
- 'type' => 'string',
- 'example' => '测试身份源',
- ],
- 'CreateTime' => [
- 'description' => '卸载申请创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4'],
+ 'Application' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
+ 'Name' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'private_access_application_name'],
+ 'Description' => ['description' => '内网访问应用描述。', 'type' => 'string', 'example' => '这是一条内网访问应用'],
+ 'Addresses' => [
+ 'description' => '内网访问应用地址集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '192.168.0.0/16'],
+ ],
+ 'PortRanges' => [
+ 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'],
+ ],
],
],
+ 'Protocol' => [
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**。'."\n"
+ .'- **UDP**。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['All' => 'All', 'TCP' => 'TCP', 'UDP' => 'UDP'],
+ 'example' => 'All',
+ ],
+ 'Status' => [
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问应用创建时间。', 'type' => 'string', 'example' => '2022-08-30 16:50:32'],
+ 'TagIds' => [
+ 'description' => '内网访问标签ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ 'PolicyIds' => [
+ 'description' => '内网访问策略ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-54a7838a48bf****'],
+ ],
+ 'ConnectorIds' => [
+ 'description' => 'ConnectorID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => 'ConnectorID。', 'type' => 'string', 'example' => 'connector-94db94e06b98****'],
+ ],
+ 'BrowserAccessStatus' => ['description' => '浏览器访问模式。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'L7ProxyDomainAutomatic' => ['description' => '浏览器访问模式参数:映射代理域名。', 'type' => 'string', 'example' => 'app.example.com'],
+ 'L7ProxyDomainCustom' => ['description' => '浏览器访问模式参数:自定义代理域名。', 'type' => 'string', 'example' => 'app.example.com'],
+ 'L7Config' => ['description' => '浏览器访问模式参数:应用配置。', '$ref' => '#/components/schemas/PAL7Config'],
+ 'AutoGenerated' => ['description' => '是否云应用自动生成。', 'type' => 'integer', 'format' => 'int32', 'example' => 'false'],
+ 'ConfigMode' => ['title' => '配置模式,枚举值:'."\n"
+ .'* 空字符串:默认模式。'."\n"
+ .'* Precise:精细模式。', 'description' => '配置模式,枚举值:'."\n"
+ .'* 空字符串:默认模式。'."\n"
+ .'* Precise:精细模式。', 'type' => 'string', 'example' => 'Precise'],
+ 'AddressGroups' => [
+ 'title' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
+ 'description' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
+ 'type' => 'array',
+ 'items' => ['description' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。', '$ref' => '#/components/schemas/AddressGroup'],
+ ],
+ 'UnauthorizedAccessConfig' => ['title' => '未授权应用访问申请配置', 'description' => '未授权应用访问申请配置', '$ref' => '#/components/schemas/PAApplicationUnauthorizedAccessConfig'],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'Application.NotFound', 'errorMessage' => 'The application is not found.', 'description' => '指定的应用不存在。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B769522-D50C-5978-8981-52BE800D6099\\",\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"IdpName\\": \\"测试身份源\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量更新卸载申请状态',
- ],
- 'GetBootAndAntiUninstallPolicy' => [
- 'summary' => '查询当前阿里云账号下自启动与防卸载策略详情。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询内网访问应用详情',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-04T12:10:27.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-02-21T13:15:27.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-09-11T06:42:34.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2023-08-30T11:31:04.000Z', 'description' => '响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrivateAccessApplication'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4\\",\\n \\"Application\\": {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-08-30 16:50:32\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app.example.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app.example.com\\",\\n \\"L7Config\\": {\\n \\"RequestQueryRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add\\",\\n \\"OldValue\\": \\"old_value\\",\\n \\"Value\\": \\"new_value\\",\\n \\"Key\\": \\"X-Test-Param\\",\\n \\"ValueVariable\\": \\"sase_app_name\\"\\n }\\n ]\\n },\\n \\"JsHookConfig\\": {\\n \\"Mode\\": \\"disabled\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"before\\",\\n \\"To\\": \\"after\\"\\n }\\n ]\\n },\\n \\"BypassConfig\\": {\\n \\"AppBypassFroms\\": [\\n \\"10.x.x.1/24\\\\n\\"\\n ],\\n \\"Mode\\": \\"disabled\\",\\n \\"UrlBypassRules\\": [\\n {\\n \\"Paths\\": [\\n \\"/api/xxx\\"\\n ],\\n \\"Froms\\": [\\n \\"10.x.x.1/24\\\\n\\"\\n ]\\n }\\n ]\\n },\\n \\"CertId\\": \\"cert-xxxx\\",\\n \\"ResponseHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add\\",\\n \\"OldValue\\": \\"old_value\\",\\n \\"Value\\": \\"new_value\\",\\n \\"Key\\": \\"X-Test-Param\\",\\n \\"ValueVariable\\": \\"sase_app_name\\"\\n }\\n ]\\n },\\n \\"ResponseRewriteConfig\\": {\\n \\"Mode\\": \\"auto\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"before\\",\\n \\"To\\": \\"after\\"\\n }\\n ]\\n },\\n \\"RequestHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add\\",\\n \\"OldValue\\": \\"old_value\\",\\n \\"Value\\": \\"new_value\\",\\n \\"Key\\": \\"X-Test-Param\\",\\n \\"ValueVariable\\": \\"sase_app_name\\"\\n }\\n ]\\n },\\n \\"DnsConfig\\": {\\n \\"DnsServers\\": [\\n \\"10.x.x.1\\"\\n ]\\n },\\n \\"ProxyDomainTypes\\": \\"automatic\\"\\n },\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"Precise\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"mmtcafts.alipay.com\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 123,\\n \\"End\\": 1234\\n }\\n ]\\n }\\n ],\\n \\"UnauthorizedAccessConfig\\": {\\n \\"Enabled\\": true,\\n \\"AllowReport\\": true,\\n \\"ReportProcessId\\": \\"approval-process-0ee84ac4f9c31bc5\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"BrowserAlertTitle\\": \\"无权限访问\\",\\n \\"BrowserAlertContent\\": \\"您暂无权限访问该系统。如有工作需要,请提交权限申请。\\",\\n \\"ReportButtonText\\": \\"前往报备\\",\\n \\"BrowserAlertStyle\\": \\"https://img.alicdn.com/xxx.png\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"BrowserAlertTitle\\": \\"No Permission Access\\",\\n \\"BrowserAlertContent\\": \\"You do not have permission to access this system. If you need to do so, please submit a permission request.\\",\\n \\"ReportButtonText\\": \\"Report\\",\\n \\"BrowserAlertStyle\\": \\"https://img.alicdn.com/xxx.png\\\\n\\"\\n }\\n }\\n }\\n }\\n}","type":"json"}]',
+ ],
+ 'GetPrivateAccessPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '218008',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'abilityTreeCode' => '163586',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => true, 'example' => 'pa-policy-63b2f1844b86****'],
],
- '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' => 'CB67D866-1E54-5106-89DF-6D70C73E5989',
- ],
- 'Strategy' => [
- 'description' => '自启动&防卸载策略。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
+ 'Policy' => [
+ 'description' => '内网访问策略。',
'type' => 'object',
'properties' => [
- 'CreateTime' => [
- 'description' => '策略创建时间。',
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-63b2f1844b86****'],
+ 'Name' => ['description' => '内网访问策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'],
+ 'Description' => ['description' => '内网访问策略描述。', 'type' => 'string', 'example' => '这是一条内网访问策略'],
+ 'PolicyAction' => [
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
'type' => 'string',
- 'example' => '2023-04-16 10:50:05',
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
],
- 'UpdateTime' => [
- 'description' => '策略更新时间。',
+ 'Priority' => ['description' => '内网访问策略优先级。数字1表示优先级最高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Status' => [
+ 'description' => '内网访问策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'example' => '2024-06-14 10:17:14',
- ],
- 'IsBoot' => [
- 'description' => '是否开启自启动功能。',
- 'type' => 'boolean',
- 'example' => 'true',
- ],
- 'IsAntiUninstall' => [
- 'description' => '是否开启防卸载功能。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'AllowReport' => [
- 'description' => '是否允许终端用户提交审批。',
- 'type' => 'boolean',
- 'example' => 'true',
+ 'CreateTime' => ['description' => '内网访问策略创建时间。', 'type' => 'string', 'example' => '2021-07-29 11:26:02'],
+ 'UserGroupMode' => [
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义用户组', 'Normal' => '普通用户组'],
+ 'example' => 'Normal',
],
- 'WhitelistUsers' => [
- 'description' => '白名单用户列表。',
+ 'UserGroupIds' => [
+ 'description' => '内网访问策略,用户组ID集合。当用户组类型为Normal时,该字段有值。',
'type' => 'array',
- 'items' => [
- 'description' => '白名单用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
+ 'items' => ['description' => '内网访问策略,用户组类型为Normal的用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
],
- 'UserGroupIds' => [
- 'description' => '策略生效用户组ID列表。',
+ 'CustomUserAttributes' => [
+ 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
- 'description' => '策略生效用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- ],
- 'PolicyId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****',
- ],
- 'BlockContent' => [
- 'description' => '客户端拦截弹窗展示内容。',
- 'type' => 'object',
- 'properties' => [
- 'BlockTextZh' => [
- 'description' => '中文内容。',
- 'type' => 'object',
- 'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'example' => '防卸载警告',
- ],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!',
- ],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'example' => '去报备',
- ],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'example' => '我知道了',
- ],
+ 'description' => '自定义用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '自定义用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
],
- ],
- 'BlockTextEn' => [
- 'description' => '英文内容。',
- 'type' => 'object',
- 'properties' => [
- 'Title' => [
- 'description' => '弹窗标题。',
- 'type' => 'string',
- 'example' => 'Anti-Uninstall Warning',
- ],
- 'Content' => [
- 'description' => '弹窗内容。',
- 'type' => 'string',
- 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!',
- ],
- 'MainButtonText' => [
- 'description' => '弹窗主按钮文案。',
- 'type' => 'string',
- 'example' => 'Report',
- ],
- 'MinorButtonText' => [
- 'description' => '弹窗副按钮文案。',
- 'type' => 'string',
- 'example' => 'Ignore',
- ],
+ 'Relation' => [
+ 'description' => '自定义用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
],
+ 'Value' => ['description' => '自定义用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
- 'ReportProcessId' => [
- 'description' => '策略关联审批流程ID。',
+ 'ApplicationType' => [
+ 'description' => '内网访问策略的应用类型。取值:'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
+ ],
+ 'ApplicationIds' => [
+ 'description' => '内网访问策略的应用ID集合。当应用类型为Application时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'."\n"],
+ ],
+ 'TagIds' => [
+ 'description' => '内网访问策略的标签ID集合。当应用类型为Tag时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'."\n"],
+ ],
+ 'DeviceAttributeId' => ['description' => '安全基线策略的ID。', 'type' => 'string', 'example' => 'dag-d3f64e8bdd4a****'],
+ 'DeviceAttributeAction' => [
+ 'description' => '不满足安全基线的执行策略。取值:'."\n"
+ ."\n"
+ .'- **Block**:拦截。'."\n"
+ .'- **Observe**:观察。',
'type' => 'string',
- 'example' => 'approval-process-300abfb970cc****',
+ 'enumValueTitles' => ['Observe' => 'Observe', 'Block' => 'Block'],
+ 'example' => 'Block',
+ ],
+ 'TriggerTemplateId' => ['description' => '触发模板ID', 'type' => 'string', 'example' => 'dag-d3f64e8bdd4a****'],
+ 'TrustedProcessStatus' => ['description' => '可信进程开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'TrustedProcessGroupIds' => [
+ 'description' => '可信进程组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信进程组ID。', 'type' => 'string', 'example' => 'pg-xxxxxxxx'],
],
+ 'TrustedSoftwareIds' => [
+ 'description' => '可信软件ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信软件ID。', 'type' => 'string', 'example' => 'swb-xxxxxxxxx'],
+ ],
+ 'ValidFrom' => ['description' => '零信任策略的生效起始时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ValidUntil' => ['description' => '零信任策略的生效截止时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1764727544'],
+ 'ValidTimeStatus' => ['description' => '生效时间开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询内网访问策略详情',
+ 'summary' => '获取当前阿里云账号下指定内网访问策略的详情信息。',
+ 'changeSet' => [
+ ['createdAt' => '2025-12-03T01:53:26.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-13T12:14:51.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-01-22T05:25:44.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-06-18T13:37:23.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-01-25T11:44:46.000Z', 'description' => '响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-300abfb970cc****\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询自启动&防卸载策略详情',
- ],
- 'ListNacUserCert' => [
- 'summary' => '入网用户列表。',
- 'methods' => [
- 'post',
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrivateAccessPolicy'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Policy\\": {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2021-07-29 11:26:02\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\\\n\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetRegistrationPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '209040',
- 'abilityTreeNodes' => [
- 'FEATUREcsasFARMOF',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '开始时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1702260834',
- ],
- ],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1702770400',
- ],
- ],
- [
- 'name' => 'Username',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'zhang**',
- ],
- ],
- [
- 'name' => 'Department',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
- ],
- [
- 'name' => 'DeviceType',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **windows**:Windows系统。'."\n"
- .'- **macos**:macOS系统。'."\n"
- .'- **linux**:Linux系统。'."\n"
- .'- **android**:Android系统。'."\n"
- .'- **ios**:iOS系统。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'linux' => 'linux',
- 'android' => 'android',
- 'windows' => 'windows',
- 'ios' => 'ios',
- 'macos' => 'macos',
- ],
- 'example' => 'windows',
- ],
- ],
- [
- 'name' => 'Status',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => '证书状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => 'Enabled',
- 'Disabled' => 'Disabled',
- ],
- 'example' => 'Enabled',
- ],
+ 'schema' => ['description' => '设备注册策略ID。取值来源:'."\n"
+ .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
+ .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
+ .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
+ .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。', 'type' => 'string', 'required' => true, 'example' => 'reg-policy-dcbfd33cb004****'],
],
],
'responses' => [
200 => [
'schema' => [
- 'description' => 'Schema of Response。',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Code' => [
- 'description' => '接口状态或POP错误码。取值说明如下:'."\n"
- .'- **2xx**:成功。 '."\n"
- .'- **3xx**:重定向。 '."\n"
- .'- **4xx**:请求错误。 '."\n"
- .'- **5xx**:服务器错误。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'enumValueTitles' => [
- '2xx' => '2xx',
- '3xx' => '3xx',
- '4xx' => '4xx',
- '5xx' => '5xx',
- ],
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '附加信息。',
- 'type' => 'string',
- 'example' => 'successful',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '47363C2B-1AAA-5954-8847-0E50FCC54117'],
+ 'Name' => ['description' => '设备注册策略名称。', 'type' => 'string', 'example' => 'registration_policy_name'],
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-dcbfd33cb004****'],
+ 'Description' => ['description' => '设备注册策略描述。', 'type' => 'string', 'example' => '这是一条设备注册策略。'],
+ 'Priority' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'integer', 'format' => 'int64', 'example' => '99'],
+ 'Whitelist' => [
+ 'description' => '设备注册策略白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。', 'type' => 'string', 'example' => '王先生'],
],
- 'TotalNum' => [
- 'description' => '符合条件的总个数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'Status' => ['description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'MatchMode' => ['description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。', 'type' => 'string', 'example' => 'UserGroupAll'],
+ 'UserGroupIds' => [
+ 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
],
- 'DataList' => [
- 'description' => '用户入网证书状态数据列表。',
+ 'CreateTime' => ['description' => '设备注册策略创建时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'LimitDetail' => [
+ 'description' => '设备注册策略限制详情列表。',
'type' => 'array',
'items' => [
- 'description' => '用户入网证书状态。',
+ 'description' => '设备注册策略限制详情列表。',
'type' => 'object',
'properties' => [
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => 'zhang**',
- ],
- 'Aliuid' => [
- 'description' => '阿里云账号ID。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'ExpiredTime' => [
- 'description' => '到期时间。',
- 'type' => 'string',
- 'example' => '2029-06-30 09:31:54',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
+ 'DeviceBelong' => [
+ 'description' => '设备归属。取值:'."\n"
+ .'- **Company**:公司设备。'."\n"
+ .'- **Personal**:个人设备。',
'type' => 'string',
- 'example' => '外包',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Personal',
],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **windows**:Windows系统。'."\n"
- .'- **macos**:macOS系统。'."\n"
- .'- **linux**:Linux系统。'."\n"
- .'- **android**:Android系统。'."\n"
- .'- **ios**:iOS系统。',
+ 'LimitType' => [
+ 'description' => '设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
- 'enumValueTitles' => [
- 'linux' => 'linux',
- 'android' => 'android',
- 'windows' => 'windows',
- 'ios' => 'ios',
- 'macos' => 'macos',
- ],
- 'example' => 'windows',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitDiff',
],
- 'Status' => [
- 'description' => '入网用户证书状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => 'Enabled',
- 'Disabled' => 'Disabled',
+ 'LimitCount' => [
+ 'description' => '设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'PC' => ['description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
+ 'Mobile' => ['description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '2'],
],
- 'example' => 'Disabled',
- ],
- 'UserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'DevTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
- 'type' => 'string',
- 'example' => 'MS-XU****',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '08:f8:**:**:**:5e',
],
],
],
@@ -8595,78 +7280,56 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Username\\": \\"zhang**\\",\\n \\"Aliuid\\": \\"1\\",\\n \\"ExpiredTime\\": \\"2029-06-30 09:31:54\\",\\n \\"Department\\": \\"外包\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"Hostname\\": \\"MS-XU****\\",\\n \\"Mac\\": \\"08:f8:**:**:**:5e\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户入网证书状态',
- ],
- 'UpdateNacUserCertStatus' => [
- 'summary' => '批量修改当前阿里云账号下用户入网证书状态。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询设备注册策略详情',
+ 'summary' => '查询当前阿里云账号下设备注册策略详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistrationPolicy'],
+ ],
],
- 'schemes' => [
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\",\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 99,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupAll\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Personal\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 2\\n }\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'GetUserDevice' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'none',
- 'abilityTreeCode' => '208782',
- 'abilityTreeNodes' => [
- 'FEATUREcsasFARMOF',
- ],
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '192474',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'IdList',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '终端设备用户ID和设备ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备用户ID和设备ID。取值:[ListNacUserCert](~~ListNacUserCert~~):批量查询用户终端设备入网证书状态。',
- 'type' => 'object',
- 'properties' => [
- 'UserId' => [
- 'description' => '终端设备用户ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'DevTag' => [
- 'description' => '终端设备设备ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '终端用户设备证书状态。取值:'."\n"
- .'- **Enabled**:启用。'."\n"
- .'- **Disabled**:禁用。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => 'Enabled',
- 'Disabled' => 'Disabled',
- ],
- 'example' => 'Enabled',
- ],
+ 'name' => 'DeviceTag',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => true, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
],
],
'responses' => [
@@ -8676,374 +7339,430 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'Code' => [
- 'description' => '接口状态或POP错误码。取值说明如下:'."\n"
- .'- **2xx**:成功。'."\n"
- .'- **3xx**:重定向。'."\n"
- .'- **4xx**:请求错误。'."\n"
- .'- **5xx**:服务器错误。',
- 'type' => 'string',
- 'enumValueTitles' => [
- '2xx' => '2xx',
- '3xx' => '3xx',
- '4xx' => '4xx',
- '5xx' => '5xx',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649'],
+ 'Device' => [
+ 'description' => '终端设备。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
+ ],
+ 'DeviceModel' => ['description' => '终端设备型号。', 'type' => 'string', 'example' => 'MacBookPro17,1'],
+ 'DeviceVersion' => ['description' => '终端设备操作系统版本。', 'type' => 'string', 'example' => '3.5.1'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'InnerIP' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'example' => '172.16.XX.XX'],
+ 'SrcIP' => ['description' => '终端设备登录IP地址。', 'type' => 'string', 'example' => '106.14.XX.XX'],
+ 'Memory' => ['description' => '终端设备内存容量。单位:GB。', 'type' => 'string', 'example' => '16'],
+ 'CPU' => ['description' => '终端设备CPU型号。', 'type' => 'string', 'example' => 'Apple M1'],
+ 'Disk' => ['description' => '终端设备磁盘型号。', 'type' => 'string', 'example' => 'APPLE SSD AP0512Q Media'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '48:9e:XX:XX:02:80'],
+ 'AppVersion' => ['description' => '客户端版本。', 'type' => 'string', 'example' => '2.2.0'],
+ 'DeviceBelong' => [
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
+ ],
+ 'SharingStatus' => [
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
+ ],
+ 'DeviceStatus' => [
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
+ ],
+ 'AppStatus' => [
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
+ ],
+ 'PaStatus' => [
+ 'description' => '内网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '在线', 'Disabled' => '离线', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'IaStatus' => [
+ 'description' => '互联网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Disabled',
+ ],
+ 'DlpStatus' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Unauthorized',
+ ],
+ 'NacStatus' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Unprovisioned',
+ ],
+ 'CreateTime' => ['description' => '终端设备注册时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'UpdateTime' => ['description' => '终端设备最后在线时间。', 'type' => 'string', 'example' => '2023-08-24 19:04:42'],
+ 'HistoryUsers' => [
+ 'description' => '终端设备历史用户集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备历史用户。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '张女士'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ ],
+ ],
+ ],
+ 'EdrStatus' => [
+ 'description' => '反入侵状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Disabled',
+ ],
+ 'AutoLoginStatus' => ['description' => '设备免登状态。取值:'."\n"
+ ."\n"
+ .'- 生效中:Enabled。'."\n"
+ ."\n"
+ .'- 未生效:Disabled。'."\n"
+ ."\n"
+ .'- 未启用:Unprovisioned。', 'type' => 'string', 'example' => 'Enabled'],
+ 'NetInterfaceInfo' => [
+ 'description' => '终端网卡列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端网卡列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '网卡名称。', 'type' => 'string', 'example' => 'eth0'],
+ 'Mac' => ['description' => '网卡MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ ],
+ ],
+ ],
+ 'Workshop' => ['description' => '办公区名称。', 'type' => 'string', 'example' => '测试办公区'],
+ 'MatchDeviceGroupIds' => [
+ 'description' => '匹配设备组ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备组ID。', 'type' => 'string', 'example' => 'device-group-5191cf830a5e****'],
+ ],
+ 'SnSystem' => ['description' => '系统sn码。', 'type' => 'string', 'example' => 'KVN9C9****'],
+ 'SnDiskDrive' => ['description' => '硬盘sn码。', 'type' => 'string', 'example' => 'WD-WXR1A99A****'],
+ 'SnBaseBoard' => ['description' => '主板sn码。', 'type' => 'string', 'example' => 'PJGGU00WBD****'],
+ 'SnProcessor' => ['description' => '处理器sn码。', 'type' => 'string', 'example' => 'BFEBFBFF0008****'],
+ 'SnBios' => ['description' => 'bios系统sn码。', 'type' => 'string', 'example' => '5CG003****'],
+ 'BatteryHealthPercentage' => ['description' => '电池健康度。', 'type' => 'integer', 'format' => 'int32', 'example' => '100'],
+ 'BatteryRemainingPercentage' => ['description' => '电池剩余电量百分比。', 'type' => 'integer', 'format' => 'int32', 'example' => '90'],
+ 'DiskAvailable' => ['description' => '可用磁盘空间,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '200'],
+ 'DiskUsed' => ['description' => '已使用磁盘空间,单位GB。', 'type' => 'integer', 'format' => 'int32', 'example' => '103'],
+ 'Processes' => [
+ 'description' => '终端运行进程列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端运行进程详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '进程名称。', 'type' => 'string', 'example' => 'chrome.exe'],
+ 'Description' => ['description' => '进程运行描述。', 'type' => 'string', 'example' => 'C:\\Program Files\\Google\\Chrome\\Application\\chrome.exe'],
+ 'Cpu' => ['description' => '进程占用CPU百分比。', 'type' => 'number', 'format' => 'double', 'example' => '0.05'],
+ 'Memory' => ['description' => '进程占用内存,单位MB', 'type' => 'integer', 'format' => 'int32', 'example' => '233'],
+ ],
+ ],
+ ],
+ 'TerminalInfoCollectTime' => ['description' => '终端进程信息采集时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1775096714'],
+ 'JoinAdDomain' => ['description' => '终端是否加入AD域。', 'type' => 'boolean', 'example' => 'true'],
+ 'Continent' => ['description' => '公网IP所属大洲。', 'type' => 'string', 'example' => 'Asia'],
+ 'Country' => ['description' => '公网IP所属国家。', 'type' => 'string', 'example' => 'China'],
+ 'Province' => ['description' => '公网IP所属省份。', 'type' => 'string', 'example' => 'Zhejiang'],
+ 'City' => ['description' => '公网IP所属城市。', 'type' => 'string', 'example' => 'Hangzhou City'],
+ 'ContinentEn' => ['title' => '大洲(英文)', 'description' => '大洲(英文)', 'type' => 'string', 'example' => 'Asia'],
+ 'CountryEn' => ['title' => '国家(英文)', 'description' => '国家(英文)', 'type' => 'string', 'example' => 'China'],
+ 'ProvinceEn' => ['title' => '省份(英文)', 'description' => '省份(英文)', 'type' => 'string', 'example' => 'Beijing'],
+ 'CityEn' => ['title' => '城市(英文)', 'description' => '城市(英文)', 'type' => 'string', 'example' => 'Beijing City'],
+ 'ContinentZh' => ['title' => '大洲(中文)', 'description' => '大洲(中文)', 'type' => 'string', 'example' => '亚洲'],
+ 'CountryZh' => ['title' => '国家(中文)', 'description' => '国家(中文)', 'type' => 'string', 'example' => '中国'],
+ 'ProvinceZh' => ['title' => '省份(中文)', 'description' => '省份(中文)', 'type' => 'string', 'example' => '北京市'],
+ 'CityZh' => ['title' => '城市(中文)', 'description' => '城市(中文)', 'type' => 'string', 'example' => '北京市'],
],
- 'example' => '200',
- ],
- 'Message' => [
- 'description' => '调用结果的附加信息。',
- 'type' => 'string',
- 'example' => 'successful',
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询用户终端设备详情',
+ 'summary' => '查询当前阿里云账号下用户终端设备详情。',
+ 'description' => '单次最多删除100台设备。每台设备的设备状态必须是离线或长期离线状态,若传入的终端设备ID集合中部分设备状态不符,则仅删除状态符合的设备,接口仍返回成功。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-12T14:04:48.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-07-18T07:02:22.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-01T10:36:54.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-04-22T09:14:50.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-01-16T05:54:12.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-12-18T02:19:11.000Z', 'description' => '响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
- 'title' => '批量修改用户入网证书状态',
- ],
- 'ListIdpConfigs' => [
- 'summary' => '查询当前阿里云账户身份源配置信息。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserDevice'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetUserDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Device\\": {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"172.16.XX.XX\\",\\n \\"SrcIP\\": \\"106.14.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"48:9e:XX:XX:02:80\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Disabled\\",\\n \\"DlpStatus\\": \\"Unauthorized\\",\\n \\"NacStatus\\": \\"Unprovisioned\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"HistoryUsers\\": [\\n {\\n \\"Username\\": \\"张女士\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\"\\n }\\n ],\\n \\"EdrStatus\\": \\"Disabled\\",\\n \\"AutoLoginStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ],\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\",\\n \\"BatteryHealthPercentage\\": 100,\\n \\"BatteryRemainingPercentage\\": 90,\\n \\"DiskAvailable\\": 200,\\n \\"DiskUsed\\": 103,\\n \\"Processes\\": [\\n {\\n \\"Name\\": \\"chrome.exe\\",\\n \\"Description\\": \\"C:\\\\\\\\Program Files\\\\\\\\Google\\\\\\\\Chrome\\\\\\\\Application\\\\\\\\chrome.exe\\",\\n \\"Cpu\\": 0.05,\\n \\"Memory\\": 233\\n }\\n ],\\n \\"TerminalInfoCollectTime\\": 1775096714,\\n \\"JoinAdDomain\\": true,\\n \\"Continent\\": \\"Asia\\",\\n \\"Country\\": \\"China\\",\\n \\"Province\\": \\"Zhejiang\\",\\n \\"City\\": \\"Hangzhou City\\",\\n \\"ContinentEn\\": \\"Asia\\",\\n \\"CountryEn\\": \\"China\\",\\n \\"ProvinceEn\\": \\"Beijing\\",\\n \\"CityEn\\": \\"Beijing City\\",\\n \\"ContinentZh\\": \\"亚洲\\",\\n \\"CountryZh\\": \\"中国\\",\\n \\"ProvinceZh\\": \\"北京市\\",\\n \\"CityZh\\": \\"北京市\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetUserGroup' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215351',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
- ],
- ],
- [
- 'name' => 'Include',
+ 'name' => 'UserGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '指定的身份源配置类型。多个类型以","分隔。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'CSAS,DingTalk,LDAP',
- ],
+ 'schema' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => true, 'example' => 'usergroup-6f1ef2fc56b6****'],
],
],
'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' => 'FD724DBC-CD76-5235-BF76-59C51B73296D',
- ],
- 'Data' => [
- 'description' => '身份源配置。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '1310DBC7-7E1F-55D3-B4B4-E4BE912517FB'],
+ 'UserGroup' => [
+ 'description' => '用户组。',
'type' => 'object',
'properties' => [
- 'TotalNum' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'DataList' => [
- 'description' => '身份源配置列表。',
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Name' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'user_group_name'],
+ 'Description' => ['description' => '用户组描述。', 'type' => 'string', 'example' => '这是一条用户组'."\n"],
+ 'Attributes' => [
+ 'description' => '用户组属性集合。多个用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
+ 'description' => '用户组属性。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '身份源配置ID。',
- 'type' => 'string',
- 'example' => '277',
- ],
- 'Name' => [
- 'description' => '身份源配置名称。',
- 'type' => 'string',
- 'example' => '示例身份源',
- ],
- 'Type' => [
- 'description' => '身份源配置类型。',
- 'type' => 'string',
- 'example' => 'DingTalk',
- ],
- 'Description' => [
- 'description' => '身份源配置描述。',
- 'type' => 'string',
- 'example' => '示例描述',
- ],
- 'Mfa' => [
- 'description' => '二次认证类型。',
- 'type' => 'string',
- 'example' => 'totp',
- ],
- 'MobileLoginType' => [
- 'description' => '移动端登录类型。',
- 'type' => 'string',
- 'example' => 'password',
- ],
- 'MobileMfaConfigType' => [
- 'description' => '移动端二次认证配置类型。',
- 'type' => 'string',
- 'example' => 'password',
- ],
- 'MultiIdpInfo' => [
- 'description' => '多身份源配置ID列表。',
- 'type' => 'string',
- 'example' => '1482,1355',
- ],
- 'PcLoginType' => [
- 'description' => 'PC端登录类型。',
- 'type' => 'string',
- 'example' => 'password',
- ],
- 'Status' => [
- 'description' => '身份源配置启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
'type' => 'string',
- 'example' => 'Disabled',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
],
- 'UpdateTime' => [
- 'description' => '更新时间。',
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
'type' => 'string',
- 'example' => '2023-05-09T02:22:41.430Z',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
+ 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2022-10-10 11:39:22'],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'UserGroup.NotFound', 'errorMessage' => 'The userGroup is not found.', 'description' => '指定的用户组不存在。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"277\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例描述\\",\\n \\"Mfa\\": \\"totp\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"password\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UpdateTime\\": \\"2023-05-09T02:22:41.430Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询身份源配置信息',
- ],
- 'GetIdpConfig' => [
- 'summary' => '查询当前阿里云账户指定的身份源配置详情信息。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询用户组详情',
+ 'summary' => '查询当前阿里云账号下的用户组详情。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1310DBC7-7E1F-55D3-B4B4-E4BE912517FB\\",\\n \\"UserGroup\\": {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\\\n\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'GetWmEmbedTask' => [
+ 'summary' => '使用创建水印嵌入任务得到的任务ID,查询嵌入任务结果。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215357',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '216126',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'TaskId',
'in' => 'query',
- 'schema' => [
- 'description' => '身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg68956d86e********',
- ],
+ 'schema' => ['title' => '创建嵌入任务时得到的任务ID', 'description' => '创建嵌入任务时得到的任务ID。取值来源:'."\n"
+ .'- [CreateWmEmbedTask](~~CreateWmEmbedTask~~):创建水印嵌入任务。', 'type' => 'string', 'required' => true, 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjU********'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-******',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
'Data' => [
- 'description' => '身份源配置。',
+ 'description' => '水印嵌入任务结果。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '身份源配置ID。',
- 'type' => 'string',
- 'example' => 'idp-cfg68956d86e********',
- ],
- 'Name' => [
- 'description' => '身份源配置名称。',
- 'type' => 'string',
- 'example' => '示例身份源',
- ],
- 'Type' => [
- 'description' => '身份源配置类型。',
- 'type' => 'string',
- 'example' => 'CSAS',
- ],
- 'IdpMetadata' => [
- 'description' => '身份提供商IdP的元数据。',
- 'type' => 'string',
- 'example' => '<?xml version="1.0" encoding="utf-8"?>***',
- ],
- 'AccessKey' => [
- 'description' => 'IDaaS身份源 AccessKey ID。',
- 'type' => 'string',
- 'example' => '*******',
- ],
- 'AccessKeySecret' => [
- 'description' => 'IDaaS身份源 AccessKey。',
- 'type' => 'string',
- 'example' => '*******',
- ],
- 'Status' => [
- 'description' => '身份源配置启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'MfaConfigType' => [
- 'description' => '二次认证配置类型。',
- 'type' => 'string',
- 'example' => 'totp',
- ],
- 'UpdateTime' => [
- 'description' => '更新时间。',
- 'type' => 'string',
- 'example' => '2024-02-26T02:02:42Z',
- ],
- 'GetGroupUrl' => [
- 'description' => '自建身份源查询组织架构链接地址。',
- 'type' => 'string',
- 'example' => 'https://172.10.XX.XX:4321/getGroup?name=%s&pass=%s',
- ],
- 'Description' => [
- 'description' => '身份源配置描述。',
- 'type' => 'string',
- 'example' => '示例身份源',
- ],
- 'MultiIdpInfo' => [
- 'description' => '多身份源配置ID列表。',
- 'type' => 'string',
- 'example' => '1482,1355',
- ],
- 'PcLoginType' => [
- 'description' => 'PC端登录类型。',
- 'type' => 'string',
- 'example' => 'password',
- ],
- 'MobileLoginType' => [
- 'description' => '移动端登录类型。',
- 'type' => 'string',
- 'example' => 'password',
- ],
- 'MobileMfaConfigType' => [
- 'description' => '移动端二次认证配置类型。',
- 'type' => 'string',
- 'example' => 'totp',
- ],
- 'VerifyToken' => [
- 'description' => '自建二次认证服务请求签名校验Token。',
- 'type' => 'string',
- 'example' => '7JAr3fYtn****',
- ],
- 'VerifyAesKey' => [
- 'description' => '自建二次认证服务请求加密密钥。',
- 'type' => 'string',
- 'example' => 'QVhaU0RDR0JIWV****',
- ],
- 'VerifyUrl' => [
- 'description' => '自建二次认证服务验证链接地址。',
+ 'TaskId' => ['title' => '嵌入任务ID', 'description' => '任务ID。', 'type' => 'string', 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx'],
+ 'TaskStatus' => [
+ 'title' => '任务状态'."\n"
+ .'Running: 运行中'."\n"
+ .'Success: 任务执行成功'."\n"
+ .'Failed: 任务执行失败'."\n",
+ 'description' => '任务状态。取值:'."\n"
+ .'- **Running**:运行中。'."\n"
+ .'- **Success**:成功。'."\n"
+ .'- **Failed**:失败。',
'type' => 'string',
- 'example' => 'http://172.10.XX.XX:1234/otp_verify',
+ 'enumValueTitles' => ['Failed' => '失败', 'Running' => '运行中', 'Success' => '成功'],
+ 'example' => 'Success',
+ 'enum' => ['Running', 'Success', 'Failed'],
],
+ 'FileUrl' => ['title' => '输入文件的下载 url', 'description' => '嵌入水印信息得到的文件的临时URL。', 'type' => 'string', 'example' => 'https://example.com/embed-****.pdf'],
+ 'FileUrlExp' => ['title' => 'fileUrl 的过期时间,格式为 unix 时间戳,单位为秒', 'description' => 'FileUrl的过期时间,格式为Unix时间戳,精度为秒。', 'type' => 'string', 'example' => '171859****'],
+ 'Filename' => ['title' => '输出文件的文件名', 'description' => '嵌入水印信息得到的文件的文件名。', 'type' => 'string', 'example' => 'embed-****.pdf'."\n"],
+ 'OutFileHashMd5' => ['title' => '输出文件的md5哈希,用于校验', 'description' => '嵌入水印信息得到的文件的md5哈希,用于排查问题。', 'type' => 'string', 'example' => 'd41d8cd98f00b204e9800998ecf8****'],
+ 'OutFileSize' => ['title' => '输入文件的大小(单位为字节),用于校验', 'description' => '嵌入水印信息得到的文件的大小,单位为字节。用于排查问题。', 'type' => 'integer', 'format' => 'int64', 'example' => '123**'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-******\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg68956d86e********\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"CSAS\\",\\n \\"IdpMetadata\\": \\"<?xml version=\\\\\\"1.0\\\\\\" encoding=\\\\\\"utf-8\\\\\\"?>***\\",\\n \\"AccessKey\\": \\"*******\\",\\n \\"AccessKeySecret\\": \\"*******\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"MfaConfigType\\": \\"totp\\",\\n \\"UpdateTime\\": \\"2024-02-26T02:02:42Z\\",\\n \\"GetGroupUrl\\": \\"https://172.10.XX.XX:4321/getGroup?name=%s&pass=%s\\",\\n \\"Description\\": \\"示例身份源\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"totp\\",\\n \\"VerifyToken\\": \\"7JAr3fYtn****\\",\\n \\"VerifyAesKey\\": \\"QVhaU0RDR0JIWV****\\",\\n \\"VerifyUrl\\": \\"http://172.10.XX.XX:1234/otp_verify\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询身份源配置详情',
- ],
- 'GetActiveIdpConfig' => [
- 'summary' => '查询当前阿里云账户已启用的身份源配置。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询水印嵌入任务详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWmEmbedTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetWmEmbedTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx\\",\\n \\"TaskStatus\\": \\"Success\\",\\n \\"FileUrl\\": \\"https://example.com/embed-****.pdf\\",\\n \\"FileUrlExp\\": \\"171859****\\",\\n \\"Filename\\": \\"embed-****.pdf\\\\n\\",\\n \\"OutFileHashMd5\\": \\"d41d8cd98f00b204e9800998ecf8****\\",\\n \\"OutFileSize\\": 0\\n }\\n}","type":"json"}]',
+ ],
+ 'GetWmExtractTask' => [
+ 'summary' => '根据创建提取任务时获取的任务ID,查询水印提取任务结果。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9055,12 +7774,17 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215457',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ 'abilityTreeCode' => '216135',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'TaskId',
+ 'in' => 'query',
+ 'schema' => ['title' => '创建提取任务返回的 task id', 'description' => '提取任务ID。取值来源:'."\n"
+ .'- [CreateWmExtractTask](~~CreateWmExtractTask~~):创建水印提取任务。', 'type' => 'string', 'required' => true, 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********'],
],
],
- 'parameters' => [],
'responses' => [
200 => [
'schema' => [
@@ -9068,155 +7792,217 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
'Data' => [
- 'description' => '身份源配置。',
+ 'description' => '任务结果。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '身份源配置ID。',
- 'type' => 'string',
- 'example' => 'idp-cfg001',
- ],
- 'Name' => [
- 'description' => '身份源配置名称。',
- 'type' => 'string',
- 'example' => '测试身份源',
- ],
- 'Type' => [
- 'description' => '身份源配置类型。',
- 'type' => 'string',
- 'example' => 'DingTalk',
- ],
- 'Description' => [
- 'description' => '身份源配置描述。',
+ 'CreateTime' => ['title' => '任务创建时间', 'description' => '任务创建时间', 'type' => 'string', 'example' => '2024-01-01 11:22:33'],
+ 'TaskId' => ['title' => '任务id', 'description' => '任务ID。', 'type' => 'string', 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********'],
+ 'Status' => [
+ 'title' => '任务状态'."\n"
+ .'Running: 运行中'."\n"
+ .'Success: 任务执行成功'."\n"
+ .'Failed: 任务执行失败',
+ 'description' => '任务状态。取值:'."\n"
+ .'- **Running**:运行中。'."\n"
+ .'- **Success**:成功。'."\n"
+ .'- **Failed**:失败。',
'type' => 'string',
- 'example' => '示例身份源',
+ 'enumValueTitles' => ['Failed' => '失败', 'Running' => '运行中', 'Success' => '成功'],
+ 'example' => 'Success',
+ 'enum' => ['Running', 'Success', 'Failed'],
],
+ 'Filename' => ['title' => '创建提取任务时传入的文件名', 'description' => '创建提取任务时传入的文件名。', 'type' => 'string', 'example' => 'test-****.pdf'],
+ 'WmType' => ['title' => '创建提取任务时传入的水印类型', 'description' => '创建提取任务时传入的水印类型。', 'type' => 'string', 'example' => 'PureDocument'],
+ 'WmInfoSize' => ['title' => '创建提取任务时传入的参数', 'description' => '创建提取任务时传入的参数。', 'type' => 'integer', 'format' => 'int64', 'example' => '32'],
+ 'WmInfoUint' => ['title' => '提取得到的结果', 'description' => '提取得到的10进制数字格式的水印信息。', 'type' => 'integer', 'format' => 'int64', 'example' => '123**'],
+ 'WmInfoBytesB64' => ['title' => '提取得到的结果', 'description' => '提取得到的base64编码字符串格式的水印信息。', 'type' => 'string', 'example' => 'aGVsbG8gc2Fz****'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Data\\": {\\n \\"Id\\": \\"idp-cfg001\\",\\n \\"Name\\": \\"测试身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例身份源\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询已启用的身份源配置',
- ],
- 'ListIdpDepartments' => [
- 'summary' => '查询当前阿里云账户自定义身份源部门信息。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询水印提取任务详情',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWmExtractTask'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetWmExtractTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"CreateTime\\": \\"2024-01-01 11:22:33\\",\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\",\\n \\"Status\\": \\"Success\\",\\n \\"Filename\\": \\"test-****.pdf\\",\\n \\"WmType\\": \\"PureDocument\\",\\n \\"WmInfoSize\\": 32,\\n \\"WmInfoUint\\": 0,\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2Fz****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'ImportEnterpriseAccelerateTargets' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'create',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215359',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '263738',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
- 'in' => 'query',
+ 'name' => 'EapId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-6457339b546c4cfb'],
+ ],
+ [
+ 'name' => 'FileUrl',
+ 'in' => 'formData',
+ 'schema' => ['description' => '导入文件的地址。', 'type' => 'string', 'required' => true, 'example' => 'https://filename.xlsx'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg68956d86e********',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '305508BD-8A31-5E15-86CE-52D57967C45E'],
+ 'Data' => ['description' => '导入任务的ID。', 'type' => 'string', 'example' => '1648723859058501'],
+ ],
],
],
+ ],
+ 'title' => '批量导入加速地址列表',
+ 'summary' => '批量导入加速地址列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportEnterpriseAccelerateTargets'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:ImportEnterpriseAccelerateTargets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"305508BD-8A31-5E15-86CE-52D57967C45E\\",\\n \\"Data\\": \\"1648723859058501\\"\\n}","type":"json"}]',
+ ],
+ 'ListApplicationsForPrivateAccessPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PageSize',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'PolicyIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- 'default' => '10',
+ 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-1b0d0e8b4bcf****'],
+ 'required' => 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' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'Data' => [
- 'description' => '部门信息。',
- 'type' => 'object',
- 'properties' => [
- 'TotalNum' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'DataList' => [
- 'description' => '部门信息列表。',
- 'type' => 'array',
- 'items' => [
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'example' => '30520',
- ],
- 'Name' => [
- 'description' => '部门名称。',
- 'type' => 'string',
- 'example' => '示例部门',
- ],
- 'IdpConfigId' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'example' => '1440',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ 'Polices' => [
+ 'description' => '内网访问策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'pa-policy-1b0d0e8b4bcf****'],
+ 'Applications' => [
+ 'description' => '内网访问应用集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-7a9243dd02f4****'],
+ 'Name' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'application_name'],
+ 'Description' => ['description' => '内网访问应用描述。', 'type' => 'string', 'example' => '这是一条被内网访问策略引用的内网访问应用'],
+ 'Addresses' => [
+ 'description' => '内网访问应用地址集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。', 'type' => 'string', 'example' => '192.168.0.0/16'],
+ ],
+ 'PortRanges' => [
+ 'description' => '内网访问应用端口范围集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'],
+ ],
+ ],
+ ],
+ 'Protocol' => [
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
+ 'type' => 'string',
+ 'enumValueTitles' => ['All' => 'All', 'TCP' => 'TCP', 'UDP' => 'UDP'],
+ 'example' => 'TCP',
+ ],
+ 'Status' => [
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问应用创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'],
],
],
],
@@ -9224,99 +8010,165 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问策略的应用',
+ 'summary' => '批量查询当前阿里云账号下内网访问策略的应用。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"30520\\",\\n \\"Name\\": \\"示例部门\\",\\n \\"IdpConfigId\\": \\"1440\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询自定义身份源部门',
- ],
- 'CreateIdpDepartment' => [
- 'summary' => '创建当前阿里云账户自定义身份源部门。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationsForPrivateAccessPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListApplicationsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"TCP\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApplicationsForPrivateAccessTag' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215362',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg68956d86e********',
- ],
- ],
- [
- 'name' => 'DepartmentName',
+ 'name' => 'TagIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '部门名称。',
- 'type' => 'string',
+ 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-7ffc82853476****'],
'required' => true,
- 'example' => '示例部门',
],
],
],
'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' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8',
- ],
- 'Data' => [
- 'description' => '创建的部门ID。',
- 'type' => 'string',
- 'example' => '726',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E'],
+ 'Tags' => [
+ 'description' => '内网访问标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-7ffc82853476****'],
+ 'Applications' => [
+ 'description' => '内网访问应用集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-7a9243dd02f4****'],
+ 'Name' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'private_access_application_name'."\n"],
+ 'Description' => ['description' => '内网访问应用描述。', 'type' => 'string', 'example' => '这是一条内网访问应用'."\n"],
+ 'Addresses' => [
+ 'description' => '内网访问应用地址集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '192.168.0.0/16'],
+ ],
+ 'PortRanges' => [
+ 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'],
+ ],
+ ],
+ ],
+ 'Protocol' => [
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
+ 'type' => 'string',
+ 'enumValueTitles' => ['All' => 'All', 'TCP' => 'TCP', 'UDP' => 'UDP'],
+ 'example' => 'All',
+ ],
+ 'Status' => [
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问应用创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问标签的应用',
+ 'summary' => '批量查询当前阿里云账号下内网访问标签的应用。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:59.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]',
- 'title' => '创建自定义身份源部门',
- ],
- 'ListClientUsers' => [
- 'summary' => '查询当前阿里云账户自定义身份源的用户信息。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationsForPrivateAccessTag'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListApplicationsForPrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-7ffc82853476****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"private_access_application_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问应用\\\\n\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApprovalProcesses' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9325,287 +8177,292 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215379',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213355',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1071',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'DepartmentId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10785',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'Username',
+ 'name' => 'ProcessName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '张三',
- ],
+ 'schema' => ['description' => '模板名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'test'],
],
[
- 'name' => 'Email',
+ 'name' => 'ProcessIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '电子邮件地址。',
- 'type' => 'string',
+ 'description' => '审批流程ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批模板ID。取值:'."\n"
+ .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
+ .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。', 'type' => 'string', 'required' => false, 'example' => 'approval-process-dc61e92ba5c5****'],
'required' => false,
- 'example' => 'johndoe@example.com',
],
],
[
- 'name' => 'MobileNumber',
+ 'name' => 'PolicyType',
'in' => 'query',
'schema' => [
- 'description' => '手机号码,不需要带国家编码。',
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
'type' => 'string',
'required' => false,
- 'example' => '18980976559',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
],
[
- 'name' => 'Status',
+ 'name' => 'PolicyId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Enabled',
- ],
+ 'schema' => ['description' => '关联业务策略ID。', 'type' => 'string', 'required' => false, 'example' => 'pid-6d6ad77d5b52****'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'SaseUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'minimum' => '1',
- 'example' => '1',
- 'default' => '1',
- ],
+ 'schema' => ['description' => '关联审批人ID。取值来源:'."\n"
+ .'- [ListUsers](~~ListUsers~~):批量查询用户。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '分页大小。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '100',
- 'minimum' => '1',
- 'exclusiveMinimum' => false,
- 'example' => '10',
- 'default' => '10',
- ],
+ 'schema' => ['description' => '关联审批人用户名。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE',
- ],
- 'Data' => [
- 'description' => '用户信息。',
- 'type' => 'object',
- 'properties' => [
- 'TotalNum' => [
- 'description' => '记录总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '2',
- ],
- 'DataList' => [
- 'description' => '用户信息列表。',
- 'type' => 'array',
- 'items' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E39C33B-F565-55C6-ACC2-953FCE7DA7D6'],
+ 'Processes' => [
+ 'description' => '审批流程列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批流程。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批流程创建时间。', 'type' => 'string', 'example' => '2024-02-27 14:04:27'],
+ 'ProcessId' => ['description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-35ee09077ee9****'],
+ 'ProcessName' => ['description' => '审批流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批流程描述。', 'type' => 'string', 'example' => '这是一个审批流程'],
+ 'ProcessNodes' => [
+ 'description' => '审批节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => '审批人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批人用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ ],
+ ],
+ ],
+ 'DomainWhitelistPolicies' => [
+ 'description' => '域名白名单关联策略列表。',
'type' => 'object',
'properties' => [
- 'Id' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => '1970',
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名白名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名白名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
],
- 'IdpConfigId' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'example' => '1026',
+ ],
+ ],
+ 'DomainBlacklistPolicies' => [
+ 'description' => '域名黑名单关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名黑名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名黑名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
],
- 'Username' => [
- 'description' => '用户名称。',
- 'type' => 'string',
- 'example' => '张三',
+ ],
+ ],
+ 'SoftwareBlockPolicies' => [
+ 'description' => '软件禁用关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '软件禁用策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '软件禁用策略ID。', 'type' => 'string', 'example' => 'pid-6d6ad77d5b52****'],
],
- 'UserId' => [
- 'description' => '用户唯一标识。',
- 'type' => 'string',
- 'example' => 'su_dead7216****',
+ ],
+ ],
+ 'DeviceRegistrationPolicies' => [
+ 'description' => '设备注册关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '设备注册策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-63b2f1844b86****'],
],
- 'Description' => [
- 'description' => '用户描述。',
- 'type' => 'string',
- 'example' => '示例用户',
+ ],
+ ],
+ 'AppUninstallPolicies' => [
+ 'description' => '终端卸载关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '终端卸载策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端卸载策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-5919f8afff47****'],
],
- 'Email' => [
- 'description' => '电子邮件地址。',
- 'type' => 'string',
- 'example' => 'johndoe@example.com',
+ ],
+ ],
+ 'DlpSendPolicies' => [
+ 'description' => '文件外发关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '文件外发策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '文件外发策略ID。', 'type' => 'string', 'example' => '17**'],
],
- 'MobileNumber' => [
- 'description' => '手机号码,不需要带国家编码。',
- 'type' => 'string',
- 'example' => '15800820468',
+ ],
+ ],
+ 'PeripheralBlockPolicies' => [
+ 'description' => '外设管控关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '外设管控策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '外设管控策略ID。', 'type' => 'string', 'example' => '17**'],
],
- 'DepartmentId' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'example' => '10800',
+ ],
+ ],
+ 'EndpointHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
- 'Status' => [
- 'description' => '用户启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Disabled',
+ ],
+ 'description' => '',
+ ],
+ 'SoftwareHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'example' => '105',
- ],
- 'Name' => [
- 'description' => '部门名称。',
- 'type' => 'string',
- 'example' => '示例部门',
- ],
- ],
+ ],
+ 'description' => '',
+ ],
+ 'PrivateAccessBlockPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string'],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
],
],
],
+ 'ApprovalType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
],
],
],
+ 'TotalNum' => ['description' => '审批流程总数。', 'type' => 'string', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '批量查询审批流程列表',
+ 'summary' => '查询当前阿里云账号下审批流程列表。',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-19T16:05:20.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-04-27T10:40:41.000Z', 'description' => '响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"1970\\",\\n \\"IdpConfigId\\": \\"1026\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_dead7216****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"johndoe@example.com\\",\\n \\"MobileNumber\\": \\"15800820468\\",\\n \\"DepartmentId\\": \\"10800\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"105\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询自定义身份用户信息',
- ],
- 'UpdateClientUser' => [
- 'summary' => '设置当前阿里云账户自定义身份源指定用户的信息。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalProcesses'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E39C33B-F565-55C6-ACC2-953FCE7DA7D6\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2024-02-27 14:04:27\\",\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-6d6ad77d5b52****\\"\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"PeripheralBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"PrivateAccessBlockPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ]\\n },\\n \\"ApprovalType\\": 0\\n }\\n ],\\n \\"TotalNum\\": \\"1\\"\\n}","type":"json"}]',
+ ],
+ 'ListApprovalProcessesForApprovalSchemas' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215389',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213391',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'SchemaIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
+ 'description' => '审批模板ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批模板ID。取值:'."\n"
+ .'- [ListApprovalSchemas](~~ListApprovalSchemas~~):批量查询审批模板列表。'."\n"
+ .'- [GetApprovalSchema](~~GetApprovalSchema~~):查询审批模板详情。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
'required' => true,
- 'example' => '20644',
- ],
- ],
- [
- 'name' => 'DepartmentId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '10701',
- ],
- ],
- [
- 'name' => 'Email',
- 'in' => 'query',
- 'schema' => [
- 'description' => '电子邮件地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'johndoe@example.com',
- ],
- ],
- [
- 'name' => 'MobileNumber',
- 'in' => 'query',
- 'schema' => [
- 'description' => '手机号码,不需要带国家编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '13641966835',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户描述。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '示例用户',
],
],
],
@@ -9613,34 +8470,66 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ 'Schemas' => [
+ 'description' => '审批模板列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'Processes' => [
+ 'description' => '审批流程集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批流程。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批流程创建时间。', 'type' => 'string', 'example' => '2022-10-25 10:44:09'],
+ 'ProcessId' => ['description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-dc61e92ba5c5****'],
+ 'ProcessName' => ['description' => '审批流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批流程描述。', 'type' => 'string', 'example' => '这是一个审批流程'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
- 'title' => '设置自定义身份源指定用户信息',
- ],
- 'GetClientUser' => [
- 'summary' => '查询当前阿里云账户自定义身份源指定用户的详情信息。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询审批模板关联的流程',
+ 'summary' => '查询审批渲染模板关联的流程',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalProcessesForApprovalSchemas'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalProcessesForApprovalSchemas',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Schemas\\": [\\n {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"Processes\\": [\\n {\\n \\"CreateTime\\": \\"2022-10-25 10:44:09\\",\\n \\"ProcessId\\": \\"approval-process-dc61e92ba5c5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个审批流程\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApprovalSchemas' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -9649,33 +8538,54 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215387',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213353',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'SchemaName',
+ 'in' => 'query',
+ 'schema' => ['description' => '模板名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
+ [
+ 'name' => 'SchemaIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg68956d86e********',
+ 'description' => '审批模板ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'required' => false,
],
],
[
- 'name' => 'Username',
+ 'name' => 'PolicyType',
'in' => 'query',
'schema' => [
- 'description' => '用户名称。',
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
'type' => 'string',
- 'required' => true,
- 'example' => '张三',
+ 'required' => false,
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
],
],
@@ -9683,81 +8593,37 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Data' => [
- 'description' => '用户详情信息。',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => '83',
- ],
- 'IdpConfigId' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'example' => 'idp-cfg68956d86e********',
- ],
- 'Username' => [
- 'description' => '用户名称。',
- 'type' => 'string',
- 'example' => '张三',
- ],
- 'UserId' => [
- 'description' => '用户唯一标识。',
- 'type' => 'string',
- 'example' => 'su_abcd7215****',
- ],
- 'Description' => [
- 'description' => '用户描述。',
- 'type' => 'string',
- 'example' => '示例用户',
- ],
- 'Email' => [
- 'description' => '电子邮件地址。',
- 'type' => 'string',
- 'example' => 'johndoe@example.com',
- ],
- 'MobileNumber' => [
- 'description' => '手机号码,不需要带国家编码。',
- 'type' => 'string',
- 'example' => '1364196****',
- ],
- 'DepartmentId' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'example' => '10713',
- ],
- 'Status' => [
- 'description' => '用户启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Disabled',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'object',
- 'properties' => [
- 'Id' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'example' => '107',
- ],
- 'Name' => [
- 'description' => '部门名称。',
- 'type' => 'string',
- 'example' => '示例部门',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'TotalNum' => ['description' => '审批模板总数。', 'type' => 'string', 'example' => '1'],
+ 'Schemas' => [
+ 'description' => '审批模板列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批模板创建时间。', 'type' => 'string', 'example' => '2024-03-15 14:44:07'],
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批模板描述。', 'type' => 'string', 'example' => '这是一个模板'],
+ 'SchemaContent' => ['description' => '审批模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'SchemaVersion' => ['description' => '审批模板版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1715680940'],
+ 'PolicyType' => [
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
+ 'IsDefault' => ['description' => '是否为官方维护模板。', 'type' => 'boolean', 'example' => 'true'],
],
],
],
@@ -9765,56 +8631,59 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"Id\\": \\"83\\",\\n \\"IdpConfigId\\": \\"idp-cfg68956d86e********\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_abcd7215****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"johndoe@example.com\\",\\n \\"MobileNumber\\": \\"1364196****\\",\\n \\"DepartmentId\\": \\"10713\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"107\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n}","type":"json"}]',
- 'title' => '查询自定义身份源用户详情',
- ],
- 'DeleteIdpDepartment' => [
- 'summary' => '删除当前阿里云账户自定义身份源指定的部门。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询审批模板列表',
+ 'summary' => '查询当前阿里云账号下审批模板列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalSchemas'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalSchemas',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApprovalSchemasForApprovalProcesses' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215371',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213390',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg68956d86e********',
- ],
- ],
- [
- 'name' => 'DepartmentId',
+ 'name' => 'ProcessIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '部门ID。',
- 'type' => 'string',
+ 'description' => '审批流程ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批模板ID。取值:'."\n"
+ .'- [ListApprovalProcesses](~~ListApprovalProcesses~~):批量查询审批流程列表。'."\n"
+ .'- [GetApprovalProcess](~~GetApprovalProcess~~):查询审批流程详情。', 'type' => 'string', 'required' => false, 'example' => 'approval-process-dc61e92ba5c5****'],
'required' => true,
- 'example' => '10829',
],
],
],
@@ -9822,277 +8691,411 @@
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Processes' => [
+ 'description' => '审批流程列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批流程。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ProcessId' => ['description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-35ee09077ee9****'],
+ 'Schemas' => [
+ 'description' => '审批模板列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批模板创建时间。', 'type' => 'string', 'example' => '2024-03-15 14:44:07'],
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批模板描述。', 'type' => 'string', 'example' => '这是一个模板'],
+ 'SchemaContent' => ['description' => '审批模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'SchemaVersion' => ['description' => '审批模板版本。', 'type' => 'integer', 'format' => 'int64', 'example' => '1715680940'],
+ 'PolicyType' => [
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
+ ],
+ 'IsDefault' => ['description' => '是否为官方维护模板。', 'type' => 'boolean', 'example' => 'true'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\"\\n}","type":"json"}]',
- 'title' => '删除自定义身份源指定部门',
- ],
- 'CreateClientUser' => [
- 'summary' => '创建当前阿里云账户自定义身份源用户。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询审批流程关联的模板',
+ 'summary' => '查询审批流程关联的渲染模板',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalSchemasForApprovalProcesses'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalSchemasForApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Processes\\": [\\n {\\n \\"ProcessId\\": \\"approval-process-35ee09077ee9****\\",\\n \\"Schemas\\": [\\n {\\n \\"CreateTime\\": \\"2024-03-15 14:44:07\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个模板\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"SchemaVersion\\": 1715680940,\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"IsDefault\\": true\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListApprovals' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215388',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213405',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'IdpConfigId',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '727',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Username',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '用户名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '张三',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'DepartmentId',
+ 'name' => 'ApprovalIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '部门ID。',
- 'type' => 'string',
+ 'description' => '审批实例ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批实例ID。取值来源:'."\n"
+ .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
+ .'- [GetApproval](~~GetApproval~~):查询审批实例详情。', 'type' => 'string', 'required' => false, 'example' => 'approval-872b5e911b35****'],
'required' => false,
- 'example' => '10797',
],
],
[
- 'name' => 'Email',
+ 'name' => 'Statuses',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '电子邮件地址。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'johndoe@example.com',
+ 'description' => '审批实例状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批实例状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。'."\n"
+ .'- **Expired**:已过期。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Revoked' => '已撤回', 'Approved' => '已通过', 'Expired' => '已过期', 'Rejected' => '已拒绝', 'Pending' => '待审批'],
+ 'example' => 'Pending',
+ ],
+ 'required' => false,
],
],
[
- 'name' => 'MobileNumber',
+ 'name' => 'SchemaId',
'in' => 'query',
- 'schema' => [
- 'description' => '手机号码,不需要带国家编码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '13641966835',
- ],
+ 'schema' => ['description' => '关联审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
],
[
- 'name' => 'Password',
+ 'name' => 'ProcessId',
'in' => 'query',
- 'schema' => [
- 'description' => '密码。若为空则自动生成随机密码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'kehudiyi',
- ],
+ 'schema' => ['description' => '关联审批流程ID', 'type' => 'string', 'required' => false, 'example' => 'approval-process-fcc351b8a95b****'],
],
[
- 'name' => 'Description',
+ 'name' => 'PolicyType',
'in' => 'query',
'schema' => [
- 'description' => '用户描述。',
+ 'description' => '适配策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
'type' => 'string',
'required' => false,
- 'example' => '示例用户',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
],
],
+ [
+ 'name' => 'CreatorUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建人ID。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ ],
+ [
+ 'name' => 'CreatorDevTag',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建终端设备ID。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ ],
+ [
+ 'name' => 'OperatorUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例操作人ID。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ ],
+ [
+ 'name' => 'OperatorUsername',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例操作人用户名。', 'type' => 'string', 'required' => false, 'example' => '李小姐'],
+ ],
+ [
+ 'name' => 'CreatorUsername',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建人用户名。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
+ ],
+ [
+ 'name' => 'CreatorDepartment',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建人部门。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
+ ],
+ [
+ 'name' => 'CreateStartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建起始时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1730000000'],
+ ],
+ [
+ 'name' => 'CreateEndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例创建结束时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1736750500'],
+ ],
+ [
+ 'name' => 'ProcessName',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联审批流程名称。', 'type' => 'string', 'required' => false, 'example' => '测试'],
+ ],
+ [
+ 'name' => 'SchemaName',
+ 'in' => 'query',
+ 'schema' => ['description' => '关联审批模板名称。', 'type' => 'string', 'required' => false, 'example' => 'test'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Data' => [
- 'description' => '创建的用户ID。',
- 'type' => 'string',
- 'example' => '726',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '6965F5BA-53B6-5650-A708-51F090F843BB'],
+ 'TotalNum' => ['description' => '审批实例总数。', 'type' => 'string', 'example' => '1'],
+ 'Approvals' => [
+ 'description' => '审批实例列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批实例。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApprovalId' => ['description' => '审批实例ID。', 'type' => 'string', 'example' => 'approval-872b5e911b35****'],
+ 'ApprovalProgresses' => [
+ 'description' => '审批实例进展节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批实例进展节点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Operators' => [
+ 'description' => '审批进展节点操作人列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '审批进展节点操作人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => '审批进展节点操作人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批进展节点操作人用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ ],
+ ],
+ 'Status' => [
+ 'description' => '审批进展节点状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Revoked' => '已撤回', 'Approved' => '已通过', 'Rejected' => '已拒绝', 'Pending' => '待审批'],
+ 'example' => 'Approved',
+ ],
+ 'Executor' => ['description' => '审批进展节点执行人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Action' => [
+ 'description' => '审批进展节点执行操作。取值:'."\n"
+ .'- **Approve**:通过。'."\n"
+ .'- **Reject**:拒绝。'."\n"
+ .'- **Revoke**:撤回。'."\n"
+ .'- **Comment**:评论。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Reject' => '拒绝', 'Comment' => '评论', 'Revoke' => '撤回', 'Approve' => '通过'],
+ 'example' => 'Approve',
+ ],
+ 'Comment' => ['description' => '审批进展节点执行评论。', 'type' => 'string', 'example' => '审核通过'],
+ 'Timestamp' => ['description' => '审批进展节点执行时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736752000'],
+ ],
+ ],
+ ],
+ 'EndTimestamp' => ['description' => '审批实例有效截止时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1757952000'],
+ 'ApprovalDetail' => ['description' => '审批实例详情。', 'type' => 'string', 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}'],
+ 'Status' => [
+ 'description' => '审批实例状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。'."\n"
+ .'- **Expired**:已过期。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Revoked' => '已撤回', 'Approved' => '已通过', 'Expired' => '已过期', 'Rejected' => '已拒绝', 'Pending' => '待审批'],
+ 'example' => 'Pending',
+ ],
+ 'ProcessId' => ['description' => '审批实例关联流程ID。', 'type' => 'string', 'example' => 'approval-process-fcc351b8a95b****'],
+ 'ProcessName' => ['description' => '审批实例关联流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'PolicyType' => [
+ 'description' => '审批实例关联策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['AppUninstall' => '终端卸载', 'DlpSend' => '文件外发', 'DomainWhitelist' => '域名白名单', 'DomainBlacklist' => '域名黑名单', 'SoftwareBlock' => '软件禁用', 'PeripheralBlock' => '外设管控'],
+ 'example' => 'DlpSend',
+ ],
+ 'SchemaId' => ['description' => '审批实例关联模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批实例关联模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'SchemaContent' => ['description' => '审批实例关联模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'CreatorUserId' => ['description' => '审批实例创建人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'CreatorDevTag' => ['description' => '审批实例创建终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'CreateTime' => ['description' => '审批实例创建时间。', 'type' => 'string', 'example' => '2022-11-15 22:11:55'],
+ 'Reason' => ['description' => '审批实例创建原因。', 'type' => 'string', 'example' => '这是一个测试'],
+ 'CreatorUsername' => ['description' => '审批实例创建人用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'CreatorDepartment' => ['description' => '审批实例创建人部门。', 'type' => 'string', 'example' => '测试部'],
+ 'ApprovalType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询审批实例列表',
+ 'summary' => '查询当前阿里云账号下审批实例列表。',
+ 'changeSet' => [
+ ['createdAt' => '2025-08-19T16:05:20.000Z', 'description' => '响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": \\"726\\"\\n}","type":"json"}]',
- 'title' => '创建自定义身份源用户',
- ],
- 'UpdateIdpDepartment' => [
- 'summary' => '删除当前阿里云账户自定义身份源指定的部门。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovals'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovals',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6965F5BA-53B6-5650-A708-51F090F843BB\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Approvals\\": [\\n {\\n \\"ApprovalId\\": \\"approval-872b5e911b35****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"CreatorUsername\\": \\"王先生\\",\\n \\"CreatorDepartment\\": \\"测试部\\",\\n \\"ApprovalType\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListClientUsers' => [
+ 'summary' => '查询当前阿里云账户自定义身份源的用户信息。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215363',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '215379',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
'name' => 'IdpConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '自定义身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '598',
- ],
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => '1071'],
],
[
'name' => 'DepartmentId',
'in' => 'query',
- 'schema' => [
- 'description' => '部门ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '10653',
- ],
+ 'schema' => ['description' => '部门ID。', 'type' => 'string', 'required' => false, 'example' => '10785'],
],
[
- 'name' => 'DepartmentName',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '部门名称。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '示例部门',
- ],
+ 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => false, 'example' => '张三'],
],
- ],
- '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' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
- ],
- ],
+ [
+ 'name' => 'Email',
+ 'in' => 'query',
+ 'schema' => ['description' => '电子邮件地址。', 'type' => 'string', 'required' => false, 'example' => 'johndoe@example.com'],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
- 'title' => '修改自定义身份源指定部门',
- ],
- 'UpdateClientUserStatus' => [
- 'summary' => '设置当前阿里云账户自定义身份源指定用户的启用状态。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
+ 'name' => 'MobileNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '手机号码,不需要带国家编码。', 'type' => 'string', 'required' => false, 'example' => '18980976559'],
],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '215392',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
- ],
- 'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '1495',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'Status',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '用户启用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Enabled',
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'exclusiveMinimum' => false, 'example' => '10', 'default' => '10'],
],
],
'responses' => [
@@ -10102,501 +9105,258 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE'],
+ 'Data' => [
+ 'description' => '用户信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalNum' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'DataList' => [
+ 'description' => '用户信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '用户ID。', 'type' => 'string', 'example' => '1970'],
+ 'IdpConfigId' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'example' => '1026'],
+ 'Username' => ['description' => '用户名称。', 'type' => 'string', 'example' => '张三'],
+ 'UserId' => ['description' => '用户唯一标识。', 'type' => 'string', 'example' => 'su_dead7216****'],
+ 'Description' => ['description' => '用户描述。', 'type' => 'string', 'example' => '示例用户'],
+ 'Email' => ['description' => '电子邮件地址。', 'type' => 'string', 'example' => 'johndoe@example.com'],
+ 'MobileNumber' => ['description' => '手机号码,不需要带国家编码。', 'type' => 'string', 'example' => '15800820468'],
+ 'DepartmentId' => ['description' => '部门ID。', 'type' => 'string', 'example' => '10800'],
+ 'Status' => ['description' => '用户启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Disabled'],
+ 'Department' => [
+ 'description' => '用户所属部门。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '部门ID。', 'type' => 'string', 'example' => '105'],
+ 'Name' => ['description' => '部门名称。', 'type' => 'string', 'example' => '示例部门'],
+ ],
+ ],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
- 'title' => '设置自定义身份源用户启用状态',
- ],
- 'DeleteClientUser' => [
- 'summary' => '删除当前阿里云账户自定义身份源的指定用户。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '215391',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询自定义身份用户信息',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClientUsers'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'Id',
- 'in' => 'query',
- 'schema' => [
- 'description' => '待删除的用户ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '27058',
- ],
- ],
- ],
- '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' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListClientUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\"\\n}","type":"json"}]',
- 'title' => '删除自定义身份源指定用户',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"1970\\",\\n \\"IdpConfigId\\": \\"1026\\",\\n \\"Username\\": \\"张三\\",\\n \\"UserId\\": \\"su_dead7216****\\",\\n \\"Description\\": \\"示例用户\\",\\n \\"Email\\": \\"johndoe@example.com\\",\\n \\"MobileNumber\\": \\"15800820468\\",\\n \\"DepartmentId\\": \\"10800\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"Department\\": {\\n \\"Id\\": \\"105\\",\\n \\"Name\\": \\"示例部门\\"\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
],
- 'UpdateClientUserPassword' => [
- 'summary' => '设置当前阿里云账户自定义身份源指定用户的密码。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListConnectors' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '215390',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'Id',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1128',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Username',
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => 'Connector名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'connector_name'],
+ ],
+ [
+ 'name' => 'Status',
'in' => 'query',
'schema' => [
- 'description' => '用户名称。',
+ 'description' => 'Connector连接状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
'type' => 'string',
'required' => false,
- 'example' => '张三',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
],
],
[
- 'name' => 'Password',
+ 'name' => 'SwitchStatus',
'in' => 'query',
'schema' => [
- 'description' => '密码。若为空则自动生成随机密码。',
+ 'description' => 'Connector实例状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'example' => 'kehudiyidj',
- ],
- ],
- ],
- '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' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649',
- ],
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\"\\n}","type":"json"}]',
- 'title' => '设置自定义身份源指定用户的密码',
- 'requestParamsDescription' => 'Id或Username至少指定其一,优先使用Id。',
- ],
- 'UpdateUserDevicesStatus' => [
- 'summary' => '批量修改当前阿里云账号下终端设备状态。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '192476',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
- ],
- 'parameters' => [
[
- 'name' => 'DeviceTags',
- 'in' => 'formData',
+ 'name' => 'ConnectorIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '终端设备ID集合。',
+ 'description' => 'ConnectorID集合。最多可输入100个ConnectorID。',
'type' => 'array',
- 'items' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'DeviceAction',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '终端设备状态操作。取值:'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。只有终端设备为离线或长期离线状态时允许解绑。'."\n"
- .'- **Unlocked**:解锁。只有终端设备为锁定状态时允许解锁。'."\n"
- .'- **Found**:找回。只有终端设备为挂失状态时允许解锁。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'Unlocked' => '解锁',
- 'Unbound' => '解绑',
- 'Found' => '找回',
- ],
- 'example' => 'Unbound',
+ 'items' => ['description' => 'ConnectorID。取值来源:[ListConnectors](~~ListConnectors~~)批量查询Connector。', 'type' => 'string', 'required' => false, 'example' => 'connector-94db94e06b98****'],
+ 'required' => false,
],
],
],
'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' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D',
- ],
- 'Devices' => [
- 'description' => '终端设备列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => 'Connector总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Connectors' => [
+ 'description' => 'Connector列表。',
'type' => 'array',
'items' => [
- 'description' => '终端设备。',
+ 'description' => 'Connector。',
'type' => 'object',
'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
- 'DeviceModel' => [
- 'description' => '终端设备型号。',
- 'type' => 'string',
- 'example' => 'MacBookPro17,1',
- ],
- 'DeviceVersion' => [
- 'description' => '终端设备操作系统版本。',
- 'type' => 'string',
- 'example' => '3.5.1',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'InnerIP' => [
- 'description' => '终端设备内网IP地址。',
- 'type' => 'string',
- 'example' => '192.168.XX.XX',
- ],
- 'SrcIP' => [
- 'description' => '终端设备登录IP地址。',
- 'type' => 'string',
- 'example' => '11.49.XX.XX',
- ],
- 'Memory' => [
- 'description' => '终端设备内存容量。单位:GB。',
- 'type' => 'string',
- 'example' => '16',
- ],
- 'CPU' => [
- 'description' => '终端设备CPU型号。',
- 'type' => 'string',
- 'example' => 'Apple M1',
- ],
- 'Disk' => [
- 'description' => '终端设备磁盘型号。',
- 'type' => 'string',
- 'example' => 'APPLE SSD AP0512Q Media',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'AppVersion' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'example' => '2.2.0',
- ],
- 'DeviceBelong' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'SharingStatus' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
- 'DeviceStatus' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
+ 'ConnectorId' => ['description' => 'ConnectorID。', 'type' => 'string', 'example' => 'connector-94db94e06b98****'],
+ 'Name' => ['description' => 'Connector名称。', 'type' => 'string', 'example' => 'connector_name'],
+ 'RegionId' => ['description' => '地域ID。', 'type' => 'string', 'example' => 'cn-hangzhou'],
+ 'SwitchStatus' => [
+ 'description' => 'Connector实例状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线',
- 'Unbound' => '解绑',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'AppStatus' => [
- 'description' => '客户端状态。取值:'."\n"
+ 'Status' => [
+ 'description' => 'Connector连接状态。取值:'."\n"
.'- **Online**:在线。'."\n"
.'- **Offline**:离线。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
'example' => 'Online',
],
- 'PaStatus' => [
- 'description' => '内网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'IaStatus' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Diabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'DlpStatus' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
+ 'Applications' => [
+ 'description' => '关联的内网访问应用集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '关联的内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'."\n"],
+ 'ApplicationName' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'application_name'],
+ ],
],
- 'example' => 'Enabled',
],
- 'NacStatus' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
+ 'UpgradeTime' => [
+ 'description' => 'Connector升级时间。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Start' => ['description' => '开始时间。', 'type' => 'string', 'example' => '20:00'],
+ 'End' => ['description' => '结束时间。', 'type' => 'string', 'example' => '23:00'],
],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '终端设备注册时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
- ],
- 'UpdateTime' => [
- 'description' => '终端设备最后在线时间。',
- 'type' => 'string',
- 'example' => '2023-08-24 19:04:42',
],
- 'NetInterfaceInfo' => [
- 'description' => '终端网卡列表。',
+ 'ConnectorClients' => [
+ 'description' => '部署的ConnectorClient集合。',
'type' => 'array',
'items' => [
- 'description' => '终端网卡。',
+ 'description' => '部署的ConnectorClient。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '网卡名称。',
- 'type' => 'string',
- 'example' => 'eth0',
- ],
- 'Mac' => [
- 'description' => '网卡MAC地址。',
+ 'DevTag' => ['description' => 'ConnectorClient的设备唯一标识。', 'type' => 'string', 'example' => 'C50A2386-F851-4F11-920B-DF7148DA0C22'],
+ 'Hostname' => ['description' => 'ConnectorClient主机名。', 'type' => 'string', 'example' => 'connector_client'],
+ 'ConnectionStatus' => [
+ 'description' => 'ConnectorClient和ConnectorServer的连接状态。',
'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
+ 'enumValueTitles' => ['Connected' => '已连接', 'Disconnected' => '未连接'],
+ 'example' => 'Disconnected',
],
+ 'PublicIp' => ['description' => 'ConnectorClient公网IP。', 'type' => 'string', 'example' => '192.0.2.1'],
],
],
],
+ 'CreateTime' => ['description' => 'Connector创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'],
+ 'ClusterIP' => ['description' => '集群IP。', 'type' => 'string', 'example' => '1.1.1.1'],
+ 'ClusterPort' => ['description' => '集群端口。', 'type' => 'string', 'example' => '8000'],
+ 'AccelerateStatus' => ['description' => '是否启用全球加速。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'VipCidr' => ['type' => 'string'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => 'Batch Query Connectors',
+ 'summary' => 'Batch query connectors。',
+ 'changeSet' => [
+ ['createdAt' => '2025-11-03T02:10:17.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-09-09T07:31:53.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2023-08-30T11:31:05.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2023-04-12T13:06:59.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量修改用户终端设备状态',
- ],
- 'ListExcessiveDeviceRegistrationApplications' => [
- 'summary' => '查询当前阿里云账号下用户终端设备的超额注册申请列表。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectors'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListConnectors',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Connectors\\": [\\n {\\n \\"ConnectorId\\": \\"connector-94db94e06b98****\\",\\n \\"Name\\": \\"connector_name\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SwitchStatus\\": \\"Enabled\\",\\n \\"Status\\": \\"Online\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\\\n\\",\\n \\"ApplicationName\\": \\"application_name\\"\\n }\\n ],\\n \\"UpgradeTime\\": {\\n \\"Start\\": \\"20:00\\",\\n \\"End\\": \\"23:00\\"\\n },\\n \\"ConnectorClients\\": [\\n {\\n \\"DevTag\\": \\"C50A2386-F851-4F11-920B-DF7148DA0C22\\",\\n \\"Hostname\\": \\"connector_client\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"PublicIp\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"ClusterIP\\": \\"1.1.1.1\\",\\n \\"ClusterPort\\": \\"8000\\",\\n \\"AccelerateStatus\\": \\"Enabled\\",\\n \\"VipCidr\\": \\"\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListDynamicDisposalProcesses' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -10608,775 +9368,488 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasDGFP8V',
- ],
+ 'abilityTreeCode' => '257988',
+ 'abilityTreeNodes' => ['FEATUREcsas2RGHRX'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值范围:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'Username',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
+ 'schema' => ['description' => '查询的动态处置流程开始时间。格式为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1743143296'],
],
[
- 'name' => 'SaseUserId',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。取值来源:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
+ 'schema' => ['description' => '查询的动态处置流程结束时间。格式为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1743143296'],
],
[
- 'name' => 'Department',
+ 'name' => 'UserName',
'in' => 'query',
- 'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
+ 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => 'xiaoming'],
],
[
- 'name' => 'Hostname',
+ 'name' => 'DisposalAction',
'in' => 'query',
'schema' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
+ 'description' => '处置动作。'."\n"
+ .'- **ztna_connect**:禁止连接零信任内网。'."\n"
+ .'- **nac_connect**:禁止连接办公网准入。'."\n"
+ .'- **none**:无处置动作。',
'type' => 'string',
'required' => false,
- 'example' => 'win10-64bit',
+ 'enumValueTitles' => ['ztna_connect' => 'ztna_connect', 'nac_connect' => 'nac_connect', 'none' => 'none'],
+ 'example' => 'none',
],
],
[
- 'name' => 'Mac',
+ 'name' => 'RecoveryType',
'in' => 'query',
'schema' => [
- 'description' => '终端设备MAC地址。',
+ 'description' => '恢复类型。'."\n"
+ .'- **auto**:自动恢复。'."\n"
+ .'- **console**:控制台恢复。'."\n"
+ .'- **auth**:认证报备恢复。',
'type' => 'string',
'required' => false,
- 'example' => '00:16:XX:XX:7c:46',
+ 'enumValueTitles' => ['console' => 'console', 'auto' => 'auto', 'auth' => 'auth'],
+ 'example' => 'auto',
],
],
[
- 'name' => 'DeviceTag',
+ 'name' => 'Status',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
- ],
+ 'schema' => ['description' => '处置状态。取值:'."\n"
+ .'- **disposal**:处于处置状态。'."\n"
+ .'- **finished**:已经自动恢复。'."\n"
+ .'- **recovery**:认证报备恢复或控制台恢复。', 'type' => 'string', 'required' => false, 'example' => 'disposal'],
],
[
- 'name' => 'Statuses',
+ 'name' => 'DisposalProcessId',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '超额注册申请状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '超额注册申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Approved' => '通过',
- 'Rejected' => '拒绝',
- 'Pending' => '待处理',
- ],
- 'example' => 'Pending',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '处置流程ID。', 'type' => 'string', 'required' => false, 'example' => 'dp-xxxxxxxx'],
],
[
- 'name' => 'ApplicationIds',
+ 'name' => 'DevTag',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '超额注册申请ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '超额注册申请ID。取值来源[ListExcessiveDeviceRegistrationApplications](~~ListExcessiveDeviceRegistrationApplications~~):批量查询设备超额注册申请。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'reg-application-0f4a127b7e78****',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '终端设备ID。', 'type' => 'string', 'required' => false, 'example' => 'E7798391-2554-FE83-E0B7-045DDED629A8'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => '响应体。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => '超额注册申请总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Applications' => [
- 'description' => '超额注册申请列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '请求ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ 'DisposalProcesses' => [
+ 'description' => '处置流程列表。',
'type' => 'array',
'items' => [
- 'description' => '超额注册申请。',
+ 'description' => '处置流程。',
'type' => 'object',
'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
+ 'Status' => [
+ 'description' => '处置状态。取值:'."\n"
+ .'- **disposal**:处于处置状态。'."\n"
+ .'- **finished**:已经自动恢复。'."\n"
+ .'- **recovery**:认证报备恢复或控制台恢复。',
'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
+ 'enumValueTitles' => ['finished' => 'finished', 'recovery' => 'recovery', 'disposal' => 'disposal'],
+ 'example' => 'disposal',
],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
+ 'DynamicPolicyId' => ['description' => '动态策略ID。', 'type' => 'string', 'example' => 'dynamic-policy-xxxxxxxx'],
+ 'DisposalProcessId' => ['description' => '处置流程ID。', 'type' => 'string', 'example' => 'dp-xxxxxxxx'],
+ 'DynamicPolicyName' => ['description' => '动态策略名称。', 'type' => 'string', 'example' => '动态策略1'],
+ 'Hostname' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'example' => 'WANGCHENCHENNBB'],
+ 'UserName' => ['description' => '用户名。', 'type' => 'string', 'example' => 'xiaoming'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '场景险部'],
+ 'SaseUserId' => ['description' => 'SASE用户ID。', 'type' => 'string', 'example' => 'asdqwedg-xzczvzdaf-asfafs'],
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => 'FD7554AD-4CDE-6359-6B49-4FE950606C2C'],
+ 'DisposalActions' => [
+ 'description' => '处置动作列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '处置动作。'."\n"
+ .'- **ztna_connect**:禁止连接零信任内网。'."\n"
+ .'- **nac_connect**:禁止连接办公网准入。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['ztna_connect' => 'ztna_connect', 'nac_connect' => 'nac_connect'],
+ 'example' => 'nac-connect',
],
- 'example' => 'Windows',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
+ 'RecoveryType' => [
+ 'description' => '恢复类型。'."\n"
+ .'- **auto**:自动恢复。'."\n"
+ .'- **console**:控制台恢复。'."\n"
+ .'- **auth**:认证报备恢复。',
'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
+ 'enumValueTitles' => ['console' => 'console', 'auto' => 'auto', 'auth' => 'auth'],
+ 'example' => 'auto',
],
- 'IsUsed' => [
- 'description' => '超额注册申请是否被使用。取值:'."\n"
- .'- **true**:被使用。'."\n"
- .'- **false**:尚未使用。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '被使用',
- 'false' => '尚未使用',
+ 'RuleContent' => ['description' => '规则内容。', 'type' => 'any', 'example' => '{'."\n"
+ .' "Combinator": "OR",'."\n"
+ .' "Rules": ['."\n"
+ .' {'."\n"
+ .' "Operator": "version_gt",'."\n"
+ .' "Values": ['."\n"
+ .' "1"'."\n"
+ .' ],'."\n"
+ .' "RuleType": "device_info",'."\n"
+ .' "Id": "1",'."\n"
+ .' "RuleSubType": "basic_info",'."\n"
+ .' "Name": "app_version"'."\n"
+ .' }'."\n"
+ .' ]'."\n"
+ .'}'],
+ 'DisposalTime' => ['description' => '处置时间,格式为秒级时间戳。', 'type' => 'string', 'example' => '1743059249'],
+ 'DeviceBasicInfo' => [
+ 'description' => '设备基础信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => 'A84D0AF0-1ACC-02B8-6A07-FC898F71BE09'],
+ 'DevType' => ['description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。', 'type' => 'string', 'example' => 'windows'],
+ 'OsVersion' => ['description' => '操作系统版本', 'type' => 'string', 'example' => '1'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => 'CE:3B:**:**:FD:FB'],
+ 'Cpu' => ['description' => 'CPU型号。', 'type' => 'string', 'example' => 'Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'DESKTOP-ERLV3AK'],
+ 'Memory' => ['description' => '终端设备内存容量。单位:GB。', 'type' => 'string', 'example' => '2'],
+ 'Disk' => ['description' => '终端设备磁盘型号。', 'type' => 'string', 'example' => 'KXG6AZNV512G TOSHIBA'],
],
- 'example' => 'false',
],
- 'Status' => [
- 'description' => '超额注册申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Approved' => '通过',
- 'Rejected' => '拒绝',
- 'Pending' => '待处理',
+ 'DeviceStatusInfo' => [
+ 'description' => '设备状态信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => 'SASE用户唯一ID。', 'type' => 'string', 'example' => 'su_dfsdfsdgasgsgag'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '测试'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => 'IT运维部'],
+ 'AppVersion' => ['description' => '客户端版本。', 'type' => 'string', 'example' => '4.5.1'],
+ 'LoginStatus' => ['description' => '登录状态。', 'type' => 'string', 'example' => 'online'],
+ 'ZtnaStatus' => ['description' => 'ZTNA启用状态。', 'type' => 'string', 'example' => 'enabled'],
+ 'LaStatus' => ['description' => '上网行为管理启用状态。', 'type' => 'string', 'example' => 'enabled'],
+ 'DlpStatus' => ['description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。', 'type' => 'string', 'example' => 'enabled'],
+ 'NacStatus' => ['description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。', 'type' => 'string', 'example' => 'enabled'],
+ 'InternetIp' => ['description' => '公网IP。', 'type' => 'string', 'example' => '120.26.XX.XX'],
+ 'PrivateIp' => ['description' => '私网Ip。', 'type' => 'string', 'example' => '172.20.XX.XX'],
+ 'Workshop' => ['description' => '识别到的办公区名称。', 'type' => 'string', 'example' => '办公地点'],
],
- 'example' => 'Approved',
- ],
- 'CreateTime' => [
- 'description' => '超额注册申请创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
- ],
- 'Description' => [
- 'description' => '超额注册申请理由。',
- 'type' => 'string',
- 'example' => '这是一条超额注册申请',
- ],
- 'ApplicationId' => [
- 'description' => '超额注册申请ID。',
- 'type' => 'string',
- 'example' => 'reg-application-0f4a127b7e78****',
],
],
],
],
+ 'TotalNum' => ['description' => '动态处置流程的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '批量查询动态策略处置流程',
+ 'summary' => '批量查询动态策略处置流程。',
+ 'changeSet' => [
+ ['createdAt' => '2025-04-15T11:02:02.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询设备超额注册申请',
- ],
- 'UpdateExcessiveDeviceRegistrationApplicationsStatus' => [
- 'summary' => '批量修改当前阿里云账号下超额注册申请状态。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicDisposalProcesses'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicDisposalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DisposalProcesses\\": [\\n {\\n \\"Status\\": \\"disposal\\",\\n \\"DynamicPolicyId\\": \\"dynamic-policy-xxxxxxxx\\",\\n \\"DisposalProcessId\\": \\"dp-xxxxxxxx\\",\\n \\"DynamicPolicyName\\": \\"动态策略1\\",\\n \\"Hostname\\": \\"WANGCHENCHENNBB\\",\\n \\"UserName\\": \\"xiaoming\\",\\n \\"Department\\": \\"场景险部\\",\\n \\"SaseUserId\\": \\"asdqwedg-xzczvzdaf-asfafs\\",\\n \\"DevTag\\": \\"FD7554AD-4CDE-6359-6B49-4FE950606C2C\\",\\n \\"DisposalActions\\": [\\n \\"nac-connect\\"\\n ],\\n \\"RecoveryType\\": \\"auto\\",\\n \\"RuleContent\\": \\"{\\\\n \\\\\\"Combinator\\\\\\": \\\\\\"OR\\\\\\",\\\\n \\\\\\"Rules\\\\\\": [\\\\n {\\\\n \\\\\\"Operator\\\\\\": \\\\\\"version_gt\\\\\\",\\\\n \\\\\\"Values\\\\\\": [\\\\n \\\\\\"1\\\\\\"\\\\n ],\\\\n \\\\\\"RuleType\\\\\\": \\\\\\"device_info\\\\\\",\\\\n \\\\\\"Id\\\\\\": \\\\\\"1\\\\\\",\\\\n \\\\\\"RuleSubType\\\\\\": \\\\\\"basic_info\\\\\\",\\\\n \\\\\\"Name\\\\\\": \\\\\\"app_version\\\\\\"\\\\n }\\\\n ]\\\\n}\\",\\n \\"DisposalTime\\": \\"1743059249\\",\\n \\"DeviceBasicInfo\\": {\\n \\"DevTag\\": \\"A84D0AF0-1ACC-02B8-6A07-FC898F71BE09\\",\\n \\"DevType\\": \\"windows\\",\\n \\"OsVersion\\": \\"1\\",\\n \\"Mac\\": \\"CE:3B:**:**:FD:FB\\",\\n \\"Cpu\\": \\"Intel(R) Core(TM) i5-10210U CPU @ 1.60GHz\\",\\n \\"Hostname\\": \\"DESKTOP-ERLV3AK\\",\\n \\"Memory\\": \\"2\\",\\n \\"Disk\\": \\"KXG6AZNV512G TOSHIBA\\"\\n },\\n \\"DeviceStatusInfo\\": {\\n \\"SaseUserId\\": \\"su_dfsdfsdgasgsgag\\",\\n \\"Username\\": \\"测试\\",\\n \\"Department\\": \\"IT运维部\\",\\n \\"AppVersion\\": \\"4.5.1\\",\\n \\"LoginStatus\\": \\"online\\",\\n \\"ZtnaStatus\\": \\"enabled\\",\\n \\"LaStatus\\": \\"enabled\\",\\n \\"DlpStatus\\": \\"enabled\\",\\n \\"NacStatus\\": \\"enabled\\",\\n \\"InternetIp\\": \\"120.26.XX.XX\\",\\n \\"PrivateIp\\": \\"172.20.XX.XX\\",\\n \\"Workshop\\": \\"办公地点\\"\\n }\\n }\\n ],\\n \\"TotalNum\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListDynamicRouteRegions' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '超额注册申请状态。取值:'."\n"
- .'- **Approved**:通过。只有设备注册申请为待处理状态时允许通过。'."\n"
- .'- **Rejected**:拒绝。只有设备注册申请为待处理状态时允许拒绝。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Approved' => '通过',
- 'Rejected' => '拒绝',
- ],
- 'example' => 'Approved',
- ],
- ],
- [
- 'name' => 'ApplicationIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '超额注册申请ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '超额注册申请ID。取值来源[ListExcessiveDeviceRegistrationApplications](~~ListExcessiveDeviceRegistrationApplications~~):批量查询设备超额注册申请。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'reg-application-0f4a127b7e78****'."\n",
- ],
- 'required' => true,
- ],
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
+ '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' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'Applications' => [
- 'description' => '超额注册申请列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => '已授权SASE全球办公服务的POP集群接入点的地域总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Regions' => [
+ 'description' => '已授权SASE全球办公服务的POP集群接入点的地域列表。',
'type' => 'array',
'items' => [
- 'description' => '超额注册申请。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'IsUsed' => [
- 'description' => '超额注册申请是否被使用。取值:'."\n"
- .'- **true**:被使用。'."\n"
- .'- **false**:尚未使用。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '被使用',
- 'false' => '尚未使用',
- ],
- 'example' => 'false',
- ],
- 'Status' => [
- 'description' => '超额注册申请状态。取值:'."\n"
- .'- **Pending**:待处理。'."\n"
- .'- **Approved**:通过。'."\n"
- .'- **Rejected**:拒绝。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Approved' => '通过',
- 'Rejected' => '拒绝',
- 'Pending' => '待处理',
- ],
- 'example' => 'Approved',
- ],
- 'CreateTime' => [
- 'description' => '超额注册申请创建时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
- ],
- 'Description' => [
- 'description' => '超额注册申请理由。',
- 'type' => 'string',
- 'example' => '这是一条超额注册申请',
- ],
- 'ApplicationId' => [
- 'description' => '超额注册申请ID。',
- 'type' => 'string',
- 'example' => 'reg-application-0f4a127b7e78****',
- ],
- ],
+ 'description' => '已授权SASE全球办公服务的POP集群接入点的地域。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['ap-southeast-1' => '新加坡', 'us-east-1' => '弗吉尼亚', 'us-west-1' => '硅谷'],
+ 'example' => 'ap-southeast-1',
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量修改设备超额注册申请状态',
- ],
- 'UpdateUserDevicesSharingStatus' => [
- 'summary' => '批量修改企业用户的终端设备共享状态。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询动态路由已授权地域',
+ 'summary' => '批量查询当前阿里云账号下查询SASE的POP集群接入点支持地域。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicRouteRegions'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicRouteRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Regions\\": [\\n \\"ap-southeast-1\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListDynamicRoutes' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'DeviceTags',
- 'in' => 'formData',
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'dynamic_route_name'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => [
+ 'description' => '动态路由状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ ],
+ [
+ 'name' => 'DynamicRouteIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '终端设备ID集合。',
+ 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由ID。取值来源:'."\n"
+ .'- [ListDynamicRoutes](~~ListDynamicRoutes~~):批量查询动态路由。'."\n"
+ .'- [CreateDynamicRoute](~~CreateDynamicRoute~~):创建动态路由。', 'type' => 'string', 'required' => false, 'example' => 'dr-30108b6c9d31****'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'RegionIds',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => 'SASE的POP集群接入点支持的地域列表。',
'type' => 'array',
'items' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
+ 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
+ .' - [ListDynamicRouteRegions](~~ListDynamicRouteRegions~~):批量查询动态路由已授权地域。',
'type' => 'string',
'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
+ 'enumValueTitles' => ['cn-shenzhen' => '深圳', 'cn-beijing' => '北京', 'cn-shanghai' => '上海', 'ap-southeast-1' => '新加坡', 'us-east-1' => '弗吉尼亚', 'us-west-1' => '硅谷', 'cn-hangzhou' => '杭州', 'cn-chengdu' => '成都'],
+ 'example' => 'ap-southeast-1',
],
- 'required' => true,
+ 'required' => false,
],
],
[
- 'name' => 'SharingStatus',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'required' => true,
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
+ 'name' => 'ApplicationId',
+ 'in' => 'query',
+ 'schema' => ['description' => '动态路由的内网访问应用ID。无法和内网访问标签ID同时过滤。取值来源:'."\n"
+ .' - [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .' - [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ [
+ 'name' => 'TagId',
+ 'in' => 'query',
+ 'schema' => ['description' => '动态路由的内网访问标签ID。无法和内网访问应用ID同时过滤。取值来源:'."\n"
+ .' - [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .' - [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ [
+ 'name' => 'NextHop',
+ 'in' => 'query',
+ 'schema' => ['description' => '动态路由下一跳实例ID。取值来源:'."\n"
+ .' - [ListConnectors](~~ListConnectors~~):批量查询Connector。', 'type' => 'string', 'required' => false, 'example' => 'connector-8ccb13b6f52c****'],
],
],
'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' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
- 'Devices' => [
- 'description' => '终端设备列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => '动态路由的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'DynamicRoutes' => [
+ 'description' => '动态路由列表。',
'type' => 'array',
'items' => [
- 'description' => '终端设备。',
+ 'description' => '动态路由。',
'type' => 'object',
'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
- 'DeviceModel' => [
- 'description' => '终端设备型号。',
- 'type' => 'string',
- 'example' => 'MacBookPro17,1',
- ],
- 'DeviceVersion' => [
- 'description' => '终端设备操作系统版本。',
- 'type' => 'string',
- 'example' => '3.5.1',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'InnerIP' => [
- 'description' => '终端设备内网IP地址。',
- 'type' => 'string',
- 'example' => '192.168.XX.XX',
- ],
- 'SrcIP' => [
- 'description' => '终端设备登录IP地址。',
- 'type' => 'string',
- 'example' => '11.49.XX.XX',
- ],
- 'Memory' => [
- 'description' => '终端设备内存容量。单位:GB。',
- 'type' => 'string',
- 'example' => '16',
- ],
- 'CPU' => [
- 'description' => '终端设备CPU型号。',
- 'type' => 'string',
- 'example' => 'Apple M1',
- ],
- 'Disk' => [
- 'description' => '终端设备磁盘型号。',
- 'type' => 'string',
- 'example' => 'APPLE SSD AP0512Q Media',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'AppVersion' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'example' => '2.2.0',
- ],
- 'DeviceBelong' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'SharingStatus' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
- 'DeviceStatus' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线',
- 'Unbound' => '解绑',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'AppStatus' => [
- 'description' => '客户端状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'PaStatus' => [
- 'description' => '内网访问状态。取值:'."\n"
+ 'DynamicRouteId' => ['description' => '动态路由ID。', 'type' => 'string', 'example' => 'dr-a0ca843f53cf****'],
+ 'Name' => ['description' => '动态路由的名称。', 'type' => 'string', 'example' => 'dynamic_route_name'],
+ 'Description' => ['description' => '动态路由的描述。', 'type' => 'string', 'example' => '这是一条动态路由'],
+ 'Status' => [
+ 'description' => '动态路由状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
- 'IaStatus' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
+ 'Priority' => ['description' => '动态路由优先级。数字1表示优先级最高。优先级排序和列表查询从上到下保持一致。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'RegionIds' => [
+ 'description' => 'SASE的POP集群接入点支持的地域列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'SASE的POP集群接入点支持的地域。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['cn-shenzhen' => '深圳', 'cn-beijing' => '北京', 'cn-shanghai' => '上海', 'ap-southeast-1' => '新加坡', 'us-east-1' => '弗吉尼亚', 'us-west-1' => '硅谷', 'cn-hangzhou' => '杭州', 'cn-chengdu' => '成都'],
+ 'example' => 'ap-southeast-1',
],
- 'example' => 'Enabled',
],
- 'DlpStatus' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
+ 'ApplicationType' => [
+ 'description' => '动态路由的应用类型。取值:'."\n"
+ .'- **All**:全部应用。'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
+ 'enumValueTitles' => ['All' => '全部应用', 'Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
- 'NacStatus' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
+ 'ApplicationIds' => [
+ 'description' => '动态路由的内网访问应用ID集合。当应用类型为**Application**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
],
- 'CreateTime' => [
- 'description' => '终端设备注册时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
+ 'TagIds' => [
+ 'description' => '动态路由的内网访问标签ID集合。当应用类型为**Tag**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
],
- 'UpdateTime' => [
- 'description' => '终端设备最后在线时间。',
+ 'DynamicRouteType' => [
+ 'description' => '动态路由类型。取值:**connector**:自有专线。',
'type' => 'string',
- 'example' => '2023-08-24 19:04:42',
- ],
- 'NetInterfaceInfo' => [
- 'description' => '终端网卡列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端网卡。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '网卡名称。',
- 'type' => 'string',
- 'example' => 'eth0',
- ],
- 'Mac' => [
- 'description' => '网卡MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- ],
- ],
+ 'enumValueTitles' => ['connector' => '自有专线'],
+ 'example' => 'connector',
],
+ 'NextHop' => ['description' => '动态路由下一跳示例ID。', 'type' => 'string', 'example' => 'connector-8ccb13b6f52c****'],
+ 'CreateTime' => ['description' => '动态路由创建时间。', 'type' => 'string', 'example' => '2023-03-21 11:50:03'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询动态路由',
+ 'summary' => '获取当前阿里云账号下所有动态路由的信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicRoutes'],
+ ],
],
- 'eventInfo' => [
- 'enable' => false,
- 'eventNames' => [],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicRoutes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量修改用户终端设备共享状态',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-a0ca843f53cf****\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-03-21 11:50:03\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'ListUserDevices' => [
- 'summary' => '查询当前阿里云账号下用户终端设备列表。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListEnterpriseAccelerateLogs' => [
+ 'summary' => '查询企业加速审计日志。',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -11385,13 +9858,11 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '192473',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '264492',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -11399,395 +9870,253 @@
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值范围:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '10'],
],
[
'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
- ],
- [
- 'name' => 'SaseUserId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。取值来源:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
+ 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => '张三'],
],
[
'name' => 'Department',
'in' => 'query',
- 'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
+ 'schema' => ['description' => '部门。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
],
[
- 'name' => 'Hostname',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'win10-64bit',
- ],
+ 'schema' => ['description' => '开始时间,Unix时间戳,单位秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1748419094'],
],
[
- 'name' => 'DeviceBelong',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
+ 'schema' => ['description' => '结束时间,Unix时间戳,单位秒。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1748422694'],
],
[
- 'name' => 'Mac',
+ 'name' => 'DstAddr',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00:16:XX:XX:7c:46',
- ],
+ 'schema' => ['description' => '访问地址', 'type' => 'string', 'required' => false, 'example' => 'jfrog.cea.vwah.vwgroup.com'],
],
[
- 'name' => 'SharingStatus',
+ 'name' => 'SearchMode',
'in' => 'query',
'schema' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
+ 'description' => '查询模式,目前只有DstAddr字段支持:'."\n"
+ .'- **Exact**: 精确查询'."\n"
+ .'- **Fuzzy**: 模糊查询',
+ 'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
+ 'example' => 'Exact',
+ 'enum' => ['Exact', 'Fuzzy'],
],
],
- [
- 'name' => 'DeviceStatuses',
- 'in' => 'query',
- 'style' => 'flat',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '终端设备状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。包括长期离线状态。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线(包括长期离线)',
- 'Unbound' => '解绑',
- 'Online' => '在线',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalNumber' => ['description' => '日志总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '120'],
+ 'RequestId' => ['description' => '本次请求的 ID。', 'type' => 'string', 'example' => '43F07A6A-294D-56FB-85EB-6AD00C5B60FF'],
+ 'Logs' => [
+ 'description' => '日志列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '日志对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DstAddr' => ['description' => '访问地址。', 'type' => 'string', 'example' => 'www.bing.com:443'],
+ 'DeviceType' => ['description' => '设备类型。', 'type' => 'string', 'example' => 'windows'],
+ 'UnixTime' => ['description' => '时间。', 'type' => 'string', 'example' => '1748422797'],
+ 'Department' => ['description' => '部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '张三'],
+ 'PolicyName' => ['description' => '企业加速策略名。', 'type' => 'string', 'example' => '白名单加速'],
+ 'ProxyAddr' => ['description' => '企业加速实例地址。', 'type' => 'string', 'example' => '8.222.179.xxx:10015'],
+ 'InBytes' => ['description' => '入流量,单位Byte。', 'type' => 'string', 'example' => '12299'],
+ 'OutBytes' => ['description' => '出流量,单位Byte。', 'type' => 'string', 'example' => '2603'],
+ ],
+ ],
],
- 'example' => 'Online',
],
- 'required' => false,
],
],
- [
- 'name' => 'AppStatuses',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '客户端状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '客户端状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'required' => false,
- ],
+ ],
+ 'title' => '查询企业加速审计日志',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-06T13:10:58.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAccelerateLogs'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PaStatuses',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAccelerateLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalNumber\\": 120,\\n \\"RequestId\\": \\"43F07A6A-294D-56FB-85EB-6AD00C5B60FF\\",\\n \\"Logs\\": [\\n {\\n \\"DstAddr\\": \\"www.bing.com:443\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"UnixTime\\": \\"1748422797\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Username\\": \\"张三\\",\\n \\"PolicyName\\": \\"白名单加速\\",\\n \\"ProxyAddr\\": \\"8.222.179.xxx:10015\\",\\n \\"InBytes\\": \\"12299\\",\\n \\"OutBytes\\": \\"2603\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListEnterpriseAcceleratePolicies' => [
+ 'summary' => '查询加速策略列表',
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'IaStatuses',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '互联网访问状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Disabled',
- ],
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '263728',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
[
- 'name' => 'DlpStatuses',
+ 'name' => 'Name',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '办公数据保护状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '企业加速策略名称。', 'type' => 'string', 'required' => false, 'example' => '测试策略'],
],
[
- 'name' => 'NacStatuses',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '网络准入状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Unprovisioned',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '10000', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'AutoLoginStatuses',
+ 'name' => 'PageSize',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'type' => 'array',
- 'items' => [
- 'type' => 'string',
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '1000', 'minimum' => '1', 'example' => '10'],
],
- [
- 'name' => 'DeviceTypes',
- 'in' => 'query',
- 'style' => 'flat',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '终端设备操作系统类型集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => 'DB0471D0-C05C-556D-9F40-0325D890036F'],
+ 'Total' => ['description' => '策略总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '5'],
+ 'Policies' => [
+ 'description' => '策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '策略对象。',
+ 'type' => 'object',
+ 'properties' => [
+ 'EapId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'eap-eec34d4b12fcca61'],
+ 'Name' => ['description' => '策略名称。', 'type' => 'string', 'example' => 'test'],
+ 'Description' => ['description' => '策略描述。', 'type' => 'string', 'example' => '这是一条测试策略。'],
+ 'UpstreamType' => ['description' => '加速实例。', 'type' => 'string', 'example' => 'connector'],
+ 'UpstreamHost' => ['description' => '加速实例的地址(IP或域名)。', 'type' => 'string', 'example' => '12.34.56.XX'],
+ 'UpstreamPort' => ['description' => '加速实例的端口(1000~60000之间)。', 'type' => 'integer', 'format' => 'int32', 'example' => '1000'],
+ 'Enabled' => ['description' => '是否启用:'."\n"
+ .'- **1**: 启用'."\n"
+ .'- **0**: 未启用', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'UserAttributeGroup' => ['description' => '加速用户组。', 'type' => 'string', 'example' => '测试用户组'],
+ 'Priority' => ['description' => '策略优先级。', 'type' => 'integer', 'format' => 'int32', 'example' => '99'],
+ 'AccelerationType' => ['description' => '加速模式:'."\n"
+ .'- **whiltelist**: 白名单加速'."\n"
+ .'- **global**: 全局加速'."\n"
+ .'- **build-in-list:** 系统内置应用加速', 'type' => 'string', 'example' => 'whitelist'],
+ 'ShowInClient' => ['description' => '是否在客户端透出:'."\n"
+ .'- **0**: 不透出'."\n"
+ .'- **1**: 透出', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'OnTls' => ['description' => '是否开启TLS模式:'."\n"
+ .'- **0**: 不开启'."\n"
+ .'- **1**: 开启', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ ],
+ ],
],
- 'example' => 'Windows',
],
- 'required' => false,
],
],
- [
- 'name' => 'DeviceTags',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '终端设备ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'required' => false,
- ],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询企业加速策略列表',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAcceleratePolicies'],
],
+ ],
+ 'ramActions' => [
[
- 'name' => 'SortBy',
- 'in' => 'query',
- 'schema' => [
- 'description' => '排序参数。取值:'."\n"
- .'- **Username**:按Username升序排列。'."\n"
- .'- **AppVersion**:按AppVersion降序排列。'."\n"
- .'- **UpdateTime**:按UpdateTime降序排列。'."\n"
- .'- **CreateTime**:按CreateTime降序排列。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'AppVersion' => '按AppVersion降序排列',
- 'Username' => '按Username升序排列',
- 'CreateTime' => '按CreateTime降序排列',
- 'UpdateTime' => '按UpdateTime降序排列',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAcceleratePolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'UpdateTime',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DB0471D0-C05C-556D-9F40-0325D890036F\\",\\n \\"Total\\": 5,\\n \\"Policies\\": [\\n {\\n \\"EapId\\": \\"eap-eec34d4b12fcca61\\",\\n \\"Name\\": \\"test\\",\\n \\"Description\\": \\"这是一条测试策略。\\",\\n \\"UpstreamType\\": \\"connector\\",\\n \\"UpstreamHost\\": \\"12.34.56.XX\\",\\n \\"UpstreamPort\\": 1000,\\n \\"Enabled\\": 0,\\n \\"UserAttributeGroup\\": \\"测试用户组\\",\\n \\"Priority\\": 99,\\n \\"AccelerationType\\": \\"whitelist\\",\\n \\"ShowInClient\\": 1,\\n \\"OnTls\\": 0\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListEnterpriseAccelerateTargets' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'InnerIp',
- 'in' => 'query',
- 'schema' => [
- 'description' => '终端设备内网IP地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.XX.XX',
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '263737',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
[
- 'name' => 'AppVersions',
+ 'name' => 'EapId',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '客户端版本集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '4.5.0',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => true, 'example' => 'eap-424ba3f47660425c'],
],
[
- 'name' => 'Workshop',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '办公区名称。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试办公区',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '10000', 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'DeviceGroupId',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '设备组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'device-group-5191cf830a5e****',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'maximum' => '1000', 'minimum' => '1', 'example' => '10'],
],
[
- 'name' => 'SnSystem',
+ 'name' => 'Target',
'in' => 'query',
- 'schema' => [
- 'description' => '系统sn码。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'KVN9C9****',
- ],
+ 'schema' => ['description' => '企业加速地址,支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'googleapis.com'],
],
],
'responses' => [
@@ -11797,321 +10126,47 @@
'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D',
- ],
- 'TotalNum' => [
- 'description' => '终端设备总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Devices' => [
- 'description' => '终端设备列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '529F755E-2E75-52EC-9C2E-6293FB8BF986'],
+ 'Total' => ['description' => '地址总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '103'],
+ 'EapId' => ['description' => '企业加速策略ID。', 'type' => 'string', 'example' => 'eap-7fed37a757a0de24'],
+ 'Targets' => [
+ 'description' => '企业加速地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '终端设备。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
- 'DeviceModel' => [
- 'description' => '终端设备型号。',
- 'type' => 'string',
- 'example' => 'MacBookPro17,1',
- ],
- 'DeviceVersion' => [
- 'description' => '终端设备操作系统版本。',
- 'type' => 'string',
- 'example' => '3.5.1',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'InnerIP' => [
- 'description' => '终端设备内网IP地址。',
- 'type' => 'string',
- 'example' => '192.168.XX.XX',
- ],
- 'SrcIP' => [
- 'description' => '终端设备登录IP地址。',
- 'type' => 'string',
- 'example' => '11.49.XX.XX',
- ],
- 'Memory' => [
- 'description' => '终端设备内存容量。单位:GB。',
- 'type' => 'string',
- 'example' => '16',
- ],
- 'CPU' => [
- 'description' => '终端设备CPU型号。',
- 'type' => 'string',
- 'example' => 'Apple M1',
- ],
- 'Disk' => [
- 'description' => '终端设备磁盘型号。',
- 'type' => 'string',
- 'example' => 'APPLE SSD AP0512Q Media',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- 'AppVersion' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'example' => '2.2.0',
- ],
- 'DeviceBelong' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'SharingStatus' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
- 'DeviceStatus' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线',
- 'Unbound' => '解绑',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'AppStatus' => [
- 'description' => '客户端状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'PaStatus' => [
- 'description' => '内网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'IaStatus' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'DlpStatus' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'NacStatus' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '终端设备注册时间。',
- 'type' => 'string',
- 'example' => '2023-07-17 18:46:55',
- ],
- 'UpdateTime' => [
- 'description' => '终端设备最后在线时间。',
- 'type' => 'string',
- 'example' => '2023-08-24 19:04:42',
- ],
- 'EdrStatus' => [
- 'description' => '反入侵状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'NetInterfaceInfo' => [
- 'description' => '终端网卡列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端网卡列表。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '网卡名称。',
- 'type' => 'string',
- 'example' => 'eth0',
- ],
- 'Mac' => [
- 'description' => '网卡MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
- ],
- ],
- ],
- ],
- 'Workshop' => [
- 'description' => '办公区名称。',
- 'type' => 'string',
- 'example' => '测试办公区',
- ],
- 'SnSystem' => [
- 'description' => '系统sn码。',
- 'type' => 'string',
- 'example' => 'KVN9C9****',
- ],
- 'SnDiskDrive' => [
- 'description' => '硬盘sn码。',
- 'type' => 'string',
- 'example' => 'WD-WXR1A99A****',
- ],
- 'SnBaseBoard' => [
- 'description' => '主板sn码。',
- 'type' => 'string',
- 'example' => 'PJGGU00WBD****',
- ],
- 'SnProcessor' => [
- 'description' => '处理器sn码。',
- 'type' => 'string',
- 'example' => 'BFEBFBFF0008****',
- ],
- 'SnBios' => [
- 'description' => 'bios系统sn码。',
- 'type' => 'string',
- 'example' => '5CG003****',
- ],
- 'AutoLoginStatus' => [
- 'type' => 'string',
- ],
- 'MatchDeviceGroupIds' => [
- 'description' => '匹配设备组ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备组ID。',
- 'type' => 'string',
- 'example' => 'device-group-5191cf830a5e****',
- ],
- ],
- ],
- ],
+ 'items' => ['description' => '企业加速地址。', 'type' => 'string', 'example' => 'googleapis.com'],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '查询企业加速地址列表',
+ 'summary' => '查询企业加速地址列表。',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": 1,\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"EdrStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\",\\n \\"AutoLoginStatus\\": \\"\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户终端设备',
- ],
- 'ExportUserDevices' => [
- 'summary' => '导出用户终端设备列表Excel文件。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAccelerateTargets'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAccelerateTargets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"529F755E-2E75-52EC-9C2E-6293FB8BF986\\",\\n \\"Total\\": 103,\\n \\"EapId\\": \\"eap-7fed37a757a0de24\\",\\n \\"Targets\\": [\\n \\"googleapis.com\\"\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListExcessiveDeviceRegistrationApplications' => [
+ 'summary' => '查询当前阿里云账号下用户终端设备的超额注册申请列表。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12123,294 +10178,233 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '197383',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeNodes' => ['FEATUREcsasDGFP8V'],
],
'parameters' => [
[
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值范围:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
+ ],
+ [
'name' => 'Username',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
],
[
'name' => 'SaseUserId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '用户ID。取值来源:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
],
[
'name' => 'Department',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
],
[
'name' => 'Hostname',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'win10-64bit',
- ],
- ],
- [
- 'name' => 'DeviceBelong',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'required' => false, 'example' => 'win10-64bit'],
],
[
'name' => 'Mac',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '00:16:7c:46:**:**',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'required' => false, 'example' => '00:16:XX:XX:7c:46'],
],
[
- 'name' => 'SharingStatus',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
+ 'name' => 'DeviceTag',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
],
[
- 'name' => 'DeviceStatuses',
- 'in' => 'formData',
+ 'name' => 'Statuses',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '终端设备状态集合。',
+ 'description' => '超额注册申请状态集合。',
'type' => 'array',
'items' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。包括长期离线状态。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
+ 'description' => '超额注册申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线',
- 'Unbound' => '解绑',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
+ 'enumValueTitles' => ['Approved' => '通过', 'Rejected' => '拒绝', 'Pending' => '待处理'],
+ 'example' => 'Pending',
],
'required' => false,
],
],
[
- 'name' => 'AppStatuses',
- 'in' => 'formData',
+ 'name' => 'ApplicationIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '客户端状态集合。',
+ 'description' => '超额注册申请ID集合。',
'type' => 'array',
- 'items' => [
- 'description' => '客户端状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
+ 'items' => ['description' => '超额注册申请ID。取值来源[ListExcessiveDeviceRegistrationApplications](~~ListExcessiveDeviceRegistrationApplications~~):批量查询设备超额注册申请。', 'type' => 'string', 'required' => false, 'example' => 'reg-application-0f4a127b7e78****'],
'required' => false,
],
],
- [
- 'name' => 'PaStatuses',
- 'in' => 'formData',
- 'style' => 'flat',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '内网访问状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => '超额注册申请总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Applications' => [
+ 'description' => '超额注册申请列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '超额注册申请。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
+ ],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'IsUsed' => [
+ 'description' => '超额注册申请是否被使用。取值:'."\n"
+ .'- **true**:被使用。'."\n"
+ .'- **false**:尚未使用。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '被使用', 'false' => '尚未使用'],
+ 'example' => 'false',
+ ],
+ 'Status' => [
+ 'description' => '超额注册申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Approved' => '通过', 'Rejected' => '拒绝', 'Pending' => '待处理'],
+ 'example' => 'Approved',
+ ],
+ 'CreateTime' => ['description' => '超额注册申请创建时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
+ 'Description' => ['description' => '超额注册申请理由。', 'type' => 'string', 'example' => '这是一条超额注册申请'],
+ 'ApplicationId' => ['description' => '超额注册申请ID。', 'type' => 'string', 'example' => 'reg-application-0f4a127b7e78****'],
+ 'FullDepartment' => [
+ 'description' => '部门全路径列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '部门全路径。', 'type' => 'string', 'example' => 'SASE/dept1/test dept2'],
+ ],
+ ],
+ ],
],
- 'example' => 'Enabled',
],
- 'required' => false,
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询设备超额注册申请',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExcessiveDeviceRegistrationApplications'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'IaStatuses',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '互联网访问状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Disabled',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListExcessiveDeviceRegistrationApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\",\\n \\"FullDepartment\\": [\\n \\"SASE/dept1/test dept2\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListForwardStrategies' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
+ 'security' => [
[
- 'name' => 'DlpStatuses',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '办公数据保护状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
+ ],
+ 'parameters' => [
[
- 'name' => 'NacStatuses',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '网络准入状态集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Unprovisioned',
- ],
- 'required' => false,
- ],
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '转发策略名称。', 'type' => 'string', 'required' => false, 'example' => 'acs_rand_str_acs'],
],
[
- 'name' => 'DeviceTypes',
- 'in' => 'formData',
+ 'name' => 'DestinationType',
+ 'in' => 'query',
+ 'schema' => ['description' => '访问目标类型。取值:'."\n"
+ .'- **Connector**:连接器。', 'type' => 'string', 'required' => false, 'example' => 'Connector'],
+ ],
+ [
+ 'name' => 'DestinationIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '终端设备操作系统类型集合。',
+ 'description' => '访问目标实例ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
+ 'items' => ['description' => '访问目标实例 ID 列表。', 'type' => 'string', 'required' => false, 'example' => 'connector-bf1e9f01f17ab3cc'],
'required' => false,
],
],
[
- 'name' => 'DeviceTags',
- 'in' => 'formData',
+ 'name' => 'ForwardIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '终端设备ID集合。',
+ 'description' => '转发策略ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
- ],
+ 'items' => ['description' => '转发策略ID列表。', 'type' => 'string', 'required' => false, 'example' => 'fs-82a5d98b39c63f62'],
'required' => false,
],
],
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'string', 'required' => false, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
],
'responses' => [
200 => [
@@ -12419,446 +10413,191 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D',
- ],
- 'SignedUrl' => [
- 'description' => '文件下载URL,有效时间1分钟。',
- 'type' => 'string',
- 'example' => 'https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
+ 'ForwardStrategies' => [
+ 'description' => '转发策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'ForwardId' => ['description' => '转发策略ID。', 'type' => 'string', 'example' => 'fs-8b299ac5a93a0a3a'],
+ 'Name' => ['description' => '转发策略名称。', 'type' => 'string', 'example' => '白名单加速'],
+ 'Description' => ['description' => '转发策略描述。', 'type' => 'string', 'example' => 'asdasdasd'],
+ 'Priority' => ['description' => '策略优先级。', 'type' => 'string', 'example' => '100'],
+ 'DestinationType' => ['description' => '访问目标类型。取值:'."\n"
+ .'- **Connector**:连接器。', 'type' => 'string', 'example' => 'Connector'],
+ 'DestinationId' => ['description' => '目标实例ID。', 'type' => 'string', 'example' => 'connector-4178bc59bec56df1'],
+ 'Status' => ['description' => '策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ ],
+ 'description' => '',
+ ],
],
+ 'TotalNum' => ['description' => '策略总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询转发策略',
+ 'summary' => '批量查询转发策略',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"SignedUrl\\": \\"https://sase-export.oss-cn-hangzhou.aliyuncs.com/export%2Fapp-device%2F20240607154831.xlsx?Expires=1717746571&OSSAccessKeyId=********************\\"\\n}","type":"json"}]',
- 'title' => '导出用户终端设备列表',
- ],
- 'GetUserDevice' => [
- 'summary' => '查询当前阿里云账号下用户终端设备详情。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListForwardStrategies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"ForwardStrategies\\": [\\n {\\n \\"ForwardId\\": \\"fs-8b299ac5a93a0a3a\\",\\n \\"Name\\": \\"白名单加速\\",\\n \\"Description\\": \\"asdasdasd\\",\\n \\"Priority\\": \\"100\\",\\n \\"DestinationType\\": \\"Connector\\",\\n \\"DestinationId\\": \\"connector-4178bc59bec56df1\\",\\n \\"Status\\": \\"Enabled\\"\\n }\\n ],\\n \\"TotalNum\\": 1\\n}","type":"json"}]',
+ ],
+ 'ListForwardStrategyBindingItems' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '192474',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'DeviceTag',
+ 'name' => 'ForwardIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
+ 'description' => '转发策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '转发策略ID。', 'type' => 'string', 'required' => false, 'example' => 'fs-849ac29396d9ea98'],
'required' => true,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
],
],
+ [
+ 'name' => 'ItemType',
+ 'in' => 'query',
+ 'schema' => ['description' => '绑定项类型:'."\n"
+ .'- **Application** : 内网应用'."\n"
+ .'- **UserGroup** : 用户组', 'type' => 'string', 'required' => false, 'example' => 'Application'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response。',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649',
- ],
- 'Device' => [
- 'description' => '终端设备。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceTag' => [
- 'description' => '终端设备ID。',
- 'type' => 'string',
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'DeviceType' => [
- 'description' => '终端设备操作系统类型。取值:'."\n"
- .'- **Windows**:Windows系统。'."\n"
- .'- **macOS**:macOS系统。'."\n"
- .'- **Linux**:Linux系统。'."\n"
- .'- **Android**:Android系统。'."\n"
- .'- **iOS**:iOS系统。'."\n"
- .'- **Windows_Wuying**:无影云桌面系统。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Linux' => 'Linux系统',
- 'Windows_Wuying' => '无影云桌面系统',
- 'Windows' => 'Windows系统',
- 'iOS' => 'iOS系统',
- 'macOS' => 'macOS系统',
- 'Android' => 'Android系统',
- ],
- 'example' => 'Windows',
- ],
- 'DeviceModel' => [
- 'description' => '终端设备型号。',
- 'type' => 'string',
- 'example' => 'MacBookPro17,1',
- ],
- 'DeviceVersion' => [
- 'description' => '终端设备操作系统版本。',
- 'type' => 'string',
- 'example' => '3.5.1',
- ],
- 'Hostname' => [
- 'description' => '终端设备名称。',
- 'type' => 'string',
- 'example' => 'win10-64bit',
- ],
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'InnerIP' => [
- 'description' => '终端设备内网IP地址。',
- 'type' => 'string',
- 'example' => '172.16.XX.XX',
- ],
- 'SrcIP' => [
- 'description' => '终端设备登录IP地址。',
- 'type' => 'string',
- 'example' => '106.14.XX.XX',
- ],
- 'Memory' => [
- 'description' => '终端设备内存容量。单位:GB。',
- 'type' => 'string',
- 'example' => '16',
- ],
- 'CPU' => [
- 'description' => '终端设备CPU型号。',
- 'type' => 'string',
- 'example' => 'Apple M1',
- ],
- 'Disk' => [
- 'description' => '终端设备磁盘型号。',
- 'type' => 'string',
- 'example' => 'APPLE SSD AP0512Q Media',
- ],
- 'Mac' => [
- 'description' => '终端设备MAC地址。',
- 'type' => 'string',
- 'example' => '48:9e:XX:XX:02:80',
- ],
- 'AppVersion' => [
- 'description' => '客户端版本。',
- 'type' => 'string',
- 'example' => '2.2.0',
- ],
- 'DeviceBelong' => [
- 'description' => '终端设备归属。取值:'."\n"
- .'- **Personal**:个人设备。'."\n"
- .'- **Company**:公司设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'SharingStatus' => [
- 'description' => '设备是否开启共享。取值:'."\n"
- .'- **true**:开启共享。'."\n"
- .'- **false**:关闭共享。',
- 'type' => 'boolean',
- 'enumValueTitles' => [
- 'true' => '开启共享',
- 'false' => '关闭共享',
- ],
- 'example' => 'true',
- ],
- 'DeviceStatus' => [
- 'description' => '终端设备状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。'."\n"
- .'- **LongTermOffline**:长期离线。'."\n"
- .'- **Locked**:锁定。'."\n"
- .'- **Lost**:挂失。'."\n"
- .'- **Unbound**:解绑。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Lost' => '挂失',
- 'Locked' => '锁定',
- 'LongTermOffline' => '长期离线',
- 'Offline' => '离线',
- 'Unbound' => '解绑',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'AppStatus' => [
- 'description' => '客户端状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'PaStatus' => [
- 'description' => '内网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '在线',
- 'Disabled' => '离线',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Enabled',
- ],
- 'IaStatus' => [
- 'description' => '互联网访问状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Disabled',
- ],
- 'DlpStatus' => [
- 'description' => '办公数据保护状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。'."\n"
- .'- **Unauthorized**:未授权。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Unauthorized' => '未授权',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Unauthorized',
- ],
- 'NacStatus' => [
- 'description' => '网络准入状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。'."\n"
- .'- **Unprovisioned**:未配置。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- 'Unprovisioned' => '未配置',
- ],
- 'example' => 'Unprovisioned',
- ],
- 'CreateTime' => [
- 'description' => '终端设备注册时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
- ],
- 'UpdateTime' => [
- 'description' => '终端设备最后在线时间。',
- 'type' => 'string',
- 'example' => '2023-08-24 19:04:42',
- ],
- 'HistoryUsers' => [
- 'description' => '终端设备历史用户集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备历史用户。',
- 'type' => 'object',
- 'properties' => [
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '张女士',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- ],
- ],
- ],
- 'EdrStatus' => [
- 'description' => '反入侵状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Disabled',
- ],
- 'AutoLoginStatus' => [
- 'description' => '设备免登状态。取值:'."\n"
- ."\n"
- .'- 生效中:Enabled。'."\n"
- ."\n"
- .'- 未生效:Disabled。'."\n"
- ."\n"
- .'- 未启用:Unprovisioned。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'NetInterfaceInfo' => [
- 'description' => '终端网卡列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端网卡列表。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '网卡名称。',
- 'type' => 'string',
- 'example' => 'eth0',
- ],
- 'Mac' => [
- 'description' => '网卡MAC地址。',
- 'type' => 'string',
- 'example' => '00:16:XX:XX:7c:46',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '5F79AE39-6622-5292-87EF-DE45631DE4D7'],
+ 'ItemType' => ['description' => '绑定项类型:'."\n"
+ .'- **Application** : 内网应用'."\n"
+ .'- **UserGroup** : 用户组', 'type' => 'string', 'example' => 'Application'],
+ 'ForwardStrategyBindingItemsList' => [
+ 'description' => '转发策略绑定内容列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Items' => [
+ 'description' => '绑定内容',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '数据项。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationName' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => '437008'],
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-104b6b97b7f0c5d9'],
+ 'TagName' => ['description' => '标签名称。', 'type' => 'string', 'example' => 'nieshirui.nsr'],
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-4c8b988bb0ffdfb3'],
+ 'UserGroupName' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'aaaaa'],
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'ug-xxxxxx'],
],
],
],
+ 'MatchMode' => ['description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。'."\n"
+ .'- **ApplicationAll**: 所有内网应用。'."\n"
+ .'- **Application**: 部分内网应用。'."\n"
+ .'- **Tag**: 内网应用标签。', 'type' => 'string', 'example' => 'UserGroupAll'],
+ 'ForwardId' => ['description' => '转发策略ID。', 'type' => 'string', 'example' => 'fs-41a7891ff6568421'],
],
- 'Workshop' => [
- 'description' => '办公区名称。',
- 'type' => 'string',
- 'example' => '测试办公区',
- ],
- 'MatchDeviceGroupIds' => [
- 'description' => '匹配设备组ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备组ID。',
- 'type' => 'string',
- 'example' => 'device-group-5191cf830a5e****',
- ],
- ],
- 'SnSystem' => [
- 'description' => '系统sn码。',
- 'type' => 'string',
- 'example' => 'KVN9C9****',
- ],
- 'SnDiskDrive' => [
- 'description' => '硬盘sn码。',
- 'type' => 'string',
- 'example' => 'WD-WXR1A99A****',
- ],
- 'SnBaseBoard' => [
- 'description' => '主板sn码。',
- 'type' => 'string',
- 'example' => 'PJGGU00WBD****',
- ],
- 'SnProcessor' => [
- 'description' => '处理器sn码。',
- 'type' => 'string',
- 'example' => 'BFEBFBFF0008****',
- ],
- 'SnBios' => [
- 'description' => 'bios系统sn码。',
- 'type' => 'string',
- 'example' => '5CG003****',
- ],
+ 'description' => '',
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询转发策略绑定对象',
+ 'summary' => '批量查询转发策略绑定项目',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"Device\\": {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"172.16.XX.XX\\",\\n \\"SrcIP\\": \\"106.14.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"48:9e:XX:XX:02:80\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Disabled\\",\\n \\"DlpStatus\\": \\"Unauthorized\\",\\n \\"NacStatus\\": \\"Unprovisioned\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"HistoryUsers\\": [\\n {\\n \\"Username\\": \\"张女士\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\"\\n }\\n ],\\n \\"EdrStatus\\": \\"Disabled\\",\\n \\"AutoLoginStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ],\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询用户终端设备详情',
- ],
- 'DeleteUserDevices' => [
- 'summary' => '批量删除用户终端设备。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListForwardStrategyBindingItems',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F79AE39-6622-5292-87EF-DE45631DE4D7\\",\\n \\"ItemType\\": \\"Application\\",\\n \\"ForwardStrategyBindingItemsList\\": [\\n {\\n \\"Items\\": [\\n {\\n \\"ApplicationName\\": \\"437008\\",\\n \\"ApplicationId\\": \\"pa-application-104b6b97b7f0c5d9\\",\\n \\"TagName\\": \\"nieshirui.nsr\\",\\n \\"TagId\\": \\"tag-4c8b988bb0ffdfb3\\",\\n \\"UserGroupName\\": \\"aaaaa\\",\\n \\"UserGroupId\\": \\"ug-xxxxxx\\"\\n }\\n ],\\n \\"MatchMode\\": \\"UserGroupAll\\",\\n \\"ForwardId\\": \\"fs-41a7891ff6568421\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListIdpConfigs' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '197382',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '215351',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'DeviceTags',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '终端设备ID集合。最多100条。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****',
- ],
- 'required' => false,
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
+ ],
+ [
+ 'name' => 'Include',
+ 'in' => 'query',
+ 'schema' => ['description' => '指定的身份源配置类型。多个类型以","分隔。', 'type' => 'string', 'required' => false, 'example' => 'CSAS,DingTalk,LDAP'],
],
],
'responses' => [
@@ -12868,32 +10607,68 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'."\n",
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D'],
+ 'Data' => [
+ 'description' => '身份源配置。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalNum' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DataList' => [
+ 'description' => '身份源配置列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '身份源配置ID。', 'type' => 'string', 'example' => '277'],
+ 'Name' => ['description' => '身份源配置名称。', 'type' => 'string', 'example' => '示例身份源'],
+ 'Type' => ['description' => '身份源配置类型。', 'type' => 'string', 'example' => 'DingTalk'],
+ 'Description' => ['description' => '身份源配置描述。', 'type' => 'string', 'example' => '示例描述'],
+ 'Mfa' => ['description' => '二次认证类型。', 'type' => 'string', 'example' => 'totp'],
+ 'MobileLoginType' => ['description' => '移动端登录类型。', 'type' => 'string', 'example' => 'password'],
+ 'MobileMfaConfigType' => ['description' => '移动端二次认证配置类型。', 'type' => 'string', 'example' => 'password'],
+ 'MultiIdpInfo' => ['description' => '多身份源配置ID列表。', 'type' => 'string', 'example' => '1482,1355'],
+ 'PcLoginType' => ['description' => 'PC端登录类型。', 'type' => 'string', 'example' => 'password'],
+ 'Status' => ['description' => '身份源配置启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Disabled'],
+ 'UpdateTime' => ['description' => '更新时间。', 'type' => 'string', 'example' => '2023-05-09T02:22:41.430Z'],
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\\\n\\"\\n}","type":"json"}]',
- 'title' => '批量删除用户终端设备',
- 'description' => '单次最多删除100台设备。每台设备的设备状态必须是离线或长期离线状态,若传入的终端设备ID集合中部分设备状态不符,则仅删除状态符合的设备,接口仍返回成功。',
- ],
- 'ListSoftwareForUserDevice' => [
- 'summary' => '查询当前阿里云账号下用户终端设备安装的软件列表。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询身份源配置信息',
+ 'summary' => '查询当前阿里云账户身份源配置信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIdpConfigs'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListIdpConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"277\\",\\n \\"Name\\": \\"示例身份源\\",\\n \\"Type\\": \\"DingTalk\\",\\n \\"Description\\": \\"示例描述\\",\\n \\"Mfa\\": \\"totp\\",\\n \\"MobileLoginType\\": \\"password\\",\\n \\"MobileMfaConfigType\\": \\"password\\",\\n \\"MultiIdpInfo\\": \\"1482,1355\\",\\n \\"PcLoginType\\": \\"password\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UpdateTime\\": \\"2023-05-09T02:22:41.430Z\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListIdpDepartments' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -12902,47 +10677,27 @@
'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeCode' => '215359',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
+ 'name' => 'IdpConfigId',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg68956d86e********'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'minimum' => '1', 'example' => '1', 'default' => '1'],
],
[
- 'name' => 'DeviceTag',
+ 'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '终端设备ID。取值:'."\n"
- .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
- .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n",
- ],
+ 'schema' => ['description' => '分页大小。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '100', 'minimum' => '1', 'example' => '10', 'default' => '10'],
],
],
'responses' => [
@@ -12952,48 +10707,23 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'TotalNum' => [
- 'description' => '终端设备安装的软件总数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Software' => [
- 'description' => '终端设备安装的软件列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '终端设备安装的软件。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '软件名称。',
- 'type' => 'string',
- 'example' => '钉钉',
- ],
- 'Inc' => [
- 'description' => '软件出品公司。',
- 'type' => 'string',
- 'example' => 'Alibaba (China) Network Technology Co.,Ltd.',
- ],
- 'Versions' => [
- 'description' => '软件版本集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '软件版本。',
- 'type' => 'string',
- 'example' => '7.0.40',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'Data' => [
+ 'description' => '部门信息。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TotalNum' => ['description' => '记录总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '2'],
+ 'DataList' => [
+ 'description' => '部门信息列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'Id' => ['description' => '部门ID。', 'type' => 'string', 'example' => '30520'],
+ 'Name' => ['description' => '部门名称。', 'type' => 'string', 'example' => '示例部门'],
+ 'IdpConfigId' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'example' => '1440'],
],
- ],
- 'InstallTime' => [
- 'description' => '软件安装时间。',
- 'type' => 'string',
- 'example' => '2023-08-18 02:43:02',
+ 'description' => '',
],
],
],
@@ -13002,319 +10732,159 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": 1,\\n \\"Software\\": [\\n {\\n \\"Name\\": \\"钉钉\\",\\n \\"Inc\\": \\"Alibaba (China) Network Technology Co.,Ltd.\\",\\n \\"Versions\\": [\\n \\"7.0.40\\"\\n ],\\n \\"InstallTime\\": \\"2023-08-18 02:43:02\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户终端设备安装软件',
- ],
- 'ListRegistrationPolicies' => [
- 'summary' => '查询当前阿里云账号下设备注册策略列表。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询自定义身份源部门',
+ 'summary' => '查询当前阿里云账户自定义身份源部门信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIdpDepartments'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListIdpDepartments',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"TotalNum\\": 2,\\n \\"DataList\\": [\\n {\\n \\"Id\\": \\"30520\\",\\n \\"Name\\": \\"示例部门\\",\\n \\"IdpConfigId\\": \\"1440\\"\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'ListNacUserCert' => [
+ 'methods' => ['post', 'get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '209040',
+ 'abilityTreeNodes' => ['FEATUREcsasFARMOF'],
],
'parameters' => [
[
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'string', 'required' => false, 'example' => '10'],
+ ],
+ [
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'string', 'required' => false, 'example' => '1'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'StartTime',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '开始时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1702260834'],
],
[
- 'name' => 'Name',
+ 'name' => 'EndTime',
'in' => 'query',
- 'schema' => [
- 'description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'registration_policy_name',
- ],
+ 'schema' => ['description' => '结束时间。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1702770400'],
],
[
- 'name' => 'UserGroupId',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'schema' => ['description' => '用户名。', 'type' => 'string', 'required' => false, 'example' => 'zhang**'],
],
[
- 'name' => 'CompanyLimitType',
+ 'name' => 'Department',
'in' => 'query',
- 'schema' => [
- 'description' => '公司设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitAll',
- ],
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
],
[
- 'name' => 'PersonalLimitType',
+ 'name' => 'DeviceType',
'in' => 'query',
'schema' => [
- 'description' => '个人设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **windows**:Windows系统。'."\n"
+ .'- **macos**:macOS系统。'."\n"
+ .'- **linux**:Linux系统。'."\n"
+ .'- **android**:Android系统。'."\n"
+ .'- **ios**:iOS系统。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitDiff',
+ 'enumValueTitles' => ['linux' => 'linux', 'android' => 'android', 'windows' => 'windows', 'ios' => 'ios', 'macos' => 'macos'],
+ 'example' => 'windows',
],
],
[
'name' => 'Status',
'in' => 'query',
'schema' => [
- 'description' => '设备注册策略状态。取值:'."\n"
+ 'description' => '证书状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
'example' => 'Enabled',
],
],
- [
- 'name' => 'MatchMode',
- 'in' => 'query',
- 'schema' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
- ],
- 'example' => 'UserGroupAll',
- ],
- ],
- [
- 'name' => 'PolicyIds',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '设备注册策略ID集合。最多可输入100个设备注册策略ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。取值来源:'."\n"
- .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
- .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
- .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
- .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'reg-policy-63b2f1844b86****',
- ],
- 'required' => false,
- ],
- ],
],
'responses' => [
200 => [
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7A8FE38A-E29C-5678-B84A-FEDBCB83552F',
- ],
- 'TotalNum' => [
- 'description' => '设备注册策略总数。',
- 'type' => 'string',
- 'example' => '1',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Code' => [
+ 'description' => '接口状态或POP错误码。取值说明如下:'."\n"
+ .'- **2xx**:成功。 '."\n"
+ .'- **3xx**:重定向。 '."\n"
+ .'- **4xx**:请求错误。 '."\n"
+ .'- **5xx**:服务器错误。',
+ 'type' => 'integer',
+ 'format' => 'int64',
+ 'enumValueTitles' => ['2xx' => '2xx', '3xx' => '3xx', '4xx' => '4xx', '5xx' => '5xx'],
+ 'example' => '200',
],
- 'Policies' => [
- 'description' => '设备注册策略列表。',
+ 'Message' => ['description' => '附加信息。', 'type' => 'string', 'example' => 'successful'],
+ 'TotalNum' => ['description' => '符合条件的总个数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'DataList' => [
+ 'description' => '用户入网证书状态数据列表。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略。',
+ 'description' => '用户入网证书状态。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '设备注册策略名称。',
- 'type' => 'string',
- 'example' => 'registration_policy_name',
- ],
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-dcbfd33cb004****',
- ],
- 'Description' => [
- 'description' => '设备注册策略描述。',
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => 'zhang**'],
+ 'Aliuid' => ['description' => '阿里云账号ID。', 'type' => 'string', 'example' => '1'],
+ 'ExpiredTime' => ['description' => '到期时间。', 'type' => 'string', 'example' => '2029-06-30 09:31:54'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '外包'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **windows**:Windows系统。'."\n"
+ .'- **macos**:macOS系统。'."\n"
+ .'- **linux**:Linux系统。'."\n"
+ .'- **android**:Android系统。'."\n"
+ .'- **ios**:iOS系统。',
'type' => 'string',
- 'example' => '这是一条设备注册策略。',
- ],
- 'Priority' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'Whitelist' => [
- 'description' => '设备注册策略白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
+ 'enumValueTitles' => ['linux' => 'linux', 'android' => 'android', 'windows' => 'windows', 'ios' => 'ios', 'macos' => 'macos'],
+ 'example' => 'windows',
],
'Status' => [
- 'description' => '设备注册策略状态。取值:'."\n"
+ 'description' => '入网用户证书状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'MatchMode' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
- ],
- 'example' => 'UserGroupNormal',
- ],
- 'UserGroupIds' => [
- 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- ],
- 'CreateTime' => [
- 'description' => '设备注册策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
- ],
- 'LimitDetail' => [
- 'description' => '设备注册策略限制详情列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略限制详情。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceBelong' => [
- 'description' => '设备归属。取值:'."\n"
- .'- **Company**:公司设备。'."\n"
- .'- **Personal**:个人设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'LimitType' => [
- 'description' => '设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitAll',
- ],
- 'LimitCount' => [
- 'description' => '设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
- 'PC' => [
- 'description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Mobile' => [
- 'description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- ],
- ],
- ],
- ],
+ 'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
+ 'example' => 'Disabled',
],
+ 'UserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'Hostname' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'example' => 'MS-XU****'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '08:f8:**:**:**:5e'],
],
],
],
@@ -13322,55 +10892,56 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A8FE38A-E29C-5678-B84A-FEDBCB83552F\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 3,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询设备注册策略',
- 'responseParamsDescription' => '策略列表按照优先级从高至低、创建时间由晚至早的顺序返回。',
- ],
- 'ListUserGroupsForRegistrationPolicy' => [
- 'summary' => '查询当前阿里云账号下设备注册策略相关用户组。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户入网证书状态',
+ 'summary' => '入网用户列表。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNacUserCert'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:ListNacUserCert',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Code\\": 200,\\n \\"Message\\": \\"successful\\",\\n \\"TotalNum\\": 1,\\n \\"DataList\\": [\\n {\\n \\"Username\\": \\"zhang**\\",\\n \\"Aliuid\\": \\"1\\",\\n \\"ExpiredTime\\": \\"2029-06-30 09:31:54\\",\\n \\"Department\\": \\"外包\\",\\n \\"DeviceType\\": \\"windows\\",\\n \\"Status\\": \\"Disabled\\",\\n \\"UserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"Hostname\\": \\"MS-XU****\\",\\n \\"Mac\\": \\"08:f8:**:**:**:5e\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPolicesForPrivateAccessApplication' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'PolicyIds',
+ 'name' => 'ApplicationIds',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略ID集合。最多可输入100个设备注册策略ID。',
+ 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。取值来源:'."\n"
- .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
- .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
- .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
- .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'reg-policy-63b2f1844b86****'."\n",
- ],
+ 'items' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-b927baf3e592****'],
'required' => true,
],
],
@@ -13378,60 +10949,65 @@
'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' => 'D89009C7-54C6-51B6-BAE7-3F373920C6BF',
- ],
- 'Policies' => [
- 'description' => '设备注册策略列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF'],
+ 'Applications' => [
+ 'description' => '内网访问应用列表。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略。',
+ 'description' => '内网访问应用。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-f25c9e5872e5****',
- ],
- 'UserGroups' => [
- 'description' => '设备注册策略的用户组集合。',
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-b927baf3e592****'],
+ 'Policies' => [
+ 'description' => '内网访问策略集合。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略的用户组。',
+ 'description' => '内网访问策略。',
'type' => 'object',
'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-867ef4007c8a****'],
+ 'Name' => ['description' => '内网访问策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'."\n"],
+ 'Description' => ['description' => '内网访问策略描述。', 'type' => 'string', 'example' => '这是一条内网访问策略'."\n"],
+ 'PolicyAction' => [
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
],
- 'Name' => [
- 'description' => '用户组名称。',
+ 'Priority' => ['description' => '内网访问策略优先级。数字1表示优先级最高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Status' => [
+ 'description' => '内网访问策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'example' => 'user_group_name',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'Description' => [
- 'description' => '用户组描述。',
+ 'ApplicationType' => [
+ 'description' => '内网访问策略的应用类型。取值:'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
- 'example' => '这是一条被设备注册策略引用的用户组。',
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
- 'CreateTime' => [
- 'description' => '用户组创建时间。',
+ 'UserGroupType' => [
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
'type' => 'string',
- 'example' => '2022-09-27 18:10:25',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Normal' => '普通'],
+ 'example' => 'Normal',
],
- 'Attributes' => [
- 'description' => '用户组属性集合。',
+ 'CustomUserAttributes' => [
+ 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
- 'description' => '用户组属性。',
+ 'description' => '自定义用户组属性。',
'type' => 'object',
'properties' => [
'UserGroupType' => [
@@ -13441,12 +11017,7 @@
.'- **email**:邮箱。'."\n"
.'- **telephone**:手机。',
'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
'example' => 'department',
],
'Relation' => [
@@ -13454,30 +11025,19 @@
.'- **Equal**:等于。'."\n"
.'- **Unequal**:不等于。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
'example' => 'Equal',
],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
+ 'CreateTime' => ['description' => '内网访问策略创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'],
],
],
],
@@ -13485,55 +11045,62 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问应用的策略',
+ 'summary' => '批量查询当前阿里云账号下内网访问应用的策略。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D89009C7-54C6-51B6-BAE7-3F373920C6BF\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"reg-policy-f25c9e5872e5****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被设备注册策略引用的用户组。\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询设备注册策略的用户组',
- ],
- 'ListRegistrationPoliciesForUserGroup' => [
- 'summary' => '查询当前阿里云账号下用户组相关的设备注册策略。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForPrivateAccessApplication'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\\\n\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPolicesForPrivateAccessTag' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'UserGroupIds',
+ 'name' => 'TagIds',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '用户组ID集合。最多可输入100个用户组ID。',
+ 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
'type' => 'array',
- 'items' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'items' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-b927baf3e592****'],
'required' => true,
],
],
@@ -13541,147 +11108,95 @@
'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' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'UserGroups' => [
- 'description' => '用户组列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ 'Tags' => [
+ 'description' => '内网访问标签列表。',
'type' => 'array',
'items' => [
- 'description' => '用户组。',
+ 'description' => '内网访问标签。',
'type' => 'object',
'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- 'Policies' => [
- 'description' => '设备注册策略集合。',
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-b927baf3e592****'."\n"],
+ 'Polices' => [
+ 'description' => '内网访问策略集合。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略。',
+ 'description' => '内网访问策略。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '设备注册策略名称。',
- 'type' => 'string',
- 'example' => 'registration_policy_name',
- ],
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-dcbfd33cb004****',
- ],
- 'Description' => [
- 'description' => '设备注册策略描述。',
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-867ef4007c8a****'],
+ 'Name' => ['description' => '内网访问策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'."\n"],
+ 'Description' => ['description' => '内网访问策略描述。', 'type' => 'string', 'example' => '这是一条内网访问策略'],
+ 'PolicyAction' => [
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
'type' => 'string',
- 'example' => '这是一条设备注册策略。',
- ],
- 'Priority' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
],
+ 'Priority' => ['description' => '内网访问策略优先级。数字1表示优先级最高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
'Status' => [
- 'description' => '设备注册策略状态。取值:'."\n"
+ 'description' => '内网访问策略状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
- 'Whitelist' => [
- 'description' => '设备注册策略白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- 'MatchMode' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
+ 'ApplicationType' => [
+ 'description' => '内网访问策略的应用类型。取值:'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
- ],
- 'example' => 'UserGroupNormal',
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
- 'CreateTime' => [
- 'description' => '设备注册策略创建时间。',
+ 'UserGroupType' => [
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Normal' => '普通'],
+ 'example' => 'Normal',
],
- 'LimitDetail' => [
- 'description' => '设备注册策略限制详情列表。',
+ 'CustomUserAttributes' => [
+ 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略限制详情。',
+ 'description' => '自定义用户组属性。',
'type' => 'object',
'properties' => [
- 'DeviceBelong' => [
- 'description' => '设备归属。取值:'."\n"
- .'- **Company**:公司设备。'."\n"
- .'- **Personal**:个人设备。',
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department'."\n",
],
- 'LimitType' => [
- 'description' => '设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
'type' => 'string',
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitAll',
- ],
- 'LimitCount' => [
- 'description' => '设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'string',
- 'example' => '3',
- ],
- 'PC' => [
- 'description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'string',
- 'example' => '0',
- ],
- 'Mobile' => [
- 'description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'string',
- 'example' => '0',
- ],
- ],
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
+ 'CreateTime' => ['description' => '内网访问策略创建时间。', 'type' => 'string', 'example' => '2023-02-21 14:10:16'],
],
],
],
@@ -13689,178 +11204,100 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问标签的策略',
+ 'summary' => '批量查询当前阿里云账号下内网访问标签的策略。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": \\"3\\",\\n \\"PC\\": \\"0\\",\\n \\"Mobile\\": \\"0\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户组的设备注册策略',
- ],
- 'GetRegistrationPolicy' => [
- 'summary' => '查询当前阿里云账号下设备注册策略详情。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForPrivateAccessTag'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForPrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-b927baf3e592****\\\\n\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\\\n\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPolicesForUserGroup' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
- 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'PolicyId',
+ 'name' => 'UserGroupIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略ID。取值来源:'."\n"
- .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
- .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
- .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
- .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。',
- 'type' => 'string',
+ 'description' => '用户组ID集合。最多可输入100个用户组ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-6f1ef2fc56b6****'],
'required' => true,
- 'example' => 'reg-policy-dcbfd33cb004****'."\n",
],
],
],
'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' => '47363C2B-1AAA-5954-8847-0E50FCC54117',
- ],
- 'Name' => [
- 'description' => '设备注册策略名称。',
- 'type' => 'string',
- 'example' => 'registration_policy_name',
- ],
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-dcbfd33cb004****',
- ],
- 'Description' => [
- 'description' => '设备注册策略描述。',
- 'type' => 'string',
- 'example' => '这是一条设备注册策略。',
- ],
- 'Priority' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '99',
- ],
- 'Whitelist' => [
- 'description' => '设备注册策略白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- 'Status' => [
- 'description' => '设备注册策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'MatchMode' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'example' => 'UserGroupAll',
- ],
- 'UserGroupIds' => [
- 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- ],
- 'CreateTime' => [
- 'description' => '设备注册策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
- ],
- 'LimitDetail' => [
- 'description' => '设备注册策略限制详情列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '5F04DFBD-3F48-5F70-AE72-474026670128'],
+ 'UserGroups' => [
+ 'description' => '用户组列表。',
'type' => 'array',
'items' => [
- 'description' => '设备注册策略限制详情列表。',
+ 'description' => '用户组。',
'type' => 'object',
'properties' => [
- 'DeviceBelong' => [
- 'description' => '设备归属。取值:'."\n"
- .'- **Company**:公司设备。'."\n"
- .'- **Personal**:个人设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Personal',
- ],
- 'LimitType' => [
- 'description' => '设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitDiff',
- ],
- 'LimitCount' => [
- 'description' => '设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PC' => [
- 'description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Mobile' => [
- 'description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Polices' => [
+ 'description' => '策略集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'pa-policy-ce2bf7236fab****'],
+ 'PolicyType' => [
+ 'description' => '策略类型。取值:'."\n"
+ .'- **PrivateAccess**:内网访问。'."\n"
+ .'- **URLFilter:URL**防护。'."\n"
+ .'- **AppAccessControl**:应用管控。'."\n"
+ .'- **DLP**:数据防泄漏。'."\n"
+ .'- **NAC**:网络准入。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['NAC' => '网络准入', 'URLFilter' => 'URL防护', 'DLP' => '数据防泄漏', 'PrivateAccess' => '内网访问', 'AppAccessControl' => '应用管控'],
+ 'example' => 'PrivateAccess',
+ ],
+ 'Name' => ['description' => '策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'],
],
],
],
@@ -13868,59 +11305,66 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户组的策略',
+ 'summary' => '批量查询当前阿里云账号下用户组的策略。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\",\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 99,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupAll\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Personal\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 2\\n }\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询设备注册策略详情',
- ],
- 'DeleteRegistrationPolicies' => [
- 'summary' => '批量删除当前阿里云账号下设备注册策略。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForUserGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F04DFBD-3F48-5F70-AE72-474026670128\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-ce2bf7236fab****\\",\\n \\"PolicyType\\": \\"PrivateAccess\\",\\n \\"Name\\": \\"private_access_policy_name\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPopTrafficStatistics' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'PolicyIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '设备注册策略ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略ID。取值来源:'."\n"
- .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
- .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
- .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
- .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'reg-policy-63b2f1844b86****'."\n",
- ],
- 'required' => true,
- ],
+ 'name' => 'Region',
+ 'in' => 'query',
+ 'schema' => ['description' => '地域ID。', 'type' => 'string', 'required' => false, 'example' => 'cn-hangzhou'],
+ ],
+ [
+ 'name' => 'StartTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '数据的起始时间。以秒为单位的UNIX时间戳。', 'type' => 'string', 'required' => false, 'example' => '1681035708'],
+ ],
+ [
+ 'name' => 'EndTime',
+ 'in' => 'query',
+ 'schema' => ['description' => '结束时间。以秒为单位的UNIX时间戳。', 'type' => 'string', 'required' => false, 'example' => '1681293719'],
],
],
'responses' => [
@@ -13930,397 +11374,364 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649'],
+ 'TrafficData' => [
+ 'description' => 'POP点带宽数据列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '流入/流出带宽数据列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'MetricName' => [
+ 'description' => '统计指标名称。分为流入、流出两种。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['InternetTx' => 'InternetTx', 'InternetRx' => 'InternetRx'],
+ 'example' => 'InternetTx',
+ ],
+ 'Datapoints' => [
+ 'description' => 'POP点带宽数据点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => 'POP点带宽数据点。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DateTime' => ['description' => '该数据点对应时间。', 'type' => 'string', 'example' => '2023-12-06 15:29:00'],
+ 'Average' => ['description' => '以分钟为单位的平均带宽值。单位为Byte/s。', 'type' => 'number', 'format' => 'double', 'example' => '15325'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'enumValueTitles' => [],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]',
- 'title' => '批量删除设备注册策略',
- ],
- 'UpdateRegistrationPolicy' => [
- 'summary' => '修改当前阿里云账号下设备注册策略。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询POP点带宽统计',
+ 'summary' => '查询SASE的POP节点带宽。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPopTrafficStatistics'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPopTrafficStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"TrafficData\\": [\\n {\\n \\"MetricName\\": \\"InternetTx\\",\\n \\"Datapoints\\": [\\n {\\n \\"DateTime\\": \\"2023-12-06 15:29:00\\",\\n \\"Average\\": 15325\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPrivateAccessApplications' => [
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'abilityTreeCode' => '163590',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'registration_policy_name',
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备注册策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条设备注册策略',
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'private_access_application_name'],
],
[
'name' => 'Status',
- 'in' => 'formData',
+ 'in' => 'query',
'schema' => [
- 'description' => '设备注册策略状态。取值:'."\n"
+ 'description' => '内网访问应用状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
],
[
- 'name' => 'Whitelist',
- 'in' => 'formData',
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.0/16'],
+ ],
+ [
+ 'name' => 'ApplicationIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略白名单用户列表。最多可输入1000个用户名。必传。',
+ 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
+ 'items' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-e12860ef6c48****'],
'required' => false,
],
],
[
- 'name' => 'Priority',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'name' => 'TagId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
],
[
- 'name' => 'CompanyLimitType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '公司设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitAll',
- ],
+ 'name' => 'PolicyId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-54a7838a48bf****'],
],
[
- 'name' => 'CompanyLimitCount',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '公司设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '公司设备注册限制总数。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'PC' => [
- 'description' => '公司设备注册限制PC端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'Mobile' => [
- 'description' => '公司设备注册限制移动端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- ],
- 'required' => false,
- ],
+ 'name' => 'ConnectorId',
+ 'in' => 'query',
+ 'schema' => ['description' => 'ConnectorID。取值来源:[ListConnectors](~~ListConnectors~~)批量查询Connector。', 'type' => 'string', 'required' => false, 'example' => 'connector-94db94e06b98****'],
],
[
- 'name' => 'PersonalLimitType',
- 'in' => 'formData',
+ 'name' => 'AccessModes',
+ 'in' => 'query',
'schema' => [
- 'description' => '个人设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
+ 'description' => '访问模式。取值:'."\n"
+ .'- **app**:应用访问,筛选支持应用访问的应用。'."\n"
+ .'- **browser**:浏览器访问,筛选支持浏览器访问的应用。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitDiff',
+ 'enumValueTitles' => ['app' => '应用访问', 'browser' => '浏览器访问'],
+ 'example' => 'app',
],
],
- [
- 'name' => 'PersonalLimitCount',
- 'in' => 'formData',
- 'style' => 'json',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '个人设备注册限制数量。',
'type' => 'object',
'properties' => [
- 'All' => [
- 'description' => '个人设备注册限制总数。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'PC' => [
- 'description' => '个人设备注册限制PC端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
- 'Mobile' => [
- 'description' => '个人设备注册限制移动端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D'],
+ 'TotalNum' => ['description' => '内网访问应用总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Applications' => [
+ 'description' => '内网访问应用列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
+ 'Name' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'private_access_application_name'],
+ 'Description' => ['description' => '内网访问应用描述。', 'type' => 'string', 'example' => '这是一条内网访问应用'],
+ 'Addresses' => [
+ 'description' => '内网访问应用地址集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '192.168.0.0/16'],
+ ],
+ 'PortRanges' => [
+ 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'],
+ ],
+ ],
+ ],
+ 'Protocol' => [
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
+ 'type' => 'string',
+ 'enumValueTitles' => ['All' => 'All', 'TCP' => 'TCP', 'UDP' => 'UDP'],
+ 'example' => 'All',
+ ],
+ 'Status' => [
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问应用创建时间。', 'type' => 'string', 'example' => '2022-12-16 15:03:42'],
+ 'TagIds' => [
+ 'description' => '内网访问标签ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ 'PolicyIds' => [
+ 'description' => '内网访问策略ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-54a7838a48bf****'],
+ ],
+ 'ConnectorIds' => [
+ 'description' => 'ConnectorID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => 'ConnectorID。', 'type' => 'string', 'example' => 'connector-94db94e06b98****'],
+ ],
+ 'BrowserAccessStatus' => ['description' => '浏览器访问模式。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'L7ProxyDomainAutomatic' => ['description' => '浏览器访问模式参数:映射代理域名。', 'type' => 'string', 'example' => 'app1-xxx.at.cloudssecsase.com'],
+ 'L7ProxyDomainCustom' => ['description' => '浏览器访问模式参数:自定代理域名。', 'type' => 'string', 'example' => 'app1.example.com'],
+ 'AutoGenerated' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'ConfigMode' => ['type' => 'string'],
+ 'AddressGroups' => [
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AddressGroup'],
+ ],
+ ],
+ ],
],
],
- 'required' => false,
+ 'description' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问应用',
+ 'summary' => '批量查询当前阿里云账号下所有内网访问应用的信息。',
+ 'changeSet' => [
+ ['createdAt' => '2025-07-04T12:10:26.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-09-11T06:42:34.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2023-08-30T11:31:04.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2023-04-12T13:06:59.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessApplications'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'MatchMode',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'UserGroupNormal',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-12-16 15:03:42\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app1-xxx.at.cloudssecsase.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app1.example.com\\",\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"mmtcafts.alipay.com\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 123,\\n \\"End\\": 1234\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPrivateAccessApplicationsForDynamicRoute' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'UserGroupIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '设备注册策略的用户组ID集合,当策略匹配目标类型为**UserGroupNormal**时,必填。单个策略的用户组最大支持100个。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- 'required' => false,
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
+ ],
+ 'parameters' => [
[
- 'name' => 'PolicyId',
- 'in' => 'formData',
+ 'name' => 'DynamicRouteIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略ID。取值来源:'."\n"
- .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
- .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
- .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
- .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。',
- 'type' => 'string',
+ 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由ID。取值来源:'."\n"
+ .'- [ListDynamicRoutes](~~2525438~~):批量查询动态路由。'."\n"
+ .'- [CreateDynamicRoute](~~2525443~~):创建动态路由。', 'type' => 'string', 'required' => false, 'example' => 'dr-ca9fddfac7c6****'],
'required' => true,
- 'example' => 'reg-policy-63b2f1844b86****',
],
],
],
'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' => '27064ECA-0936-59F3-8A98-EC821E5BD08F',
- ],
- 'Policy' => [
- 'description' => '设备注册策略。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '设备注册策略名称。',
- 'type' => 'string',
- 'example' => 'registration_policy_name',
- ],
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => '设备注册策略ID',
- ],
- 'Priority' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '设备注册策略描述。',
- 'type' => 'string',
- 'example' => '这是一条设备注册策略',
- ],
- 'Whitelist' => [
- 'description' => '设备注册策略白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。',
- 'type' => 'string',
- 'example' => '韩梅梅',
- ],
- ],
- 'Status' => [
- 'description' => '设备注册策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'MatchMode' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
- ],
- 'example' => 'UserGroupNormal',
- ],
- 'UserGroupIds' => [
- 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- ],
- 'CreateTime' => [
- 'description' => '设备注册策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
- ],
- 'LimitDetail' => [
- 'description' => '设备注册策略限制详情列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略限制详情。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceBelong' => [
- 'description' => '设备归属。取值:'."\n"
- .'- **Company**:公司设备。'."\n"
- .'- **Personal**:个人设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'LimitType' => [
- 'description' => '设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ 'DynamicRoutes' => [
+ 'description' => '动态路由列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '动态路由。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DynamicRouteId' => ['description' => '动态路由ID。', 'type' => 'string', 'example' => 'dr-ca9fddfac7c6****'."\n"],
+ 'Applications' => [
+ 'description' => '内网访问应用集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-7a9243dd02f4****'],
+ 'Name' => ['description' => '内网访问应用名称。', 'type' => 'string', 'example' => 'application_name'],
+ 'Description' => ['description' => '内网访问应用描述。', 'type' => 'string', 'example' => '这是一条被动态路由引用的内网访问应用'],
+ 'Addresses' => [
+ 'description' => '内网访问应用地址集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用地址。', 'type' => 'string', 'example' => '192.168.0.0/16'],
],
- 'example' => 'LimitAll',
- ],
- 'LimitCount' => [
- 'description' => '设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'PC' => [
- 'description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'Mobile' => [
- 'description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
+ 'PortRanges' => [
+ 'description' => '内网访问应用端口范围集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用端口范围。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'integer', 'format' => 'int32', 'example' => '81'],
+ ],
],
],
+ 'Protocol' => [
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
+ 'type' => 'string',
+ 'enumValueTitles' => ['All' => 'All', 'TCP' => 'TCP', 'UDP' => 'UDP'],
+ 'example' => 'All',
+ ],
+ 'Status' => [
+ 'description' => '内网访问应用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问应用创建时间。', 'type' => 'string', 'example' => '2022-04-13 13:33:24'],
],
],
],
@@ -14328,376 +11739,512 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"27064ECA-0936-59F3-8A98-EC821E5BD08F\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"设备注册策略ID\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"韩梅梅\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 1,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '修改设备注册策略',
- ],
- 'CreateRegistrationPolicy' => [
- 'summary' => '创建当前阿里云账号下设备注册策略。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询动态路由的应用',
+ 'summary' => '批量查询当前阿里云账号下动态路由的应用。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessApplicationsForDynamicRoute'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessApplicationsForDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\\\n\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-04-13 13:33:24\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPrivateAccessPolices' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsasAPE6DH',
- ],
+ 'abilityTreeCode' => '163588',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'registration_policy_name',
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Description',
- 'in' => 'formData',
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
'schema' => [
- 'description' => '设备注册策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
+ 'description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
'type' => 'string',
'required' => false,
- 'example' => '这是一条设备注册策略',
+ 'enumValueTitles' => [],
+ 'example' => 'private_access_policy_name',
],
],
[
'name' => 'Status',
- 'in' => 'formData',
+ 'in' => 'query',
'schema' => [
- 'description' => '设备注册策略状态。取值:'."\n"
+ 'description' => '内网访问策略状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
],
[
- 'name' => 'Whitelist',
- 'in' => 'formData',
- 'style' => 'flat',
+ 'name' => 'PolicyAction',
+ 'in' => 'query',
'schema' => [
- 'description' => '设备注册策略白名单用户列表。最多可输入1000个用户名。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '王先生',
- ],
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
+ 'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
],
],
[
- 'name' => 'Priority',
- 'in' => 'formData',
+ 'name' => 'PolicyIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-63b2f1844b86****'],
'required' => false,
- 'example' => '99',
],
],
[
- 'name' => 'CompanyLimitType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '公司设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitAll',
- ],
+ 'name' => 'UserGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-6f1ef2fc56b6****'],
],
[
- 'name' => 'CompanyLimitCount',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'ApplicationId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用ID。无法和内网访问标签ID同时过滤。取值来源:'."\n"
+ .' - [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .' - [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ [
+ 'name' => 'TagId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问标签ID。无法和应用ID同时过滤。取值来源:'."\n"
+ .' - [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .' - [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-c0cb77857a99****'],
+ ],
+ [
+ 'name' => 'ApplicationName',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用名称。', 'type' => 'string', 'required' => false, 'example' => '办公'],
+ ],
+ [
+ 'name' => 'TagName',
+ 'in' => 'query',
+ 'schema' => ['description' => '标签名称。', 'type' => 'string', 'required' => false, 'example' => '云产品'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '公司设备注册限制数量。',
'type' => 'object',
'properties' => [
- 'All' => [
- 'description' => '公司设备注册限制总数。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
- 'PC' => [
- 'description' => '公司设备注册限制PC端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'Mobile' => [
- 'description' => '公司设备注册限制移动端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D'],
+ 'TotalNum' => ['description' => '内网访问策略的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Polices' => [
+ 'description' => '内网访问策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-63b2f1844b86****'],
+ 'Name' => ['description' => '内网访问策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'],
+ 'Description' => ['description' => '内网访问策略描述。', 'type' => 'string', 'example' => '这是一条内网访问策略'],
+ 'PolicyAction' => [
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
+ ],
+ 'Priority' => ['description' => '内网访问策略优先级。数字1表示优先级最高。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Status' => [
+ 'description' => '内网访问策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '内网访问策略创建时间。', 'type' => 'string', 'example' => '2022-07-10 15:50:23'],
+ 'UserGroupMode' => [
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义用户组', 'Normal' => '普通用户组'],
+ 'example' => 'Normal',
+ ],
+ 'UserGroupIds' => [
+ 'description' => '内网访问策略,用户组ID集合。当用户组类型为**Normal**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略,用户组类型为**Normal**的用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ ],
+ 'CustomUserAttributes' => [
+ 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ ],
+ ],
+ ],
+ 'ApplicationType' => [
+ 'description' => '内网访问策略的应用类型。取值:'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
+ ],
+ 'ApplicationIds' => [
+ 'description' => '内网访问策略的应用ID集合。当应用类型为**Application**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ 'TagIds' => [
+ 'description' => '内网访问策略的标签ID集合。当应用类型为**Tag**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略的标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ ],
+ 'DeviceAttributeId' => ['description' => '安全基线策略的ID。', 'type' => 'string', 'example' => 'dag-d3f64e8bdd4a****'],
+ 'DeviceAttributeAction' => [
+ 'description' => '不满足安全基线的执行策略。取值:'."\n"
+ .'- **Block**:拦截。'."\n"
+ .'- **Observe**:观察。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Observe' => 'Observe', 'Block' => 'Block'],
+ 'example' => 'Block',
+ ],
+ 'TriggerTemplateId' => ['description' => '触发模板ID', 'type' => 'string', 'example' => 'dag-d3f64e8bdd4a****'],
+ 'TrustedProcessStatus' => ['description' => '可信进程开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'TrustedProcessGroupIds' => [
+ 'description' => '可信进程组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信进程组ID。', 'type' => 'string', 'example' => 'pg-xxxxxxx'],
+ ],
+ 'TrustedSoftwareIds' => [
+ 'description' => '可信软件ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信软件ID。', 'type' => 'string', 'example' => 'swb-xxxxxxxx'],
+ ],
+ 'ValidFrom' => ['description' => '零信任策略的生效起始时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '0'],
+ 'ValidUntil' => ['description' => '零信任策略的生效截止时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1764727544'],
+ 'ValidTimeStatus' => ['description' => '生效时间开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ ],
+ ],
],
],
- 'required' => false,
+ 'description' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问策略',
+ 'summary' => '获取当前阿里云账号下所有内网访问策略的信息。',
+ 'changeSet' => [
+ ['createdAt' => '2025-12-03T01:53:26.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-06-13T12:14:51.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2025-01-22T05:25:44.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-06-18T13:37:23.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-01-25T11:44:46.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-03-21T02:50:06.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessPolices'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'PersonalLimitType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '个人设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessPolices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'LimitDiff',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-07-10 15:50:23\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPrivateAccessTags' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'PersonalLimitCount',
- 'in' => 'formData',
- 'style' => 'json',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'get',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问标签名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'tag_name'],
+ ],
+ [
+ 'name' => 'TagIds',
+ 'in' => 'query',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'ApplicationId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-54a7838a48bf****'],
+ ],
+ [
+ 'name' => 'SimpleMode',
+ 'in' => 'query',
+ 'schema' => ['description' => '简单查询模式。如果值为true,表示不需要查询PolicyId字段。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '个人设备注册限制数量。',
'type' => 'object',
'properties' => [
- 'All' => [
- 'description' => '个人设备注册限制总数。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '0',
- ],
- 'PC' => [
- 'description' => '个人设备注册限制PC端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '2',
- ],
- 'Mobile' => [
- 'description' => '个人设备注册限制移动端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '3',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '54C1D236-CDB9-586C-B44D-AFDCEA195545'],
+ 'TotalNum' => ['description' => '内网访问标签总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'Tags' => [
+ 'description' => '内网访问标签列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ 'Name' => ['description' => '内网访问标签名称。', 'type' => 'string', 'example' => 'tag_name'],
+ 'Description' => ['description' => '内网访问标签描述。', 'type' => 'string', 'example' => '这是一条内网访问标签'],
+ 'TagType' => [
+ 'description' => '内网访问标签类型。取值:'."\n"
+ .'- **Default**:默认。'."\n"
+ .'- **Custom**:自定义。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Default' => '默认'],
+ 'example' => 'Default',
+ ],
+ 'CreateTime' => ['description' => '内网访问标签创建时间。', 'type' => 'string', 'example' => '2022-10-10 11:39:34'],
+ 'ApplicationIds' => [
+ 'description' => '内网访问应用ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-e12860ef6c48****'],
+ ],
+ 'PolicyIds' => [
+ 'description' => '内网访问策略ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-54a7838a48bf****'],
+ ],
+ ],
+ ],
],
],
- 'required' => false,
+ 'description' => '',
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问标签',
+ 'summary' => '批量查询当前阿里云账号下所有内网访问标签的信息。',
+ 'changeSet' => [
+ ['createdAt' => '2023-11-15T11:12:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-04-12T13:06:59.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-03-17T07:16:08.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessTags'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'MatchMode',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessTags',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'UserGroupAll',
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54C1D236-CDB9-586C-B44D-AFDCEA195545\\",\\n \\"TotalNum\\": 1,\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-10-10 11:39:34\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListPrivateAccessTagsForDynamicRoute' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'UserGroupIds',
- 'in' => 'formData',
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'read',
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DynamicRouteIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '设备注册策略的用户组ID集合,当策略匹配目标类型为**UserGroupNormal**时必填。单个策略的用户组最大支持100个。',
+ 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- 'required' => false,
+ 'items' => ['description' => '动态路由ID。取值来源:'."\n"
+ .'- [ListDynamicRoutes](~~2525438~~):批量查询动态路由。'."\n"
+ .'- [CreateDynamicRoute](~~2525443~~):创建动态路由。', 'type' => 'string', 'required' => false, 'example' => 'dr-ca9fddfac7c6****'],
+ 'required' => 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' => 'FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE',
- ],
- 'Policy' => [
- 'description' => '设备注册策略。',
- 'type' => 'object',
- 'properties' => [
- 'Name' => [
- 'description' => '设备注册策略名称。',
- 'type' => 'string',
- 'example' => 'registration_policy_name',
- ],
- 'PolicyId' => [
- 'description' => '设备注册策略ID。',
- 'type' => 'string',
- 'example' => 'reg-policy-dcbfd33cb004****',
- ],
- 'Priority' => [
- 'description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Description' => [
- 'description' => '设备注册策略描述。',
- 'type' => 'string',
- 'example' => '这是一条设备注册策略',
- ],
- 'Whitelist' => [
- 'description' => '设备注册策略白名单用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略白名单用户。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- ],
- 'Status' => [
- 'description' => '设备注册策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'MatchMode' => [
- 'description' => '策略匹配目标类型。取值:'."\n"
- .'- **UserGroupAll**:关联全体用户。'."\n"
- .'- **UserGroupNormal**:关联部分用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'UserGroupNormal' => '关联部分用户组',
- 'UserGroupAll' => '关联全体用户',
- ],
- 'example' => 'UserGroupNormal',
- ],
- 'UserGroupIds' => [
- 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-086bcf2d650b****',
- ],
- ],
- 'CreateTime' => [
- 'description' => '设备注册策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-05-16 17:18:46',
- ],
- 'LimitDetail' => [
- 'description' => '设备注册策略限制详情列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '设备注册策略限制详情。',
- 'type' => 'object',
- 'properties' => [
- 'DeviceBelong' => [
- 'description' => '设备归属。取值:'."\n"
- .'- **Company**:公司设备。'."\n"
- .'- **Personal**:个人设备。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Company' => '公司设备',
- 'Personal' => '个人设备',
- ],
- 'example' => 'Company',
- ],
- 'LimitType' => [
- 'description' => '设备注册限制类型。取值:'."\n"
- .'- **Unlimited**:不限制。'."\n"
- .'- **LimitAll**:按照总数限制。'."\n"
- .'- **LimitDiff**:按照终端分类限制。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'LimitAll' => '按照总数限制',
- 'LimitDiff' => '按照终端分类限制',
- 'Unlimited' => '不限制',
- ],
- 'example' => 'LimitDiff',
- ],
- 'LimitCount' => [
- 'description' => '设备注册限制数量。',
- 'type' => 'object',
- 'properties' => [
- 'All' => [
- 'description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '0',
- ],
- 'PC' => [
- 'description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '2',
- ],
- 'Mobile' => [
- 'description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '3',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E'],
+ 'DynamicRoutes' => [
+ 'description' => '动态路由列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '动态路由。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DynamicRouteId' => ['description' => '动态路由ID。', 'type' => 'string', 'example' => 'dr-ca9fddfac7c6****'],
+ 'Tags' => [
+ 'description' => '内网访问标签集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ 'Name' => ['description' => '内网访问标签名称。', 'type' => 'string', 'example' => 'tag_name'],
+ 'Description' => ['description' => '内网访问标签描述。', 'type' => 'string', 'example' => '这是一条被动态路由引用的内网访问标签'],
+ 'TagType' => [
+ 'description' => '内网访问标签类型。取值:'."\n"
+ .'- **Default**:默认。'."\n"
+ .'- **Custom**:自定义。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Default' => '默认'],
+ 'example' => 'Custom',
],
+ 'CreateTime' => ['description' => '内网访问标签创建时间。', 'type' => 'string', 'example' => '2022-10-23 14:02:56'],
],
],
],
@@ -14705,210 +12252,227 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FEF1144C-95D1-5F7C-81EF-9DB70EA49FCE\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitDiff\\",\\n \\"LimitCount\\": {\\n \\"All\\": 0,\\n \\"PC\\": 2,\\n \\"Mobile\\": 3\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '创建设备注册策略',
- ],
- 'ListUserGroups' => [
- 'summary' => '批量查询当前阿里云账号下所有用户组的信息。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询动态路由的标签',
+ 'summary' => '批量查询当前阿里云账号下动态路由的标签。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessTagsForDynamicRoute'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessTagsForDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问标签\\",\\n \\"TagType\\": \\"Custom\\",\\n \\"CreateTime\\": \\"2022-10-23 14:02:56\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListRegistrationPolicies' => [
+ 'summary' => '查询当前阿里云账号下设备注册策略列表。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
],
'parameters' => [
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '10000',
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'registration_policy_name'],
+ ],
+ [
+ 'name' => 'UserGroupId',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-6f1ef2fc56b6****'],
+ ],
+ [
+ 'name' => 'CompanyLimitType',
+ 'in' => 'query',
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '1000',
- 'minimum' => '1',
- 'example' => '10',
+ 'description' => '公司设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
],
],
[
- 'name' => 'UserGroupIds',
+ 'name' => 'PersonalLimitType',
'in' => 'query',
- 'style' => 'flat',
'schema' => [
- 'description' => '用户组ID集合。最多可输入100个用户组ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'description' => '个人设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
+ 'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitDiff',
],
],
[
- 'name' => 'Name',
+ 'name' => 'Status',
'in' => 'query',
'schema' => [
- 'description' => '用户组名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'example' => 'user_group_name',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
],
[
- 'name' => 'AttributeValue',
+ 'name' => 'MatchMode',
'in' => 'query',
'schema' => [
- 'description' => '用户组属性的值。长度为1~128个字符。',
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
'type' => 'string',
'required' => false,
- 'example' => 'username',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupAll',
],
],
[
- 'name' => 'PAPolicyId',
+ 'name' => 'PolicyIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
+ 'description' => '设备注册策略ID集合。最多可输入100个设备注册策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略ID。取值来源:'."\n"
+ .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
+ .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
+ .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
+ .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。', 'type' => 'string', 'required' => false, 'example' => 'reg-policy-63b2f1844b86****'],
'required' => false,
- 'example' => 'pa-policy-54a7838a48bf****',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF',
- ],
- 'TotalNum' => [
- 'description' => '用户组的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'UserGroups' => [
- 'description' => '用户组列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7A8FE38A-E29C-5678-B84A-FEDBCB83552F'],
+ 'TotalNum' => ['description' => '设备注册策略总数。', 'type' => 'string', 'example' => '1'],
+ 'Policies' => [
+ 'description' => '设备注册策略列表。',
'type' => 'array',
'items' => [
- 'description' => '用户组。',
+ 'description' => '设备注册策略。',
'type' => 'object',
'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
+ 'Name' => ['description' => '设备注册策略名称。', 'type' => 'string', 'example' => 'registration_policy_name'],
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-dcbfd33cb004****'],
+ 'Description' => ['description' => '设备注册策略描述。', 'type' => 'string', 'example' => '这是一条设备注册策略。'],
+ 'Priority' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Whitelist' => [
+ 'description' => '设备注册策略白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。', 'type' => 'string', 'example' => '王先生'],
],
- 'Name' => [
- 'description' => '用户组名称。',
+ 'Status' => [
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'example' => 'user_group_name',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'Description' => [
- 'description' => '用户组描述。',
+ 'MatchMode' => [
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
'type' => 'string',
- 'example' => '这是一条用户组',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupNormal',
],
- 'Attributes' => [
- 'description' => '用户组属性集合。多个用户组属性之间是或的关系,按照合集生效。',
+ 'UserGroupIds' => [
+ 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
+ ],
+ 'CreateTime' => ['description' => '设备注册策略创建时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'LimitDetail' => [
+ 'description' => '设备注册策略限制详情列表。',
'type' => 'array',
'items' => [
- 'description' => '用户组属性。',
+ 'description' => '设备注册策略限制详情。',
'type' => 'object',
'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
+ 'DeviceBelong' => [
+ 'description' => '设备归属。取值:'."\n"
+ .'- **Company**:公司设备。'."\n"
+ .'- **Personal**:个人设备。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
+ 'LimitType' => [
+ 'description' => '设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
+ 'LimitCount' => [
+ 'description' => '设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '3'],
+ 'PC' => ['description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Mobile' => ['description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ ],
],
],
],
],
- 'CreateTime' => [
- 'description' => '用户组创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-10 11:39:22',
- ],
],
],
],
@@ -14916,34 +12480,45 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"TotalNum\\": 1,\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户组',
- ],
- 'ListPolicesForUserGroup' => [
- 'summary' => '批量查询当前阿里云账号下用户组的策略。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询设备注册策略',
+ 'responseParamsDescription' => '策略列表按照优先级从高至低、创建时间由晚至早的顺序返回。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistrationPolicies'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListRegistrationPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7A8FE38A-E29C-5678-B84A-FEDBCB83552F\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 3,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListRegistrationPoliciesForUserGroup' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
],
'parameters' => [
[
@@ -14953,14 +12528,9 @@
'schema' => [
'description' => '用户组ID集合。最多可输入100个用户组ID。',
'type' => 'array',
- 'items' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'items' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-6f1ef2fc56b6****'],
'required' => true,
],
],
@@ -14968,13 +12538,11 @@
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '5F04DFBD-3F48-5F70-AE72-474026670128',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
'UserGroups' => [
'description' => '用户组列表。',
'type' => 'array',
@@ -14982,44 +12550,75 @@
'description' => '用户组。',
'type' => 'object',
'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- 'Polices' => [
- 'description' => '策略集合。',
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Policies' => [
+ 'description' => '设备注册策略集合。',
'type' => 'array',
'items' => [
- 'description' => '策略。',
+ 'description' => '设备注册策略。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '策略ID。',
+ 'Name' => ['description' => '设备注册策略名称。', 'type' => 'string', 'example' => 'registration_policy_name'],
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-dcbfd33cb004****'],
+ 'Description' => ['description' => '设备注册策略描述。', 'type' => 'string', 'example' => '这是一条设备注册策略。'],
+ 'Priority' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Status' => [
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
'type' => 'string',
- 'example' => 'pa-policy-ce2bf7236fab****',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'PolicyType' => [
- 'description' => '策略类型。取值:'."\n"
- .'- **PrivateAccess**:内网访问。'."\n"
- .'- **URLFilter:URL**防护。'."\n"
- .'- **AppAccessControl**:应用管控。'."\n"
- .'- **DLP**:数据防泄漏。'."\n"
- .'- **NAC**:网络准入。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'NAC' => '网络准入',
- 'URLFilter' => 'URL防护',
- 'DLP' => '数据防泄漏',
- 'PrivateAccess' => '内网访问',
- 'AppAccessControl' => '应用管控',
- ],
- 'example' => 'PrivateAccess',
+ 'Whitelist' => [
+ 'description' => '设备注册策略白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。', 'type' => 'string', 'example' => '王先生'],
],
- 'Name' => [
- 'description' => '策略名称。',
+ 'MatchMode' => [
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
'type' => 'string',
- 'example' => 'private_access_policy_name',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupNormal',
+ ],
+ 'CreateTime' => ['description' => '设备注册策略创建时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'LimitDetail' => [
+ 'description' => '设备注册策略限制详情列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备注册策略限制详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeviceBelong' => [
+ 'description' => '设备归属。取值:'."\n"
+ .'- **Company**:公司设备。'."\n"
+ .'- **Personal**:个人设备。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
+ ],
+ 'LimitType' => [
+ 'description' => '设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
+ ],
+ 'LimitCount' => [
+ 'description' => '设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'string', 'example' => '3'],
+ 'PC' => ['description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'string', 'example' => '0'],
+ 'Mobile' => ['description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'string', 'example' => '0'],
+ ],
+ ],
+ ],
+ ],
],
],
],
@@ -15031,133 +12630,90 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5F04DFBD-3F48-5F70-AE72-474026670128\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-ce2bf7236fab****\\",\\n \\"PolicyType\\": \\"PrivateAccess\\",\\n \\"Name\\": \\"private_access_policy_name\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户组的策略',
- ],
- 'GetUserGroup' => [
- 'summary' => '查询当前阿里云账号下的用户组详情。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户组的设备注册策略',
+ 'summary' => '查询当前阿里云账号下用户组相关的设备注册策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistrationPoliciesForUserGroup'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListRegistrationPoliciesForUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Policies\\": [\\n {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"reg-policy-dcbfd33cb004****\\",\\n \\"Description\\": \\"这是一条设备注册策略。\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"Whitelist\\": [\\n \\"王先生\\"\\n ],\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": \\"3\\",\\n \\"PC\\": \\"0\\",\\n \\"Mobile\\": \\"0\\"\\n }\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListSoftwareForUserDevice' => [
+ 'summary' => '查询当前阿里云账号下用户终端设备安装的软件列表。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'UserGroupId',
+ 'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'DeviceTag',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => true, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '1310DBC7-7E1F-55D3-B4B4-E4BE912517FB',
- ],
- 'UserGroup' => [
- 'description' => '用户组。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- 'Name' => [
- 'description' => '用户组名称。',
- 'type' => 'string',
- 'example' => 'user_group_name',
- ],
- 'Description' => [
- 'description' => '用户组描述。',
- 'type' => 'string',
- 'example' => '这是一条用户组'."\n",
- ],
- 'Attributes' => [
- 'description' => '用户组属性集合。多个用户组属性之间是或的关系,按照合集生效。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'TotalNum' => ['description' => '终端设备安装的软件总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Software' => [
+ 'description' => '终端设备安装的软件列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备安装的软件。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '软件名称。', 'type' => 'string', 'example' => '钉钉'],
+ 'Inc' => ['description' => '软件出品公司。', 'type' => 'string', 'example' => 'Alibaba (China) Network Technology Co.,Ltd.'],
+ 'Versions' => [
+ 'description' => '软件版本集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '软件版本。', 'type' => 'string', 'example' => '7.0.40'],
],
- ],
- 'CreateTime' => [
- 'description' => '用户组创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-10 11:39:22',
+ 'InstallTime' => ['description' => '软件安装时间。', 'type' => 'string', 'example' => '2023-08-18 02:43:02'],
],
],
],
@@ -15165,124 +12721,57 @@
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'UserGroup.NotFound',
- 'errorMessage' => 'The userGroup is not found.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户终端设备安装软件',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSoftwareForUserDevice'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListSoftwareForUserDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1310DBC7-7E1F-55D3-B4B4-E4BE912517FB\\",\\n \\"UserGroup\\": {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\\\n\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询用户组详情',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TotalNum\\": 1,\\n \\"Software\\": [\\n {\\n \\"Name\\": \\"钉钉\\",\\n \\"Inc\\": \\"Alibaba (China) Network Technology Co.,Ltd.\\",\\n \\"Versions\\": [\\n \\"7.0.40\\"\\n ],\\n \\"InstallTime\\": \\"2023-08-18 02:43:02\\"\\n }\\n ]\\n}","type":"json"}]',
],
- 'CreateUserGroup' => [
- 'summary' => '创建当前阿里云账号下用户组。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListTagsForPrivateAccessApplication' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163587',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户组名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'user_group_name',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户组描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条用户组',
- ],
- ],
- [
- 'name' => 'Attributes',
- 'in' => 'formData',
+ 'name' => 'ApplicationIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '用户组属性集合。最大数量3000个。多个用户组属性之间是或的关系,按照合集生效。',
+ 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
'type' => 'array',
- 'items' => [
- 'description' => '用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '12',
- ],
- ],
- 'required' => true,
- ],
+ 'items' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-7a4445897856****'],
'required' => true,
],
],
@@ -15292,63 +12781,99 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC'],
+ 'Applications' => [
+ 'description' => '内网访问应用列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问应用。',
+ 'type' => 'object',
+ 'properties' => [
+ 'ApplicationId' => ['description' => '内网访问应用ID。', 'type' => 'string', 'example' => 'pa-application-7a4445897856****'],
+ 'Tags' => [
+ 'description' => '内网访问标签集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-c0cb77857a99****'],
+ 'Name' => ['description' => '内网访问标签名称。', 'type' => 'string', 'example' => 'tag_name'],
+ 'Description' => ['description' => '内网访问标签描述。', 'type' => 'string', 'example' => '这是一条内网访问标签'],
+ 'TagType' => [
+ 'description' => '内网访问标签类型。取值:'."\n"
+ .'- **Default**:默认。'."\n"
+ .'- **Custom**:自定义。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Default' => '默认'],
+ 'example' => 'Default',
+ ],
+ 'CreateTime' => ['description' => '内网访问标签创建时间。', 'type' => 'string', 'example' => '2022-07-01 16:05:26'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问应用的标签',
+ 'summary' => '批量查询当前阿里云账号下内网访问应用的标签。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\"\\n}","type":"json"}]',
- 'title' => '创建用户组',
- 'description' => '默认最多可创建500个用户组。',
- ],
- 'DeleteUserGroup' => [
- 'summary' => '删除当前阿里云账号下用户组。',
- 'methods' => [
- 'post',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagsForPrivateAccessApplication'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListTagsForPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a4445897856****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-c0cb77857a99****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-07-01 16:05:26\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListTagsForPrivateAccessPolicy' => [
+ 'summary' => '批量查询当前阿里云账号下内网访问策略的标签。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163604',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'UserGroupId',
- 'in' => 'formData',
+ 'name' => 'PolicyIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
+ 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-1b0d0e8b4bcf****'],
'required' => true,
- 'example' => 'usergroup-6f1ef2fc56b6****',
],
],
],
@@ -15357,407 +12882,187 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '9EE61139-A6A8-5E13-80AF-83435C21B26B'],
+ 'Polices' => [
+ 'description' => '内网访问策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-1b0d0e8b4bcf****'],
+ 'Tags' => [
+ 'description' => '内网访问标签集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问标签。',
+ 'type' => 'object',
+ 'properties' => [
+ 'TagId' => ['description' => '内网访问标签ID。', 'type' => 'string', 'example' => 'tag-d3f64e8bdd4a****'],
+ 'Name' => ['description' => '内网访问标签名称。', 'type' => 'string', 'example' => 'tag_name'],
+ 'Description' => ['description' => '内网访问标签描述。', 'type' => 'string', 'example' => '这是一条被内网访问策略引用的标签'],
+ 'TagType' => [
+ 'description' => '内网访问标签类型。取值:'."\n"
+ .'- **Default**:默认。'."\n"
+ .'- **Custom**:自定义。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义', 'Default' => '默认'],
+ 'example' => 'Default',
+ ],
+ 'CreateTime' => ['description' => '内网访问标签创建时间。', 'type' => 'string', 'example' => '2023-02-21 14:10:16'],
+ ],
+ ],
+ ],
+ ],
+ ],
],
],
+ 'description' => '',
],
],
],
- 'errorCodes' => [
- 400 => [
- [
- 'errorCode' => 'UserGroup.UsedByPolicy',
- 'errorMessage' => 'The userGroup is used by policy.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问策略的标签',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagsForPrivateAccessPolicy'],
],
- 404 => [
- [
- 'errorCode' => 'UserGroup.NotFound',
- 'errorMessage' => 'The userGroup is not found.',
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListTagsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\"\\n}","type":"json"}]',
- 'title' => '删除用户组',
- 'description' => '当存在策略引用时,不允许删除。'."\n"
- .'参考:'."\n"
- .'- [ListPolicesForUserGroup](~~ListPolicesForUserGroup~~):批量查询用户组的策略。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EE61139-A6A8-5E13-80AF-83435C21B26B\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
- 'UpdateUserGroup' => [
- 'summary' => '修改当前阿里云账号下用户组。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListUninstallApplications' => [
+ 'summary' => '批量查询当前阿里云账号下卸载申请列表。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163597',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeCode' => '215483',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'UserGroupId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户组描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条用户组'."\n",
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'Attributes',
- 'in' => 'formData',
+ 'name' => 'ApplicationIds',
+ 'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '用户组属性集合。最大总数3000个。多个用户组属性之间是或的关系,按照合集生效。',
+ 'description' => '卸载申请ID集合。',
'type' => 'array',
- 'items' => [
- 'description' => '用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '12',
- ],
- ],
- 'required' => true,
- ],
+ 'items' => ['description' => '卸载申请ID。', 'type' => 'string', 'required' => false, 'example' => 'uninstall-app-6646831ac314****'],
'required' => false,
],
],
[
- 'name' => 'ModifyType',
- 'in' => 'formData',
+ 'name' => 'Statuses',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '用户组的修改类型。取值:'."\n"
- .'- **Cover**(默认):使用**Attributes**参数的值覆盖原用户组属性集合。'."\n"
- .'- **Append**:在用户组属性集合中分别增加**Attributes**参数中输入的值。',
- 'type' => 'string',
+ 'description' => '卸载申请状态集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '卸载申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。', 'type' => 'string', 'required' => false, 'example' => 'Pending'],
'required' => false,
- 'enumValueTitles' => [
- 'Cover' => '覆盖',
- 'Append' => '附加',
- ],
- 'example' => 'Cover',
],
],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D',
- ],
- ],
- ],
- ],
- ],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'UserGroup.NotFound',
- 'errorMessage' => 'The userGroup is not found.',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
- 'title' => '修改用户组',
- ],
- 'ListUserPrivateAccessPolicies' => [
- 'summary' => '列表查询用户零信任策略。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'list',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '248706',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
- ],
- 'parameters' => [
[
- 'name' => 'SaseUserId',
+ 'name' => 'Username',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
+ 'schema' => ['description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
],
[
- 'name' => 'CurrentPage',
+ 'name' => 'Department',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'minimum' => '1',
- 'example' => '1',
- ],
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Mac',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页行数。取值范围:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '100',
- 'minimum' => '1',
- 'example' => '10',
- ],
+ 'schema' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'required' => false, 'example' => '00:16:XX:XX:7c:46'],
],
[
- 'name' => 'Name',
+ 'name' => 'Hostname',
'in' => 'query',
- 'schema' => [
- 'description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'private_access_policy_name'."\n",
- ],
+ 'schema' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'required' => false, 'example' => 'win10-64bit'],
],
],
'responses' => [
200 => [
'schema' => [
'title' => 'Schema of Response',
- 'description' => 'Schema of Response.',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request.',
- 'type' => 'string',
- 'example' => '9D852F87-AFB5-51B8-AACD-F7D0EFB8277D',
- ],
- 'TotalNum' => [
- 'description' => '被授权访问的策略总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
- 'Polices' => [
- 'description' => '被授权访问的策略列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => '卸载申请总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Applications' => [
+ 'description' => '卸载申请列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略。',
+ 'description' => '卸载申请。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
- ],
- 'Name' => [
- 'description' => '内网访问策略名称。',
- 'type' => 'string',
- 'example' => 'private_access_policy_name',
- ],
- 'Priority' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1',
- ],
- 'PolicyAction' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- 'UserGroupMode' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义用户组',
- 'Normal' => '普通用户组',
- ],
- 'example' => 'Custom',
- ],
- 'MatchedUserGroup' => [
- 'description' => '所属用户组。',
- 'type' => 'string',
- 'example' => 'user_group_name',
- ],
- 'DeviceAttributeName' => [
- 'description' => '关联的安全基线。',
- 'type' => 'string',
- 'example' => 'device_attribute_name',
- ],
- 'CustomUserAttributes' => [
- 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- 'TrustedSoftwareIds' => [
- 'description' => '可信软件ID列表。',
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DevType' => ['description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。', 'type' => 'string', 'example' => 'Windows'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Reason' => ['description' => '申请原因。', 'type' => 'string', 'example' => '这是一个测试'],
+ 'Status' => ['description' => '卸载申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。', 'type' => 'string', 'example' => 'Approved'],
+ 'ApplicationId' => ['description' => '卸载申请ID。', 'type' => 'string', 'example' => 'uninstall-app-6646831ac314****'],
+ 'IsUninstall' => ['description' => '是否已执行卸载。', 'type' => 'boolean', 'example' => 'false'],
+ 'CreateTime' => ['description' => '卸载申请创建时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
+ 'IdpName' => ['description' => '用户身份源名称。', 'type' => 'string', 'example' => '测试身份源'],
+ 'FullDepartment' => [
+ 'description' => '部门全路径列表。',
'type' => 'array',
- 'items' => [
- 'description' => '可信软件ID。',
- 'type' => 'string',
- 'example' => 'swb-xxxxxxx',
- ],
- ],
- 'TrustedProcessGroupIds' => [
- 'description' => '可信进程组ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信进程组ID。',
- 'type' => 'string',
- 'example' => 'pg-xdxxxxxx',
- ],
+ 'items' => ['description' => '部门全路径。', 'type' => 'string', 'example' => 'SASE/dept1/test dept2'],
],
],
],
@@ -15766,20 +13071,32 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询卸载申请列表',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUninstallApplications'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D852F87-AFB5-51B8-AACD-F7D0EFB8277D\\",\\n \\"TotalNum\\": 20,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Priority\\": 1,\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"UserGroupMode\\": \\"Custom\\",\\n \\"MatchedUserGroup\\": \\"user_group_name\\",\\n \\"DeviceAttributeName\\": \\"device_attribute_name\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxx\\"\\n ],\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xdxxxxxx\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询用户零信任策略',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUninstallApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"IdpName\\": \\"测试身份源\\",\\n \\"FullDepartment\\": [\\n \\"SASE/dept1/test dept2\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
'ListUserApplications' => [
- 'summary' => '查询当前阿里云账号下登录用户的应用权限。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
@@ -15789,10 +13106,10 @@
'deprecated' => false,
'systemTags' => [
'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
'abilityTreeCode' => '248619',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
'autoTest' => true,
'tenantRelevance' => 'tenant',
],
@@ -15800,44 +13117,27 @@
[
'name' => 'SaseUserId',
'in' => 'query',
- 'schema' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
],
[
'name' => 'Name',
'in' => 'query',
- 'schema' => [
- 'description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'private_access_application_name',
- ],
+ 'schema' => ['description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'private_access_application_name'],
],
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '当前页码。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~100。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '10'],
+ ],
+ [
+ 'name' => 'Address',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名、支持模糊查询。', 'type' => 'string', 'required' => false, 'example' => 'sase.alibaba.com'],
],
],
'responses' => [
@@ -15847,18 +13147,8 @@
'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => 'Id of the request',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => '被授权访问的应用总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '20',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'TotalNum' => ['description' => '被授权访问的应用总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
'Applications' => [
'description' => '被授权访问的应用列表。',
'type' => 'array',
@@ -15866,16 +13156,8 @@
'description' => '应用信息。',
'type' => 'object',
'properties' => [
- 'Name' => [
- 'description' => '应用名称。',
- 'type' => 'string',
- 'example' => 'private_access_application_name',
- ],
- 'ApplicationId' => [
- 'description' => '应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-b927baf3e592****',
- ],
+ 'Name' => ['description' => '应用名称。', 'type' => 'string', 'example' => 'private_access_application_name'],
+ 'ApplicationId' => ['description' => '应用ID。', 'type' => 'string', 'example' => 'pa-application-b927baf3e592****'],
'Protocol' => [
'description' => '内网访问应用协议。取值:'."\n"
.'- **All**:全部。'."\n"
@@ -15884,13 +13166,7 @@
.'- **HTTP**: HTTP'."\n"
.'- **HTTPS**: HTTPS',
'type' => 'string',
- 'enumValueTitles' => [
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- 'ALL' => '全部',
- 'HTTPS' => 'HTTPS',
- 'HTTP' => 'HTTP',
- ],
+ 'enumValueTitles' => ['TCP' => 'TCP', 'UDP' => 'UDP', 'ALL' => '全部', 'HTTPS' => 'HTTPS', 'HTTP' => 'HTTP'],
'example' => 'TCP',
],
'Action' => [
@@ -15898,20 +13174,13 @@
.'- **Block**: 阻断。'."\n"
.'- **Allow**: 允许',
'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
'example' => 'Block',
],
'Addresses' => [
'description' => '内网访问应用地址列表。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'example' => '192.168.0.0/16'],
],
'PortRanges' => [
'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
@@ -15920,35 +13189,21 @@
'description' => '内网访问应用端口范围。取值:1~65535。',
'type' => 'object',
'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'string',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'string',
- 'example' => '81',
- ],
+ 'Begin' => ['description' => '起始端口。', 'type' => 'string', 'example' => '80'],
+ 'End' => ['description' => '结束端口。', 'type' => 'string', 'example' => '81'],
],
],
],
- 'ConfigMode' => [
- 'title' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
- 'description' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
- 'type' => 'string',
- ],
+ 'ConfigMode' => ['title' => '配置模式,枚举值:'."\n"
+ .'* 空字符串:默认模式。'."\n"
+ .'* Precise:精细模式。', 'description' => '配置模式,枚举值:'."\n"
+ .'* 空字符串:默认模式。'."\n"
+ .'* Precise:精细模式。', 'type' => 'string', 'example' => 'Precise'],
'AddressGroups' => [
'title' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。',
'description' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AddressGroup',
- ],
+ 'items' => ['description' => '应用地址信息。', '$ref' => '#/components/schemas/AddressGroup'],
],
],
],
@@ -15957,21 +13212,37 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 20,\\n \\"Applications\\": [\\n {\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"Action\\": \\"Block\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": \\"80\\",\\n \\"End\\": \\"81\\"\\n }\\n ],\\n \\"ConfigMode\\": \\"\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
'title' => '查询用户内网应用',
- ],
- 'ListUsers' => [
- 'summary' => '查询当前阿里云账号下登录用户列表。',
- 'methods' => [
- 'get',
+ 'summary' => '查询当前阿里云账号下登录用户的应用权限。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserApplications'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 20,\\n \\"Applications\\": [\\n {\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Protocol\\": \\"TCP\\",\\n \\"Action\\": \\"Block\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": \\"80\\",\\n \\"End\\": \\"81\\"\\n }\\n ],\\n \\"ConfigMode\\": \\"Precise\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"mmtcafts.alipay.com\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 123,\\n \\"End\\": 1234\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUserDevices' => [
+ 'summary' => '查询当前阿里云账号下用户终端设备列表。',
+ 'methods' => ['get', 'post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -15983,574 +13254,464 @@
'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '192473',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
'name' => 'CurrentPage',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
'name' => 'PageSize',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~500。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => true,
- 'example' => '10',
- ],
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值范围:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'FuzzyUsername',
+ 'name' => 'Username',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
+ ],
+ [
+ 'name' => 'SaseUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户ID。取值来源:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ ],
+ [
+ 'name' => 'Department',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
+ ],
+ [
+ 'name' => 'Hostname',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(\\_)、分隔号(/)、at(@)和空格。单独输入下划线(\\_)将额外查询所有名称中带4字节utf-8字符的终端设备。', 'type' => 'string', 'required' => false, 'example' => 'win10-64bit'],
+ ],
+ [
+ 'name' => 'DeviceBelong',
'in' => 'query',
'schema' => [
- 'description' => '模糊匹配用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
'type' => 'string',
'required' => false,
- 'example' => '王先生',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
],
[
- 'name' => 'PreciseUsername',
+ 'name' => 'Mac',
+ 'in' => 'query',
+ 'schema' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'required' => false, 'example' => '00:16:XX:XX:7c:46'],
+ ],
+ [
+ 'name' => 'SharingStatus',
'in' => 'query',
'schema' => [
- 'description' => '精确匹配用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。',
- 'type' => 'string',
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
'required' => false,
- 'example' => '王先生@alibaba.com',
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
],
],
[
- 'name' => 'SaseUserIds',
+ 'name' => 'DeviceStatuses',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '用户ID集合。',
+ 'description' => '终端设备状态集合。',
'type' => 'array',
'items' => [
- 'description' => '用户ID。取值来源:'."\n"
- ."\n"
- .'ListUsers:批量查询登录用户。',
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。包括长期离线状态。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
'type' => 'string',
'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线(包括长期离线)', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
],
'required' => false,
],
],
[
- 'name' => 'Status',
+ 'name' => 'AppStatuses',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '用户状态。取值:'."\n"
- .'- **Enabled**:启用。'."\n"
- .'- **Disabled**:禁用。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '启用',
- 'Disabled' => '禁用',
+ 'description' => '客户端状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
],
- 'example' => 'Enabled',
+ 'required' => false,
],
],
[
- 'name' => 'Department',
+ 'name' => 'PaStatuses',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '测试部',
- ],
- ],
- ],
- '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' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D',
- ],
- 'TotalNum' => [
- 'description' => '用户总数。',
- 'type' => 'string',
- 'example' => '1',
- ],
- 'Users' => [
- 'description' => '用户列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户。',
- 'type' => 'object',
- 'properties' => [
- 'Username' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'example' => '王先生',
- ],
- 'SaseUserId' => [
- 'description' => '用户ID。',
- 'type' => 'string',
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
- ],
- 'Department' => [
- 'description' => '用户所属部门。',
- 'type' => 'string',
- 'example' => '测试部',
- ],
- 'Email' => [
- 'description' => '用户邮箱。',
- 'type' => 'string',
- 'example' => 'a***@example.net',
- ],
- 'Phone' => [
- 'description' => '用户手机号码。',
- 'type' => 'string',
- 'example' => '1381111****',
- ],
- 'Status' => [
- 'description' => '用户状态。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '启用',
- 'Disabled' => '禁用',
- ],
- 'example' => 'Enabled',
- ],
- 'IdpName' => [
- 'description' => '用户身份源名称。',
- 'type' => 'string',
- 'example' => '飞书',
- ],
- ],
- ],
- ],
+ 'description' => '内网访问状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
],
+ 'required' => false,
],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Users\\": [\\n {\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Email\\": \\"a***@example.net\\",\\n \\"Phone\\": \\"1381111****\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"IdpName\\": \\"飞书\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询用户',
- ],
- 'UpdateUsersStatus' => [
- 'summary' => '批量修改当前阿里云账号下登录用户的状态。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'update',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'SaseUserIds',
+ 'name' => 'IaStatuses',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '用户ID集合。',
+ 'description' => '互联网访问状态集合。',
'type' => 'array',
'items' => [
- 'description' => '用户ID。取值来源:'."\n"
- ."\n"
- .' ListUsers:批量查询登录用户。',
+ 'description' => '互联网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
'type' => 'string',
'required' => false,
- 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Disabled',
],
- 'required' => true,
+ 'required' => false,
],
],
[
- 'name' => 'Status',
+ 'name' => 'DlpStatuses',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '登录用户状态。取值:'."\n"
- .'- **Enabled**:启用。'."\n"
- .'- **Disabled**:禁用。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Enabled' => '启用',
- 'Disabled' => '禁用',
+ 'description' => '办公数据保护状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
],
- 'example' => 'Enabled',
+ 'required' => false,
],
],
- ],
- 'responses' => [
- 200 => [
+ [
+ 'name' => 'NacStatuses',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'title' => 'Schema of Response',
- 'description' => 'Schema of Response',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '47363C2B-1AAA-5954-8847-0E50FCC54117',
- ],
+ 'description' => '网络准入状态集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Unprovisioned',
],
+ 'required' => false,
],
],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\"\\n}","type":"json"}]',
- 'title' => '批量修改用户状态',
- ],
- 'ListPrivateAccessApplications' => [
- 'summary' => '批量查询当前阿里云账号下所有内网访问应用的信息。',
- 'methods' => [
- 'get',
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
[
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '163590',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'CurrentPage',
+ 'name' => 'AutoLoginStatuses',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'required' => false,
+ 'description' => '',
],
],
[
- 'name' => 'PageSize',
+ 'name' => 'DeviceTypes',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
+ 'description' => '终端设备操作系统类型集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
+ ],
+ 'required' => false,
],
],
[
- 'name' => 'Name',
+ 'name' => 'DeviceTags',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
+ 'description' => '终端设备ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
'required' => false,
- 'example' => 'private_access_application_name',
],
],
[
- 'name' => 'Status',
+ 'name' => 'SortBy',
'in' => 'query',
'schema' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
+ 'description' => '排序参数。取值:'."\n"
+ .'- **Username**:按Username升序排列。'."\n"
+ .'- **AppVersion**:按AppVersion降序排列。'."\n"
+ .'- **UpdateTime**:按UpdateTime降序排列。'."\n"
+ .'- **CreateTime**:按CreateTime降序排列。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
+ 'enumValueTitles' => ['AppVersion' => '按AppVersion降序排列', 'Username' => '按Username升序排列', 'CreateTime' => '按CreateTime降序排列', 'UpdateTime' => '按UpdateTime降序排列'],
+ 'example' => 'UpdateTime',
],
],
[
- 'name' => 'Address',
+ 'name' => 'InnerIp',
'in' => 'query',
- 'schema' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.0.0/16',
- ],
+ 'schema' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'required' => false, 'example' => '192.168.XX.XX'],
],
[
- 'name' => 'ApplicationIds',
+ 'name' => 'AppVersions',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
+ 'description' => '客户端版本集合。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-e12860ef6c48****',
- ],
+ 'items' => ['description' => '客户端版本。', 'type' => 'string', 'required' => false, 'example' => '4.5.0'],
'required' => false,
],
],
[
- 'name' => 'TagId',
+ 'name' => 'Workshop',
'in' => 'query',
- 'schema' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
+ 'schema' => ['description' => '办公区名称。', 'type' => 'string', 'required' => false, 'example' => '测试办公区'],
],
[
- 'name' => 'PolicyId',
+ 'name' => 'DeviceGroupId',
'in' => 'query',
- 'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-policy-54a7838a48bf****',
- ],
+ 'schema' => ['description' => '设备组ID。', 'type' => 'string', 'required' => false, 'example' => 'device-group-5191cf830a5e****'],
],
[
- 'name' => 'ConnectorId',
+ 'name' => 'SnSystem',
'in' => 'query',
- 'schema' => [
- 'description' => 'ConnectorID。取值来源:[ListConnectors](~~ListConnectors~~)批量查询Connector。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'connector-94db94e06b98****',
- ],
+ 'schema' => ['description' => '系统sn码。', 'type' => 'string', 'required' => false, 'example' => 'KVN9C9****'],
],
[
- 'name' => 'AccessModes',
+ 'name' => 'SnBios',
'in' => 'query',
- 'schema' => [
- 'description' => '访问模式。取值:'."\n"
- .'- **app**:应用访问,筛选支持应用访问的应用。'."\n"
- .'- **browser**:浏览器访问,筛选支持浏览器访问的应用。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'app' => '应用访问',
- 'browser' => '浏览器访问',
- ],
- 'example' => 'app',
- ],
+ 'schema' => ['description' => 'bios 系统 sn 码。', 'type' => 'string', 'required' => false, 'example' => '5CG003****'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D',
- ],
- 'TotalNum' => [
- 'description' => '内网访问应用总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Applications' => [
- 'description' => '内网访问应用列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'],
+ 'TotalNum' => ['description' => '终端设备总数。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'Devices' => [
+ 'description' => '终端设备列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问应用。',
+ 'description' => '终端设备。',
'type' => 'object',
'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
- ],
- 'Name' => [
- 'description' => '内网访问应用名称。',
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
'type' => 'string',
- 'example' => 'private_access_application_name',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
],
- 'Description' => [
- 'description' => '内网访问应用描述。',
+ 'DeviceModel' => ['description' => '终端设备型号。', 'type' => 'string', 'example' => 'MacBookPro17,1'],
+ 'DeviceVersion' => ['description' => '终端设备操作系统版本。', 'type' => 'string', 'example' => '3.5.1'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'InnerIP' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'example' => '192.168.XX.XX'],
+ 'SrcIP' => ['description' => '终端设备登录IP地址。', 'type' => 'string', 'example' => '11.49.XX.XX'],
+ 'Memory' => ['description' => '终端设备内存容量。单位:GB。', 'type' => 'string', 'example' => '16'],
+ 'CPU' => ['description' => '终端设备CPU型号。', 'type' => 'string', 'example' => 'Apple M1'],
+ 'Disk' => ['description' => '终端设备磁盘型号。', 'type' => 'string', 'example' => 'APPLE SSD AP0512Q Media'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'AppVersion' => ['description' => '客户端版本。', 'type' => 'string', 'example' => '2.2.0'],
+ 'DeviceBelong' => [
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
'type' => 'string',
- 'example' => '这是一条内网访问应用',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
- 'Addresses' => [
- 'description' => '内网访问应用地址集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
+ 'SharingStatus' => [
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
],
- 'PortRanges' => [
- 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。取值:1~65535。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
- ],
- ],
- ],
+ 'DeviceStatus' => [
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
],
- 'Protocol' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
+ 'AppStatus' => [
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
'type' => 'string',
- 'enumValueTitles' => [
- 'All' => 'All',
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- ],
- 'example' => 'All',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
],
- 'Status' => [
- 'description' => '内网访问应用状态。取值:'."\n"
+ 'PaStatus' => [
+ 'description' => '内网访问状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
'example' => 'Enabled',
],
- 'CreateTime' => [
- 'description' => '内网访问应用创建时间。',
- 'type' => 'string',
- 'example' => '2022-12-16 15:03:42',
- ],
- 'TagIds' => [
- 'description' => '内网访问标签ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- ],
- 'PolicyIds' => [
- 'description' => '内网访问策略ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-54a7838a48bf****',
- ],
- ],
- 'ConnectorIds' => [
- 'description' => 'ConnectorID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'ConnectorID。',
- 'type' => 'string',
- 'example' => 'connector-94db94e06b98****',
- ],
- ],
- 'BrowserAccessStatus' => [
- 'description' => '浏览器访问模式。取值:'."\n"
+ 'IaStatus' => [
+ 'description' => '互联网访问状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
'example' => 'Enabled',
],
- 'L7ProxyDomainAutomatic' => [
- 'description' => '浏览器访问模式参数:映射代理域名。',
+ 'DlpStatus' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
'type' => 'string',
- 'example' => 'app1-xxx.at.cloudssecsase.com',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
],
- 'L7ProxyDomainCustom' => [
- 'description' => '浏览器访问模式参数:自定代理域名。',
+ 'NacStatus' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
'type' => 'string',
- 'example' => 'app1.example.com',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
],
- 'AutoGenerated' => [
- 'type' => 'integer',
- 'format' => 'int32',
+ 'CreateTime' => ['description' => '终端设备注册时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
+ 'UpdateTime' => ['description' => '终端设备最后在线时间。', 'type' => 'string', 'example' => '2023-08-24 19:04:42'],
+ 'EdrStatus' => ['description' => '反入侵状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'example' => 'Enabled'],
+ 'NetInterfaceInfo' => [
+ 'description' => '终端网卡列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端网卡。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '网卡名称。', 'type' => 'string', 'example' => 'eth0'],
+ 'Mac' => ['description' => '网卡MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ ],
+ ],
],
- 'ConfigMode' => [
- 'title' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
- 'description' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
+ 'Workshop' => ['description' => '办公区名称。', 'type' => 'string', 'example' => '测试办公区'],
+ 'SnSystem' => ['description' => '系统sn码。', 'type' => 'string', 'example' => 'KVN9C9****'],
+ 'SnDiskDrive' => ['description' => '硬盘sn码。', 'type' => 'string', 'example' => 'WD-WXR1A99A****'],
+ 'SnBaseBoard' => ['description' => '主板sn码。', 'type' => 'string', 'example' => 'PJGGU00WBD****'],
+ 'SnProcessor' => ['description' => '处理器sn码。', 'type' => 'string', 'example' => 'BFEBFBFF0008****'],
+ 'SnBios' => ['description' => 'bios系统sn码。', 'type' => 'string', 'example' => '5CG003****'],
+ 'AutoLoginStatus' => [
+ 'description' => '客户端免登状态。',
'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
],
- 'AddressGroups' => [
- 'title' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。',
- 'description' => '应用地址组。在ConfigMode为Precise时返回;在ConfigMode为空字符串时为空。',
+ 'MatchDeviceGroupIds' => [
+ 'description' => '匹配设备组ID集合。',
'type' => 'array',
- 'items' => [
- '$ref' => '#/components/schemas/AddressGroup',
- ],
+ 'items' => ['description' => '设备组ID。', 'type' => 'string', 'example' => 'device-group-5191cf830a5e****'],
+ ],
+ 'JoinAdDomain' => ['description' => '是否加入AD域。', 'type' => 'boolean', 'example' => 'true'],
+ 'Continent' => ['type' => 'string', 'description' => ''],
+ 'Country' => ['type' => 'string', 'description' => ''],
+ 'Province' => ['type' => 'string', 'description' => ''],
+ 'City' => ['type' => 'string', 'description' => ''],
+ 'ContinentEn' => ['title' => '大洲(英文)', 'description' => '大洲(英文)', 'type' => 'string', 'example' => 'Asia'],
+ 'CountryEn' => ['title' => '国家(英文)', 'description' => '国家(英文)', 'type' => 'string', 'example' => 'China'],
+ 'ProvinceEn' => ['title' => '省份(英文)', 'description' => '省份(英文)', 'type' => 'string', 'example' => 'Beijing'],
+ 'CityEn' => ['title' => '城市(英文)', 'description' => '城市(英文)', 'type' => 'string', 'example' => 'Beijing City'],
+ 'FullDepartment' => [
+ 'description' => '部门全路径列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '部门全路径。', 'type' => 'string', 'example' => 'SASE/dept1/test dept2'],
],
+ 'ContinentZh' => ['title' => '大洲(中文)', 'description' => '大洲(中文)', 'type' => 'string', 'example' => '亚洲'],
+ 'CountryZh' => ['title' => '国家(中文)', 'description' => '国家(中文)', 'type' => 'string', 'example' => '中国'],
+ 'ProvinceZh' => ['title' => '省份(中文)', 'description' => '省份(中文)', 'type' => 'string', 'example' => '北京市'],
+ 'CityZh' => ['title' => '城市(中文)', 'description' => '城市(中文)', 'type' => 'string', 'example' => '北京市'],
],
],
],
@@ -16558,21 +13719,41 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": 1,\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"EdrStatus\\": \\"Enabled\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ],\\n \\"Workshop\\": \\"测试办公区\\",\\n \\"SnSystem\\": \\"KVN9C9****\\",\\n \\"SnDiskDrive\\": \\"WD-WXR1A99A****\\",\\n \\"SnBaseBoard\\": \\"PJGGU00WBD****\\",\\n \\"SnProcessor\\": \\"BFEBFBFF0008****\\",\\n \\"SnBios\\": \\"5CG003****\\",\\n \\"AutoLoginStatus\\": \\"Enabled\\",\\n \\"MatchDeviceGroupIds\\": [\\n \\"device-group-5191cf830a5e****\\"\\n ],\\n \\"JoinAdDomain\\": true,\\n \\"Continent\\": \\"\\",\\n \\"Country\\": \\"\\",\\n \\"Province\\": \\"\\",\\n \\"City\\": \\"\\",\\n \\"ContinentEn\\": \\"Asia\\",\\n \\"CountryEn\\": \\"China\\",\\n \\"ProvinceEn\\": \\"Beijing\\",\\n \\"CityEn\\": \\"Beijing City\\",\\n \\"FullDepartment\\": [\\n \\"SASE/dept1/test dept2\\"\\n ],\\n \\"ContinentZh\\": \\"亚洲\\",\\n \\"CountryZh\\": \\"中国\\",\\n \\"ProvinceZh\\": \\"北京市\\",\\n \\"CityZh\\": \\"北京市\\"\\n }\\n ]\\n}","type":"json"}]',
+ 'title' => '批量查询用户终端设备',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-12T14:04:48.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-07-18T07:02:22.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-06-01T10:36:54.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-04-22T09:14:51.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-01-16T05:54:12.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2024-12-18T02:19:11.000Z', 'description' => '响应参数发生变更'],
+ ['createdAt' => '2024-05-17T02:16:16.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-11-15T12:55:31.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-12-16 15:03:42\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app1-xxx.at.cloudssecsase.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app1.example.com\\",\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问应用',
- ],
- 'ListTagsForPrivateAccessApplication' => [
- 'summary' => '批量查询当前阿里云账号下内网访问应用的标签。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserDevices'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ ],
+ 'ListUserGroups' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16583,117 +13764,139 @@
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'ApplicationIds',
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '10000', 'minimum' => '1', 'example' => '1'],
+ ],
+ [
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~1000。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '1000', 'minimum' => '1', 'example' => '10'],
+ ],
+ [
+ 'name' => 'UserGroupIds',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
+ 'description' => '用户组ID集合。最多可输入100个用户组ID。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-7a4445897856****',
- ],
- 'required' => true,
+ 'items' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'required' => false,
],
],
+ [
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户组名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'user_group_name'],
+ ],
+ [
+ 'name' => 'AttributeValue',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户组属性的值。长度为1~128个字符。', 'type' => 'string', 'required' => false, 'example' => 'username'],
+ ],
+ [
+ 'name' => 'PAPolicyId',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-54a7838a48bf****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC',
- ],
- 'Applications' => [
- 'description' => '内网访问应用列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF'],
+ 'TotalNum' => ['description' => '用户组的总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'UserGroups' => [
+ 'description' => '用户组列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问应用。',
+ 'description' => '用户组。',
'type' => 'object',
'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-7a4445897856****',
- ],
- 'Tags' => [
- 'description' => '内网访问标签集合。',
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Name' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'user_group_name'],
+ 'Description' => ['description' => '用户组描述。', 'type' => 'string', 'example' => '这是一条用户组'],
+ 'Attributes' => [
+ 'description' => '用户组属性集合。多个用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
- 'description' => '内网访问标签。',
+ 'description' => '用户组属性。',
'type' => 'object',
'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-c0cb77857a99****',
- ],
- 'Name' => [
- 'description' => '内网访问标签名称。',
- 'type' => 'string',
- 'example' => 'tag_name',
- ],
- 'Description' => [
- 'description' => '内网访问标签描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问标签',
- ],
- 'TagType' => [
- 'description' => '内网访问标签类型。取值:'."\n"
- .'- **Default**:默认。'."\n"
- .'- **Custom**:自定义。',
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Default' => '默认',
- ],
- 'example' => 'Default',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
],
- 'CreateTime' => [
- 'description' => '内网访问标签创建时间。',
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
'type' => 'string',
- 'example' => '2022-07-01 16:05:26',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
+ 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2022-10-10 11:39:22'],
],
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户组',
+ 'summary' => '批量查询当前阿里云账号下所有用户组的信息。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:58.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7241F45B-E8D3-5BA3-8172-8A58AC2AB0FC\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a4445897856****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-c0cb77857a99****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-07-01 16:05:26\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问应用的标签',
- ],
- 'ListPolicesForPrivateAccessApplication' => [
- 'summary' => '批量查询当前阿里云账号下内网访问应用的策略。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroups'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"TotalNum\\": 1,\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-10-10 11:39:22\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUserGroupsForPrivateAccessPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -16701,29 +13904,22 @@
],
'operationType' => 'read',
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'ApplicationIds',
+ 'name' => 'PolicyIds',
'in' => 'query',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
+ 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-b927baf3e592****',
- ],
+ 'items' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => false, 'example' => 'pa-policy-1b0d0e8b4bcf****'],
'required' => true,
],
],
@@ -16733,100 +13929,30 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4AB972E2-D702-5464-B132-B1911498B8BF',
- ],
- 'Applications' => [
- 'description' => '内网访问应用列表。',
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Polices' => [
+ 'description' => '内网访问策略列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问应用。',
+ 'description' => '内网访问策略。',
'type' => 'object',
'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-b927baf3e592****',
- ],
- 'Policies' => [
- 'description' => '内网访问策略集合。',
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-1b0d0e8b4bcf****'],
+ 'UserGroups' => [
+ 'description' => '内网访问策略的用户组集合。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略。',
+ 'description' => '内网访问策略的用户组。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-867ef4007c8a****',
- ],
- 'Name' => [
- 'description' => '内网访问策略名称。',
- 'type' => 'string',
- 'example' => 'private_access_policy_name'."\n",
- ],
- 'Description' => [
- 'description' => '内网访问策略描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问策略'."\n",
- ],
- 'PolicyAction' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- 'Priority' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Status' => [
- 'description' => '内网访问策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'ApplicationType' => [
- 'description' => '内网访问策略的应用类型。取值:'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- 'UserGroupType' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Normal' => '普通',
- ],
- 'example' => 'Normal',
- ],
- 'CustomUserAttributes' => [
- 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Name' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'user_group_name'],
+ 'Description' => ['description' => '用户组描述。', 'type' => 'string', 'example' => '这是一条被内网访问策略引用的用户组'],
+ 'Attributes' => [
+ 'description' => '用户组属性集合。',
'type' => 'array',
'items' => [
- 'description' => '自定义用户组属性。',
+ 'description' => '用户组属性。',
'type' => 'object',
'properties' => [
'UserGroupType' => [
@@ -16836,12 +13962,7 @@
.'- **email**:邮箱。'."\n"
.'- **telephone**:手机。',
'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
'example' => 'department',
],
'Relation' => [
@@ -16849,35 +13970,19 @@
.'- **Equal**:等于。'."\n"
.'- **Unequal**:不等于。',
'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
'example' => 'Equal',
],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
],
],
],
- 'CreateTime' => [
- 'description' => '内网访问策略创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-27 18:10:25',
- ],
+ 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'."\n"],
],
],
],
@@ -16885,1607 +13990,1629 @@
],
],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询内网访问策略的用户组',
+ 'summary' => '批量查询当前阿里云账号下内网访问策略的用户组。',
+ 'changeSet' => [
+ ['createdAt' => '2023-04-12T13:06:57.000Z', 'description' => '请求参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4AB972E2-D702-5464-B132-B1911498B8BF\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-b927baf3e592****\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\\\n\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问应用的策略',
- ],
- 'GetPrivateAccessApplication' => [
- 'summary' => '查询当前阿里云账号下内网访问应用详情。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroupsForPrivateAccessPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroupsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUserGroupsForRegistrationPolicy' => [
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163601',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
],
'parameters' => [
[
- 'name' => 'ApplicationId',
+ 'name' => 'PolicyIds',
'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
+ 'description' => '设备注册策略ID集合。最多可输入100个设备注册策略ID。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略ID。取值来源:'."\n"
+ .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
+ .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
+ .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
+ .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。', 'type' => 'string', 'required' => false, 'example' => 'reg-policy-63b2f1844b86****'."\n"],
'required' => true,
- 'example' => 'pa-application-e12860ef6c48****',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4',
- ],
- 'Application' => [
- 'description' => '内网访问应用。',
- 'type' => 'object',
- 'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
- ],
- 'Name' => [
- 'description' => '内网访问应用名称。',
- 'type' => 'string',
- 'example' => 'private_access_application_name',
- ],
- 'Description' => [
- 'description' => '内网访问应用描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问应用',
- ],
- 'Addresses' => [
- 'description' => '内网访问应用地址集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
- ],
- 'PortRanges' => [
- 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。取值:1~65535。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D89009C7-54C6-51B6-BAE7-3F373920C6BF'],
+ 'Policies' => [
+ 'description' => '设备注册策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备注册策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-f25c9e5872e5****'],
+ 'UserGroups' => [
+ 'description' => '设备注册策略的用户组集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备注册策略的用户组。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupId' => ['description' => '用户组ID。', 'type' => 'string', 'example' => 'usergroup-6f1ef2fc56b6****'],
+ 'Name' => ['description' => '用户组名称。', 'type' => 'string', 'example' => 'user_group_name'],
+ 'Description' => ['description' => '用户组描述。', 'type' => 'string', 'example' => '这是一条被设备注册策略引用的用户组。'],
+ 'CreateTime' => ['description' => '用户组创建时间。', 'type' => 'string', 'example' => '2022-09-27 18:10:25'],
+ 'Attributes' => [
+ 'description' => '用户组属性集合。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ ],
+ ],
+ ],
],
],
],
],
- 'Protocol' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**。'."\n"
- .'- **UDP**。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => 'All',
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- ],
- 'example' => 'All',
- ],
- 'Status' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问应用创建时间。',
- 'type' => 'string',
- 'example' => '2022-08-30 16:50:32',
- ],
- 'TagIds' => [
- 'description' => '内网访问标签ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- ],
- 'PolicyIds' => [
- 'description' => '内网访问策略ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-54a7838a48bf****',
- ],
- ],
- 'ConnectorIds' => [
- 'description' => 'ConnectorID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'ConnectorID。',
- 'type' => 'string',
- 'example' => 'connector-94db94e06b98****',
- ],
- ],
- 'BrowserAccessStatus' => [
- 'description' => '浏览器访问模式。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'L7ProxyDomainAutomatic' => [
- 'description' => '浏览器访问模式参数:映射代理域名。',
- 'type' => 'string',
- 'example' => 'app.example.com',
- ],
- 'L7ProxyDomainCustom' => [
- 'description' => '浏览器访问模式参数:自定义代理域名。',
- 'type' => 'string',
- 'example' => 'app.example.com',
- ],
- 'L7Config' => [
- 'description' => '浏览器访问模式参数:应用配置。',
- '$ref' => '#/components/schemas/PAL7Config',
- ],
- 'AutoGenerated' => [
- 'description' => '是否云应用自动生成。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => 'false',
- ],
- 'ConfigMode' => [
- 'title' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
- 'description' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。',
- 'type' => 'string',
- 'example' => 'Precise',
- ],
- 'AddressGroups' => [
- 'title' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
- 'description' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
- 'type' => 'array',
- 'items' => [
- 'description' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
- '$ref' => '#/components/schemas/AddressGroup',
- ],
- ],
],
],
],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'Application.NotFound',
- 'errorMessage' => 'The application is not found.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询设备注册策略的用户组',
+ 'summary' => '查询当前阿里云账号下设备注册策略相关用户组。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroupsForRegistrationPolicy'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroupsForRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"3ACC5EDC-2B7D-5032-8C58-D7615D66C1D4\\",\\n \\"Application\\": {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\",\\n \\"Name\\": \\"private_access_application_name\\",\\n \\"Description\\": \\"这是一条内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-08-30 16:50:32\\",\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ],\\n \\"ConnectorIds\\": [\\n \\"connector-94db94e06b98****\\"\\n ],\\n \\"BrowserAccessStatus\\": \\"Enabled\\",\\n \\"L7ProxyDomainAutomatic\\": \\"app.example.com\\",\\n \\"L7ProxyDomainCustom\\": \\"app.example.com\\",\\n \\"L7Config\\": {\\n \\"RequestQueryRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"JsHookConfig\\": {\\n \\"Mode\\": \\"\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"aaa\\",\\n \\"To\\": \\"bbb\\"\\n }\\n ]\\n },\\n \\"BypassConfig\\": {\\n \\"AppBypassFroms\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"\\",\\n \\"UrlBypassRules\\": [\\n {\\n \\"Paths\\": [\\n \\"\\"\\n ],\\n \\"Froms\\": [\\n \\"\\"\\n ]\\n }\\n ]\\n },\\n \\"CertId\\": \\"\\",\\n \\"ClientTypeRestrictConfig\\": {\\n \\"BlacklistClients\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"disabled,whitelist,blacklist\\",\\n \\"WhitelistClients\\": [\\n \\"\\"\\n ]\\n },\\n \\"ResponseHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"IsNtlm\\": true,\\n \\"ClientIpConfig\\": {\\n \\"ClientIpHeaders\\": [\\n \\"\\"\\n ],\\n \\"TrustedProxies\\": [\\n \\"\\"\\n ]\\n },\\n \\"ClientIpRestrictConfig\\": {\\n \\"BlacklistFroms\\": [\\n \\"\\"\\n ],\\n \\"Mode\\": \\"disabled,whitelist,blacklist\\",\\n \\"WhitelistFroms\\": [\\n \\"\\"\\n ]\\n },\\n \\"ResponseRewriteConfig\\": {\\n \\"Mode\\": \\"\\",\\n \\"ReplaceRules\\": [\\n {\\n \\"From\\": \\"aaa\\",\\n \\"To\\": \\"bbb\\"\\n }\\n ]\\n },\\n \\"RequestHeaderRewriteConfig\\": {\\n \\"Ops\\": [\\n {\\n \\"Op\\": \\"add,set,delete,replace\\",\\n \\"OldValue\\": \\"\\",\\n \\"Value\\": \\"\\",\\n \\"Key\\": \\"\\",\\n \\"ValueVariable\\": \\"\\"\\n }\\n ]\\n },\\n \\"DnsConfig\\": {\\n \\"DnsServers\\": [\\n \\"\\"\\n ]\\n },\\n \\"ProxyDomainTypes\\": \\"逗号分隔的枚举值:automatic,custom\\"\\n },\\n \\"AutoGenerated\\": 0,\\n \\"ConfigMode\\": \\"Precise\\",\\n \\"AddressGroups\\": [\\n {\\n \\"Addresses\\": [\\n \\"\\"\\n ],\\n \\"Ports\\": [\\n {\\n \\"Begin\\": 0,\\n \\"End\\": 0\\n }\\n ]\\n }\\n ]\\n }\\n}","type":"json"}]',
- 'title' => '查询内网访问应用详情',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D89009C7-54C6-51B6-BAE7-3F373920C6BF\\",\\n \\"Policies\\": [\\n {\\n \\"PolicyId\\": \\"reg-policy-f25c9e5872e5****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被设备注册策略引用的用户组。\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ]\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
- 'CreatePrivateAccessApplication' => [
- 'summary' => '创建当前阿里云账号下内网访问应用。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ListUserPrivateAccessPolicies' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'list',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163596',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '248706',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'private_access_application_name',
- ],
+ 'name' => 'SaseUserId',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
],
[
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条内网访问应用',
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '当前页码。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'minimum' => '1', 'example' => '1'],
],
[
- 'name' => 'Addresses',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '应用地址。在ConfigMode为空字符串时必传;在ConfigMode为Precise时不可传。',
- 'description' => '内网访问应用地址集合。最多可输入1000个内网访问应用地址。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '192.168.0.0/16',
- ],
- 'required' => false,
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页行数。取值范围:1~100。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'maximum' => '100', 'minimum' => '1', 'example' => '10'],
],
[
- 'name' => 'PortRanges',
- 'in' => 'formData',
- 'style' => 'flat',
+ 'name' => 'Name',
+ 'in' => 'query',
+ 'schema' => ['description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'private_access_policy_name'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'title' => '应用端口。在ConfigMode为空字符串时必传;在ConfigMode为Precise时不可传。',
- 'description' => '内网访问应用端口范围集合。最多可输入65535个端口范围。多个端口范围不可重复或重叠。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。取值:1~65535。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。小于等于结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '65535',
- 'minimum' => '1',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。大于等于起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '65535',
- 'minimum' => '1',
- 'example' => '81',
+ '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' => '9D852F87-AFB5-51B8-AACD-F7D0EFB8277D'],
+ 'TotalNum' => ['description' => '被授权访问的策略总数。', 'type' => 'integer', 'format' => 'int32', 'example' => '20'],
+ 'Polices' => [
+ 'description' => '被授权访问的策略列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '内网访问策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'PolicyId' => ['description' => '内网访问策略ID。', 'type' => 'string', 'example' => 'pa-policy-1b0d0e8b4bcf****'],
+ 'Name' => ['description' => '内网访问策略名称。', 'type' => 'string', 'example' => 'private_access_policy_name'],
+ 'Priority' => ['description' => '内网访问策略优先级。数字1表示优先级最高。', 'type' => 'integer', 'format' => 'int64', 'example' => '1'],
+ 'PolicyAction' => [
+ 'description' => '内网访问策略动作。取值:'."\n"
+ .'- **Block**:阻断。'."\n"
+ .'- **Allow**:允许。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
+ 'example' => 'Allow',
+ ],
+ 'UserGroupMode' => [
+ 'description' => '内网访问策略的用户组类型。取值:'."\n"
+ .'- **Normal**:普通用户组。'."\n"
+ .'- **Custom**:自定义用户组。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Custom' => '自定义用户组', 'Normal' => '普通用户组'],
+ 'example' => 'Custom',
+ ],
+ 'MatchedUserGroup' => ['description' => '所属用户组。', 'type' => 'string', 'example' => 'user_group_name'],
+ 'DeviceAttributeName' => ['description' => '关联的安全基线。', 'type' => 'string', 'example' => 'device_attribute_name'],
+ 'CustomUserAttributes' => [
+ 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '自定义用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'example' => '12'],
+ ],
+ ],
+ ],
+ 'TrustedSoftwareIds' => [
+ 'description' => '可信软件ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信软件ID。', 'type' => 'string', 'example' => 'swb-xxxxxxx'],
+ ],
+ 'TrustedProcessGroupIds' => [
+ 'description' => '可信进程组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '可信进程组ID。', 'type' => 'string', 'example' => 'pg-xdxxxxxx'],
+ ],
+ ],
],
],
- 'required' => true,
],
- 'required' => false,
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => '查询用户零信任策略',
+ 'summary' => '列表查询用户零信任策略。',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-13T12:14:51.000Z', 'description' => '响应参数发生变更'],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserPrivateAccessPolicies'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Protocol',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'All',
- 'enum' => [
- 'All',
- 'TCP',
- 'UDP',
- 'HTTP',
- 'HTTPS',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserPrivateAccessPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9D852F87-AFB5-51B8-AACD-F7D0EFB8277D\\",\\n \\"TotalNum\\": 20,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Priority\\": 1,\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"UserGroupMode\\": \\"Custom\\",\\n \\"MatchedUserGroup\\": \\"user_group_name\\",\\n \\"DeviceAttributeName\\": \\"device_attribute_name\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxx\\"\\n ],\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xdxxxxxx\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'ListUsers' => [
+ 'summary' => '查询当前阿里云账号下登录用户列表。',
+ 'methods' => ['get'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
[
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- 'enum' => [
- 'Enabled',
- 'Disabled',
- ],
- ],
+ 'AK' => [],
],
+ ],
+ 'operationType' => 'read',
+ 'deprecated' => false,
+ 'systemTags' => [
+ 'operationType' => 'list',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ 'parameters' => [
[
- 'name' => 'TagIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问标签ID集合。1个内网访问应用最多可关联6个自定义类型的内网访问标签。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- 'required' => false,
- ],
+ 'name' => 'CurrentPage',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时显示的当前页的页码。取值:1~10000。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '1'],
],
[
- 'name' => 'BrowserAccessStatus',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用状态,开启后可以通过无端方式访问内网应用。默认值为**Disabled**。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Disabled',
- ],
+ 'name' => 'PageSize',
+ 'in' => 'query',
+ 'schema' => ['description' => '分页查询时设置的每页数量。取值:1~500。', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '10'],
],
[
- 'name' => 'L7ProxyDomainAutomaticPrefix',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器访问模式参数:映射代理域名前缀。长度为3-20个字符,支持小写英文字母、数字和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app-sample',
- ],
+ 'name' => 'FuzzyUsername',
+ 'in' => 'query',
+ 'schema' => ['description' => '模糊匹配用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
],
[
- 'name' => 'L7ProxyDomainCustom',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器访问模式参数:自定义代理域名。需要是一个合法的域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app1.example.com',
- ],
+ 'name' => 'PreciseUsername',
+ 'in' => 'query',
+ 'schema' => ['description' => '精确匹配用户名。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生@alibaba.com'],
],
[
- 'name' => 'L7Config',
- 'in' => 'formData',
- 'style' => 'json',
+ 'name' => 'SaseUserIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '浏览器访问模式参数:应用配置。',
+ 'description' => '用户ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '用户ID。取值来源:'."\n"
+ ."\n"
+ .'ListUsers:批量查询登录用户。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
'required' => false,
- '$ref' => '#/components/schemas/PAL7Config',
],
],
[
- 'name' => 'ConfigMode',
- 'in' => 'formData',
+ 'name' => 'Status',
+ 'in' => 'query',
'schema' => [
- 'title' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。'."\n",
- 'description' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。'."\n",
+ 'description' => '用户状态。取值:'."\n"
+ .'- **Enabled**:启用。'."\n"
+ .'- **Disabled**:禁用。',
'type' => 'string',
'required' => false,
+ 'enumValueTitles' => ['Enabled' => '启用', 'Disabled' => '禁用'],
+ 'example' => 'Enabled',
],
],
[
- 'name' => 'AddressGroups',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
- 'description' => '应用地址组。在ConfigMode为Precise时必传;在ConfigMode为空字符串时不可传。',
- 'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/AddressGroup',
- ],
- 'required' => false,
- ],
+ 'name' => 'Department',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户所属部门。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、半角逗号(,)、半角分号(;)、短划线(-)、下划线(_)、分隔号(/)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '测试部'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'],
+ 'TotalNum' => ['description' => '用户总数。', 'type' => 'string', 'example' => '1'],
+ 'Users' => [
+ 'description' => '用户列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '用户。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Email' => ['description' => '用户邮箱。', 'type' => 'string', 'example' => 'a***@example.net'],
+ 'Phone' => ['description' => '用户手机号码。', 'type' => 'string', 'example' => '1381111****'],
+ 'Status' => [
+ 'description' => '用户状态。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '启用', 'Disabled' => '禁用'],
+ 'example' => 'Enabled',
+ ],
+ 'IdpName' => ['description' => '用户身份源名称。', 'type' => 'string', 'example' => '飞书'],
+ 'FullDepartment' => [
+ 'description' => '部门全路径列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '部门全路径。', 'type' => 'string', 'example' => 'SASE/dept1/test dept2'],
+ ],
+ ],
+ ],
],
],
],
],
],
- 'errorCodes' => [],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\"\\n}","type":"json"}]',
- 'title' => '创建内网访问应用',
- 'description' => '默认最多可创建500个内网访问应用。',
- ],
- 'DeletePrivateAccessApplication' => [
- 'summary' => '删除当前阿里云账号下内网访问应用。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量查询用户',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"TotalNum\\": \\"1\\",\\n \\"Users\\": [\\n {\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Email\\": \\"a***@example.net\\",\\n \\"Phone\\": \\"1381111****\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"IdpName\\": \\"飞书\\",\\n \\"FullDepartment\\": [\\n \\"SASE/dept1/test dept2\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'LookupWmInfoMapping' => [
+ 'methods' => ['get'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'get',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163584',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '226773',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'ApplicationId',
- 'in' => 'formData',
+ 'name' => 'WmType',
+ 'in' => 'query',
'schema' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
+ 'title' => '水印类型,枚举值:'."\n"
+ .'PureDocument: 常规文档水印'."\n"
+ .'PureWebappInvisible: 常规网页水印'."\n"
+ .'PureAppInvisible: 常规APP水印'."\n"
+ .'PureScreenInvisible: 常规屏幕水印'."\n"
+ .'PureImage: 常规图片水印'."\n"
+ .'PureAudio: 常规音频水印'."\n"
+ .'PureVideo: 常规视频水印'."\n"
+ .'AigcDocument: AIGC文档水印'."\n"
+ .'AigcWebappInvisible: AIGC网页水印'."\n"
+ .'AigcAppInvisible: AIGCAPP水印'."\n"
+ .'AigcScreenInvisible: AIGC屏幕水印'."\n"
+ .'AigcImage: AIGC图片水印'."\n"
+ .'AigcAudio: AIGC音频水印'."\n"
+ .'AigcVideo: AIGC视频水印',
+ 'description' => '水印类型。取值:'."\n"
+ .'- **PureWebappInvisible**:网页水印。'."\n"
+ .'- **PureAppInvisible**:App水印。'."\n"
+ .'- **PureScreenInvisible**:屏幕水印。'."\n"
+ .'- **PureDocument**:文档水印。'."\n"
+ .'- **PureImage**:图片水印。'."\n"
+ .'- **PureAudio**:音频水印。'."\n"
+ .'- **PureVideo**:视频水印。'."\n"
+ .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
+ .'- **AigcAppInvisible**:AIGC App水印。'."\n"
+ .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
+ .'- **AigcDocument**:AIGC文档水印。'."\n"
+ .'- **AigcImage**:AIGC图片水印。'."\n"
+ .'- **AigcAudio**:AIGC音频水印。'."\n"
+ .'- **AigcVideo**:AIGC视频水印。',
'type' => 'string',
'required' => true,
- 'example' => 'pa-application-e12860ef6c48****',
+ 'docRequired' => true,
+ 'enumValueTitles' => [
+ 'PureImage' => '图片水印', 'AigcAppInvisible' => 'AIGC App水印', 'PureWebappInvisible' => '网页水印', 'AigcAudio' => 'AIGC音频水印', 'PureDocument' => '文档水印', 'PureAudio' => '音频水印', 'AigcScreenInvisible' => 'AIGC屏幕水印', 'AigcVideo' => 'AIGC视频水印', 'AigcImage' => 'AIGC图片水印', 'AigcWebappInvisible' => 'AIGC网页水印',
+ 'PureAppInvisible' => 'App水印', 'PureScreenInvisible' => '屏幕水印', 'PureVideo' => '视频水印',
+ ],
+ 'example' => 'PureDocument',
+ 'enum' => ['PureWebappInvisible', 'PureAppInvisible', 'PureScreenInvisible', 'PureImage', 'PureAudio', 'PureVideo', 'AigcWebappInvisible', 'AigcAppInvisible', 'AigcScreenInvisible', 'AigcImage', 'AigcAudio', 'AigcVideo', 'PureDocument'],
],
],
+ [
+ 'name' => 'WmInfoSize',
+ 'in' => 'query',
+ 'schema' => ['title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。', 'description' => '水印信息的容量位宽,默认为32。该参数应该和实际嵌入或者生成透明图时的容量位宽保持一致。取值范围:32~64。该参数的值应当和创建映射关系时保持一致。否则会导致查询不到映射关系。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'maximum' => '64', 'minimum' => '32', 'example' => '32'],
+ ],
+ [
+ 'name' => 'WmInfoUint',
+ 'in' => 'query',
+ 'schema' => ['description' => '数字格式的水印信息。取值来源:'."\n"
+ .'- [CreateWmInfoMapping](~~CreateWmInfoMapping~~):创建水印信息映射关系接口的**WmInfoUint**返回值。', 'type' => 'string', 'required' => true, 'example' => '123***'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
+ 'Data' => [
+ 'description' => '映射关系查询结果。',
+ 'type' => 'object',
+ 'properties' => [
+ 'WmInfoBytesB64' => ['description' => '根据映射关系查询得到的字符串格式的水印信息。取值来源:'."\n"
+ .'- [CreateWmInfoMapping](~~CreateWmInfoMapping~~):创建水印信息映射关系接口的**WmInfoBytesB64**参数。', 'type' => 'string', 'example' => 'aGVsbG8gc2F*****'."\n"],
+ ],
],
],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'Application.NotFound',
- 'errorMessage' => 'The application is not found.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '查询水印信息映射关系',
+ 'summary' => '通过查询已创建的水印信息映射关系,根据数字格式的水印信息查找得到对应的字符串格式的水印信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LookupWmInfoMapping'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:LookupWmInfoMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
- 'title' => '删除内网访问应用',
- 'description' => '当存在办公区识别、策略引用时,不允许删除。参考:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2F*****\\\\n\\"\\n }\\n}","type":"json"}]',
],
- 'UpdatePrivateAccessApplication' => [
- 'summary' => '修改当前阿里云账号下内网访问应用。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'ModifyEnterpriseAcceleratePolicy' => [
+ 'summary' => '修改企业加速策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163600',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '263722',
+ 'abilityTreeNodes' => ['FEATUREcsasQCZUAR'],
+ 'autoTest' => true,
+ 'tenantRelevance' => 'tenant',
],
'parameters' => [
[
- 'name' => 'ApplicationId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-application-e12860ef6c48****',
- ],
- ],
- [
- 'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条内网访问应用',
- ],
- ],
- [
- 'name' => 'Addresses',
+ 'name' => 'EapId',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '应用地址。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。',
- 'description' => '内网访问应用地址集合。最多可输入1000个内网访问应用地址。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '192.168.0.0/16',
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '企业加速策略ID。', 'type' => 'string', 'required' => false, 'example' => 'eap-ce153a7165c8feea'],
],
[
- 'name' => 'PortRanges',
+ 'name' => 'Name',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'title' => '应用端口。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。',
- 'description' => '内网访问应用端口范围集合。最多可输入65535个端口范围。多个端口范围不可重复或重叠。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。取值:1~65535。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。小于等于结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '65535',
- 'minimum' => '1',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。大于等于起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'maximum' => '65535',
- 'minimum' => '1',
- 'example' => '81',
- ],
- ],
- 'required' => false,
- ],
- 'required' => false,
- ],
+ 'schema' => ['description' => '企业加速策略名称。', 'type' => 'string', 'required' => false, 'example' => '白名单策略001'],
],
[
- 'name' => 'Protocol',
+ 'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'All',
- 'enum' => [
- 'All',
- 'TCP',
- 'UDP',
- 'HTTP',
- 'HTTPS',
- ],
- ],
+ 'schema' => ['description' => '企业加速策略描述。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问策略'],
],
[
- 'name' => 'Status',
+ 'name' => 'UpstreamType',
'in' => 'formData',
'schema' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
+ 'description' => '加速实例。',
'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- 'enum' => [
- 'Enabled',
- 'Disabled',
- ],
- ],
- ],
- [
- 'name' => 'TagIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问标签ID集合。1个内网访问应用最多可关联6个自定义类型的内网访问标签。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- 'required' => false,
+ 'required' => true,
+ 'enumValueTitles' => ['connector' => 'connector', 'ga' => 'ga', 'cen' => 'cen'],
+ 'example' => 'ga',
],
],
[
- 'name' => 'ModifyType',
+ 'name' => 'UpstreamHost',
'in' => 'formData',
'schema' => [
- 'description' => '内网访问应用的修改类型。取值:'."\n"
- .'- **Cover**(默认):使用**Addresses**、**PortRanges**、**TagIds**参数的值覆盖原地址、端口范围、标签ID集合。'."\n"
- .'- **Append**:在原地址、端口范围、标签ID集合中分别增加**Addresses**、**PortRanges**、**TagIds**参数中输入的值。',
+ 'description' => '加速实例的地址(IP或域名)。',
'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Cover' => '覆盖',
- 'Append' => '附加',
- ],
- 'example' => 'Cover',
+ 'required' => true,
+ 'enumValueTitles' => [],
+ 'example' => '12.34.56.XX',
],
],
[
- 'name' => 'L7ProxyDomainAutomaticPrefix',
+ 'name' => 'UpstreamPort',
'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器访问模式参数:映射代理域名前缀。长度为3-20个字符,支持小写英文字母、数字和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app1-xxx',
- ],
+ 'schema' => ['description' => '加速实例的端口(1000~60000之间)。', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1000'],
],
[
- 'name' => 'L7ProxyDomainCustom',
+ 'name' => 'UserAttributeGroup',
'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器访问模式参数:自定代理域名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'app1.example.com',
- ],
+ 'schema' => ['description' => '加速用户组。', 'type' => 'string', 'required' => true, 'example' => '测试用户组'],
],
[
- 'name' => 'L7ProxyDomainPrivate',
+ 'name' => 'Priority',
'in' => 'formData',
- 'schema' => [
- 'description' => '浏览器访问模式参数:私有代理域名。',
- 'type' => 'string',
- 'deprecated' => true,
- 'required' => false,
- 'example' => 'app1.example.com',
- ],
+ 'schema' => ['description' => '优先级。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '99', 'minimum' => '0', 'example' => '49', 'default' => '99'],
],
[
- 'name' => 'L7Config',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '浏览器访问模式参数:7层应用配置。',
- 'required' => false,
- '$ref' => '#/components/schemas/PAL7Config',
- ],
- ],
- [
- 'name' => 'ConfigMode',
+ 'name' => 'AccelerationType',
'in' => 'formData',
'schema' => [
- 'title' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。'."\n",
- 'description' => '配置模式,枚举值:'."\n"
- .'* 空字符串:默认模式。'."\n"
- .'* Precise:精细模式。'."\n",
+ 'description' => '加速模式:'."\n"
+ .'- **whiltelist**: 白名单加速'."\n"
+ .'- **global**: 全局加速'."\n"
+ .'- **build-in-list**: 系统内置应用加速',
'type' => 'string',
'required' => false,
+ 'example' => 'whitelist',
+ 'default' => 'whitelist',
+ 'enum' => ['whitelist', 'global', 'build-in-list'],
],
],
[
- 'name' => 'AddressGroups',
+ 'name' => 'ShowInClient',
'in' => 'formData',
- 'style' => 'flat',
'schema' => [
- 'title' => '应用地址组。在ConfigMode为Precise时可传;在ConfigMode为空字符串时不可传。',
- 'description' => '应用地址组。在ConfigMode为Precise时可传;在ConfigMode为空字符串时不可传。',
- 'type' => 'array',
- 'items' => [
- 'required' => false,
- '$ref' => '#/components/schemas/AddressGroup',
- ],
+ 'description' => '是否在客户端透出:'."\n"
+ .'- **0**: 不透出'."\n"
+ .'- **1**: 透出',
+ 'type' => 'integer',
+ 'format' => 'int32',
'required' => false,
+ 'example' => '0',
+ 'default' => '0',
+ 'enum' => ['0', '1'],
],
],
[
- 'name' => 'Name',
+ 'name' => 'OnTls',
'in' => 'formData',
'schema' => [
- 'title' => '应用名称。',
- 'description' => '应用名称。',
- 'type' => 'string',
+ 'description' => '是否开启TLS模式:'."\n"
+ .'- **0**: 不开启'."\n"
+ .'- **1**: 开启',
+ 'type' => 'integer',
+ 'format' => 'int32',
'required' => false,
+ 'example' => '0',
+ 'default' => '-1',
+ 'enum' => ['0', '1'],
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的 ID。', 'type' => 'string', 'example' => '2CABFEBB-0CE7-575E-833A-266F75D46713'],
],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'Application.NotFound',
- 'errorMessage' => 'The application is not found.',
- ],
- ],
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
- 'title' => '修改内网访问应用',
- ],
- 'ListConnectors' => [
- 'summary' => 'Batch query connectors。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'title' => '修改企业加速策略',
+ 'changeSet' => [
+ ['createdAt' => '2025-06-11T02:29:52.000Z', 'description' => '请求参数发生变更'],
],
- 'security' => [
- [
- 'AK' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEnterpriseAcceleratePolicy'],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
- ],
- 'parameters' => [
- [
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
+ 'ramActions' => [
[
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
- ],
- [
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Connector名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'connector_name',
- ],
- ],
- [
- 'name' => 'Status',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Connector连接状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- ],
- [
- 'name' => 'SwitchStatus',
- 'in' => 'query',
- 'schema' => [
- 'description' => 'Connector实例状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- ],
- [
- 'name' => 'ConnectorIds',
- 'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'ConnectorID集合。最多可输入100个ConnectorID。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'ConnectorID。取值来源:[ListConnectors](~~ListConnectors~~)批量查询Connector。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'connector-94db94e06b98****',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:ModifyEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'required' => false,
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => 'Connector总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Connectors' => [
- 'description' => 'Connector列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'Connector。',
- 'type' => 'object',
- 'properties' => [
- 'ConnectorId' => [
- 'description' => 'ConnectorID。',
- 'type' => 'string',
- 'example' => 'connector-94db94e06b98****',
- ],
- 'Name' => [
- 'description' => 'Connector名称。',
- 'type' => 'string',
- 'example' => 'connector_name',
- ],
- 'RegionId' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'example' => 'cn-hangzhou',
- ],
- 'SwitchStatus' => [
- 'description' => 'Connector实例状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'Status' => [
- 'description' => 'Connector连接状态。取值:'."\n"
- .'- **Online**:在线。'."\n"
- .'- **Offline**:离线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Offline' => '离线',
- 'Online' => '在线',
- ],
- 'example' => 'Online',
- ],
- 'Applications' => [
- 'description' => '关联的内网访问应用集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '关联的内网访问应用。',
- 'type' => 'object',
- 'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****'."\n",
- ],
- 'ApplicationName' => [
- 'description' => '内网访问应用名称。',
- 'type' => 'string',
- 'example' => 'application_name',
- ],
- ],
- ],
- ],
- 'UpgradeTime' => [
- 'description' => 'Connector升级时间。',
- 'type' => 'object',
- 'properties' => [
- 'Start' => [
- 'description' => '开始时间。',
- 'type' => 'string',
- 'example' => '20:00',
- ],
- 'End' => [
- 'description' => '结束时间。',
- 'type' => 'string',
- 'example' => '23:00',
- ],
- ],
- ],
- 'ConnectorClients' => [
- 'description' => '部署的ConnectorClient集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '部署的ConnectorClient。',
- 'type' => 'object',
- 'properties' => [
- 'DevTag' => [
- 'description' => 'ConnectorClient的设备唯一标识。',
- 'type' => 'string',
- 'example' => 'C50A2386-F851-4F11-920B-DF7148DA0C22',
- ],
- 'Hostname' => [
- 'description' => 'ConnectorClient主机名。',
- 'type' => 'string',
- 'example' => 'connector_client',
- ],
- 'ConnectionStatus' => [
- 'description' => 'ConnectorClient和ConnectorServer的连接状态。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Connected' => '已连接',
- 'Disconnected' => '未连接',
- ],
- 'example' => 'Disconnected',
- ],
- 'PublicIp' => [
- 'description' => 'ConnectorClient公网IP。',
- 'type' => 'string',
- 'example' => '192.0.2.1',
- ],
- ],
- ],
- ],
- 'CreateTime' => [
- 'description' => 'Connector创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-27 18:10:25',
- ],
- 'ClusterIP' => [
- 'description' => '集群IP。',
- 'type' => 'string',
- 'example' => '1.1.1.1',
- ],
- 'ClusterPort' => [
- 'description' => '集群端口。',
- 'type' => 'string',
- 'example' => '8000',
- ],
- 'AccelerateStatus' => [
- 'description' => '是否启用全球加速。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Connectors\\": [\\n {\\n \\"ConnectorId\\": \\"connector-94db94e06b98****\\",\\n \\"Name\\": \\"connector_name\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"SwitchStatus\\": \\"Enabled\\",\\n \\"Status\\": \\"Online\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-e12860ef6c48****\\\\n\\",\\n \\"ApplicationName\\": \\"application_name\\"\\n }\\n ],\\n \\"UpgradeTime\\": {\\n \\"Start\\": \\"20:00\\",\\n \\"End\\": \\"23:00\\"\\n },\\n \\"ConnectorClients\\": [\\n {\\n \\"DevTag\\": \\"C50A2386-F851-4F11-920B-DF7148DA0C22\\",\\n \\"Hostname\\": \\"connector_client\\",\\n \\"ConnectionStatus\\": \\"Disconnected\\",\\n \\"PublicIp\\": \\"192.0.2.1\\"\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\",\\n \\"ClusterIP\\": \\"1.1.1.1\\",\\n \\"ClusterPort\\": \\"8000\\",\\n \\"AccelerateStatus\\": \\"Enabled\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => 'Batch Query Connectors',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CABFEBB-0CE7-575E-833A-266F75D46713\\"\\n}","type":"json"}]',
],
- 'AttachApplication2Connector' => [
- 'summary' => '挂载当前阿里云账号下Connector的内网访问应用。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'RevokeUserDeviceSession' => [
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'readAndWrite',
+ 'operationType' => 'write',
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '164987',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '224559',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'ConnectorId',
+ 'name' => 'SaseUserId',
'in' => 'formData',
- 'schema' => [
- 'description' => 'ConnectorID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'connector-94db94e06b98****'."\n",
- ],
+ 'schema' => ['title' => 'SASE用户ID', 'description' => 'SASE用户ID', 'type' => 'string', 'required' => true, 'example' => 'su_xxxxxxxx'],
],
[
- 'name' => 'ApplicationIds',
+ 'name' => 'DevTag',
'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '内网访问应用ID集合。一个Connector最多可挂载内网访问应用的数量不超过内网访问应用总数。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-application-f4dd77bced90****',
- ],
- 'required' => true,
- ],
+ 'schema' => ['title' => '设备标识', 'description' => '设备标识', 'type' => 'string', 'required' => true, 'example' => '2987b3e0-8108-2f99-4d18-3b4f1c1c36d7'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '吊销用户设备会话',
+ 'summary' => '吊销用户设备会话',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\"\\n}","type":"json"}]',
- 'title' => '挂载Connector的应用',
- ],
- 'DetachApplication2Connector' => [
- 'summary' => '卸载当前阿里云账号下Connector的内网访问应用。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:RevokeUserDeviceSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\"\\n}","type":"json"}]',
+ ],
+ 'RevokeUserSession' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'write',
+ 'operationType' => 'readAndWrite',
'deprecated' => true,
'systemTags' => [
- 'operationType' => 'update',
+ 'operationType' => 'none',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '165052',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '224559',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'ConnectorId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => 'ConnectorID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'connector-94db94e06b98****',
- ],
+ 'name' => 'IdpId',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户所属身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => 'idp-cfg9vcrqylo39c39uxnw'],
],
[
- 'name' => 'ApplicationIds',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '内网访问应用ID集合。最多可输入100个内网访问应用ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-application-b927baf3e592****',
- ],
- 'required' => true,
- ],
+ 'name' => 'ExternalIds',
+ 'in' => 'query',
+ 'schema' => ['description' => '外部身份源用户唯一ID。', 'type' => 'string', 'required' => true, 'example' => '12345678'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8'],
],
],
],
],
- 'staticInfo' => [
- 'substitutions' => [
- 'csas::2023-01-20::ModifyForwardStrategy',
+ 'staticInfo' => ['noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。', 'returnType' => 'synchronous'],
+ 'title' => '吊销用户登录会话',
+ 'summary' => '吊销用户登录会话。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeUserSession'],
],
- 'returnType' => 'synchronous',
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
- 'title' => '卸载Connector的应用',
- ],
- 'ListPrivateAccessTags' => [
- 'summary' => '批量查询当前阿里云账号下所有内网访问标签的信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:RevokeUserSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateApprovalProcess' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
+ 'abilityTreeCode' => '213358',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'name' => 'ProcessName',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => '测试'],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '内网访问标签名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag_name',
- ],
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一个测试'],
],
[
- 'name' => 'TagIds',
- 'in' => 'query',
+ 'name' => 'ProcessNodes',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
+ 'description' => '审批节点列表。最多可定义5个审批节点。',
'type' => 'array',
'items' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
+ 'description' => '审批节点的审批人列表。最多可定义5个审批人。',
+ 'type' => 'array',
+ 'items' => ['description' => '审批人ID。取值来源:'."\n"
+ .'- [ListUsers](~~ListUsers~~):批量查询用户。', 'type' => 'string', 'required' => false, 'example' => 'su_d142d5bdeebcdb0c9dfe784d74d84a8f4644cee21bf26c9311c934debbef****'],
'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
],
'required' => false,
],
],
[
- 'name' => 'ApplicationId',
- 'in' => 'query',
+ 'name' => 'MatchSchemas',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
+ 'description' => '匹配的审批模板。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainWhitelistSchemaId' => ['description' => '域名白名单审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DomainBlacklistSchemaId' => ['description' => '域名黑名单审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'SoftwareBlockSchemaId' => ['description' => '软件禁用审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DeviceRegistrationSchemaId' => ['description' => '设备注册审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'AppUninstallSchemaId' => ['description' => '设备卸载审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'PeripheralBlockSchemaId' => ['description' => '外设管控审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'DlpSendSchemaId' => ['description' => '文件外发审批模板ID。', 'type' => 'string', 'required' => false, 'example' => 'approval-schema-090134f1ebff****'],
+ 'EndpointHardeningSchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'SoftwareHardeningSchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'PrivateAccessBlockSchemaId' => ['type' => 'string'],
+ ],
'required' => false,
- 'example' => 'pa-application-e12860ef6c48****',
],
],
[
- 'name' => 'PolicyId',
+ 'name' => 'ProcessId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '审批流程ID。', 'type' => 'string', 'required' => true, 'example' => 'approval-process-f16bf74b2b29****'],
+ ],
+ [
+ 'name' => 'MatchSchemaConfigs',
'in' => 'query',
+ 'style' => 'json',
'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
+ 'type' => 'object',
+ 'properties' => [
+ 'DomainWhitelistSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'DomainBlacklistSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'SoftwareBlockSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'DeviceRegistrationSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'AppUninstallSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'DlpSendSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'PeripheralBlockSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'EndpointHardeningSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'SoftwareHardeningSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'ExternalProcessId' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'required' => false, 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ ],
+ 'required' => false,
+ 'description' => '',
+ ],
+ 'PrivateAccessBlockSchemaConfig' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string'],
+ 'ExternalProcessId' => ['type' => 'string'],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string'],
+ 'DisplayField' => ['type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ ],
'required' => false,
- 'example' => 'pa-policy-54a7838a48bf****',
+ 'description' => '',
],
],
[
- 'name' => 'SimpleMode',
+ 'name' => 'ApprovalType',
'in' => 'query',
'schema' => [
- 'description' => '简单查询模式。如果值为true,表示不需要查询PolicyId字段。',
- 'type' => 'boolean',
+ 'type' => 'integer',
+ 'format' => 'int32',
'required' => false,
- 'example' => 'true',
+ 'enum' => ['0', '1', '2'],
+ 'description' => '',
],
],
+ [
+ 'name' => 'EventLabel',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
+ [
+ 'name' => 'ExternalConfig',
+ 'in' => 'query',
+ 'schema' => ['type' => 'string', 'required' => false, 'description' => ''],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '54C1D236-CDB9-586C-B44D-AFDCEA195545',
- ],
- 'TotalNum' => [
- 'description' => '内网访问标签总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Tags' => [
- 'description' => '内网访问标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签。',
- 'type' => 'object',
- 'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299'],
+ 'Process' => [
+ 'description' => '审批流程。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '审批流程创建时间。', 'type' => 'string', 'example' => '2022-07-11 15:31:39'],
+ 'ProcessId' => ['description' => '审批流程ID。', 'type' => 'string', 'example' => 'approval-process-2677fcf063f5****'],
+ 'ProcessName' => ['description' => '审批流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'Description' => ['description' => '审批流程描述。', 'type' => 'string', 'example' => '这是一个测试'],
+ 'ProcessNodes' => [
+ 'description' => '审批节点列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '节点审批人。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SaseUserId' => ['description' => '审批人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批人用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ ],
],
- 'Name' => [
- 'description' => '内网访问标签名称。',
- 'type' => 'string',
- 'example' => 'tag_name',
+ ],
+ 'DomainWhitelistPolicies' => [
+ 'description' => '域名白名单关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名白名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名白名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
],
- 'Description' => [
- 'description' => '内网访问标签描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问标签',
+ ],
+ 'DomainBlacklistPolicies' => [
+ 'description' => '域名黑名单关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '域名黑名单策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '域名黑名单策略ID。', 'type' => 'string', 'example' => 'ladp-27a4fedf5e73****'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
],
- 'TagType' => [
- 'description' => '内网访问标签类型。取值:'."\n"
- .'- **Default**:默认。'."\n"
- .'- **Custom**:自定义。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Default' => '默认',
+ ],
+ 'SoftwareBlockPolicies' => [
+ 'description' => '软件禁用关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '软件禁用策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '软件禁用策略ID。', 'type' => 'string', 'example' => 'pid-9f37f3a5991f****'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
],
- 'example' => 'Default',
],
- 'CreateTime' => [
- 'description' => '内网访问标签创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-10 11:39:34',
+ ],
+ 'DeviceRegistrationPolicies' => [
+ 'description' => '设备注册关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '设备注册策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => 'reg-policy-63b2f1844b86****'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
],
- 'ApplicationIds' => [
- 'description' => '内网访问应用ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
+ ],
+ 'AppUninstallPolicies' => [
+ 'description' => '终端卸载关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '终端卸载策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端卸载策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-5919f8afff47****'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
],
],
- 'PolicyIds' => [
- 'description' => '内网访问策略ID集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-54a7838a48bf****',
+ ],
+ 'DlpSendPolicies' => [
+ 'description' => '文件外发关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '文件外发策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '文件外发策略ID。', 'type' => 'string', 'example' => '17**'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
],
],
],
+ 'PeripheraBlockPolicies' => [
+ 'description' => '外设管控关联策略列表。',
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['description' => '审批模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'PolicyIds' => [
+ 'description' => '外设管控策略ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '外设管控策略ID。', 'type' => 'string', 'example' => '17**'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
+ ],
+ ],
+ 'EndpointHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'SoftwareHardeningPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string', 'description' => ''],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string', 'description' => ''],
+ 'description' => '',
+ ],
+ 'ExternalProcessId' => ['type' => 'string', 'description' => ''],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string', 'description' => ''],
+ 'DisplayField' => ['type' => 'string', 'description' => ''],
+ 'DisplayFieldValue' => ['type' => 'string', 'description' => ''],
+ ],
+ 'description' => '',
+ ],
+ 'description' => '',
+ ],
+ ],
+ 'description' => '',
+ ],
+ 'PrivateAccessBlockPolicies' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SchemaId' => ['type' => 'string'],
+ 'PolicyIds' => [
+ 'type' => 'array',
+ 'items' => ['type' => 'string'],
+ ],
+ 'ExternalProcessId' => ['type' => 'string'],
+ 'FieldMap' => [
+ 'type' => 'array',
+ 'items' => [
+ 'type' => 'object',
+ 'properties' => [
+ 'SystemField' => ['type' => 'string'],
+ 'DisplayField' => ['type' => 'string'],
+ 'DisplayFieldValue' => ['type' => 'string'],
+ ],
+ ],
+ ],
+ ],
+ ],
+ 'ApprovalType' => ['type' => 'integer', 'format' => 'int32', 'description' => ''],
+ 'ExternalConfig' => ['type' => 'string', 'description' => ''],
+ 'EventLabel' => ['type' => 'string', 'description' => ''],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'title' => '更新审批流程',
+ 'summary' => '更新当前阿里云账号下审批流程。',
+ 'changeSet' => [
+ ['createdAt' => '2025-09-26T15:43:42.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-08-19T16:05:20.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
+ ['createdAt' => '2025-04-27T10:40:41.000Z', 'description' => '请求参数发生变更、响应参数发生变更'],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54C1D236-CDB9-586C-B44D-AFDCEA195545\\",\\n \\"TotalNum\\": 1,\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条内网访问标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2022-10-10 11:39:34\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"PolicyIds\\": [\\n \\"pa-policy-54a7838a48bf****\\"\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问标签',
- ],
- 'ListApplicationsForPrivateAccessTag' => [
- 'summary' => '批量查询当前阿里云账号下内网访问标签的应用。',
- 'methods' => [
- 'get',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApprovalProcess'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Process\\": {\\n \\"CreateTime\\": \\"2022-07-11 15:31:39\\",\\n \\"ProcessId\\": \\"approval-process-2677fcf063f5****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"Description\\": \\"这是一个测试\\",\\n \\"ProcessNodes\\": [\\n [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ]\\n ],\\n \\"DomainWhitelistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DomainBlacklistPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"ladp-27a4fedf5e73****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"pid-9f37f3a5991f****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DeviceRegistrationPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"reg-policy-63b2f1844b86****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"AppUninstallPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"auto-boot-anti-uninstall-5919f8afff47****\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"DlpSendPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PeripheraBlockPolicies\\": {\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"PolicyIds\\": [\\n \\"17**\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"EndpointHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"SoftwareHardeningPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"PrivateAccessBlockPolicies\\": {\\n \\"SchemaId\\": \\"\\",\\n \\"PolicyIds\\": [\\n \\"\\"\\n ],\\n \\"ExternalProcessId\\": \\"\\",\\n \\"FieldMap\\": [\\n {\\n \\"SystemField\\": \\"\\",\\n \\"DisplayField\\": \\"\\",\\n \\"DisplayFieldValue\\": \\"\\"\\n }\\n ]\\n },\\n \\"ApprovalType\\": 0,\\n \\"ExternalConfig\\": \\"\\",\\n \\"EventLabel\\": \\"\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateApprovalStatus' => [
+ 'summary' => '更新当前阿里云账号下审批实例状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '213408',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'TagIds',
+ 'name' => 'ApprovalId',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-7ffc82853476****',
- ],
- 'required' => true,
- ],
+ 'schema' => ['description' => '审批实例ID。取值来源:'."\n"
+ .'- [ListApprovals](~~ListApprovals~~):批量查询审批实例列表。'."\n"
+ .'- [GetApproval](~~GetApproval~~):查询审批实例详情。', 'type' => 'string', 'required' => true, 'example' => 'approval-872b5e911b35****'],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'query',
+ 'schema' => ['description' => '审批实例状态。取值:'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。', 'type' => 'string', 'required' => true, 'example' => 'Approved'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E',
- ],
- 'Tags' => [
- 'description' => '内网访问标签列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049'],
+ 'Approval' => [
+ 'description' => '审批实例。',
'type' => 'array',
'items' => [
- 'description' => '内网访问标签。',
+ 'description' => '审批实例。',
'type' => 'object',
'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-7ffc82853476****',
- ],
- 'Applications' => [
- 'description' => '内网访问应用集合。',
+ 'ApprovalId' => ['description' => '审批实例ID。', 'type' => 'string', 'example' => 'approval-165e6738ad9d****'],
+ 'ApprovalProgresses' => [
+ 'description' => '审批实例进展节点列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问应用。',
+ 'description' => '审批实例进展节点。',
'type' => 'object',
'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-7a9243dd02f4****',
- ],
- 'Name' => [
- 'description' => '内网访问应用名称。',
- 'type' => 'string',
- 'example' => 'private_access_application_name'."\n",
- ],
- 'Description' => [
- 'description' => '内网访问应用描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问应用'."\n",
- ],
- 'Addresses' => [
- 'description' => '内网访问应用地址集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
- ],
- 'PortRanges' => [
- 'description' => '内网访问应用端口范围集合。多个端口范围不可重复或重叠。',
+ 'Operators' => [
+ 'description' => '审批进展节点操作人列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'description' => '审批进展节点操作人。',
'type' => 'object',
'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
- ],
+ 'SaseUserId' => ['description' => '审批进展节点操作人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Username' => ['description' => '审批进展节点操作人用户名。', 'type' => 'string', 'example' => '王先生'],
],
],
],
- 'Protocol' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => 'All',
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- ],
- 'example' => 'All',
- ],
- 'Status' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问应用创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-27 18:10:25',
- ],
+ 'Status' => ['description' => '审批进展节点状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。', 'type' => 'string', 'example' => 'Approved'],
+ 'Executor' => ['description' => '审批进展节点执行人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Action' => ['description' => '审批进展节点执行操作。取值:'."\n"
+ .'- **Approve**:通过。'."\n"
+ .'- **Reject**:拒绝。'."\n"
+ .'- **Revoke**:撤回。'."\n"
+ .'- **Comment**:评论。', 'type' => 'string', 'example' => 'Approve'],
+ 'Comment' => ['description' => '审批进展节点执行评论。', 'type' => 'string', 'example' => '审核通过'],
+ 'Timestamp' => ['description' => '审批进展节点执行时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1736752000'],
],
],
],
+ 'EndTimestamp' => ['description' => '审批实例有效截止时刻,秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'example' => '1757952000'],
+ 'ApprovalDetail' => ['description' => '审批实例详情。', 'type' => 'string', 'example' => '{"initiatorName":"王先生","initiatorDept":"测试部","devType":"windows","deviceType":"usbStorage","deviceId":"FC216E9E3****","approvalEndTimestamp":1736524799,"approvalReason":"这是一个测试"}'],
+ 'Status' => ['description' => '审批实例状态。取值:'."\n"
+ .'- **Pending**:待审批。'."\n"
+ .'- **Approved**:已通过。'."\n"
+ .'- **Rejected**:已拒绝。'."\n"
+ .'- **Revoked**:已撤回。'."\n"
+ .'- **Expired**:已过期。', 'type' => 'string', 'example' => 'Pending'],
+ 'ProcessId' => ['description' => '审批实例关联流程ID。', 'type' => 'string', 'example' => 'approval-process-fcc351b8a95b****'],
+ 'ProcessName' => ['description' => '审批实例关联流程名称。', 'type' => 'string', 'example' => '测试'],
+ 'PolicyType' => ['description' => '审批实例关联策略类型。取值:'."\n"
+ .'- **DomainBlacklist**:域名黑名单。'."\n"
+ .'- **DomainWhitelist**:域名白名单。'."\n"
+ .'- **SoftwareBlock**:软件禁用。'."\n"
+ .'- **AppUninstall**:终端卸载。'."\n"
+ .'- **DlpSend**:文件外发。'."\n"
+ .'- **PeripheralBlock**:外设管控。', 'type' => 'string', 'example' => 'DlpSend'],
+ 'SchemaId' => ['description' => '审批实例关联模板ID。', 'type' => 'string', 'example' => 'approval-schema-090134f1ebff****'],
+ 'SchemaName' => ['description' => '审批实例关联模板名称。', 'type' => 'string', 'example' => '测试'],
+ 'SchemaContent' => ['description' => '审批实例关联模板内容。', 'type' => 'string', 'example' => '{"form": {"labelCol": 6,"wrapperCol": 12}}'],
+ 'CreatorUserId' => ['description' => '审批实例创建人ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'CreatorDevTag' => ['description' => '审批实例创建终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'CreateTime' => ['description' => '审批实例创建时间。', 'type' => 'string', 'example' => '2022-11-15 22:11:55'],
+ 'Reason' => ['description' => '审批实例创建原因。', 'type' => 'string', 'example' => '这是一个测试'],
],
],
],
@@ -18493,841 +15620,640 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-7ffc82853476****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"private_access_application_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问应用\\\\n\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问标签的应用',
- ],
- 'ListPolicesForPrivateAccessTag' => [
- 'summary' => '批量查询当前阿里云账号下内网访问标签的策略。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '更新审批实例状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApprovalStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateApprovalStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Approval\\": [\\n {\\n \\"ApprovalId\\": \\"approval-165e6738ad9d****\\",\\n \\"ApprovalProgresses\\": [\\n {\\n \\"Operators\\": [\\n {\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Username\\": \\"王先生\\"\\n }\\n ],\\n \\"Status\\": \\"Approved\\",\\n \\"Executor\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Action\\": \\"Approve\\",\\n \\"Comment\\": \\"审核通过\\",\\n \\"Timestamp\\": 1736752000\\n }\\n ],\\n \\"EndTimestamp\\": 1757952000,\\n \\"ApprovalDetail\\": \\"{\\\\\\"initiatorName\\\\\\":\\\\\\"王先生\\\\\\",\\\\\\"initiatorDept\\\\\\":\\\\\\"测试部\\\\\\",\\\\\\"devType\\\\\\":\\\\\\"windows\\\\\\",\\\\\\"deviceType\\\\\\":\\\\\\"usbStorage\\\\\\",\\\\\\"deviceId\\\\\\":\\\\\\"FC216E9E3****\\\\\\",\\\\\\"approvalEndTimestamp\\\\\\":1736524799,\\\\\\"approvalReason\\\\\\":\\\\\\"这是一个测试\\\\\\"}\\",\\n \\"Status\\": \\"Pending\\",\\n \\"ProcessId\\": \\"approval-process-fcc351b8a95b****\\",\\n \\"ProcessName\\": \\"测试\\",\\n \\"PolicyType\\": \\"DlpSend\\",\\n \\"SchemaId\\": \\"approval-schema-090134f1ebff****\\",\\n \\"SchemaName\\": \\"测试\\",\\n \\"SchemaContent\\": \\"{\\\\\\"form\\\\\\": {\\\\\\"labelCol\\\\\\": 6,\\\\\\"wrapperCol\\\\\\": 12}}\\",\\n \\"CreatorUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"CreatorDevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"CreateTime\\": \\"2022-11-15 22:11:55\\",\\n \\"Reason\\": \\"这是一个测试\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateBootAndAntiUninstallPolicy' => [
+ 'summary' => '更新当前阿里云账号下自启动与防卸载策略。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeCode' => '218007',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'TagIds',
- 'in' => 'query',
+ 'name' => 'IsBoot',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否开启自启动功能。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'IsAntiUninstall',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否开启防卸载功能。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'AllowReport',
+ 'in' => 'formData',
+ 'schema' => ['description' => '是否允许终端用户提交审批。', 'type' => 'boolean', 'required' => false, 'example' => 'true'],
+ ],
+ [
+ 'name' => 'WhitelistUsers',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。',
+ 'description' => '白名单用户列表。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-b927baf3e592****',
+ 'items' => ['description' => '白名单用户名。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'UserGroupIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '策略生效用户组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '策略生效用户组ID。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-086bcf2d650b****'],
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'BlockContent',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '客户端拦截弹窗展示内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BlockTextZh' => [
+ 'description' => '中文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'required' => false, 'example' => '防卸载警告'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'required' => false, 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'required' => false, 'example' => '去报备'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'required' => false, 'example' => '我知道了'],
+ ],
+ 'required' => false,
+ ],
+ 'BlockTextEn' => [
+ 'description' => '英文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'required' => false, 'example' => 'Anti-Uninstall Warning'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'required' => false, 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'required' => false, 'example' => 'Report'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'required' => false, 'example' => 'Ignore'],
+ ],
+ 'required' => false,
+ ],
],
- 'required' => true,
+ 'required' => false,
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
- 'Tags' => [
- 'description' => '内网访问标签列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签。',
- 'type' => 'object',
- 'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-b927baf3e592****'."\n",
- ],
- 'Polices' => [
- 'description' => '内网访问策略集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'CB67D866-1E54-5106-89DF-6D70C73E5989'],
+ 'Strategy' => [
+ 'description' => '自启动&防卸载策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'CreateTime' => ['description' => '策略创建时间。', 'type' => 'string', 'example' => '2023-04-16 10:50:05'],
+ 'UpdateTime' => ['description' => '策略更新时间。', 'type' => 'string', 'example' => '2024-06-14 10:17:14'],
+ 'IsBoot' => ['description' => '是否开启自启动功能。', 'type' => 'boolean', 'example' => 'true'],
+ 'IsAntiUninstall' => ['description' => '是否开启防卸载功能。', 'type' => 'boolean', 'example' => 'true'],
+ 'AllowReport' => ['description' => '是否允许终端用户提交审批。', 'type' => 'boolean', 'example' => 'true'],
+ 'WhitelistUsers' => [
+ 'description' => '白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '白名单用户名。', 'type' => 'string', 'example' => '王先生'],
+ ],
+ 'UserGroupIds' => [
+ 'description' => '策略生效用户组ID列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '策略生效用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
+ ],
+ 'PolicyId' => ['description' => '策略ID。', 'type' => 'string', 'example' => 'auto-boot-anti-uninstall-6f6cbf5f6605****'],
+ 'BlockContent' => [
+ 'description' => '客户端拦截弹窗展示内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'BlockTextZh' => [
+ 'description' => '中文内容。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-867ef4007c8a****',
- ],
- 'Name' => [
- 'description' => '内网访问策略名称。',
- 'type' => 'string',
- 'example' => 'private_access_policy_name'."\n",
- ],
- 'Description' => [
- 'description' => '内网访问策略描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问策略',
- ],
- 'PolicyAction' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- 'Priority' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Status' => [
- 'description' => '内网访问策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'ApplicationType' => [
- 'description' => '内网访问策略的应用类型。取值:'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- 'UserGroupType' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Normal' => '普通',
- ],
- 'example' => 'Normal',
- ],
- 'CustomUserAttributes' => [
- 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department'."\n",
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- 'CreateTime' => [
- 'description' => '内网访问策略创建时间。',
- 'type' => 'string',
- 'example' => '2023-02-21 14:10:16',
- ],
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'example' => '防卸载警告'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'example' => '卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'example' => '去报备'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'example' => '我知道了'],
+ ],
+ ],
+ 'BlockTextEn' => [
+ 'description' => '英文内容。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Title' => ['description' => '弹窗标题。', 'type' => 'string', 'example' => 'Anti-Uninstall Warning'],
+ 'Content' => ['description' => '弹窗内容。', 'type' => 'string', 'example' => 'After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!'],
+ 'MainButtonText' => ['description' => '弹窗主按钮文案。', 'type' => 'string', 'example' => 'Report'],
+ 'MinorButtonText' => ['description' => '弹窗副按钮文案。', 'type' => 'string', 'example' => 'Ignore'],
],
],
],
],
+ 'ReportProcessId' => ['description' => '策略关联审批流程ID。', 'type' => 'string', 'example' => 'approval-process-65c255598826****'],
],
],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-b927baf3e592****\\\\n\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\",\\n \\"Name\\": \\"private_access_policy_name\\\\n\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"ApplicationType\\": \\"Application\\",\\n \\"UserGroupType\\": \\"Normal\\",\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\\\n\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问标签的策略',
- ],
- 'CreatePrivateAccessTag' => [
- 'summary' => '创建当前阿里云账号下内网访问标签。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '更新自启动&防卸载策略',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBootAndAntiUninstallPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateBootAndAntiUninstallPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"CB67D866-1E54-5106-89DF-6D70C73E5989\\",\\n \\"Strategy\\": {\\n \\"CreateTime\\": \\"2023-04-16 10:50:05\\",\\n \\"UpdateTime\\": \\"2024-06-14 10:17:14\\",\\n \\"IsBoot\\": true,\\n \\"IsAntiUninstall\\": true,\\n \\"AllowReport\\": true,\\n \\"WhitelistUsers\\": [\\n \\"王先生\\"\\n ],\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"PolicyId\\": \\"auto-boot-anti-uninstall-6f6cbf5f6605****\\",\\n \\"BlockContent\\": {\\n \\"BlockTextZh\\": {\\n \\"Title\\": \\"防卸载警告\\",\\n \\"Content\\": \\"卸载后该设备无法再用于公司办公,同时该设备将失去进入公司内网权限!\\",\\n \\"MainButtonText\\": \\"去报备\\",\\n \\"MinorButtonText\\": \\"我知道了\\"\\n },\\n \\"BlockTextEn\\": {\\n \\"Title\\": \\"Anti-Uninstall Warning\\",\\n \\"Content\\": \\"After uninstalling, the device can no longer be used for company work, and it will lose access to the company\'s intranet!\\",\\n \\"MainButtonText\\": \\"Report\\",\\n \\"MinorButtonText\\": \\"Ignore\\"\\n }\\n },\\n \\"ReportProcessId\\": \\"approval-process-65c255598826****\\"\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateClientUser' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163592',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '215389',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'Name',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问标签名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tag_name',
- ],
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'example' => '20644'],
+ ],
+ [
+ 'name' => 'DepartmentId',
+ 'in' => 'query',
+ 'schema' => ['description' => '部门ID。', 'type' => 'string', 'required' => false, 'example' => '10701'],
+ ],
+ [
+ 'name' => 'Email',
+ 'in' => 'query',
+ 'schema' => ['description' => '电子邮件地址。', 'type' => 'string', 'required' => false, 'example' => 'johndoe@example.com'],
+ ],
+ [
+ 'name' => 'MobileNumber',
+ 'in' => 'query',
+ 'schema' => ['description' => '手机号码,不需要带国家编码。', 'type' => 'string', 'required' => false, 'example' => '13641966835'],
],
[
'name' => 'Description',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问标签描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条内网访问标签',
- ],
+ 'in' => 'query',
+ 'schema' => ['description' => '用户描述。', 'type' => 'string', 'required' => false, 'example' => '示例用户'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
],
],
],
],
- 'errorCodes' => [
- 500 => [
- [
- 'errorCode' => 'Tag.NameExisted',
- 'errorMessage' => 'The tag name is existed.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '设置自定义身份源指定用户信息',
+ 'summary' => '设置当前阿里云账户自定义身份源指定用户的信息。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUser'],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\"\\n}","type":"json"}]',
- 'title' => '创建内网访问标签',
- 'description' => '默认最多可创建500个内网访问标签。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
],
- 'DeletePrivateAccessTag' => [
- 'summary' => '删除当前阿里云账号下内网访问标签。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateClientUserPassword' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'delete',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163589',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeCode' => '215390',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'TagId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
+ 'name' => 'Id',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => false, 'example' => '1128'],
+ ],
+ [
+ 'name' => 'Username',
+ 'in' => 'query',
+ 'schema' => ['description' => '用户名称。', 'type' => 'string', 'required' => false, 'example' => '张三'],
+ ],
+ [
+ 'name' => 'Password',
+ 'in' => 'query',
+ 'schema' => ['description' => '密码。若为空则自动生成随机密码。', 'type' => 'string', 'required' => false, 'example' => 'kehudiyidj'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D',
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649'],
],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'Tag.NotFound',
- 'errorMessage' => 'The tag is not found.',
- ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '设置自定义身份源指定用户的密码',
+ 'summary' => '设置当前阿里云账户自定义身份源指定用户的密码。',
+ 'requestParamsDescription' => 'Id或Username至少指定其一,优先使用Id。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUserPassword'],
],
- 500 => [
- [
- 'errorCode' => 'Tag.UsedByApplication',
- 'errorMessage' => 'The tag is used by application.',
- ],
- [
- 'errorCode' => 'Tag.UsedByPolicy',
- 'errorMessage' => 'The tag is used by policy.',
- ],
- [
- 'errorCode' => 'Tag.UsedByWorkshop',
- 'errorMessage' => 'The tag is used by workshop.',
- ],
- [
- 'errorCode' => 'Tag.DefaultCannotDelete',
- 'errorMessage' => 'The default tag cannot be deleted.',
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUserPassword',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
- 'title' => '删除内网访问标签',
- 'description' => '当存在应用、办公区识别、策略引用时,不允许删除。参考:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\"\\n}","type":"json"}]',
],
- 'ListPrivateAccessPolices' => [
- 'summary' => '获取当前阿里云账号下所有内网访问策略的信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateClientUserStatus' => [
+ 'summary' => '设置当前阿里云账户自定义身份源指定用户的启用状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163588',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeCode' => '215392',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
+ 'name' => 'Id',
'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '用户ID。', 'type' => 'string', 'required' => true, 'example' => '1495'],
],
[
- 'name' => 'PageSize',
+ 'name' => 'Status',
'in' => 'query',
+ 'schema' => ['description' => '用户启用状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => true, 'example' => 'Enabled'],
+ ],
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '设置自定义身份源用户启用状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUserStatus'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'private_access_policy_name'."\n",
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUserStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateDynamicRoute' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
+ 'security' => [
+ [
+ 'AK' => [],
+ ],
+ ],
+ 'operationType' => 'readAndWrite',
+ 'systemTags' => [
+ 'operationType' => 'update',
+ 'riskType' => 'none',
+ 'chargeType' => 'free',
+ 'abilityTreeCode' => '173166',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
+ ],
+ 'parameters' => [
+ [
+ 'name' => 'DynamicRouteId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由ID。', 'type' => 'string', 'required' => true, 'example' => 'dr-ca9fddfac7c6****'],
+ ],
+ [
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'dynamic_route_name'],
+ ],
+ [
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条动态路由'],
+ ],
[
'name' => 'Status',
- 'in' => 'query',
+ 'in' => 'formData',
'schema' => [
- 'description' => '内网访问策略状态。取值:'."\n"
+ 'description' => '动态路由状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Disabled',
],
],
[
- 'name' => 'PolicyAction',
- 'in' => 'query',
- 'schema' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由优先级。数字1表示优先级最高。取值:1-99。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '99'],
],
[
- 'name' => 'PolicyIds',
- 'in' => 'query',
+ 'name' => 'RegionIds',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'description' => 'SASE的POP集群接入点支持的地域列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
+ 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
+ .' - [ListDynamicRouteRegions](~~2525442~~):批量查询动态路由已授权地域。',
'type' => 'string',
'required' => false,
- 'example' => 'pa-policy-63b2f1844b86****',
+ 'enumValueTitles' => ['cn-shenzhen' => '深圳', 'cn-beijing' => '北京', 'cn-shanghai' => '上海', 'ap-southeast-1' => '新加坡', 'us-east-1' => '弗吉尼亚', 'us-west-1' => '硅谷', 'cn-hangzhou' => '杭州', 'cn-chengdu' => '成都'],
+ 'example' => 'ap-southeast-1',
],
'required' => false,
],
],
[
- 'name' => 'UserGroupId',
- 'in' => 'query',
+ 'name' => 'ApplicationType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
+ 'description' => '动态路由的应用类型。取值:'."\n"
+ .'- **All**:全部应用。'."\n"
+ .'- **Application**:应用。'."\n"
+ .'- **Tag**:标签。',
'type' => 'string',
'required' => false,
- 'example' => 'usergroup-6f1ef2fc56b6****',
+ 'enumValueTitles' => ['All' => '全部应用', 'Tag' => '标签', 'Application' => '应用'],
+ 'example' => 'Application',
],
],
[
- 'name' => 'ApplicationId',
- 'in' => 'query',
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问应用ID。无法和内网访问标签ID同时过滤。取值来源:'."\n"
- .' - [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .' - [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
+ 'description' => '动态路由的应用ID集合。最多可输入200个内网访问应用ID。当**ApplicationType**为**Application**时,必填。和**TagIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-f4dd77bced90****'],
'required' => false,
- 'example' => 'pa-application-e12860ef6c48****',
],
],
[
- 'name' => 'TagId',
- 'in' => 'query',
+ 'name' => 'TagIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问标签ID。无法和应用ID同时过滤。取值来源:'."\n"
- .' - [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .' - [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
+ 'description' => '动态路由的内网访问标签ID集合。最多可输入40个内网访问标签ID。当**ApplicationType**为**Tag**时,必填。和**ApplicationIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
+ 'type' => 'array',
+ 'items' => ['description' => '动态路由的内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
'required' => false,
- 'example' => 'tag-c0cb77857a99****',
],
],
[
- 'name' => 'ApplicationName',
- 'in' => 'query',
+ 'name' => 'DynamicRouteType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '内网访问应用名称。',
+ 'description' => '动态路由类型。取值:**connector**:自由专线。',
'type' => 'string',
'required' => false,
- 'example' => '办公',
+ 'enumValueTitles' => ['connector' => '自有专线'],
+ 'example' => 'connector',
],
],
[
- 'name' => 'TagName',
- 'in' => 'query',
+ 'name' => 'NextHop',
+ 'in' => 'formData',
+ 'schema' => ['description' => '动态路由下一跳实例ID。取值来源:'."\n"
+ .' - [ListConnectors](~~ListConnectors~~):批量查询Connector。', 'type' => 'string', 'required' => false, 'example' => 'connector-8ccb13b6f52c****'],
+ ],
+ [
+ 'name' => 'ModifyType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '标签名称。',
+ 'description' => '动态路由的修改类型。取值:'."\n"
+ .'- **Cover**(默认):使用**RegionIds**、**ApplicationIds**、**TagIds**、参数的值覆盖原SASE的POP集群接入点支持的地域、内网访问应用ID集合、内网访问标签集合。'."\n"
+ .'- **Append**:在原SASE的POP集群接入点支持的地域、内网访问应用ID集合、内网访问标签集合中分别增加**RegionIds**、**ApplicationIds**、**TagIds**参数中输入的值。',
'type' => 'string',
'required' => false,
- 'example' => '云产品',
+ 'enumValueTitles' => ['Cover' => '覆盖', 'Append' => '附加'],
+ 'example' => 'Cover',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D',
- ],
- 'TotalNum' => [
- 'description' => '内网访问策略的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Polices' => [
- 'description' => '内网访问策略列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略。',
- 'type' => 'object',
- 'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-63b2f1844b86****',
- ],
- 'Name' => [
- 'description' => '内网访问策略名称。',
- 'type' => 'string',
- 'example' => 'private_access_policy_name',
- ],
- 'Description' => [
- 'description' => '内网访问策略描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问策略',
- ],
- 'PolicyAction' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- 'Priority' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Status' => [
- 'description' => '内网访问策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问策略创建时间。',
- 'type' => 'string',
- 'example' => '2022-07-10 15:50:23',
- ],
- 'UserGroupMode' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义用户组',
- 'Normal' => '普通用户组',
- ],
- 'example' => 'Normal',
- ],
- 'UserGroupIds' => [
- 'description' => '内网访问策略,用户组ID集合。当用户组类型为**Normal**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略,用户组类型为**Normal**的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- ],
- 'CustomUserAttributes' => [
- 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- 'ApplicationType' => [
- 'description' => '内网访问策略的应用类型。取值:'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- 'ApplicationIds' => [
- 'description' => '内网访问策略的应用ID集合。当应用类型为**Application**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
- ],
- ],
- 'TagIds' => [
- 'description' => '内网访问策略的标签ID集合。当应用类型为**Tag**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- ],
- 'DeviceAttributeId' => [
- 'description' => '安全基线策略的ID。',
- 'type' => 'string',
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
- 'DeviceAttributeAction' => [
- 'description' => '不满足安全基线的执行策略。取值:'."\n"
- .'- **Block**:拦截。'."\n"
- .'- **Observe**:观察。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Observe' => 'Observe',
- 'Block' => 'Block',
- ],
- 'example' => 'Block',
- ],
- 'TriggerTemplateId' => [
- 'description' => '触发模板ID',
- 'type' => 'string',
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
- 'TrustedProcessStatus' => [
- 'description' => '可信进程开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'TrustedProcessGroupIds' => [
- 'description' => '可信进程组ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信进程组ID。',
- 'type' => 'string',
- 'example' => 'pg-xxxxxxx',
- ],
- ],
- 'TrustedSoftwareIds' => [
- 'description' => '可信软件ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信软件ID。',
- 'type' => 'string',
- 'example' => 'swb-xxxxxxxx',
- ],
- ],
- 'ValidFrom' => [
- 'description' => '零信任策略的生效起始时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ValidUntil' => [
- 'description' => '零信任策略的生效截止时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1764727544',
- ],
- 'ValidTimeStatus' => [
- 'description' => '生效时间开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'DynamicRoute.NotFound', 'errorMessage' => 'The dynamicRoute is not found.', 'description' => '指定的动态路由不存在。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\",\\n \\"TotalNum\\": 1,\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-07-10 15:50:23\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问策略',
- ],
- 'ListUserGroupsForPrivateAccessPolicy' => [
- 'summary' => '批量查询当前阿里云账号下内网访问策略的用户组。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改动态路由',
+ 'summary' => '修改当前阿里云账号下动态路由。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDynamicRoute'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateExcessiveDeviceRegistrationApplicationsStatus' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
],
'parameters' => [
[
- 'name' => 'PolicyIds',
- 'in' => 'query',
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '超额注册申请状态。取值:'."\n"
+ .'- **Approved**:通过。只有设备注册申请为待处理状态时允许通过。'."\n"
+ .'- **Rejected**:拒绝。只有设备注册申请为待处理状态时允许拒绝。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Approved' => '通过', 'Rejected' => '拒绝'],
+ 'example' => 'Approved',
+ ],
+ ],
+ [
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'description' => '超额注册申请ID集合。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
- ],
+ 'items' => ['description' => '超额注册申请ID。取值来源[ListExcessiveDeviceRegistrationApplications](~~ListExcessiveDeviceRegistrationApplications~~):批量查询设备超额注册申请。', 'type' => 'string', 'required' => false, 'example' => 'reg-application-0f4a127b7e78****'."\n"],
'required' => true,
],
],
@@ -19335,106 +16261,56 @@
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Polices' => [
- 'description' => '内网访问策略列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'Applications' => [
+ 'description' => '超额注册申请列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略。',
+ 'description' => '超额注册申请。',
'type' => 'object',
'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
'type' => 'string',
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
],
- 'UserGroups' => [
- 'description' => '内网访问策略的用户组集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的用户组。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupId' => [
- 'description' => '用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- 'Name' => [
- 'description' => '用户组名称。',
- 'type' => 'string',
- 'example' => 'user_group_name',
- ],
- 'Description' => [
- 'description' => '用户组描述。',
- 'type' => 'string',
- 'example' => '这是一条被内网访问策略引用的用户组',
- ],
- 'Attributes' => [
- 'description' => '用户组属性集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- 'CreateTime' => [
- 'description' => '用户组创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-27 18:10:25'."\n",
- ],
- ],
- ],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'IsUsed' => [
+ 'description' => '超额注册申请是否被使用。取值:'."\n"
+ .'- **true**:被使用。'."\n"
+ .'- **false**:尚未使用。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '被使用', 'false' => '尚未使用'],
+ 'example' => 'false',
+ ],
+ 'Status' => [
+ 'description' => '超额注册申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Approved' => '通过', 'Rejected' => '拒绝', 'Pending' => '待处理'],
+ 'example' => 'Approved',
],
+ 'CreateTime' => ['description' => '超额注册申请创建时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
+ 'Description' => ['description' => '超额注册申请理由。', 'type' => 'string', 'example' => '这是一条超额注册申请'],
+ 'ApplicationId' => ['description' => '超额注册申请ID。', 'type' => 'string', 'example' => 'reg-application-0f4a127b7e78****'],
],
],
],
@@ -19442,581 +16318,199 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"UserGroups\\": [\\n {\\n \\"UserGroupId\\": \\"usergroup-6f1ef2fc56b6****\\",\\n \\"Name\\": \\"user_group_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的用户组\\",\\n \\"Attributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\\\n\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问策略的用户组',
- ],
- 'ListApplicationsForPrivateAccessPolicy' => [
- 'summary' => '批量查询当前阿里云账号下内网访问策略的应用。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量修改设备超额注册申请状态',
+ 'summary' => '批量修改当前阿里云账号下超额注册申请状态。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateExcessiveDeviceRegistrationApplicationsStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateExcessiveDeviceRegistrationApplicationsStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Applications\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"IsUsed\\": false,\\n \\"Status\\": \\"Approved\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"Description\\": \\"这是一条超额注册申请\\",\\n \\"ApplicationId\\": \\"reg-application-0f4a127b7e78****\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateIdpDepartment' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '215363',
+ 'abilityTreeNodes' => ['FEATUREcsas62O8LY'],
],
'parameters' => [
[
- 'name' => 'PolicyIds',
+ 'name' => 'IdpConfigId',
'in' => 'query',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
- ],
- 'required' => true,
- ],
+ 'schema' => ['description' => '自定义身份源配置ID。', 'type' => 'string', 'required' => true, 'example' => '598'],
+ ],
+ [
+ 'name' => 'DepartmentId',
+ 'in' => 'query',
+ 'schema' => ['description' => '部门ID。', 'type' => 'string', 'required' => true, 'example' => '10653'],
+ ],
+ [
+ 'name' => 'DepartmentName',
+ 'in' => 'query',
+ 'schema' => ['description' => '部门名称。', 'type' => 'string', 'required' => true, 'example' => '示例部门'],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
- 'Polices' => [
- 'description' => '内网访问策略列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略。',
- 'type' => 'object',
- 'properties' => [
- 'PolicyId' => [
- 'description' => '策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
- ],
- 'Applications' => [
- 'description' => '内网访问应用集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用。',
- 'type' => 'object',
- 'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-7a9243dd02f4****',
- ],
- 'Name' => [
- 'description' => '内网访问应用名称。',
- 'type' => 'string',
- 'example' => 'application_name',
- ],
- 'Description' => [
- 'description' => '内网访问应用描述。',
- 'type' => 'string',
- 'example' => '这是一条被内网访问策略引用的内网访问应用',
- ],
- 'Addresses' => [
- 'description' => '内网访问应用地址集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
- ],
- 'PortRanges' => [
- 'description' => '内网访问应用端口范围集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
- ],
- ],
- ],
- ],
- 'Protocol' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => 'All',
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- ],
- 'example' => 'TCP',
- ],
- 'Status' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问应用创建时间。',
- 'type' => 'string',
- 'example' => '2022-09-27 18:10:25',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"TCP\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-09-27 18:10:25\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问策略的应用',
- ],
- 'ListTagsForPrivateAccessPolicy' => [
- 'summary' => '批量查询当前阿里云账号下内网访问策略的标签。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改自定义身份源指定部门',
+ 'summary' => '删除当前阿里云账户自定义身份源指定的部门。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIdpDepartment'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateNacUserCertStatus' => [
+ 'summary' => '批量修改当前阿里云账号下用户入网证书状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'operationType' => 'none',
+ 'abilityTreeCode' => '208782',
+ 'abilityTreeNodes' => ['FEATUREcsasFARMOF'],
],
'parameters' => [
[
- 'name' => 'PolicyIds',
- 'in' => 'query',
+ 'name' => 'IdList',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略ID集合。最多可输入100个内网访问策略ID。',
+ 'description' => '终端设备用户ID和设备ID集合。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
+ 'description' => '终端设备用户ID和设备ID。取值:[ListNacUserCert](~~ListNacUserCert~~):批量查询用户终端设备入网证书状态。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserId' => ['description' => '终端设备用户ID。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'DevTag' => ['description' => '终端设备设备ID。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ ],
'required' => false,
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
],
- 'required' => true,
+ 'required' => false,
+ ],
+ ],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '终端用户设备证书状态。取值:'."\n"
+ .'- **Enabled**:启用。'."\n"
+ .'- **Disabled**:禁用。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => 'Enabled', 'Disabled' => 'Disabled'],
+ 'example' => 'Enabled',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response。',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求ID。', 'type' => 'string', 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1'],
+ 'Code' => [
+ 'description' => '接口状态或POP错误码。取值说明如下:'."\n"
+ .'- **2xx**:成功。'."\n"
+ .'- **3xx**:重定向。'."\n"
+ .'- **4xx**:请求错误。'."\n"
+ .'- **5xx**:服务器错误。',
'type' => 'string',
- 'example' => '9EE61139-A6A8-5E13-80AF-83435C21B26B',
- ],
- 'Polices' => [
- 'description' => '内网访问策略列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略。',
- 'type' => 'object',
- 'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-1b0d0e8b4bcf****',
- ],
- 'Tags' => [
- 'description' => '内网访问标签集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问标签。',
- 'type' => 'object',
- 'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- 'Name' => [
- 'description' => '内网访问标签名称。',
- 'type' => 'string',
- 'example' => 'tag_name',
- ],
- 'Description' => [
- 'description' => '内网访问标签描述。',
- 'type' => 'string',
- 'example' => '这是一条被内网访问策略引用的标签',
- ],
- 'TagType' => [
- 'description' => '内网访问标签类型。取值:'."\n"
- .'- **Default**:默认。'."\n"
- .'- **Custom**:自定义。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Default' => '默认',
- ],
- 'example' => 'Default',
- ],
- 'CreateTime' => [
- 'description' => '内网访问标签创建时间。',
- 'type' => 'string',
- 'example' => '2023-02-21 14:10:16',
- ],
- ],
- ],
- ],
- ],
- ],
+ 'enumValueTitles' => ['2xx' => '2xx', '3xx' => '3xx', '4xx' => '4xx', '5xx' => '5xx'],
+ 'example' => '200',
],
+ 'Message' => ['description' => '调用结果的附加信息。', 'type' => 'string', 'example' => 'successful'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9EE61139-A6A8-5E13-80AF-83435C21B26B\\",\\n \\"Polices\\": [\\n {\\n \\"PolicyId\\": \\"pa-policy-1b0d0e8b4bcf****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被内网访问策略引用的标签\\",\\n \\"TagType\\": \\"Default\\",\\n \\"CreateTime\\": \\"2023-02-21 14:10:16\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询内网访问策略的标签',
- ],
- 'GetPrivateAccessPolicy' => [
- 'summary' => '获取当前阿里云账号下指定内网访问策略的详情信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
- ],
- ],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '163586',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量修改用户入网证书状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateNacUserCertStatus'],
],
],
- 'parameters' => [
+ 'ramActions' => [
[
- 'name' => 'PolicyId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-policy-63b2f1844b86****',
- ],
- ],
- ],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
- 'Policy' => [
- 'description' => '内网访问策略。',
- 'type' => 'object',
- 'properties' => [
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-63b2f1844b86****',
- ],
- 'Name' => [
- 'description' => '内网访问策略名称。',
- 'type' => 'string',
- 'example' => 'private_access_policy_name',
- ],
- 'Description' => [
- 'description' => '内网访问策略描述。',
- 'type' => 'string',
- 'example' => '这是一条内网访问策略',
- ],
- 'PolicyAction' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- 'Priority' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Status' => [
- 'description' => '内网访问策略状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问策略创建时间。',
- 'type' => 'string',
- 'example' => '2021-07-29 11:26:02',
- ],
- 'UserGroupMode' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义用户组',
- 'Normal' => '普通用户组',
- ],
- 'example' => 'Normal',
- ],
- 'UserGroupIds' => [
- 'description' => '内网访问策略,用户组ID集合。当用户组类型为Normal时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略,用户组类型为Normal的用户组ID。',
- 'type' => 'string',
- 'example' => 'usergroup-6f1ef2fc56b6****',
- ],
- ],
- 'CustomUserAttributes' => [
- 'description' => '自定义用户组属性集合。多个自定义用户组属性之间是或的关系,按照合集生效。',
- 'type' => 'array',
- 'items' => [
- 'description' => '自定义用户组属性。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '自定义用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '自定义用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '自定义用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '12',
- ],
- ],
- ],
- ],
- 'ApplicationType' => [
- 'description' => '内网访问策略的应用类型。取值:'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- 'ApplicationIds' => [
- 'description' => '内网访问策略的应用ID集合。当应用类型为Application时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****'."\n",
- ],
- ],
- 'TagIds' => [
- 'description' => '内网访问策略的标签ID集合。当应用类型为Tag时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****'."\n",
- ],
- ],
- 'DeviceAttributeId' => [
- 'description' => '安全基线策略的ID。',
- 'type' => 'string',
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
- 'DeviceAttributeAction' => [
- 'description' => '不满足安全基线的执行策略。取值:'."\n"
- ."\n"
- .'- **Block**:拦截。'."\n"
- .'- **Observe**:观察。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Observe' => 'Observe',
- 'Block' => 'Block',
- ],
- 'example' => 'Block',
- ],
- 'TriggerTemplateId' => [
- 'description' => '触发模板ID',
- 'type' => 'string',
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
- 'TrustedProcessStatus' => [
- 'description' => '可信进程开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- 'TrustedProcessGroupIds' => [
- 'description' => '可信进程组ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信进程组ID。',
- 'type' => 'string',
- 'example' => 'pg-xxxxxxxx',
- ],
- ],
- 'TrustedSoftwareIds' => [
- 'description' => '可信软件ID列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信软件ID。',
- 'type' => 'string',
- 'example' => 'swb-xxxxxxxxx',
- ],
- ],
- 'ValidFrom' => [
- 'description' => '零信任策略的生效起始时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '0',
- ],
- 'ValidUntil' => [
- 'description' => '零信任策略的生效截止时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '1764727544',
- ],
- 'ValidTimeStatus' => [
- 'description' => '生效时间开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'example' => 'Enabled',
- ],
- ],
- ],
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateNacUserCertStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Policy\\": {\\n \\"PolicyId\\": \\"pa-policy-63b2f1844b86****\\",\\n \\"Name\\": \\"private_access_policy_name\\",\\n \\"Description\\": \\"这是一条内网访问策略\\",\\n \\"PolicyAction\\": \\"Allow\\",\\n \\"Priority\\": 1,\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2021-07-29 11:26:02\\",\\n \\"UserGroupMode\\": \\"Normal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-6f1ef2fc56b6****\\"\\n ],\\n \\"CustomUserAttributes\\": [\\n {\\n \\"UserGroupType\\": \\"department\\",\\n \\"Relation\\": \\"Equal\\",\\n \\"Value\\": \\"OU=部门1,OU=SASE钉钉\\",\\n \\"IdpId\\": 12\\n }\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\\\n\\"\\n ],\\n \\"DeviceAttributeId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"DeviceAttributeAction\\": \\"Block\\",\\n \\"TriggerTemplateId\\": \\"dag-d3f64e8bdd4a****\\",\\n \\"TrustedProcessStatus\\": \\"Enabled\\",\\n \\"TrustedProcessGroupIds\\": [\\n \\"pg-xxxxxxxx\\"\\n ],\\n \\"TrustedSoftwareIds\\": [\\n \\"swb-xxxxxxxxx\\"\\n ],\\n \\"ValidFrom\\": 0,\\n \\"ValidUntil\\": 1764727544,\\n \\"ValidTimeStatus\\": \\"Enabled\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询内网访问策略详情',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Code\\": \\"200\\",\\n \\"Message\\": \\"successful\\"\\n}","type":"json"}]',
],
- 'CreatePrivateAccessPolicy' => [
- 'summary' => '创建当前阿里云账号下内网访问策略。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdatePrivateAccessApplication' => [
+ 'summary' => '修改当前阿里云账号下内网访问应用。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20024,340 +16518,160 @@
],
'operationType' => 'readAndWrite',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '163595',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeCode' => '163600',
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'ApplicationId',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'private_access_policy_name',
- ],
+ 'schema' => ['description' => '内网访问应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => true, 'example' => 'pa-application-e12860ef6c48****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条内网访问策略',
- ],
- ],
- [
- 'name' => 'PolicyAction',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略动作。取值:'."\n"
- .'- **Block**:阻断。'."\n"
- .'- **Allow**:允许。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
- 'example' => 'Allow',
- ],
- ],
- [
- 'name' => 'ApplicationType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略的应用类型。取值:'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
+ 'schema' => ['description' => '内网访问应用描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问应用'],
],
[
- 'name' => 'ApplicationIds',
+ 'name' => 'Addresses',
'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略的应用ID集合。最多可输入100个内网访问应用ID。当**ApplicationType**为**Application时**,必填。和**TagIds**互斥。',
+ 'description' => '内网访问应用地址集合。最多可输入1000个内网访问应用地址。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-f4dd77bced90****',
- ],
+ 'items' => ['description' => '内网访问应用地址。长度为1~128个字符,支持IPv4地址、CIDR、域名、泛域名。', 'type' => 'string', 'required' => false, 'example' => '192.168.0.0/16'],
'required' => false,
+ 'title' => '应用地址。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。',
],
],
[
- 'name' => 'TagIds',
+ 'name' => 'PortRanges',
'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '内网访问标签ID集合。最多可输入100个内网访问标签ID。当**ApplicationType**为**Tag时**,必填。和**ApplicationIds**互斥。',
+ 'description' => '内网访问应用端口范围集合。最多可输入65535个端口范围。多个端口范围不可重复或重叠。',
'type' => 'array',
'items' => [
- 'description' => '内网访问策略的标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
+ 'description' => '内网访问应用端口范围。取值:1~65535。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Begin' => ['description' => '起始端口。小于等于结束端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '65535', 'minimum' => '1', 'example' => '80'],
+ 'End' => ['description' => '结束端口。大于等于起始端口。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'maximum' => '65535', 'minimum' => '1', 'example' => '81'],
+ ],
'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
],
'required' => false,
+ 'title' => '应用端口。在ConfigMode为空字符串时可传;在ConfigMode为Precise时不可传。',
],
],
[
- 'name' => 'UserGroupMode',
+ 'name' => 'Protocol',
'in' => 'formData',
'schema' => [
- 'description' => '内网访问策略的用户组类型。取值:'."\n"
- .'- **Normal**:普通用户组。'."\n"
- .'- **Custom**:自定义用户组。',
+ 'description' => '内网访问应用协议。取值:'."\n"
+ .'- **All**:全部。'."\n"
+ .'- **TCP**'."\n"
+ .'- **UDP**',
'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Custom' => '自定义用户组',
- 'Normal' => '普通用户组',
- ],
- 'example' => 'Normal',
- ],
- ],
- [
- 'name' => 'UserGroupIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问策略的用户组ID集合,当用户组类型为**Normal**时,必填。和自定义用户组集合互斥。最多可输入2000个用户组ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略用户组类型为Normal的用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-927a4c7fee94****',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'CustomUserAttributes',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '内网访问策略的自定义用户组集合,当用户组类型为**Custom**时,必填。和用户组ID集合互斥。最多可输入10个自定义用户组。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的自定义用户组。',
- 'type' => 'object',
- 'properties' => [
- 'UserGroupType' => [
- 'description' => '自定义用户组的类型。取值:'."\n"
- .'- **username**:用户名。'."\n"
- .'- **department**:部门。'."\n"
- .'- **email**:邮箱。'."\n"
- .'- **telephone**:手机。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
- 'example' => 'department',
- ],
- 'Relation' => [
- 'description' => '自定义用户组的关系。取值:'."\n"
- .'- **Equal**:等于。'."\n"
- .'- **Unequal**:不等于。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
- 'example' => 'Equal',
- ],
- 'Value' => [
- 'description' => '自定义用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '12',
- ],
- ],
- 'required' => false,
- ],
'required' => false,
+ 'example' => 'All',
+ 'enum' => ['All', 'TCP', 'UDP', 'HTTP', 'HTTPS'],
],
],
[
'name' => 'Status',
'in' => 'formData',
'schema' => [
- 'description' => '内网访问策略的状态。取值:'."\n"
+ 'description' => '内网访问应用状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'required' => false,
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
+ 'enum' => ['Enabled', 'Disabled'],
],
],
[
- 'name' => 'Priority',
+ 'name' => 'TagIds',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。取值:1~1000,最大值为内网访问策略总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
+ 'description' => '内网访问标签ID集合。1个内网访问应用最多可关联6个自定义类型的内网访问标签。',
+ 'type' => 'array',
+ 'items' => ['description' => '内网访问标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-d3f64e8bdd4a****'],
+ 'required' => false,
],
],
[
- 'name' => 'DeviceAttributeId',
+ 'name' => 'ModifyType',
'in' => 'formData',
'schema' => [
- 'description' => '安全基线策略的ID。',
+ 'description' => '内网访问应用的修改类型。取值:'."\n"
+ .'- **Cover**(默认):使用**Addresses**、**PortRanges**、**TagIds**参数的值覆盖原地址、端口范围、标签ID集合。'."\n"
+ .'- **Append**:在原地址、端口范围、标签ID集合中分别增加**Addresses**、**PortRanges**、**TagIds**参数中输入的值。',
'type' => 'string',
'required' => false,
- 'example' => 'dag-d3f64e8bdd4a****',
+ 'enumValueTitles' => ['Cover' => '覆盖', 'Append' => '附加'],
+ 'example' => 'Cover',
],
],
[
- 'name' => 'DeviceAttributeAction',
+ 'name' => 'L7ProxyDomainAutomaticPrefix',
'in' => 'formData',
- 'schema' => [
- 'description' => '不满足安全基线的执行策略。取值:'."\n"
- ."\n"
- .'- **Block**:拦截。'."\n"
- .'- **Observe**:观察。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Observe' => 'Observe',
- 'Block' => 'Block',
- ],
- 'example' => 'Block',
- ],
+ 'schema' => ['description' => '浏览器访问模式参数:映射代理域名前缀。长度为3-20个字符,支持小写英文字母、数字和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'app1-xxx'],
],
[
- 'name' => 'TriggerTemplateId',
+ 'name' => 'L7ProxyDomainCustom',
'in' => 'formData',
- 'schema' => [
- 'description' => '触发模板ID',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
+ 'schema' => ['description' => '浏览器访问模式参数:自定代理域名。', 'type' => 'string', 'required' => false, 'example' => 'app1.example.com'],
],
[
- 'name' => 'TrustedProcessStatus',
+ 'name' => 'L7ProxyDomainPrivate',
'in' => 'formData',
- 'schema' => [
- 'description' => '可信进程开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Enabled',
- ],
+ 'schema' => ['description' => '浏览器访问模式参数:私有代理域名。', 'type' => 'string', 'deprecated' => true, 'required' => false, 'example' => 'app1.example.com'],
],
[
- 'name' => 'TrustedProcessGroupIds',
+ 'name' => 'L7Config',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '可信进程组ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信进程组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pg-xxxxxxxxx',
- ],
- 'required' => false,
- ],
+ 'style' => 'json',
+ 'schema' => ['description' => '浏览器访问模式参数:7层应用配置。', 'required' => false, '$ref' => '#/components/schemas/PAL7Config'],
],
[
- 'name' => 'TrustedSoftwareIds',
+ 'name' => 'ConfigMode',
'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '可信软件ID。',
- 'type' => 'array',
- 'items' => [
- 'description' => '可信软件ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'swb-xxxxxxx',
- ],
- 'required' => false,
- ],
+ 'schema' => ['title' => '配置模式,枚举值:'."\n"
+ .'* 空字符串:默认模式。'."\n"
+ .'* Precise:精细模式。'."\n", 'type' => 'string', 'required' => false],
],
[
- 'name' => 'ValidFrom',
+ 'name' => 'AddressGroups',
'in' => 'formData',
+ 'style' => 'flat',
'schema' => [
- 'description' => '零信任策略的生效起始时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
+ 'title' => '应用地址组。在ConfigMode为Precise时可传;在ConfigMode为空字符串时不可传。',
+ 'type' => 'array',
+ 'items' => ['$ref' => '#/components/schemas/AddressGroup'],
'required' => false,
- 'example' => '0',
],
],
[
- 'name' => 'ValidUntil',
+ 'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'description' => '零信任策略的生效截止时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1764727544',
- ],
+ 'schema' => ['title' => '应用名称。', 'type' => 'string'],
],
[
- 'name' => 'ValidTimeStatus',
+ 'name' => 'UnauthorizedAccessConfig',
'in' => 'formData',
- 'schema' => [
- 'description' => '生效时间开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Disabled',
- ],
+ 'style' => 'json',
+ 'schema' => ['title' => '未授权应用访问申请配置', '$ref' => '#/components/schemas/PAApplicationUnauthorizedAccessConfig'],
],
],
'responses' => [
@@ -20365,91 +16679,48 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649',
- ],
- 'PolicyId' => [
- 'description' => '内网访问策略ID。',
- 'type' => 'string',
- 'example' => 'pa-policy-867ef4007c8a****',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"PolicyId\\": \\"pa-policy-867ef4007c8a****\\"\\n}","type":"json"}]',
- 'title' => '创建内网访问策略',
- 'description' => '默认最多可创建500个内网访问策略。',
- ],
- 'DeletePrivateAccessPolicy' => [
- 'summary' => '删除当前阿里云账号下内网访问策略。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'Application.NotFound', 'errorMessage' => 'The application is not found.', 'description' => '指定的应用不存在。'],
],
],
- 'operationType' => 'write',
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '163593',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'title' => '修改内网访问应用',
+ 'changeSet' => [
+ ['createdAt' => '2025-04-16T05:48:35.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-02-27T08:35:06.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-02-21T13:15:27.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-09-11T06:42:34.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-08-24T13:03:09.000Z', 'description' => '请求参数发生变更'],
],
- 'parameters' => [
- [
- 'name' => 'PolicyId',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-policy-867ef4007c8a****',
- ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrivateAccessApplication'],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A',
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdatePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\"\\n}","type":"json"}]',
- 'title' => '删除内网访问策略',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
],
'UpdatePrivateAccessPolicy' => [
- 'summary' => '修改当前阿里云账号下内网访问策略。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -20461,32 +16732,20 @@
'riskType' => 'none',
'chargeType' => 'free',
'abilityTreeCode' => '163583',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
'name' => 'PolicyId',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略ID。取值来源:'."\n"
- .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
- .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-policy-63b2f1844b86****',
- ],
+ 'schema' => ['description' => '内网访问策略ID。取值来源:'."\n"
+ .'- [ListPrivateAccessPolices](~~ListPrivateAccessPolices~~):批量查询内网访问策略。'."\n"
+ .'- [CreatePrivateAccessPolicy](~~CreatePrivateAccessPolicy~~):创建内网访问策略。', 'type' => 'string', 'required' => true, 'example' => 'pa-policy-63b2f1844b86****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条内网访问策略',
- ],
+ 'schema' => ['description' => '内网访问策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条内网访问策略'],
],
[
'name' => 'PolicyAction',
@@ -20497,10 +16756,7 @@
.'- **Allow**:允许。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Block' => '阻断',
- 'Allow' => '允许',
- ],
+ 'enumValueTitles' => ['Block' => '阻断', 'Allow' => '允许'],
'example' => 'Allow',
],
],
@@ -20513,10 +16769,7 @@
.'- **Tag**:标签。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
+ 'enumValueTitles' => ['Tag' => '标签', 'Application' => '应用'],
'example' => 'Application',
],
],
@@ -20527,14 +16780,9 @@
'schema' => [
'description' => '内网访问策略的应用ID集合。一条策略最多支持100个内网访问应用ID。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-f4dd77bced90****',
- ],
+ 'items' => ['description' => '内网访问策略的应用ID。取值来源:'."\n"
+ .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
+ .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。', 'type' => 'string', 'required' => false, 'example' => 'pa-application-f4dd77bced90****'],
'required' => false,
],
],
@@ -20545,14 +16793,9 @@
'schema' => [
'description' => '内网访问标签ID集合。一条策略最多支持100个内网访问标签ID。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略的标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-57c8238455b9****',
- ],
+ 'items' => ['description' => '内网访问策略的标签ID。取值来源:'."\n"
+ .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
+ .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。', 'type' => 'string', 'required' => false, 'example' => 'tag-57c8238455b9****'],
'required' => false,
],
],
@@ -20565,10 +16808,7 @@
.'- **Custom**:自定义用户组。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Custom' => '自定义用户组',
- 'Normal' => '普通用户组',
- ],
+ 'enumValueTitles' => ['Custom' => '自定义用户组', 'Normal' => '普通用户组'],
'example' => 'Normal',
],
],
@@ -20579,14 +16819,9 @@
'schema' => [
'description' => '内网访问策略的用户组ID集合,当用户组类型为**Normal**时,必填。和自定义用户组集合互斥。单个策略的用户组最大支持10000个,单次修改的用户组ID数量最多2000个。',
'type' => 'array',
- 'items' => [
- 'description' => '内网访问策略用户组类型为Normal的用户组ID。取值来源:'."\n"
- .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
- .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'usergroup-927a4c7fee94****',
- ],
+ 'items' => ['description' => '内网访问策略用户组类型为Normal的用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-927a4c7fee94****'],
'required' => false,
],
],
@@ -20609,12 +16844,7 @@
.'- **telephone**:手机。',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'telephone' => '手机',
- 'department' => '部门',
- 'email' => '邮箱',
- 'username' => '用户名',
- ],
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
'example' => 'department'."\n",
],
'Relation' => [
@@ -20623,29 +16853,15 @@
.'- **Unequal**:不等于。',
'type' => 'string',
'required' => true,
- 'enumValueTitles' => [
- 'Unequal' => '不等于',
- 'Equal' => '等于',
- ],
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
'example' => 'Equal',
],
- 'Value' => [
- 'description' => '自定义用户组属性的值。'."\n"
- .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
- .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
- .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
- .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'OU=部门1,OU=SASE钉钉',
- ],
- 'IdpId' => [
- 'description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '12',
- ],
+ 'Value' => ['description' => '自定义用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'required' => true, 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '自定义用户组的身份源ID。当自定义用户组类型为**department**时,必填。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
],
'required' => true,
],
@@ -20661,23 +16877,14 @@
.'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
],
[
'name' => 'Priority',
'in' => 'formData',
- 'schema' => [
- 'description' => '内网访问策略优先级。数字1表示优先级最高。取值:1~1000,最大值为内网访问策略总数减一。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '1',
- ],
+ 'schema' => ['description' => '内网访问策略优先级。数字1表示优先级最高。取值:1~1000,最大值为内网访问策略总数减一。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
],
[
'name' => 'ModifyType',
@@ -20688,22 +16895,14 @@
.'- **Append**:在原应用ID集合、用户组ID集合、自定义用户组集合中分别增加**ApplicationIds**、**UserGroupIds**、**CustomUserAttributes**参数中输入的值。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Cover' => '覆盖',
- 'Append' => '附加',
- ],
+ 'enumValueTitles' => ['Cover' => '覆盖', 'Append' => '附加'],
'example' => 'Cover',
],
],
[
'name' => 'DeviceAttributeId',
'in' => 'formData',
- 'schema' => [
- 'description' => '安全基线策略的ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
+ 'schema' => ['description' => '安全基线策略的ID。', 'type' => 'string', 'required' => false, 'example' => 'dag-d3f64e8bdd4a****'],
],
[
'name' => 'DeviceAttributeAction',
@@ -20715,22 +16914,14 @@
.'- **Observe**:观察。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Observe' => 'Observe',
- 'Block' => 'Block',
- ],
+ 'enumValueTitles' => ['Observe' => 'Observe', 'Block' => 'Block'],
'example' => 'Block',
],
],
[
'name' => 'TriggerTemplateId',
'in' => 'formData',
- 'schema' => [
- 'description' => '触发模板ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dag-d3f64e8bdd4a****',
- ],
+ 'schema' => ['description' => '触发模板ID。', 'type' => 'string', 'required' => false, 'example' => 'dag-d3f64e8bdd4a****'],
],
[
'name' => 'TrustedSoftwareIds',
@@ -20739,12 +16930,7 @@
'schema' => [
'description' => '可信软件ID。',
'type' => 'array',
- 'items' => [
- 'description' => '可信软件ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'swb-xxxxxxxx',
- ],
+ 'items' => ['description' => '可信软件ID。', 'type' => 'string', 'required' => false, 'example' => 'swb-xxxxxxxx'],
'required' => false,
],
],
@@ -20755,70 +16941,38 @@
'schema' => [
'description' => '可信进程组ID。',
'type' => 'array',
- 'items' => [
- 'description' => '可信进程组ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pg-xxxxxxxx',
- ],
+ 'items' => ['description' => '可信进程组ID。', 'type' => 'string', 'required' => false, 'example' => 'pg-xxxxxxxx'],
'required' => false,
],
],
[
'name' => 'TrustedProcessStatus',
'in' => 'formData',
- 'schema' => [
- 'description' => '可信进程开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Disabled',
- ],
+ 'schema' => ['description' => '可信进程开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Disabled'],
],
[
'name' => 'ValidFrom',
'in' => 'formData',
- 'schema' => [
- 'description' => '零信任策略的生效起始时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
+ 'schema' => ['description' => '零信任策略的生效起始时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
],
[
'name' => 'ValidUntil',
'in' => 'formData',
- 'schema' => [
- 'description' => '零信任策略的生效截止时间,为秒级时间戳。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1764727544',
- ],
+ 'schema' => ['description' => '零信任策略的生效截止时间,为秒级时间戳。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '1764727544'],
],
[
'name' => 'ValidTimeStatus',
'in' => 'formData',
- 'schema' => [
- 'description' => '生效时间开关状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Enabled',
- ],
+ 'schema' => ['description' => '生效时间开关状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。', 'type' => 'string', 'required' => false, 'example' => 'Enabled'],
],
[
'name' => 'Name',
'in' => 'formData',
- 'schema' => [
- 'title' => '策略名称。',
- 'description' => '策略名称。',
- 'type' => 'string',
- 'required' => false,
- ],
+ 'schema' => ['type' => 'string'],
],
],
'responses' => [
@@ -20826,296 +16980,270 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\"\\n}","type":"json"}]',
+ 'staticInfo' => ['returnType' => 'synchronous'],
'title' => '修改内网访问策略',
- ],
- 'ListDynamicRoutes' => [
- 'summary' => '获取当前阿里云账号下所有动态路由的信息。',
- 'methods' => [
- 'get',
+ 'summary' => '修改当前阿里云账号下内网访问策略。',
+ 'changeSet' => [
+ ['createdAt' => '2025-12-03T01:53:26.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-06-13T12:14:51.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2025-01-22T05:25:44.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-06-18T13:37:23.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2024-01-25T11:44:46.000Z', 'description' => '请求参数发生变更'],
+ ['createdAt' => '2023-08-24T13:03:09.000Z', 'description' => '请求参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdatePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateRegistrationPolicy' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'write',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsasAPE6DH'],
],
'parameters' => [
[
- 'name' => 'CurrentPage',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时显示的当前页的页码。取值:1~10000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '1',
- ],
- ],
- [
- 'name' => 'PageSize',
- 'in' => 'query',
- 'schema' => [
- 'description' => '分页查询时设置的每页数量。取值:1~1000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '10',
- ],
+ 'name' => 'Name',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。', 'type' => 'string', 'required' => false, 'example' => 'registration_policy_name'],
],
[
- 'name' => 'Name',
- 'in' => 'query',
- 'schema' => [
- 'description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dynamic_route_name',
- ],
+ 'name' => 'Description',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条设备注册策略'],
],
[
'name' => 'Status',
- 'in' => 'query',
+ 'in' => 'formData',
'schema' => [
- 'description' => '动态路由状态。取值:'."\n"
+ 'description' => '设备注册策略状态。取值:'."\n"
.'- **Enabled**:开启。'."\n"
.'- **Disabled**:关闭。',
'type' => 'string',
'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
'example' => 'Enabled',
],
],
[
- 'name' => 'DynamicRouteIds',
- 'in' => 'query',
+ 'name' => 'Whitelist',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
+ 'description' => '设备注册策略白名单用户列表。最多可输入1000个用户名。必传。',
'type' => 'array',
- 'items' => [
- 'description' => '动态路由ID。取值来源:'."\n"
- .'- [ListDynamicRoutes](~~ListDynamicRoutes~~):批量查询动态路由。'."\n"
- .'- [CreateDynamicRoute](~~CreateDynamicRoute~~):创建动态路由。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dr-30108b6c9d31****',
- ],
+ 'items' => ['description' => '设备注册策略白名单用户。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。', 'type' => 'string', 'required' => false, 'example' => '王先生'],
'required' => false,
],
],
[
- 'name' => 'RegionIds',
- 'in' => 'query',
- 'style' => 'flat',
+ 'name' => 'Priority',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'integer', 'format' => 'int64', 'required' => false, 'example' => '0'],
+ ],
+ [
+ 'name' => 'CompanyLimitType',
+ 'in' => 'formData',
'schema' => [
- 'description' => 'SASE的POP集群接入点支持的地域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
- .' - [ListDynamicRouteRegions](~~ListDynamicRouteRegions~~):批量查询动态路由已授权地域。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'cn-shenzhen' => '深圳',
- 'cn-beijing' => '北京',
- 'cn-shanghai' => '上海',
- 'ap-southeast-1' => '新加坡',
- 'us-east-1' => '弗吉尼亚',
- 'us-west-1' => '硅谷',
- 'cn-hangzhou' => '杭州',
- 'cn-chengdu' => '成都',
- ],
- 'example' => 'ap-southeast-1',
+ 'description' => '公司设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
+ 'type' => 'string',
+ 'required' => false,
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
+ ],
+ ],
+ [
+ 'name' => 'CompanyLimitCount',
+ 'in' => 'formData',
+ 'style' => 'json',
+ 'schema' => [
+ 'description' => '公司设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '公司设备注册限制总数。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ 'PC' => ['description' => '公司设备注册限制PC端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'Mobile' => ['description' => '公司设备注册限制移动端登录数量。取值范围为0~100,默认为0。当公司设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
],
'required' => false,
],
],
[
- 'name' => 'ApplicationId',
- 'in' => 'query',
+ 'name' => 'PersonalLimitType',
+ 'in' => 'formData',
'schema' => [
- 'description' => '动态路由的内网访问应用ID。无法和内网访问标签ID同时过滤。取值来源:'."\n"
- .' - [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .' - [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
+ 'description' => '个人设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
'type' => 'string',
'required' => false,
- 'example' => 'pa-application-e12860ef6c48****',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitDiff',
],
],
[
- 'name' => 'TagId',
- 'in' => 'query',
+ 'name' => 'PersonalLimitCount',
+ 'in' => 'formData',
+ 'style' => 'json',
'schema' => [
- 'description' => '动态路由的内网访问标签ID。无法和内网访问应用ID同时过滤。取值来源:'."\n"
- .' - [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .' - [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
+ 'description' => '个人设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '个人设备注册限制总数。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '0'],
+ 'PC' => ['description' => '个人设备注册限制PC端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '2'],
+ 'Mobile' => ['description' => '个人设备注册限制移动端登录数量。取值范围为0~100,默认为0。当个人设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1'],
+ ],
'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
],
],
[
- 'name' => 'NextHop',
- 'in' => 'query',
+ 'name' => 'MatchMode',
+ 'in' => 'formData',
'schema' => [
- 'description' => '动态路由下一跳实例ID。取值来源:'."\n"
- .' - [ListConnectors](~~ListConnectors~~):批量查询Connector。',
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
'type' => 'string',
'required' => false,
- 'example' => 'connector-8ccb13b6f52c****',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupNormal',
+ ],
+ ],
+ [
+ 'name' => 'UserGroupIds',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '设备注册策略的用户组ID集合,当策略匹配目标类型为**UserGroupNormal**时,必填。单个策略的用户组最大支持100个。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => false, 'example' => 'usergroup-086bcf2d650b****'],
+ 'required' => false,
],
],
+ [
+ 'name' => 'PolicyId',
+ 'in' => 'formData',
+ 'schema' => ['description' => '设备注册策略ID。取值来源:'."\n"
+ .'- [ListRegistrationPolicies](~~ListRegistrationPolicies~~):批量查询设备注册策略。'."\n"
+ .'- [GetRegistrationPolicy](~~GetRegistrationPolicy~~):查询设备注册策略详情。'."\n"
+ .'- [CreateRegistrationPolicy](~~CreateRegistrationPolicy~~):创建设备注册策略。'."\n"
+ .'- [UpdateRegistrationPolicy](~~UpdateRegistrationPolicy~~):更新设备注册策略。', 'type' => 'string', 'required' => true, 'example' => 'reg-policy-63b2f1844b86****'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => '动态路由的总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'DynamicRoutes' => [
- 'description' => '动态路由列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由。',
- 'type' => 'object',
- 'properties' => [
- 'DynamicRouteId' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
- 'example' => 'dr-a0ca843f53cf****',
- ],
- 'Name' => [
- 'description' => '动态路由的名称。',
- 'type' => 'string',
- 'example' => 'dynamic_route_name',
- ],
- 'Description' => [
- 'description' => '动态路由的描述。',
- 'type' => 'string',
- 'example' => '这是一条动态路由',
- ],
- 'Status' => [
- 'description' => '动态路由状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'Priority' => [
- 'description' => '动态路由优先级。数字1表示优先级最高。优先级排序和列表查询从上到下保持一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RegionIds' => [
- 'description' => 'SASE的POP集群接入点支持的地域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'SASE的POP集群接入点支持的地域。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'cn-shenzhen' => '深圳',
- 'cn-beijing' => '北京',
- 'cn-shanghai' => '上海',
- 'ap-southeast-1' => '新加坡',
- 'us-east-1' => '弗吉尼亚',
- 'us-west-1' => '硅谷',
- 'cn-hangzhou' => '杭州',
- 'cn-chengdu' => '成都',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '27064ECA-0936-59F3-8A98-EC821E5BD08F'],
+ 'Policy' => [
+ 'description' => '设备注册策略。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '设备注册策略名称。', 'type' => 'string', 'example' => 'registration_policy_name'],
+ 'PolicyId' => ['description' => '设备注册策略ID。', 'type' => 'string', 'example' => '设备注册策略ID'],
+ 'Priority' => ['description' => '设备注册策略优先级。数字0表示优先级最高,数字99表示优先级最低。', 'type' => 'string', 'example' => '1'],
+ 'Description' => ['description' => '设备注册策略描述。', 'type' => 'string', 'example' => '这是一条设备注册策略'],
+ 'Whitelist' => [
+ 'description' => '设备注册策略白名单用户列表。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略白名单用户。', 'type' => 'string', 'example' => '韩梅梅'],
+ ],
+ 'Status' => [
+ 'description' => '设备注册策略状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭'],
+ 'example' => 'Enabled',
+ ],
+ 'MatchMode' => [
+ 'description' => '策略匹配目标类型。取值:'."\n"
+ .'- **UserGroupAll**:关联全体用户。'."\n"
+ .'- **UserGroupNormal**:关联部分用户组。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['UserGroupNormal' => '关联部分用户组', 'UserGroupAll' => '关联全体用户'],
+ 'example' => 'UserGroupNormal',
+ ],
+ 'UserGroupIds' => [
+ 'description' => '设备注册策略,用户组ID集合。当策略匹配目标类型为**UserGroupNormal**时,该字段有值。',
+ 'type' => 'array',
+ 'items' => ['description' => '设备注册策略,策略匹配目标类型为**UserGroupNormal**时的用户组ID。', 'type' => 'string', 'example' => 'usergroup-086bcf2d650b****'],
+ ],
+ 'CreateTime' => ['description' => '设备注册策略创建时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'LimitDetail' => [
+ 'description' => '设备注册策略限制详情列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '设备注册策略限制详情。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeviceBelong' => [
+ 'description' => '设备归属。取值:'."\n"
+ .'- **Company**:公司设备。'."\n"
+ .'- **Personal**:个人设备。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
+ ],
+ 'LimitType' => [
+ 'description' => '设备注册限制类型。取值:'."\n"
+ .'- **Unlimited**:不限制。'."\n"
+ .'- **LimitAll**:按照总数限制。'."\n"
+ .'- **LimitDiff**:按照终端分类限制。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['LimitAll' => '按照总数限制', 'LimitDiff' => '按照终端分类限制', 'Unlimited' => '不限制'],
+ 'example' => 'LimitAll',
+ ],
+ 'LimitCount' => [
+ 'description' => '设备注册限制数量。',
+ 'type' => 'object',
+ 'properties' => [
+ 'All' => ['description' => '设备注册限制总数。当设备注册限制类型为**LimitAll**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '1'],
+ 'PC' => ['description' => '设备注册限制PC端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ 'Mobile' => ['description' => '设备注册限制移动端登录数量。当设备注册限制类型为**LimitDiff**时,该字段的值有效。', 'type' => 'integer', 'format' => 'int32', 'example' => '0'],
+ ],
],
- 'example' => 'ap-southeast-1',
- ],
- ],
- 'ApplicationType' => [
- 'description' => '动态路由的应用类型。取值:'."\n"
- .'- **All**:全部应用。'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => '全部应用',
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- 'ApplicationIds' => [
- 'description' => '动态路由的内网访问应用ID集合。当应用类型为**Application**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****',
- ],
- ],
- 'TagIds' => [
- 'description' => '动态路由的内网访问标签ID集合。当应用类型为**Tag**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- ],
- 'DynamicRouteType' => [
- 'description' => '动态路由类型。取值:**connector**:自有专线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'connector' => '自有专线',
],
- 'example' => 'connector',
- ],
- 'NextHop' => [
- 'description' => '动态路由下一跳示例ID。',
- 'type' => 'string',
- 'example' => 'connector-8ccb13b6f52c****',
- ],
- 'CreateTime' => [
- 'description' => '动态路由创建时间。',
- 'type' => 'string',
- 'example' => '2023-03-21 11:50:03',
],
],
],
@@ -21124,162 +17252,105 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-a0ca843f53cf****\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-d3f64e8bdd4a****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-03-21 11:50:03\\"\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询动态路由',
- ],
- 'ListPrivateAccessApplicationsForDynamicRoute' => [
- 'summary' => '批量查询当前阿里云账号下动态路由的应用。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改设备注册策略',
+ 'summary' => '修改当前阿里云账号下设备注册策略。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistrationPolicy'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"27064ECA-0936-59F3-8A98-EC821E5BD08F\\",\\n \\"Policy\\": {\\n \\"Name\\": \\"registration_policy_name\\",\\n \\"PolicyId\\": \\"设备注册策略ID\\",\\n \\"Priority\\": \\"1\\",\\n \\"Description\\": \\"这是一条设备注册策略\\",\\n \\"Whitelist\\": [\\n \\"韩梅梅\\"\\n ],\\n \\"Status\\": \\"Enabled\\",\\n \\"MatchMode\\": \\"UserGroupNormal\\",\\n \\"UserGroupIds\\": [\\n \\"usergroup-086bcf2d650b****\\"\\n ],\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"LimitDetail\\": [\\n {\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"LimitType\\": \\"LimitAll\\",\\n \\"LimitCount\\": {\\n \\"All\\": 1,\\n \\"PC\\": 0,\\n \\"Mobile\\": 0\\n }\\n }\\n ]\\n }\\n}","type":"json"}]',
+ ],
+ 'UpdateUninstallApplicationsStatus' => [
+ 'summary' => '批量更新当前阿里云账号下卸载申请状态。',
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas7ZB8UX',
- ],
+ 'abilityTreeCode' => '215484',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'DynamicRouteIds',
- 'in' => 'query',
+ 'name' => 'ApplicationIds',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
+ 'description' => '卸载申请ID列表。',
'type' => 'array',
- 'items' => [
- 'description' => '动态路由ID。取值来源:'."\n"
- .'- [ListDynamicRoutes](~~2525438~~):批量查询动态路由。'."\n"
- .'- [CreateDynamicRoute](~~2525443~~):创建动态路由。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dr-ca9fddfac7c6****',
- ],
- 'required' => true,
+ 'items' => ['description' => '卸载申请ID。', 'type' => 'string', 'required' => false, 'example' => 'uninstall-app-6646831ac314****'],
+ 'required' => false,
],
],
+ [
+ 'name' => 'Status',
+ 'in' => 'formData',
+ 'schema' => ['description' => '卸载申请状态。取值:'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。', 'type' => 'string', 'required' => false, 'example' => 'Approved'],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- 'DynamicRoutes' => [
- 'description' => '动态路由列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '9B769522-D50C-5978-8981-52BE800D6099'],
+ 'Applications' => [
+ 'description' => '卸载申请列表。',
'type' => 'array',
'items' => [
- 'description' => '动态路由。',
+ 'description' => '卸载申请。',
'type' => 'object',
'properties' => [
- 'DynamicRouteId' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
- 'example' => 'dr-ca9fddfac7c6****'."\n",
- ],
- 'Applications' => [
- 'description' => '内网访问应用集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用。',
- 'type' => 'object',
- 'properties' => [
- 'ApplicationId' => [
- 'description' => '内网访问应用ID。',
- 'type' => 'string',
- 'example' => 'pa-application-7a9243dd02f4****',
- ],
- 'Name' => [
- 'description' => '内网访问应用名称。',
- 'type' => 'string',
- 'example' => 'application_name',
- ],
- 'Description' => [
- 'description' => '内网访问应用描述。',
- 'type' => 'string',
- 'example' => '这是一条被动态路由引用的内网访问应用',
- ],
- 'Addresses' => [
- 'description' => '内网访问应用地址集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用地址。',
- 'type' => 'string',
- 'example' => '192.168.0.0/16',
- ],
- ],
- 'PortRanges' => [
- 'description' => '内网访问应用端口范围集合。',
- 'type' => 'array',
- 'items' => [
- 'description' => '内网访问应用端口范围。',
- 'type' => 'object',
- 'properties' => [
- 'Begin' => [
- 'description' => '起始端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '80',
- ],
- 'End' => [
- 'description' => '结束端口。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '81',
- ],
- ],
- ],
- ],
- 'Protocol' => [
- 'description' => '内网访问应用协议。取值:'."\n"
- .'- **All**:全部。'."\n"
- .'- **TCP**'."\n"
- .'- **UDP**',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => 'All',
- 'TCP' => 'TCP',
- 'UDP' => 'UDP',
- ],
- 'example' => 'All',
- ],
- 'Status' => [
- 'description' => '内网访问应用状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
- ],
- 'example' => 'Enabled',
- ],
- 'CreateTime' => [
- 'description' => '内网访问应用创建时间。',
- 'type' => 'string',
- 'example' => '2022-04-13 13:33:24',
- ],
- ],
- ],
- ],
+ 'DevTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DevType' => ['description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。', 'type' => 'string', 'example' => 'Windows'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'Reason' => ['description' => '申请原因。', 'type' => 'string', 'example' => '这是一个测试'],
+ 'Status' => ['description' => '卸载申请状态。取值:'."\n"
+ .'- **Pending**:待处理。'."\n"
+ .'- **Approved**:通过。'."\n"
+ .'- **Rejected**:拒绝。', 'type' => 'string', 'example' => 'Approved'],
+ 'ApplicationId' => ['description' => '卸载申请ID。', 'type' => 'string', 'example' => 'uninstall-app-6646831ac314****'],
+ 'IsUninstall' => ['description' => '是否已执行卸载。', 'type' => 'boolean', 'example' => 'false'],
+ 'IdpName' => ['description' => '用户身份源名称。', 'type' => 'string', 'example' => '测试身份源'],
+ 'CreateTime' => ['description' => '卸载申请创建时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
],
],
],
@@ -21287,115 +17358,198 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\\\n\\",\\n \\"Applications\\": [\\n {\\n \\"ApplicationId\\": \\"pa-application-7a9243dd02f4****\\",\\n \\"Name\\": \\"application_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问应用\\",\\n \\"Addresses\\": [\\n \\"192.168.0.0/16\\"\\n ],\\n \\"PortRanges\\": [\\n {\\n \\"Begin\\": 80,\\n \\"End\\": 81\\n }\\n ],\\n \\"Protocol\\": \\"All\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2022-04-13 13:33:24\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询动态路由的应用',
- ],
- 'ListPrivateAccessTagsForDynamicRoute' => [
- 'summary' => '批量查询当前阿里云账号下动态路由的标签。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量更新卸载申请状态',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUninstallApplicationsStatus'],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUninstallApplicationsStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"9B769522-D50C-5978-8981-52BE800D6099\\",\\n \\"Applications\\": [\\n {\\n \\"DevTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DevType\\": \\"Windows\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"Reason\\": \\"这是一个测试\\",\\n \\"Status\\": \\"Approved\\",\\n \\"ApplicationId\\": \\"uninstall-app-6646831ac314****\\",\\n \\"IsUninstall\\": false,\\n \\"IdpName\\": \\"测试身份源\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\"\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateUserDevicesSharingStatus' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'list',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas642DA7',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'DynamicRouteIds',
- 'in' => 'query',
+ 'name' => 'DeviceTags',
+ 'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => '动态路由ID集合。最多可输入100个动态路由ID。',
+ 'description' => '终端设备ID集合。',
'type' => 'array',
- 'items' => [
- 'description' => '动态路由ID。取值来源:'."\n"
- .'- [ListDynamicRoutes](~~2525438~~):批量查询动态路由。'."\n"
- .'- [CreateDynamicRoute](~~2525443~~):创建动态路由。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'dr-ca9fddfac7c6****',
- ],
+ 'items' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
'required' => true,
],
],
+ [
+ 'name' => 'SharingStatus',
+ 'in' => 'formData',
+ 'schema' => [
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'required' => true,
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
+ ],
+ ],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'B608C6AE-623D-55C4-9454-601B88AE937E',
- ],
- 'DynamicRoutes' => [
- 'description' => '动态路由列表。',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '4D169859-A4F2-5EC8-853B-8447787C0D8A'],
+ 'Devices' => [
+ 'description' => '终端设备列表。',
'type' => 'array',
'items' => [
- 'description' => '动态路由。',
+ 'description' => '终端设备。',
'type' => 'object',
'properties' => [
- 'DynamicRouteId' => [
- 'description' => '动态路由ID。',
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
'type' => 'string',
- 'example' => 'dr-ca9fddfac7c6****',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
],
- 'Tags' => [
- 'description' => '内网访问标签集合。',
+ 'DeviceModel' => ['description' => '终端设备型号。', 'type' => 'string', 'example' => 'MacBookPro17,1'],
+ 'DeviceVersion' => ['description' => '终端设备操作系统版本。', 'type' => 'string', 'example' => '3.5.1'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'InnerIP' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'example' => '192.168.XX.XX'],
+ 'SrcIP' => ['description' => '终端设备登录IP地址。', 'type' => 'string', 'example' => '11.49.XX.XX'],
+ 'Memory' => ['description' => '终端设备内存容量。单位:GB。', 'type' => 'string', 'example' => '16'],
+ 'CPU' => ['description' => '终端设备CPU型号。', 'type' => 'string', 'example' => 'Apple M1'],
+ 'Disk' => ['description' => '终端设备磁盘型号。', 'type' => 'string', 'example' => 'APPLE SSD AP0512Q Media'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'AppVersion' => ['description' => '客户端版本。', 'type' => 'string', 'example' => '2.2.0'],
+ 'DeviceBelong' => [
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
+ ],
+ 'SharingStatus' => [
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
+ ],
+ 'DeviceStatus' => [
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
+ ],
+ 'AppStatus' => [
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
+ ],
+ 'PaStatus' => [
+ 'description' => '内网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'IaStatus' => [
+ 'description' => '互联网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'DlpStatus' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'NacStatus' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '终端设备注册时间。', 'type' => 'string', 'example' => '2023-05-16 17:18:46'],
+ 'UpdateTime' => ['description' => '终端设备最后在线时间。', 'type' => 'string', 'example' => '2023-08-24 19:04:42'],
+ 'NetInterfaceInfo' => [
+ 'description' => '终端网卡列表。',
'type' => 'array',
'items' => [
- 'description' => '内网访问标签。',
+ 'description' => '终端网卡。',
'type' => 'object',
'properties' => [
- 'TagId' => [
- 'description' => '内网访问标签ID。',
- 'type' => 'string',
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- 'Name' => [
- 'description' => '内网访问标签名称。',
- 'type' => 'string',
- 'example' => 'tag_name',
- ],
- 'Description' => [
- 'description' => '内网访问标签描述。',
- 'type' => 'string',
- 'example' => '这是一条被动态路由引用的内网访问标签',
- ],
- 'TagType' => [
- 'description' => '内网访问标签类型。取值:'."\n"
- .'- **Default**:默认。'."\n"
- .'- **Custom**:自定义。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Custom' => '自定义',
- 'Default' => '默认',
- ],
- 'example' => 'Custom',
- ],
- 'CreateTime' => [
- 'description' => '内网访问标签创建时间。',
- 'type' => 'string',
- 'example' => '2022-10-23 14:02:56',
- ],
+ 'Name' => ['description' => '网卡名称。', 'type' => 'string', 'example' => 'eth0'],
+ 'Mac' => ['description' => '网卡MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
],
],
],
@@ -21406,150 +17560,215 @@
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"B608C6AE-623D-55C4-9454-601B88AE937E\\",\\n \\"DynamicRoutes\\": [\\n {\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\",\\n \\"Tags\\": [\\n {\\n \\"TagId\\": \\"tag-d3f64e8bdd4a****\\",\\n \\"Name\\": \\"tag_name\\",\\n \\"Description\\": \\"这是一条被动态路由引用的内网访问标签\\",\\n \\"TagType\\": \\"Custom\\",\\n \\"CreateTime\\": \\"2022-10-23 14:02:56\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询动态路由的标签',
- ],
- 'GetDynamicRoute' => [
- 'summary' => '获取当前阿里云账号下指定动态路由的详情信息。',
- 'methods' => [
- 'get',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
+ ],
+ 'title' => '批量修改用户终端设备共享状态',
+ 'summary' => '批量修改企业用户的终端设备共享状态。',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-18T02:19:11.000Z', 'description' => '响应参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserDevicesSharingStatus'],
+ ],
],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserDevicesSharingStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"4D169859-A4F2-5EC8-853B-8447787C0D8A\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-05-16 17:18:46\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
+ ],
+ 'UpdateUserDevicesStatus' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
- 'operationType' => 'read',
+ 'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
- 'operationType' => 'get',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '192476',
+ 'abilityTreeNodes' => ['FEATUREcsas3KYQ7V'],
],
'parameters' => [
[
- 'name' => 'DynamicRouteId',
- 'in' => 'query',
+ 'name' => 'DeviceTags',
+ 'in' => 'formData',
+ 'style' => 'flat',
+ 'schema' => [
+ 'description' => '终端设备ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '终端设备ID。取值:'."\n"
+ .'- [GetUserDevice](~~GetUserDevice~~):查询用户终端设备详情。'."\n"
+ .'- [ListUserDevices](~~ListUserDevices~~):批量查询用户终端设备。', 'type' => 'string', 'required' => false, 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'."\n"],
+ 'required' => true,
+ ],
+ ],
+ [
+ 'name' => 'DeviceAction',
+ 'in' => 'formData',
'schema' => [
- 'description' => '动态路由ID。',
+ 'description' => '终端设备状态操作。取值:'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。只有终端设备为离线或长期离线状态时允许解绑。'."\n"
+ .'- **Unlocked**:解锁。只有终端设备为锁定状态时允许解锁。'."\n"
+ .'- **Found**:找回。只有终端设备为挂失状态时允许解锁。',
'type' => 'string',
'required' => true,
- 'example' => 'dr-16ff07c8207d****',
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'Unlocked' => '解锁', 'Unbound' => '解绑', 'Found' => '找回'],
+ 'example' => 'Unbound',
],
],
],
'responses' => [
200 => [
'schema' => [
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'DynamicRoute' => [
- 'description' => '动态路由。',
- 'type' => 'object',
- 'properties' => [
- 'DynamicRouteId' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
- 'example' => 'dr-16ff07c8207d****'."\n",
- ],
- 'Name' => [
- 'description' => '动态路由名称。',
- 'type' => 'string',
- 'example' => 'dynamic_route_name',
- ],
- 'Description' => [
- 'description' => '动态路由的描述。',
- 'type' => 'string',
- 'example' => '这是一条动态路由'."\n",
- ],
- 'Status' => [
- 'description' => '动态路由状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D'],
+ 'Devices' => [
+ 'description' => '终端设备列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端设备。',
+ 'type' => 'object',
+ 'properties' => [
+ 'DeviceTag' => ['description' => '终端设备ID。', 'type' => 'string', 'example' => '36efa42d-2c32-c4dc-e3fc-8541e33a****'],
+ 'DeviceType' => [
+ 'description' => '终端设备操作系统类型。取值:'."\n"
+ .'- **Windows**:Windows系统。'."\n"
+ .'- **macOS**:macOS系统。'."\n"
+ .'- **Linux**:Linux系统。'."\n"
+ .'- **Android**:Android系统。'."\n"
+ .'- **iOS**:iOS系统。'."\n"
+ .'- **Windows_Wuying**:无影云桌面系统。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Linux' => 'Linux系统', 'Windows_Wuying' => '无影云桌面系统', 'Windows' => 'Windows系统', 'iOS' => 'iOS系统', 'macOS' => 'macOS系统', 'Android' => 'Android系统'],
+ 'example' => 'Windows',
],
- 'example' => 'Enabled',
- ],
- 'Priority' => [
- 'description' => '动态路由优先级。数字1表示优先级最高。优先级排序和列表查询从上到下保持一致。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'RegionIds' => [
- 'description' => 'SASE的POP集群接入点支持的地域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'SASE的POP集群接入点支持的地域。',
+ 'DeviceModel' => ['description' => '终端设备型号。', 'type' => 'string', 'example' => 'MacBookPro17,1'],
+ 'DeviceVersion' => ['description' => '终端设备操作系统版本。', 'type' => 'string', 'example' => '3.5.1'],
+ 'Hostname' => ['description' => '终端设备名称。', 'type' => 'string', 'example' => 'win10-64bit'],
+ 'Username' => ['description' => '用户名。', 'type' => 'string', 'example' => '王先生'],
+ 'SaseUserId' => ['description' => '用户ID。', 'type' => 'string', 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
+ 'Department' => ['description' => '用户所属部门。', 'type' => 'string', 'example' => '测试部'],
+ 'InnerIP' => ['description' => '终端设备内网IP地址。', 'type' => 'string', 'example' => '192.168.XX.XX'],
+ 'SrcIP' => ['description' => '终端设备登录IP地址。', 'type' => 'string', 'example' => '11.49.XX.XX'],
+ 'Memory' => ['description' => '终端设备内存容量。单位:GB。', 'type' => 'string', 'example' => '16'],
+ 'CPU' => ['description' => '终端设备CPU型号。', 'type' => 'string', 'example' => 'Apple M1'],
+ 'Disk' => ['description' => '终端设备磁盘型号。', 'type' => 'string', 'example' => 'APPLE SSD AP0512Q Media'],
+ 'Mac' => ['description' => '终端设备MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ 'AppVersion' => ['description' => '客户端版本。', 'type' => 'string', 'example' => '2.2.0'],
+ 'DeviceBelong' => [
+ 'description' => '终端设备归属。取值:'."\n"
+ .'- **Personal**:个人设备。'."\n"
+ .'- **Company**:公司设备。',
'type' => 'string',
- 'example' => 'ap-southeast-1',
+ 'enumValueTitles' => ['Company' => '公司设备', 'Personal' => '个人设备'],
+ 'example' => 'Company',
],
- ],
- 'ApplicationType' => [
- 'description' => '动态路由的应用类型。取值:'."\n"
- .'- **All**:全部应用。'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'All' => '全部应用',
- 'Tag' => '标签',
- 'Application' => '应用',
+ 'SharingStatus' => [
+ 'description' => '设备是否开启共享。取值:'."\n"
+ .'- **true**:开启共享。'."\n"
+ .'- **false**:关闭共享。',
+ 'type' => 'boolean',
+ 'enumValueTitles' => ['true' => '开启共享', 'false' => '关闭共享'],
+ 'example' => 'true',
],
- 'example' => 'Application',
- ],
- 'ApplicationIds' => [
- 'description' => '动态路由的内网访问应用ID集合。当应用类型为**Application**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问应用ID。',
+ 'DeviceStatus' => [
+ 'description' => '终端设备状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。'."\n"
+ .'- **LongTermOffline**:长期离线。'."\n"
+ .'- **Locked**:锁定。'."\n"
+ .'- **Lost**:挂失。'."\n"
+ .'- **Unbound**:解绑。',
'type' => 'string',
- 'example' => 'pa-application-e12860ef6c48****'."\n",
+ 'enumValueTitles' => ['Lost' => '挂失', 'Locked' => '锁定', 'LongTermOffline' => '长期离线', 'Offline' => '离线', 'Unbound' => '解绑', 'Online' => '在线'],
+ 'example' => 'Online',
],
- ],
- 'TagIds' => [
- 'description' => '动态路由的内网访问标签ID集合。当应用类型为**Tag**时,该字段有值。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问标签ID。',
+ 'AppStatus' => [
+ 'description' => '客户端状态。取值:'."\n"
+ .'- **Online**:在线。'."\n"
+ .'- **Offline**:离线。',
'type' => 'string',
- 'example' => 'tag-fc0e2395e6f2****',
+ 'enumValueTitles' => ['Offline' => '离线', 'Online' => '在线'],
+ 'example' => 'Online',
],
- ],
- 'DynamicRouteType' => [
- 'description' => '动态路由类型。取值:**connector**:自有专线。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'connector' => '自有专线',
+ 'PaStatus' => [
+ 'description' => '内网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'IaStatus' => [
+ 'description' => '互联网访问状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Diabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'DlpStatus' => [
+ 'description' => '办公数据保护状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。'."\n"
+ .'- **Unauthorized**:未授权。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Unauthorized' => '未授权', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'NacStatus' => [
+ 'description' => '网络准入状态。取值:'."\n"
+ .'- **Enabled**:开启。'."\n"
+ .'- **Disabled**:关闭。'."\n"
+ .'- **Unprovisioned**:未配置。',
+ 'type' => 'string',
+ 'enumValueTitles' => ['Enabled' => '开启', 'Disabled' => '关闭', 'Unprovisioned' => '未配置'],
+ 'example' => 'Enabled',
+ ],
+ 'CreateTime' => ['description' => '终端设备注册时间。', 'type' => 'string', 'example' => '2023-07-17 18:46:55'],
+ 'UpdateTime' => ['description' => '终端设备最后在线时间。', 'type' => 'string', 'example' => '2023-08-24 19:04:42'],
+ 'NetInterfaceInfo' => [
+ 'description' => '终端网卡列表。',
+ 'type' => 'array',
+ 'items' => [
+ 'description' => '终端网卡。',
+ 'type' => 'object',
+ 'properties' => [
+ 'Name' => ['description' => '网卡名称。', 'type' => 'string', 'example' => 'eth0'],
+ 'Mac' => ['description' => '网卡MAC地址。', 'type' => 'string', 'example' => '00:16:XX:XX:7c:46'],
+ ],
+ ],
],
- 'example' => 'connector',
- ],
- 'NextHop' => [
- 'description' => '动态路由下一跳实例ID。',
- 'type' => 'string',
- 'example' => 'connector-8ccb13b6f52c****',
- ],
- 'CreateTime' => [
- 'description' => '动态路由创建时间。',
- 'type' => 'string',
- 'example' => '2023-02-09 10:31:47',
],
],
],
@@ -21557,93 +17776,42 @@
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'DynamicRoute.NotFound',
- 'errorMessage' => 'The dynamicRoute is not found.',
- ],
- ],
- ],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"DynamicRoute\\": {\\n \\"DynamicRouteId\\": \\"dr-16ff07c8207d****\\\\n\\",\\n \\"Name\\": \\"dynamic_route_name\\",\\n \\"Description\\": \\"这是一条动态路由\\\\n\\",\\n \\"Status\\": \\"Enabled\\",\\n \\"Priority\\": 1,\\n \\"RegionIds\\": [\\n \\"ap-southeast-1\\"\\n ],\\n \\"ApplicationType\\": \\"Application\\",\\n \\"ApplicationIds\\": [\\n \\"pa-application-e12860ef6c48****\\\\n\\"\\n ],\\n \\"TagIds\\": [\\n \\"tag-fc0e2395e6f2****\\"\\n ],\\n \\"DynamicRouteType\\": \\"connector\\",\\n \\"NextHop\\": \\"connector-8ccb13b6f52c****\\",\\n \\"CreateTime\\": \\"2023-02-09 10:31:47\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询动态路由详情',
- ],
- 'ListDynamicRouteRegions' => [
- 'summary' => '批量查询当前阿里云账号下查询SASE的POP集群接入点支持地域。',
- 'methods' => [
- 'get',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'eventInfo' => [
+ 'enable' => false,
+ 'eventNames' => [],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'gatewayOptions' => [
+ 'gatewayProtocols' => [],
],
- 'security' => [
- [
- 'AK' => [],
- ],
+ 'title' => '批量修改用户终端设备状态',
+ 'summary' => '批量修改当前阿里云账号下终端设备状态。',
+ 'changeSet' => [
+ ['createdAt' => '2024-12-18T02:19:11.000Z', 'description' => '响应参数发生变更'],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserDevicesStatus'],
],
],
- 'parameters' => [],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'TotalNum' => [
- 'description' => '已授权SASE全球办公服务的POP集群接入点的地域总数。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'example' => '1',
- ],
- 'Regions' => [
- 'description' => '已授权SASE全球办公服务的POP集群接入点的地域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '已授权SASE全球办公服务的POP集群接入点的地域。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'ap-southeast-1' => '新加坡',
- 'us-east-1' => '弗吉尼亚',
- 'us-west-1' => '硅谷',
- ],
- 'example' => 'ap-southeast-1',
- ],
- ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserDevicesStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"TotalNum\\": 1,\\n \\"Regions\\": [\\n \\"ap-southeast-1\\"\\n ]\\n}","type":"json"}]',
- 'title' => '批量查询动态路由已授权地域',
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"5FEF5CFA-14CC-5DE5-BD1F-AFFE0996E71D\\",\\n \\"Devices\\": [\\n {\\n \\"DeviceTag\\": \\"36efa42d-2c32-c4dc-e3fc-8541e33a****\\",\\n \\"DeviceType\\": \\"Windows\\",\\n \\"DeviceModel\\": \\"MacBookPro17,1\\",\\n \\"DeviceVersion\\": \\"3.5.1\\",\\n \\"Hostname\\": \\"win10-64bit\\",\\n \\"Username\\": \\"王先生\\",\\n \\"SaseUserId\\": \\"su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****\\",\\n \\"Department\\": \\"测试部\\",\\n \\"InnerIP\\": \\"192.168.XX.XX\\",\\n \\"SrcIP\\": \\"11.49.XX.XX\\",\\n \\"Memory\\": \\"16\\",\\n \\"CPU\\": \\"Apple M1\\",\\n \\"Disk\\": \\"APPLE SSD AP0512Q Media\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\",\\n \\"AppVersion\\": \\"2.2.0\\",\\n \\"DeviceBelong\\": \\"Company\\",\\n \\"SharingStatus\\": true,\\n \\"DeviceStatus\\": \\"Online\\",\\n \\"AppStatus\\": \\"Online\\",\\n \\"PaStatus\\": \\"Enabled\\",\\n \\"IaStatus\\": \\"Enabled\\",\\n \\"DlpStatus\\": \\"Enabled\\",\\n \\"NacStatus\\": \\"Enabled\\",\\n \\"CreateTime\\": \\"2023-07-17 18:46:55\\",\\n \\"UpdateTime\\": \\"2023-08-24 19:04:42\\",\\n \\"NetInterfaceInfo\\": [\\n {\\n \\"Name\\": \\"eth0\\",\\n \\"Mac\\": \\"00:16:XX:XX:7c:46\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
],
- 'CreateDynamicRoute' => [
- 'summary' => '创建当前阿里云账号下创建动态路由。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
- ],
+ 'UpdateUserGroup' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
@@ -21651,161 +17819,79 @@
],
'operationType' => 'write',
'systemTags' => [
- 'operationType' => 'create',
+ 'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '173138',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeCode' => '163597',
+ 'abilityTreeNodes' => ['FEATUREcsas7ZB8UX'],
],
'parameters' => [
[
- 'name' => 'Name',
+ 'name' => 'UserGroupId',
'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dynamic_route_name',
- ],
+ 'schema' => ['description' => '用户组ID。取值来源:'."\n"
+ .'- [ListUserGroups](~~ListUserGroups~~):批量查询用户组。'."\n"
+ .'- [CreateUserGroup](~~CreateUserGroup~~):创建用户组。', 'type' => 'string', 'required' => true, 'example' => 'usergroup-6f1ef2fc56b6****'],
],
[
'name' => 'Description',
'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条动态路由',
- ],
- ],
- [
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'Disabled',
- ],
- ],
- [
- 'name' => 'Priority',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由优先级。数字1表示优先级最高。取值:1-99。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'example' => '99',
- ],
+ 'schema' => ['description' => '用户组描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。', 'type' => 'string', 'required' => false, 'example' => '这是一条用户组'],
],
[
- 'name' => 'RegionIds',
+ 'name' => 'Attributes',
'in' => 'formData',
'style' => 'flat',
'schema' => [
- 'description' => 'SASE的POP集群接入点支持的地域列表。',
+ 'description' => '用户组属性集合。最大总数3000个。多个用户组属性之间是或的关系,按照合集生效。',
'type' => 'array',
'items' => [
- 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
- .' - [ListDynamicRouteRegions](~~2525442~~):批量查询动态路由已授权地域。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'cn-shenzhen' => '深圳',
- 'cn-beijing' => '北京',
- 'cn-shanghai' => '上海',
- 'ap-southeast-1' => '新加坡',
- 'us-east-1' => '弗吉尼亚',
- 'us-west-1' => '硅谷',
- 'cn-hangzhou' => '杭州',
- 'cn-chengdu' => '成都',
+ 'description' => '用户组属性。',
+ 'type' => 'object',
+ 'properties' => [
+ 'UserGroupType' => [
+ 'description' => '用户组的类型。取值:'."\n"
+ .'- **username**:用户名。'."\n"
+ .'- **department**:部门。'."\n"
+ .'- **email**:邮箱。'."\n"
+ .'- **telephone**:手机。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['telephone' => '手机', 'department' => '部门', 'email' => '邮箱', 'username' => '用户名'],
+ 'example' => 'department',
+ ],
+ 'Relation' => [
+ 'description' => '用户组的关系。取值:'."\n"
+ .'- **Equal**:等于。'."\n"
+ .'- **Unequal**:不等于。',
+ 'type' => 'string',
+ 'required' => true,
+ 'enumValueTitles' => ['Unequal' => '不等于', 'Equal' => '等于'],
+ 'example' => 'Equal',
+ ],
+ 'Value' => ['description' => '用户组属性的值。'."\n"
+ .'- 当用户组类型为**username**时,表示用户名的值。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)、星号(*)、at(@)和空格。'."\n"
+ .'- 当用户组类型为**department**时,表示部门的值。如:OU=部门1,OU=SASE钉钉。'."\n"
+ .'- 当用户组类型为**email**时,表示邮箱的值。如:username@example.com。'."\n"
+ .'- 当用户组类型为**telephone**时,表示手机的值。如:13900001234。', 'type' => 'string', 'required' => true, 'example' => 'OU=部门1,OU=SASE钉钉'],
+ 'IdpId' => ['description' => '用户组的身份源ID。当自定义用户组类型为**department**时,存在该值。', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '12'],
],
- 'example' => 'ap-southeast-1',
- ],
- 'required' => true,
- ],
- ],
- [
- 'name' => 'ApplicationType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由的应用类型。取值:'."\n"
- .'- **All**:全部应用。'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'All' => '全部应用',
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
- ],
- ],
- [
- 'name' => 'ApplicationIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '动态路由的内网访问应用ID集合。最多可输入200个内网访问应用ID。当**ApplicationType**为**Application**时,必填。和**TagIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~611394~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~611541~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'pa-application-7a4445897856****',
- ],
- 'required' => false,
- ],
- ],
- [
- 'name' => 'TagIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '动态路由的内网访问标签ID集合。最多可输入40个内网访问标签ID。当**ApplicationType**为**Tag**时,必填。和**ApplicationIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~611549~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~611552~~):创建内网访问标签。',
- 'type' => 'string',
'required' => true,
- 'example' => 'tag-d3f64e8bdd4a****',
],
'required' => false,
],
],
[
- 'name' => 'DynamicRouteType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由类型。取值:**connector**:自有专线。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'connector' => '自有专线',
- ],
- 'example' => 'connector',
- ],
- ],
- [
- 'name' => 'NextHop',
+ 'name' => 'ModifyType',
'in' => 'formData',
'schema' => [
- 'description' => '动态路由下一跳实例ID。取值来源:'."\n"
- .' - [ListConnectors](~~611545~~):批量查询Connector。',
+ 'description' => '用户组的修改类型。取值:'."\n"
+ .'- **Cover**(默认):使用**Attributes**参数的值覆盖原用户组属性集合。'."\n"
+ .'- **Append**:在用户组属性集合中分别增加**Attributes**参数中输入的值。',
'type' => 'string',
- 'required' => true,
- 'example' => 'connector-8ccb13b6f52c****',
+ 'required' => false,
+ 'enumValueTitles' => ['Cover' => '覆盖', 'Append' => '附加'],
+ 'example' => 'Cover',
],
],
],
@@ -21814,2967 +17900,2029 @@
'schema' => [
'type' => 'object',
'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'DynamicRouteId' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
- 'example' => 'dr-ca9fddfac7c6****',
- ],
+ 'RequestId' => ['description' => '本次请求的ID。', 'type' => 'string', 'example' => 'FD724DBC-CD76-5235-BF76-59C51B73296D'],
],
+ 'description' => '',
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ 'errorCodes' => [
+ 404 => [
+ ['errorCode' => 'UserGroup.NotFound', 'errorMessage' => 'The userGroup is not found.', 'description' => '指定的用户组不存在。'],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"DynamicRouteId\\": \\"dr-ca9fddfac7c6****\\"\\n}","type":"json"}]',
- 'title' => '创建动态路由',
- 'description' => '默认最多可创建100个动态路由。',
- ],
- 'UpdateDynamicRoute' => [
- 'summary' => '修改当前阿里云账号下动态路由。',
- 'methods' => [
- 'post',
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '修改用户组',
+ 'summary' => '修改当前阿里云账号下用户组。',
+ 'changeSet' => [
+ ['createdAt' => '2023-06-09T12:50:17.000Z', 'description' => '请求参数发生变更'],
],
- 'schemes' => [
- 'http',
- 'https',
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserGroup'],
+ ],
+ ],
+ 'ramActions' => [
+ [
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
+ ],
],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FD724DBC-CD76-5235-BF76-59C51B73296D\\"\\n}","type":"json"}]',
+ ],
+ 'UpdateUsersStatus' => [
+ 'methods' => ['post'],
+ 'schemes' => ['http', 'https'],
'security' => [
[
'AK' => [],
],
],
'operationType' => 'readAndWrite',
+ 'deprecated' => false,
'systemTags' => [
'operationType' => 'update',
'riskType' => 'none',
'chargeType' => 'free',
- 'abilityTreeCode' => '173166',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
- ],
+ 'abilityTreeNodes' => ['FEATUREcsas642DA7'],
],
'parameters' => [
[
- 'name' => 'DynamicRouteId',
- 'in' => 'formData',
+ 'name' => 'SaseUserIds',
+ 'in' => 'query',
+ 'style' => 'flat',
'schema' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
+ 'description' => '用户ID集合。',
+ 'type' => 'array',
+ 'items' => ['description' => '用户ID。取值来源:'."\n"
+ ."\n"
+ .' ListUsers:批量查询登录用户。', 'type' => 'string', 'required' => false, 'example' => 'su_e8f218fb171edd167c2ad917d21f53148bdefc510ca1f3c3cc0249d3643d****'],
'required' => true,
- 'example' => 'dr-ca9fddfac7c6****',
],
],
[
- 'name' => 'Name',
- 'in' => 'formData',
+ 'name' => 'Status',
+ 'in' => 'query',
'schema' => [
- 'description' => '动态路由名称。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)和短划线(-)。',
+ 'description' => '登录用户状态。取值:'."\n"
+ .'- **Enabled**:启用。'."\n"
+ .'- **Disabled**:禁用。',
'type' => 'string',
- 'required' => false,
- 'example' => 'dynamic_route_name',
+ 'required' => true,
+ 'enumValueTitles' => ['Enabled' => '启用', 'Disabled' => '禁用'],
+ 'example' => 'Enabled',
],
],
- [
- 'name' => 'Description',
- 'in' => 'formData',
+ ],
+ 'responses' => [
+ 200 => [
'schema' => [
- 'description' => '动态路由描述。长度为1~128个字符,支持中文和大小写英文字母,可包含数字、半角句号(.)、下划线(_)、短划线(-)和空格。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '这是一条动态路由',
+ 'title' => 'Schema of Response',
+ 'description' => 'Schema of Response',
+ 'type' => 'object',
+ 'properties' => [
+ 'RequestId' => ['title' => 'Id of the request', 'description' => '本次请求的ID。', 'type' => 'string', 'example' => '47363C2B-1AAA-5954-8847-0E50FCC54117'],
+ ],
],
],
+ ],
+ 'staticInfo' => ['returnType' => 'synchronous'],
+ 'title' => '批量修改用户状态',
+ 'summary' => '批量修改当前阿里云账号下登录用户的状态。',
+ 'changeSet' => [],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUsersStatus'],
+ ],
+ ],
+ 'ramActions' => [
[
- 'name' => 'Status',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由状态。取值:'."\n"
- .'- **Enabled**:开启。'."\n"
- .'- **Disabled**:关闭。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Enabled' => '开启',
- 'Disabled' => '关闭',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUsersStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
- 'example' => 'Disabled',
],
],
- [
- 'name' => 'Priority',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由优先级。数字1表示优先级最高。取值:1-99。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '99',
+ ],
+ 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"47363C2B-1AAA-5954-8847-0E50FCC54117\\"\\n}","type":"json"}]',
+ ],
+ ],
+ 'endpoints' => [
+ ['regionId' => 'cn-hangzhou', 'regionName' => '华东1(杭州)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'csas.aliyuncs.com', 'endpoint' => 'csas.aliyuncs.com', 'vpc' => 'csas-vpc.cn-hangzhou.aliyuncs.com'],
+ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'csas.aliyuncs.com', 'endpoint' => 'csas.aliyuncs.com', 'vpc' => ''],
+ ],
+ 'errorCodes' => [
+ ['code' => 'ActiveCsas.QuotaExceeded', 'message' => 'The active csas quota is exceeded.', 'http_code' => 403, 'description' => '当前仅支持同时启用一个自定义身份源。请前往「身份同步」,关闭已启用的自定义身份源后,再开启新的自定义身份源。'],
+ ['code' => 'ApConfig.ResourceInUsed', 'message' => 'The AP config is used, can\'t delete.', 'http_code' => 400, 'description' => '该身份源被拓展认证源引用,暂不支持删除。请先前往「身份认证」,关闭该身份源的认证状态,再进行删除操作。'],
+ ['code' => 'Application.NameExisted', 'message' => 'The application name is existed.', 'http_code' => 400, 'description' => '应用名称已存在。'],
+ ['code' => 'Application.NotFound', 'message' => 'The application is not found.', 'http_code' => 404, 'description' => '指定的应用不存在。'],
+ ['code' => 'Application.UsedByDynamicRoute', 'message' => 'The application is used by dynamicRoute.', 'http_code' => 400, 'description' => '应用已被动态路由使用。'],
+ ['code' => 'Application.UsedByPolicy', 'message' => 'The application is used by policy.', 'http_code' => 400, 'description' => '应用已被策略使用。'],
+ ['code' => 'Application.UsedByWorkshop', 'message' => 'The application is used by workshop.', 'http_code' => 400, 'description' => '应用已被办公区使用。'],
+ ['code' => 'Connector.NotFound', 'message' => 'The connector is not found.', 'http_code' => 404, 'description' => '指定的连接器不存在。'],
+ ['code' => 'Connector.UsedByDynamicRoute', 'message' => 'The connector is used by dynamicRoute.', 'http_code' => 400, 'description' => '指定连接器被动态路由使用。'],
+ ['code' => 'ConnectorClient.NotFound', 'message' => 'The connector client is not found.', 'http_code' => 404, 'description' => '指定的连接器客户端不存在。'],
+ ['code' => 'ConnectorClient.StatusInvalid', 'message' => 'The connector client status or connectionStatus is invalid.', 'http_code' => 400, 'description' => '指定的连接器客户端开关状态或连接状态不合法。'],
+ ['code' => 'DynamicRoute.NotFound', 'message' => 'The dynamicRoute is not found.', 'http_code' => 404, 'description' => '指定的动态路由不存在。'],
+ ['code' => 'IDP.DepartmentAlreadyExisted', 'message' => 'The department already existed.', 'http_code' => 400, 'description' => '指定部门已存在'],
+ ['code' => 'IDP.ResourceDisabled', 'message' => 'The resource is disabled.', 'http_code' => 400, 'description' => '指定资源已禁用'],
+ ['code' => 'IDP.ResourceNotFound', 'message' => 'The resource is not found.', 'http_code' => 404, 'description' => '指定资源不存在'],
+ ['code' => 'IDP.UsedInLogin', 'message' => 'The idp is used in login, can\'t delete.', 'http_code' => 400, 'description' => '该身份源已启用身份认证,暂不支持删除。请先前往「身份认证」,关闭该身份源的认证状态,再进行删除操作。'],
+ ['code' => 'IDP.UserAlreadyExisted', 'message' => 'The user already existed.', 'http_code' => 400, 'description' => '指定用户已存在'],
+ ['code' => 'IDP.UserNotFound', 'message' => 'The user is not found.', 'http_code' => 404, 'description' => '指定用户不存在'],
+ ['code' => 'InvalidParameter', 'message' => 'The parameters are illegal.', 'http_code' => 400, 'description' => '请求的参数不合法。'."\n"],
+ ['code' => 'InvalidParameter.%s', 'message' => 'The specified parameter %s is not valid.', 'http_code' => 400, 'description' => '指定的参数%s无效。'],
+ ['code' => 'Policy.NotFound', 'message' => 'The policy is not found.', 'http_code' => 404, 'description' => '指定的策略不存在。'],
+ ['code' => 'Tag.DefaultCannotDelete', 'message' => 'The default tag cannot be deleted.', 'http_code' => 400, 'description' => '默认标签不允许删除。'],
+ ['code' => 'Tag.NameExisted', 'message' => 'The tag name is existed.', 'http_code' => 400, 'description' => '标签名称已存在。'],
+ ['code' => 'Tag.NotFound', 'message' => 'The tag is not found.', 'http_code' => 404, 'description' => '指定的标签不存在。'],
+ ['code' => 'Tag.UsedByApplication', 'message' => 'The tag is used by application.', 'http_code' => 400, 'description' => '标签已被应用使用。'],
+ ['code' => 'Tag.UsedByDynamicRoute', 'message' => 'The tag is used by dynamicRoute.', 'http_code' => 400, 'description' => '并且已被策略使用。'],
+ ['code' => 'Tag.UsedByPolicy', 'message' => 'The tag is used by policy.', 'http_code' => 400, 'description' => '标签已被策略使用。'],
+ ['code' => 'Tag.UsedByWorkshop', 'message' => 'The tag is used by workshop.', 'http_code' => 400, 'description' => '标签已被办公区使用。'],
+ ['code' => 'UserGroup.NameExisted', 'message' => 'The userGroup name is existed.', 'http_code' => 400, 'description' => '用户组名称已存在。'],
+ ['code' => 'UserGroup.NotFound', 'message' => 'The userGroup is not found.', 'http_code' => 404, 'description' => '指定的用户组不存在。'],
+ ['code' => 'UserGroup.UsedByPolicy', 'message' => 'The userGroup is used by policy.', 'http_code' => 400, 'description' => '用户组已被策略使用。'],
+ ['code' => 'Vulnerability.NoDeviceNeedFix', 'message' => 'No devices need to fix this vulnerability.', 'http_code' => 500, 'description' => '无设备需要修复此漏洞。'],
+ ['code' => 'Quota.SaseQuotaExceeded', 'message' => 'The authorized quantity has reached its upper limit. Unable to create or modify policies. Please delete unused policies or upgrade your plan.', 'http_code' => 403, 'description' => '当前已达到授权数量上限,无法新增或修改策略。请删除未使用的策略或升级扩容。'],
+ ],
+ 'changeSet' => [
+ [
+ 'apis' => [
+ ['description' => '错误码发生变更', 'api' => 'CreatePrivateAccessApplication'],
+ ['description' => '错误码发生变更', 'api' => 'DeletePrivateAccessApplication'],
+ ],
+ 'createdAt' => '2026-01-14T02:42:40.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'ListPrivateAccessPolices'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
+ 'createdAt' => '2025-12-03T01:53:39.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'CreateEnterpriseAcceleratePolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'ListConnectors'],
+ ],
+ 'createdAt' => '2025-11-03T02:11:10.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateWmBaseImage'],
+ ],
+ 'createdAt' => '2025-03-21T14:06:43.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessApplication'],
+ ],
+ 'createdAt' => '2025-02-27T08:35:36.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessApplication'],
+ ],
+ 'createdAt' => '2025-02-24T06:43:02.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessApplication'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessApplication'],
+ ],
+ 'createdAt' => '2025-02-21T13:16:09.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'ListPrivateAccessPolices'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
+ 'createdAt' => '2025-01-22T05:26:15.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'GetUserDevice'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListUserDevices'],
+ ],
+ 'createdAt' => '2025-01-16T05:54:43.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateWmEmbedTask'],
+ ['description' => '请求参数发生变更', 'api' => 'CreateWmExtractTask'],
+ ],
+ 'createdAt' => '2025-01-14T13:22:12.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'GetUserDevice'],
+ ['description' => '响应参数发生变更', 'api' => 'ListUserDevices'],
+ ['description' => '响应参数发生变更', 'api' => 'UpdateUserDevicesSharingStatus'],
+ ['description' => '响应参数发生变更', 'api' => 'UpdateUserDevicesStatus'],
+ ],
+ 'createdAt' => '2024-12-18T02:19:39.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateWmEmbedTask'],
+ ['description' => '请求参数发生变更', 'api' => 'CreateWmExtractTask'],
+ ],
+ 'createdAt' => '2024-10-29T13:51:00.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessApplication'],
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessApplication'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListPrivateAccessApplications'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessApplication'],
+ ],
+ 'createdAt' => '2024-09-11T06:43:12.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'ListPrivateAccessPolices'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
+ 'createdAt' => '2024-06-18T13:37:47.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListUserDevices'],
+ ],
+ 'createdAt' => '2024-05-17T02:16:38.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessPolicy'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListPrivateAccessPolices'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
+ 'createdAt' => '2024-01-25T11:45:06.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListUserDevices'],
+ ],
+ 'createdAt' => '2023-11-15T12:55:45.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListPrivateAccessTags'],
+ ],
+ 'createdAt' => '2023-11-15T11:13:12.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'GetPrivateAccessApplication'],
+ ['description' => '响应参数发生变更', 'api' => 'ListConnectors'],
+ ['description' => '请求参数发生变更、响应参数发生变更', 'api' => 'ListPrivateAccessApplications'],
+ ],
+ 'createdAt' => '2023-08-30T11:31:17.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessApplication'],
+ ['description' => '请求参数发生变更', 'api' => 'CreatePrivateAccessPolicy'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessApplication'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdatePrivateAccessPolicy'],
+ ],
+ 'createdAt' => '2023-08-24T13:03:19.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'CreateUserGroup'],
+ ['description' => '请求参数发生变更', 'api' => 'UpdateUserGroup'],
+ ],
+ 'createdAt' => '2023-06-09T12:50:25.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListApplicationsForPrivateAccessPolicy'],
+ ['description' => '请求参数发生变更', 'api' => 'ListApplicationsForPrivateAccessTag'],
+ ['description' => '请求参数发生变更', 'api' => 'ListConnectors'],
+ ['description' => '请求参数发生变更', 'api' => 'ListPolicesForPrivateAccessApplication'],
+ ['description' => '请求参数发生变更', 'api' => 'ListPolicesForPrivateAccessTag'],
+ ['description' => '请求参数发生变更', 'api' => 'ListPolicesForUserGroup'],
+ ['description' => '请求参数发生变更', 'api' => 'ListPrivateAccessApplications'],
+ ],
+ 'createdAt' => '2023-04-12T13:12:38.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '响应参数发生变更', 'api' => 'DeletePrivateAccessPolicy'],
+ ['description' => '响应参数发生变更', 'api' => 'ListPrivateAccessTags'],
+ ],
+ 'createdAt' => '2023-03-24T08:21:20.000Z',
+ 'description' => '',
+ ],
+ [
+ 'apis' => [
+ ['description' => '请求参数发生变更', 'api' => 'ListPrivateAccessPolices'],
+ ],
+ 'createdAt' => '2023-03-24T08:20:47.000Z',
+ 'description' => '',
+ ],
+ ],
+ 'flowControl' => [
+ 'flowControlList' => [
+ ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUsers'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForPrivateAccessApplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUser'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmInfoMapping'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroupsForRegistrationPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessApplications'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationsForPrivateAccessTag'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessTag'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'RevokeUserSession'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicRouteRegions'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteRegistrationPolicies'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListSoftwareForUserDevice'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAccelerateLogs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserDevices'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateRegistrationPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateClientUser'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAcceleratePolicies'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEnterpriseAcceleratePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetBootAndAntiUninstallPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicDisposalProcesses'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessApplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetRegistrationPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIdpConfigs'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteEnterpriseAccelerateTarget'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrivateAccessPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovals'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUsersStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeletePrivateAccessTag'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserDevices'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserDevicesStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'EnableEnterpriseAcceleratePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEnterpriseAccelerateTarget'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApprovalProcess'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessApplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForUserGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetActiveIdpConfig'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserPrivateAccessPolicies'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetIdpConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateIdpDepartment'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApproval'],
+ ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmBaseImage'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListIdpDepartments'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessApplicationsForDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListNacUserCert'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteApprovalProcesses'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserApplications'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteOtpConfig'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrivateAccessPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateNacUserCertStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserDevice'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateUserGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessPolices'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportUserDevices'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUserStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalProcesses'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachApplication2Connector'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetClientUser'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWmEmbedTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApplicationsForPrivateAccessPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreatePrivateAccessPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DisableEnterpriseAcceleratePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroupsForPrivateAccessPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalSchemasForApprovalProcesses'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListClientUsers'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListEnterpriseAccelerateTargets'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessTags'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPrivateAccessTagsForDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteClientUser'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ImportEnterpriseAccelerateTargets'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDynamicRoutes'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistrationPoliciesForUserGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DetachPolicy2ApprovalProcess'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachPolicy2ApprovalProcess'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListConnectors'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateExcessiveDeviceRegistrationApplicationsStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserDevicesSharingStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagsForPrivateAccessPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmExtractTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUninstallApplicationsStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUninstallApplications'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'LookupWmInfoMapping'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateClientUserPassword'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPopTrafficStatistics'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ModifyEnterpriseAcceleratePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateApprovalStatus'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateUserGroup'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateIdpDepartment'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateBootAndAntiUninstallPolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdatePrivateAccessApplication'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateWmEmbedTask'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateEnterpriseAcceleratePolicy'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalProcess'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetPrivateAccessApplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetWmExtractTask'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDynamicRoute'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListExcessiveDeviceRegistrationApplications'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'AttachApplication2Connector'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateRegistrationPolicy'],
+ ['threshold' => '20', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateApprovalProcess'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListPolicesForPrivateAccessTag'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteUserGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListUserGroups'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetUserGroup'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalProcessesForApprovalSchemas'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListApprovalSchemas'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTagsForPrivateAccessApplication'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteIdpDepartment'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetApprovalSchema'],
+ ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListRegistrationPolicies'],
+ ],
+ ],
+ 'ram' => [
+ 'productCode' => 'CloudSecurityAccessService',
+ 'productName' => '办公安全平台',
+ 'ramCodes' => ['csas'],
+ 'ramLevel' => '操作级',
+ 'ramConditions' => [],
+ 'ramActions' => [
+ [
+ 'apiName' => 'GetPrivateAccessPolicy',
+ 'description' => '查询内网访问策略详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'RegionIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => 'SASE的POP集群接入点支持的地域列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'SASE的POP集群接入点支持的地域。取值来源:'."\n"
- .' - [ListDynamicRouteRegions](~~2525442~~):批量查询动态路由已授权地域。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'cn-shenzhen' => '深圳',
- 'cn-beijing' => '北京',
- 'cn-shanghai' => '上海',
- 'ap-southeast-1' => '新加坡',
- 'us-east-1' => '弗吉尼亚',
- 'us-west-1' => '硅谷',
- 'cn-hangzhou' => '杭州',
- 'cn-chengdu' => '成都',
- ],
- 'example' => 'ap-southeast-1',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'AttachApplication2Connector',
+ 'description' => '挂载Connector的应用',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:AttachApplication2Connector',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ApplicationType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由的应用类型。取值:'."\n"
- .'- **All**:全部应用。'."\n"
- .'- **Application**:应用。'."\n"
- .'- **Tag**:标签。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'All' => '全部应用',
- 'Tag' => '标签',
- 'Application' => '应用',
- ],
- 'example' => 'Application',
+ ],
+ [
+ 'apiName' => 'CreateWmInfoMapping',
+ 'description' => '创建水印信息映射关系',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmInfoMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ApplicationIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '动态路由的应用ID集合。最多可输入200个内网访问应用ID。当**ApplicationType**为**Application**时,必填。和**TagIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问应用ID。取值来源:'."\n"
- .'- [ListPrivateAccessApplications](~~ListPrivateAccessApplications~~):批量查询内网访问应用。'."\n"
- .'- [CreatePrivateAccessApplication](~~CreatePrivateAccessApplication~~):创建内网访问应用。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pa-application-f4dd77bced90****',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'CreatePrivateAccessTag',
+ 'description' => '创建内网访问标签',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'TagIds',
- 'in' => 'formData',
- 'style' => 'flat',
- 'schema' => [
- 'description' => '动态路由的内网访问标签ID集合。最多可输入40个内网访问标签ID。当**ApplicationType**为**Tag**时,必填。和**ApplicationIds**二选一。当**ApplicationType**为**All**时,禁止输入。',
- 'type' => 'array',
- 'items' => [
- 'description' => '动态路由的内网访问标签ID。取值来源:'."\n"
- .'- [ListPrivateAccessTags](~~ListPrivateAccessTags~~):批量查询内网访问标签。'."\n"
- .'- [CreatePrivateAccessTag](~~CreatePrivateAccessTag~~):创建内网访问标签。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'tag-d3f64e8bdd4a****',
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'GetPrivateAccessApplication',
+ 'description' => '查询内网访问应用详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DynamicRouteType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由类型。取值:**connector**:自由专线。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'connector' => '自有专线',
- ],
- 'example' => 'connector',
+ ],
+ [
+ 'apiName' => 'GetDynamicRoute',
+ 'description' => '查询动态路由详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'NextHop',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由下一跳实例ID。取值来源:'."\n"
- .' - [ListConnectors](~~ListConnectors~~):批量查询Connector。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'connector-8ccb13b6f52c****',
+ ],
+ [
+ 'apiName' => 'ListEnterpriseAccelerateTargets',
+ 'description' => '查询企业加速地址列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAccelerateTargets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ModifyType',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '动态路由的修改类型。取值:'."\n"
- .'- **Cover**(默认):使用**RegionIds**、**ApplicationIds**、**TagIds**、参数的值覆盖原SASE的POP集群接入点支持的地域、内网访问应用ID集合、内网访问标签集合。'."\n"
- .'- **Append**:在原SASE的POP集群接入点支持的地域、内网访问应用ID集合、内网访问标签集合中分别增加**RegionIds**、**ApplicationIds**、**TagIds**参数中输入的值。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'Cover' => '覆盖',
- 'Append' => '附加',
- ],
- 'example' => 'Cover',
+ ],
+ [
+ 'apiName' => 'DetachPolicy2ApprovalProcess',
+ 'description' => '解绑业务策略与审批流程',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DetachPolicy2ApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- ],
+ [
+ 'apiName' => 'UpdateBootAndAntiUninstallPolicy',
+ 'description' => '更新自启动&防卸载策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateBootAndAntiUninstallPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'DynamicRoute.NotFound',
- 'errorMessage' => 'The dynamicRoute is not found.',
+ [
+ 'apiName' => 'ListUserPrivateAccessPolicies',
+ 'description' => '查询用户零信任策略',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserPrivateAccessPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\"\\n}","type":"json"}]',
- 'title' => '修改动态路由',
- ],
- 'DeleteDynamicRoute' => [
- 'summary' => '删除当前阿里云账号下动态路由。',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ListPolicesForUserGroup',
+ 'description' => '批量查询用户组的策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ListDynamicDisposalProcesses',
+ 'description' => '批量查询动态策略处置流程',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicDisposalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListExcessiveDeviceRegistrationApplications',
+ 'description' => '批量查询设备超额注册申请',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListExcessiveDeviceRegistrationApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'write',
- 'systemTags' => [
+ [
+ 'apiName' => 'DeletePrivateAccessPolicy',
+ 'description' => '删除内网访问策略',
'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '173167',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'DynamicRouteId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '动态路由ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'dr-ca9fddfac7c6****',
+ [
+ 'apiName' => 'CreateWmBaseImage',
+ 'description' => '创建暗水印透明底图',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmBaseImage',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => '748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D',
- ],
- ],
+ [
+ 'apiName' => 'UpdatePrivateAccessApplication',
+ 'description' => '修改内网访问应用',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdatePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'errorCodes' => [
- 404 => [
- [
- 'errorCode' => 'DynamicRoute.NotFound',
- 'errorMessage' => 'The dynamicRoute is not found.',
+ [
+ 'apiName' => 'ListTagsForPrivateAccessPolicy',
+ 'description' => '批量查询内网访问策略的标签',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListTagsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"748CFDC7-1EB6-5B8B-9405-DA76ED5BB60D\\"\\n}","type":"json"}]',
- 'title' => '删除动态路由',
- ],
- 'LookupWmInfoMapping' => [
- 'summary' => '通过查询已创建的水印信息映射关系,根据数字格式的水印信息查找得到对应的字符串格式的水印信息。',
- 'methods' => [
- 'get',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ModifyEnterpriseAcceleratePolicy',
+ 'description' => '修改企业加速策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:ModifyEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ListUserGroupsForRegistrationPolicy',
+ 'description' => '批量查询设备注册策略的用户组',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '226773',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroupsForRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'WmType',
- 'in' => 'query',
- 'schema' => [
- 'title' => '水印类型,枚举值:'."\n"
- .'PureDocument: 常规文档水印'."\n"
- .'PureWebappInvisible: 常规网页水印'."\n"
- .'PureAppInvisible: 常规APP水印'."\n"
- .'PureScreenInvisible: 常规屏幕水印'."\n"
- .'PureImage: 常规图片水印'."\n"
- .'PureAudio: 常规音频水印'."\n"
- .'PureVideo: 常规视频水印'."\n"
- .'AigcDocument: AIGC文档水印'."\n"
- .'AigcWebappInvisible: AIGC网页水印'."\n"
- .'AigcAppInvisible: AIGCAPP水印'."\n"
- .'AigcScreenInvisible: AIGC屏幕水印'."\n"
- .'AigcImage: AIGC图片水印'."\n"
- .'AigcAudio: AIGC音频水印'."\n"
- .'AigcVideo: AIGC视频水印',
- 'description' => '水印类型。取值:'."\n"
- .'- **PureWebappInvisible**:网页水印。'."\n"
- .'- **PureAppInvisible**:App水印。'."\n"
- .'- **PureScreenInvisible**:屏幕水印。'."\n"
- .'- **PureDocument**:文档水印。'."\n"
- .'- **PureImage**:图片水印。'."\n"
- .'- **PureAudio**:音频水印。'."\n"
- .'- **PureVideo**:视频水印。'."\n"
- .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
- .'- **AigcAppInvisible**:AIGC App水印。'."\n"
- .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
- .'- **AigcDocument**:AIGC文档水印。'."\n"
- .'- **AigcImage**:AIGC图片水印。'."\n"
- .'- **AigcAudio**:AIGC音频水印。'."\n"
- .'- **AigcVideo**:AIGC视频水印。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [
- 'PureImage' => '图片水印',
- 'AigcAppInvisible' => 'AIGC App水印',
- 'PureWebappInvisible' => '网页水印',
- 'AigcAudio' => 'AIGC音频水印',
- 'PureDocument' => '文档水印',
- 'PureAudio' => '音频水印',
- 'AigcScreenInvisible' => 'AIGC屏幕水印',
- 'AigcVideo' => 'AIGC视频水印',
- 'AigcImage' => 'AIGC图片水印',
- 'AigcWebappInvisible' => 'AIGC网页水印',
- 'PureAppInvisible' => 'App水印',
- 'PureScreenInvisible' => '屏幕水印',
- 'PureVideo' => '视频水印',
- ],
- 'example' => 'PureDocument',
- 'enum' => [
- 'PureWebappInvisible',
- 'PureAppInvisible',
- 'PureScreenInvisible',
- 'PureImage',
- 'PureAudio',
- 'PureVideo',
- 'AigcWebappInvisible',
- 'AigcAppInvisible',
- 'AigcScreenInvisible',
- 'AigcImage',
- 'AigcAudio',
- 'AigcVideo',
- 'PureDocument',
- ],
+ [
+ 'apiName' => 'CreateUserGroup',
+ 'description' => '创建用户组',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoSize',
- 'in' => 'query',
- 'schema' => [
- 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
- 'description' => '水印信息的容量位宽,默认为32。该参数应该和实际嵌入或者生成透明图时的容量位宽保持一致。取值范围:32~64。该参数的值应当和创建映射关系时保持一致。否则会导致查询不到映射关系。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '64',
- 'minimum' => '32',
- 'example' => '32',
+ ],
+ [
+ 'apiName' => 'ListPolicesForPrivateAccessApplication',
+ 'description' => '批量查询内网访问应用的策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoUint',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数字格式的水印信息。取值来源:'."\n"
- .'- [CreateWmInfoMapping](~~CreateWmInfoMapping~~):创建水印信息映射关系接口的**WmInfoUint**返回值。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '123***',
+ ],
+ [
+ 'apiName' => 'ListRegistrationPolicies',
+ 'description' => '批量查询设备注册策略',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListRegistrationPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
- 'Data' => [
- 'description' => '映射关系查询结果。',
- 'type' => 'object',
- 'properties' => [
- 'WmInfoBytesB64' => [
- 'description' => '根据映射关系查询得到的字符串格式的水印信息。取值来源:'."\n"
- .'- [CreateWmInfoMapping](~~CreateWmInfoMapping~~):创建水印信息映射关系接口的**WmInfoBytesB64**参数。',
- 'type' => 'string',
- 'example' => 'aGVsbG8gc2F*****'."\n",
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'GetUserGroup',
+ 'description' => '查询用户组详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2F*****\\\\n\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询水印信息映射关系',
- ],
- 'CreateWmInfoMapping' => [
- 'summary' => '创建一条字符串格式的水印信息到数字格式的水印信息的映射关系。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'https',
- ],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListPopTrafficStatistics',
+ 'description' => '查询POP点带宽统计',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPopTrafficStatistics',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '226693',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ [
+ 'apiName' => 'DisableEnterpriseAcceleratePolicy',
+ 'description' => '禁用企业加速策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:DisableEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'WmType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印类型,枚举值:'."\n"
- .'PureDocument: 常规文档水印'."\n"
- .'PureWebappInvisible: 常规网页水印'."\n"
- .'PureAppInvisible: 常规APP水印'."\n"
- .'PureScreenInvisible: 常规屏幕水印'."\n"
- .'PureImage: 常规图片水印'."\n"
- .'PureAudio: 常规音频水印'."\n"
- .'PureVideo: 常规视频水印'."\n"
- .'AigcDocument: AIGC文档水印'."\n"
- .'AigcWebappInvisible: AIGC网页水印'."\n"
- .'AigcAppInvisible: AIGCAPP水印'."\n"
- .'AigcScreenInvisible: AIGC屏幕水印'."\n"
- .'AigcImage: AIGC图片水印'."\n"
- .'AigcAudio: AIGC音频水印'."\n"
- .'AigcVideo: AIGC视频水印',
- 'description' => '水印类型。取值:'."\n"
- .'- **PureWebappInvisible**:网页水印。'."\n"
- .'- **PureAppInvisible**:App水印。'."\n"
- .'- **PureScreenInvisible**:屏幕水印。'."\n"
- .'- **PureDocument**:文档水印。'."\n"
- .'- **PureImage**:图片水印。'."\n"
- .'- **PureAudio**:音频水印。'."\n"
- .'- **PureVideo**:视频水印。'."\n"
- .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
- .'- **AigcAppInvisible**:AIGC App水印。'."\n"
- .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
- .'- **AigcDocument**:AIGC文档水印。'."\n"
- .'- **AigcImage**:AIGC图片水印。'."\n"
- .'- **AigcAudio**:AIGC音频水印。'."\n"
- .'- **AigcVideo**:AIGC视频水印。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [
- 'PureImage' => '图片水印',
- 'AigcAppInvisible' => 'AIGC App水印',
- 'PureWebappInvisible' => '网页水印',
- 'AigcAudio' => 'AIGC音频水印',
- 'PureDocument' => '文档水印',
- 'PureAudio' => '音频水印',
- 'AigcScreenInvisible' => 'AIGC屏幕水印',
- 'AigcVideo' => 'AIGC视频水印',
- 'AigcImage' => 'AIGC图片水印',
- 'AigcWebappInvisible' => 'AIGC网页水印',
- 'PureAppInvisible' => 'App水印',
- 'PureScreenInvisible' => '屏幕水印',
- 'PureVideo' => '视频水印',
- ],
- 'example' => 'PureDocument',
- 'enum' => [
- 'PureWebappInvisible',
- 'PureAppInvisible',
- 'PureScreenInvisible',
- 'PureImage',
- 'PureAudio',
- 'PureVideo',
- 'AigcWebappInvisible',
- 'AigcAppInvisible',
- 'AigcScreenInvisible',
- 'AigcImage',
- 'AigcAudio',
- 'AigcVideo',
- 'PureDocument',
- ],
+ [
+ 'apiName' => 'GetApprovalSchema',
+ 'description' => '查询审批模板详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetApprovalSchema',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoSize',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
- 'description' => '水印信息的容量位宽,默认为32。该参数应该和实际嵌入或者生成透明图时的容量位宽保持一致。取值范围:32~64。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '64',
- 'minimum' => '32',
- 'example' => '32',
+ ],
+ [
+ 'apiName' => 'RevokeUserSession',
+ 'description' => '吊销用户登录会话',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:RevokeUserSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoBytesB64',
- 'in' => 'formData',
- 'schema' => [
- 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。',
- 'description' => 'Base64编码后的字符串格式水印信息 。长度1~300个字符。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'aGVsbG8gc2F*****'."\n",
- 'maxLength' => 400,
+ ],
+ [
+ 'apiName' => 'DeleteOtpConfig',
+ 'description' => '删除员工OTP配置。',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteOtpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => '7E9D7ACD-53D5-56EF-A913-79D148D06299',
- ],
- 'Data' => [
- 'description' => '映射结果。',
- 'type' => 'object',
- 'properties' => [
- 'WmInfoUint' => [
- 'description' => '映射得到的数字格式的水印信息。后续可以使用该值查找到对应映射的字符串格式的水印信息。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123***',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'GetPADiagnosisTask',
+ 'description' => '查询内网诊断任务',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetPADiagnosisTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ListIdpConfigs',
+ 'description' => '查询身份源配置信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListIdpConfigs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"7E9D7ACD-53D5-56EF-A913-79D148D06299\\",\\n \\"Data\\": {\\n \\"WmInfoUint\\": 0\\n }\\n}","type":"json"}]',
- 'title' => '创建水印信息映射关系',
- ],
- 'CreateWmBaseImage' => [
- 'summary' => '获取网页水印、屏幕水印和App水印的暗水印透明底图。',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ListConnectors',
+ 'description' => 'Batch Query Connectors',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListConnectors',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'GetClientUser',
+ 'description' => '查询自定义身份源用户详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreatePrivateAccessApplication',
+ 'description' => '创建内网访问应用',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateIdpDepartment',
+ 'description' => '创建自定义身份源部门',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '226309',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'ramAction' => [
+ 'action' => 'csas:CreateIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'WmType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印类型'."\n"
- .'PureWebappInvisible: 常规网页水印'."\n"
- .'PureAppInvisible: 常规APP水印'."\n"
- .'PureScreenInvisible: 常规屏幕水印'."\n"
- .'AigcWebappInvisible: AIGC网页水印'."\n"
- .'AigcAppInvisible: AIGCAPP水印'."\n"
- .'AigcScreenInvisible: AIGC屏幕水印',
- 'description' => '水印类型。取值:'."\n"
- .'- **PureWebappInvisible**:网页水印。'."\n"
- .'- **PureAppInvisible**:App水印。'."\n"
- .'- **PureScreenInvisible**:屏幕水印。'."\n"
- .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
- .'- **AigcAppInvisible**:AIGC App水印。'."\n"
- .'- **AigcScreenInvisible**:AIGC屏幕水印。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'AigcAppInvisible' => 'AIGC App水印',
- 'PureWebappInvisible' => '网页水印',
- 'AigcWebappInvisible' => 'AIGC网页水印',
- 'PureAppInvisible' => 'App水印',
- 'PureScreenInvisible' => '屏幕水印',
- 'AigcScreenInvisible' => 'AIGC屏幕水印',
- ],
- 'example' => 'PureWebappInvisible',
- 'enum' => [
- 'PureWebappInvisible',
- 'PureAppInvisible',
- 'PureScreenInvisible',
- 'AigcWebappInvisible',
- 'AigcAppInvisible',
- 'AigcScreenInvisible',
- ],
+ [
+ 'apiName' => 'UpdateClientUser',
+ 'description' => '设置自定义身份源指定用户信息',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoSize',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
- 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'enumValueTitles' => [
- 32 => '32',
- 40 => '40',
- 64 => '64',
- ],
- 'example' => '32',
+ ],
+ [
+ 'apiName' => 'ListApprovalSchemas',
+ 'description' => '批量查询审批模板列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalSchemas',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoUint',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '10进制数字格式水印信息。若设置该值,则 WmInfoBytesB64 不能设置。'."\n"
- ."\n"
- .'取值范围取决于 WmInfoSize 参数:'."\n"
- ."\n"
- .'- 当 WmInfoSize 为**32**时,取值范围为 1~4294967295。'."\n"
- ."\n"
- .'- 当 WmInfoSize 为**40**时,取值范围为 1~1099511627775。'."\n"
- ."\n"
- .'- 当 WmInfoSize 为**64**时,取值范围为 1~18446744073709551615。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '12*****',
+ ],
+ [
+ 'apiName' => 'CreateEnterpriseAcceleratePolicy',
+ 'description' => '创建企业加速策略',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoBytesB64',
- 'in' => 'formData',
- 'schema' => [
- 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 参数不能设置。',
- 'description' => 'Base64编码后的字符串格式水印信息 。长度1~300个字符。若设置该值,则 WmInfoUint 参数不能设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aGVsbG8gc2F*****',
- 'maxLength' => 400,
+ ],
+ [
+ 'apiName' => 'UpdateNacUserCertStatus',
+ 'description' => '批量修改用户入网证书状态',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateNacUserCertStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Scale',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印图片的缩放比例。',
- 'description' => '水印图片的缩放比例。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '3',
- 'minimum' => '1',
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'ListEnterpriseAcceleratePolicies',
+ 'description' => '查询企业加速策略列表',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAcceleratePolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Width',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印图片的宽度,单位为像素。取值范围为 [100, 5000]',
- 'description' => '水印图片的宽度,单位为像素。取值:100~5000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '10000',
- 'minimum' => '100',
- 'example' => '1920',
+ ],
+ [
+ 'apiName' => 'ImportEnterpriseAccelerateTargets',
+ 'description' => '批量导入加速地址列表',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:ImportEnterpriseAccelerateTargets',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Height',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印图片的高度,单位为像素。取值范围为 [100, 5000]',
- 'description' => '水印图片的高度,单位为像素。取值:100~5000。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '10000',
- 'minimum' => '100',
- 'example' => '1080',
+ ],
+ [
+ 'apiName' => 'AttachPolicy2ApprovalProcess',
+ 'description' => '绑定业务策略与审批流程',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:AttachPolicy2ApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Opacity',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印图片的透明度。取值范围为 [1, 255]',
- 'description' => '水印图片的透明度。取值:1~255。取值越大,透明度越低。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => true,
- 'maximum' => '255',
- 'minimum' => '1',
- 'example' => '255',
+ ],
+ [
+ 'apiName' => 'ListIdpDepartments',
+ 'description' => '查询自定义身份源部门',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListIdpDepartments',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ImageControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '图片水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'TextVisibleControl' => [
- 'description' => '图片文本水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'VisibleText' => [
- 'description' => '文本水印文案。格式为utf8字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '水印文本',
- ],
- 'Mode' => [
- 'description' => '文本水印显示模式。取值:'."\n"
- .'- **pos**:固定位置模式。'."\n"
- .'- **repeat**:平铺模式。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'pos' => 'pos',
- 'repeat' => 'repeat',
- ],
- 'example' => 'pos',
- ],
- 'Opacity' => [
- 'description' => '文本水印透明度。取值:1~255。取值越大,越不透明。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '255',
- ],
- 'FontSize' => [
- 'description' => '文本水印文字字号。取值越大,字体越大。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'FontColor' => [
- 'description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。如 0x000000或#000000 表示黑色。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '#FF0000',
- ],
- 'Angle' => [
- 'description' => '文本水印文字顺针旋转角度。取值范围0~360。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制文本水印水平位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制文本水印垂直位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'SpaceX' => [
- 'description' => 'Mode为repeat时生效。控制文本水印平铺水平间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'SpaceY' => [
- 'description' => 'Mode为repeat时生效。控制文本水印平铺垂直间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAx' => [
- 'description' => '文本水印水平方向锚点。'."\n"
- .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAy' => [
- 'description' => '文本水印垂直方向锚点。'."\n"
- .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Visible' => [
- 'description' => '可见性:'."\n"
- ."\n"
- .'true : 显示'."\n"
- ."\n"
- .'false: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'Margin' => [
- 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
- 'type' => 'object',
- 'properties' => [
- 'Top' => [
- 'description' => 'Mode为top-left、top-right时生效。上边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Right' => [
- 'description' => 'Mode为top-right、bottom-right时生效。右边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Bottom' => [
- 'description' => 'Mode为bottom-left、bottom-right时生效。下边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Left' => [
- 'description' => 'Mode为top-left、bottom-left时生效。左边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'LogoVisibleControl' => [
- 'description' => 'Logo水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'Enhance' => [
- 'description' => '是否开启增强明水印。开启后logo会被转换为水印logo,添加到图片上。',
- 'type' => 'boolean',
- 'required' => false,
- ],
- 'LogoBase64' => [
- 'description' => 'Base64格式logo水印。Logo文件为PNG图片转成Base64格式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFLRJREFUeF7tnXmYZFV5h9+vehwHE5FFQBZFDGDCoiiKYYIJqBBF4DEakARJGCQwfYtRRicsQiQkgWBEQGb6VjOyJKgxRpIYASWiPmZhcdgkGXABVDBq3FgSGGdguk/uObV0dXdV3Vunq073mfud55k/puus73d/92zfOVfQoASUQFcComyUgBLoTkAFok+HEuhBQAWij4cSUIHoM6AE/AhoD+LHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhMC8C8QkvAj4PeCtGF6KsCuwZED8j5GUG/LyMlUOx/DFvHh9/P494BGEmxA+KWv4YR9pNeoCIjBvAjEJe2Yc/hQ4HhgZAhMDbC0pT+XlbU5iCc/jaaCSF9fjd1uPf2CC8+VKHvBIr0nmkcC8CMSMsizrKT42JGE0cd4rKa8uytYk3AG8rmh8j3iTwHJJXbs1REIguEBMwp8BfxKAz2WS8r6i5ZgqF2M4q2h873iGi6TGud7pNWFQAkEF0ug5rgnUwkLzj2Zdsh7kzVkP8oVAdTtFUq7upyxT5XgMy7umqbCKSY7qJ08bV1I3zHXBJFwKxXvd3LI2c6SsZcPMeCbhFuA5uek7RTA8KjX+wCutR6JgAjGnsQ8j3O9RR78kI7xAVvO/RRObhF8G/q9o/AHE20dSvlE0H1PljzH8Vdf4m9ieJSzF5C9KtPIQjpYxbmwJpMqXMbyhaJ1y421ka7lmOlOT8FpgXW7aXhEWs61czhNzyqNg4nACSfgccHTBes012mcl5Xf6zcQkfAb43X7Tecb/Z0l5W9G0bQL5PtDshW2PcSDwDUnZx5zBzjzDaTl5nt/4/QIWc6Vczo86COTerCex9uoU7LD1+eBYzV50MOyIMOoSdhLIKAcic3wOhGtljEeKsptLvCACMcvZjwr/NZeK9khrDfw14HaEO1jMnXIZv/Atq7Gi9RqEgzH8Orh/u/jm1zPdJPvLOOuL5N0mkNsk5TdsGpNwK7AU+JiknFoonwS7qgaTHCbjfLU9jZnqQa6WlFM65WcSfuB4GI6TmhPJtDDN1h0EUqSOCylOGIFUOQ/Dnw+o4bdhXBd9GxXWhXiTmIQXU+GgbK9kKZO8Dqk/oHMOhvOl5hYtcsNMgTSEXH8RGE6SGn9jTmVnFvPyTpnJmroYjAokl3V7hDACmXrT9VU54HsY7qDC7baXkDHXUyyI0BhLW7E0e5qX9V0xcQIvtLRsEs4EPmR7SklZakZ5PcK/uTIn2Fuu5EEzyqkIV3asxyQ7yTg/6SmQhK8AhwGuBzGjHIuw74z83g9uvnY9zJpTXsIkL22NFvqcB/bNL0CCUAKx4+bdCrbH7kL/BSN8Tlbz04Jp5j2aqbI9xo2t7RJ2UbE8Jakbz+eGWT3IKGchXAz8VFJ2bPQOf5QNf9aCWzm6E2ErDAe5zEfY0fLspwcxCd8C9s6tXDNChTezmR+0BKJDrGLoWkbJj/51nsvSucwh8osYfoy+Nh0bb/a8WnUQyA2IW9ZtLUhk84O6QIQHZIx9zWnsxQjf9hEIG1nJko4rYr/l8hMewMx6gV3DJPeoQPKsOeP3wgIxnCA1/rbP7BdcdJO4lbBZE9iOFa3wMlnDd/MaMUsgCY8B2wKrsl7oI9N6kAEIxHuSfjr7M8l/uvZoD5Jn1vrvhQVS4RWyZmirXcUqO4BYZpSXI3yzUFaT7CHj2GFlz2ASVgEfxnArFU7IJubNNJ+UlHc5zlVOwThXlvslZb+Gv9uDLuPN7CBr+VnOHORLwBubc5BOFTIJ/52tmlmH0mOzMuw8ZFowo7wN4Z9cJ5MybQhvqqzJep1qXlsL/S6slDEuLxR3DpFCzUHqS4t5YUsRSPvQJr/Nfj1IlQswfLD+BuJXpca3BjjE8t0H2TrzYl4GbGNXGZvL0U0Epsr9GPbJQ1Lw9772kQrmOSuaCsSXXI9008b+efl7DrGcLhJ+AuyA4cNS48wBCiSv1vm/Gw6VGv/aHtGczqGt/9slc8OFjf+/hQob8zNti7GZDTI+xx35AgUuLIH0sXFWoG3zFmXa0CavFh5DLKlxiBPI1JBlvaTsP+chVpWPZK4qdme+W7DPy282frS9zExXnmcyT4T1CFfLWG+3opbTquE+qXFAHqb5+n1hCUSHWF2fgy476acDq60PmaRsPdcepMhD2JrDGA6Wmjsi4BVMwm3AwcAVkvJer0wCJFpYAtEepLtA2ibpbT3IiRius4nshHiuPUiR522AAqnPS7u4rMysi0mwCwiLmGSljGN7ryBBBTIEzMGGWKNciPAB4IfZQaxdZwlkOW+gwpcbD+J2UuPxXqtY7nmtOxO6ZeMOoX2IZd317YrW7GC4uVfvYqrO+8D2IHZ1bRdZO+Uw2c0cJnGisEOxsyTt4dU8YHsuLIHoEKt7DzLl7j7lrFjlEQwvabmGNDcKmzvpOL8se+b/cUnZzgmghy9W43frCVDIP6zHs3iNpLy7x8N+NvCX1pVIUvYo8kybhDEgyZxHb5aUtxRJM4g4C0sgAxpimeUcSqWru3Z3boZVUnOuGnMKw+5B3LEB4ePuoot62CvbC3morQeZWf8zJOWjZgVbM8GT7scO3rxOIFWO67EUa5dv6/OFzjvpzXK/K6lb7u0YTOIOptkDap+QlBOLwDaj/L69ACPbGC3snlMk37w4W7JA7NCjv2C4PhKBrEKcA6cN50jqfLLsw/1qDMe0NfpJhC82V5RMwtvdBRI2bGZ3Wcuj/QAyy50jYnPXv+NGYZH8TMLjjb2SauZHlhZKs5xdqTSGdAN6kRYpd4sUSJGGDzNOgB7ECuQfgZWS8umibWnbBXcewUXTNeMNQiAm4ddaB62EA2WMe4rWwyT8D7AThtMG8SIrUu7CEojOQbrarNMybxEDN1w/7BVLdmhU96judtipyr4Yju2Rr/X9ek/j984nCqcS272Z2a4oU/MkW4+LEJ4t0g4XR1jWmHN9WlJ3XdTQw8ISiOGVUms4ug296cMrwFTZG+NcxfOD4VeySwi+kxdx5nmQvPitt/7U5Lb5pxWSsqZTepM4V/25TtCbWX9b0tmHt0zCVdB9Al+oXYarpOY8l4ceFpZAtAfp1YPUbzUR1ssYdoOwUHALFuIeJrvDfXc2tOp6g6RJ3A0nU+4ghUroGemomRf3mVGsC6OvP9YmhH9nKy6TS9xFf0MPC0sgW0oP0o837wh7ymoeHrqltQAvAioQL2y9E/Xl7q4CGYIFBpelCmRwLFs5qUCGAHWeslxoAnmN1Lh7nlgMrFjTfqouL9eC7u552ZiTeb47Imt4v2VoEm5EGG+/GC4vD/19NoGFJpBRqTEeu6GyjTC7pFrstNugBDLKtgiPZScOD8+cGb+kAhnMUxRKIPbcQP7tHcKjTPBaez3NYJoXPhdzOru4iwvshlaR0LhtpEjUXnHMu9mO5/LzpkDmmp+mrxMIJRB7RaXdQS0SrAPe+Ri+EJNQ3LU/kxyDuH2EolcczTq33VMEo7wVcb2Tve3Rnkm/lY2cae+/NWewDc/w+LQexFBjhIeZZJwKy2XN1Dl5M8rN1smRCr9w9/luYCv56/qpPpNwNoZTpMaepu7iYX2gLgB359ZemdOgfYGd2G3J2KxgByZcXHv968+A/6DChbKGu1z+VS7CuOtJrW+Xbcd5kroymufqz8hcZu5BWn5an8heOLXGRRj2lstvMsLxspr7ijxQc4kTRiCjXI/wDo+K2i8z3Y3hLoR1bGKdXO1u85j34C6Os1eT2ovj6t8VKXoXVnvdH8oeDPvA5Ya2y7XPYYSrWcRTbOKzCPfKGGd3EMgTCKtkjKtMwqPUN9fcJqBJ3OVwX2GSPRhhv54CqX/o6MHG8O09CE9iWJGdOT+i260lGZubsoNc22fCeJPdB8kWLT6FcEh2o/2LTeL2cC52d3rZ20/EiegkDG7+2XK4NNxHhSsyh8Y9MZwDbt/j2uwuYvvFsPMaTotH5oKbY4RQArEfzBnMZw/sMMy+Xez1oxXu4lnWydqGh+ocYXRLPrSrR4XVMtZy3ehZe/NeduJZRmd8rsBu7B1gL8HuKZD6t09+W1Je1RDIGPU9p0NMlaMKCuRcGeMil765CDHCATPf4q27eQ1HSq3+OQnHDz7uXpL2wRcuab+RxM2X4Onstvt3tgTSNjczifM0sK4rzhHTjPKHiDuJ+IIhmbyVbRiB1G8dtIdrBvXtwZlcLEA77r+z+a/Ip9c6we1webXtIXYeiiEqHNa8M7dI/qbK7kxiLziwb/0X2je0Hb4UEIj1sVpP46EziTugZA8eXddRIFU+wCQnuyHWVA/Sciw0K9iNCb5Ph2O3rWt/NrH9zN7erGQrNrGBGd64pn5L5AmS8oqGQOzD/7wmkyzPrwM3NT881PhWyqdmXitUhGG/cYIIpDG2tONO21UOPxgetsbttyCT8Pf2vqd+03nGtw/264umzeYMdjhn5w0XuUu71/BVk7gLqZ/IE0jjrWsfsuvcUBVuYSM7urlL5x7kUus2P00g8KqsHJsHOQJ5lzurspltZvbsZjk7UuHHTaG2CeB9CCe7u7zqd3tdIqmbn7jgBCLcKKkbWtl5inW72cIEUj+sYz+gU3gCW/Th6Rhvkt1k3F3VXyjMwwd0DpLU9XiFgqnfg7Vz+2cOGoJeXEggCfbSaTsPtALZRVKOcw9bwhHZ5Qn/gvBCGePnjb/djmEHT4HYI7t3tfcuzk1euJZNHMMSfoRhWfunE0x9jrrItaOsAmm8eV7JhDuL3Oo+Cz0dPpEMJ2YGtqsfhULQT7B53ApoqoxiOJMKy5jgMcRNdu0Ni/dieCdLeHrGKlZrku7Y15ef7QvDXghuPyZqz5NM/V24FOEGJjjcfQDH8FhRgZiEc7M55ktkrP7xHlPla9lowToW1j+kA1cwyYZsEn60Sdz+kB0mnswzrGeRE6q9T/gIGeOWUgukAc9+k9wax16hP8zQ9SMwnQoN+BFPd8mbT8Oz8+T261BWGHb+cQvilmPt2W672mdXlm6ctpNuqEnNrSi5YBLnybu/pNPnVI1exJ7AtBdTr8dwKRXeJGOc0LbMa7+r+FDjRWeXcT/DBIn9tPUsgdjvlCxyy7L2GlNrZ9tTviM7p25v+bcCsr2hvUq1/qIUphYA6kvZdjGi9b3Fhou8PeTlvuto6pdRfFDSgXoedzRJsDlIe+mNlY7PZ+vwdnVjOKHPeUhfN7L71dhOjE/q5W7ul23xVCZxw6vPt6+EFU892Jhuwr6RgxC+0xTOYEsYTG7zIhD3FljFL2VfsbDLlPZNMpxQcB4y9PmH3bCb4JxhL0d3g2jqJwX3A/6O5/Ai+Sg/Hg7wLS/XeRNIq9u3PkT17+zZyd3uje8BbjUQ1PVPnE27H7ZTvgOef9gNrfon4uy3Ezdx63xvbprEXdTwdgyXS42VA2FbkkzmXSAl4azNjJSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ+D/AdF26yPzUbcJAAAAAElFTkSuQmCC',
- ],
- 'Mode' => [
- 'description' => 'Logo水印显示模式。取值:'."\n"
- .'- **pos**:固定位置模式。'."\n"
- .'- **repeat**:平铺模式。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'pos' => 'pos',
- 'repeat' => 'repeat',
- ],
- 'example' => 'pos',
- ],
- 'Opacity' => [
- 'description' => 'Logo水印透明度。取值:1~255。取值越大,透明度越低。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '255',
- ],
- 'Angle' => [
- 'description' => 'Logo水印文字顺针旋转角度。取值范围1~360',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'SpaceX' => [
- 'description' => 'Mode为repeat时生效。控制明水印平铺水平间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'SpaceY' => [
- 'description' => 'Mode为repeat时生效。控制明水印平铺垂直间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosAx' => [
- 'description' => 'Logo水印水平方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAy' => [
- 'description' => 'Logo水印垂直方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角为位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Visible' => [
- 'description' => '可见性:'."\n"
- ."\n"
- .'**true** : 显示'."\n"
- ."\n"
- .'**false**: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'Margin' => [
- 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
- 'type' => 'object',
- 'properties' => [
- 'Top' => [
- 'description' => 'Mode为top-left、top-right时生效。上边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Right' => [
- 'description' => 'Mode为top-right、bottom-right时生效。右边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Bottom' => [
- 'description' => 'Mode为bottom-left、bottom-right时生效。下边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Left' => [
- 'description' => 'Mode为top-left、bottom-left时生效。左边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'GetBootAndAntiUninstallPolicy',
+ 'description' => '查询自启动&防卸载策略详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetBootAndAntiUninstallPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'comment',
- 'in' => 'query',
- 'schema' => [
- 'description' => '备注信息。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '备注',
+ ],
+ [
+ 'apiName' => 'ListRegistrationPoliciesForUserGroup',
+ 'description' => '批量查询用户组的设备注册策略',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListRegistrationPoliciesForUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => '58D6B23E-E5DA-5418-8F61-51A3B5A30049',
- ],
- 'Data' => [
- 'description' => '透明图信息。',
- 'type' => 'object',
- 'properties' => [
- 'ImageId' => [
- 'description' => '透明图ID,相同的ID表示图片内容完全一致。',
- 'type' => 'string',
- 'example' => 'fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****',
- ],
- 'ImageUrl' => [
- 'description' => '可用于下载图片的临时URL。',
- 'type' => 'string',
- 'example' => 'https://example.com/test-*****.png',
- ],
- 'ImageUrlExp' => [
- 'description' => '图片临时URL的有效截止时间,格式为Unix时间戳,单位为秒。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '17185*****',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'CreatePADiagnosisTask',
+ 'description' => '创建内网诊断任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePADiagnosisTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ListUserGroups',
+ 'description' => '批量查询用户组',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroups',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"58D6B23E-E5DA-5418-8F61-51A3B5A30049\\",\\n \\"Data\\": {\\n \\"ImageId\\": \\"fafb432cdede9b20640e12105845386e-496883833-8242409229217337*****\\",\\n \\"ImageUrl\\": \\"https://example.com/test-*****.png\\",\\n \\"ImageUrlExp\\": 0\\n }\\n}","type":"json"}]',
- 'title' => '创建暗水印透明底图',
- ],
- 'GetWmExtractTask' => [
- 'summary' => '根据创建提取任务时获取的任务ID,查询水印提取任务结果。',
- 'methods' => [
- 'get',
+ [
+ 'apiName' => 'DeleteDynamicRoute',
+ 'description' => '删除动态路由',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ListPrivateAccessApplications',
+ 'description' => '批量查询内网访问应用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'CreatePrivateAccessPolicy',
+ 'description' => '创建内网访问策略',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreatePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'ListPolicesForPrivateAccessTag',
+ 'description' => '批量查询内网访问标签的策略',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '216135',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'ramAction' => [
+ 'action' => 'csas:ListPolicesForPrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '创建提取任务返回的 task id',
- 'description' => '提取任务ID。取值来源:'."\n"
- .'- [CreateWmExtractTask](~~CreateWmExtractTask~~):创建水印提取任务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********',
+ [
+ 'apiName' => 'DeleteEnterpriseAccelerateTarget',
+ 'description' => '删除企业加速地址',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteEnterpriseAccelerateTarget',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => '102350E7-1A20-58F5-9D63-ABEA820AE6E1',
- ],
- 'Data' => [
- 'description' => '任务结果。',
- 'type' => 'object',
- 'properties' => [
- 'CreateTime' => [
- 'title' => '任务创建时间',
- 'description' => '任务创建时间',
- 'type' => 'string',
- 'example' => '2024-01-01 11:22:33',
- ],
- 'TaskId' => [
- 'title' => '任务id',
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********',
- ],
- 'Status' => [
- 'title' => '任务状态'."\n"
- .'Running: 运行中'."\n"
- .'Success: 任务执行成功'."\n"
- .'Failed: 任务执行失败',
- 'description' => '任务状态。取值:'."\n"
- .'- **Running**:运行中。'."\n"
- .'- **Success**:成功。'."\n"
- .'- **Failed**:失败。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Failed' => '失败',
- 'Running' => '运行中',
- 'Success' => '成功',
- ],
- 'example' => 'Success',
- 'enum' => [
- 'Running',
- 'Success',
- 'Failed',
- ],
- ],
- 'Filename' => [
- 'title' => '创建提取任务时传入的文件名',
- 'description' => '创建提取任务时传入的文件名。',
- 'type' => 'string',
- 'example' => 'test-****.pdf',
- ],
- 'WmType' => [
- 'title' => '创建提取任务时传入的水印类型',
- 'description' => '创建提取任务时传入的水印类型。',
- 'type' => 'string',
- 'example' => 'PureDocument',
- ],
- 'WmInfoSize' => [
- 'title' => '创建提取任务时传入的参数',
- 'description' => '创建提取任务时传入的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '32',
- ],
- 'WmInfoUint' => [
- 'title' => '提取得到的结果',
- 'description' => '提取得到的10进制数字格式的水印信息。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123**',
- ],
- 'WmInfoBytesB64' => [
- 'title' => '提取得到的结果',
- 'description' => '提取得到的base64编码字符串格式的水印信息。',
- 'type' => 'string',
- 'example' => 'aGVsbG8gc2Fz****',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'GetApproval',
+ 'description' => '查询审批实例详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetApproval',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"102350E7-1A20-58F5-9D63-ABEA820AE6E1\\",\\n \\"Data\\": {\\n \\"CreateTime\\": \\"2024-01-01 11:22:33\\",\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\",\\n \\"Status\\": \\"Success\\",\\n \\"Filename\\": \\"test-****.pdf\\",\\n \\"WmType\\": \\"PureDocument\\",\\n \\"WmInfoSize\\": 32,\\n \\"WmInfoUint\\": 0,\\n \\"WmInfoBytesB64\\": \\"aGVsbG8gc2Fz****\\"\\n }\\n}","type":"json"}]',
- 'title' => '查询水印提取任务详情',
- ],
- 'GetWmEmbedTask' => [
- 'summary' => '使用创建水印嵌入任务得到的任务ID,查询嵌入任务结果。',
- 'methods' => [
- 'get',
+ [
+ 'apiName' => 'UpdateUserGroup',
+ 'description' => '修改用户组',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'UpdateUserDevicesStatus',
+ 'description' => '批量修改用户终端设备状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserDevicesStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdatePrivateAccessPolicy',
+ 'description' => '修改内网访问策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdatePrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
+ [
+ 'apiName' => 'GetApprovalProcess',
+ 'description' => '查询审批流程详情',
'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '216126',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'ramAction' => [
+ 'action' => 'csas:GetApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'TaskId',
- 'in' => 'query',
- 'schema' => [
- 'title' => '创建嵌入任务时得到的任务ID',
- 'description' => '创建嵌入任务时得到的任务ID。取值来源:'."\n"
- .'- [CreateWmEmbedTask](~~CreateWmEmbedTask~~):创建水印嵌入任务。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjU********',
+ [
+ 'apiName' => 'ExportUserDevices',
+ 'description' => '导出用户终端设备列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ExportUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8',
- ],
- 'Data' => [
- 'description' => '水印嵌入任务结果。',
- 'type' => 'object',
- 'properties' => [
- 'TaskId' => [
- 'title' => '嵌入任务ID',
- 'description' => '任务ID。',
- 'type' => 'string',
- 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx',
- ],
- 'TaskStatus' => [
- 'title' => '任务状态'."\n"
- .'Running: 运行中'."\n"
- .'Success: 任务执行成功'."\n"
- .'Failed: 任务执行失败'."\n",
- 'description' => '任务状态。取值:'."\n"
- .'- **Running**:运行中。'."\n"
- .'- **Success**:成功。'."\n"
- .'- **Failed**:失败。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'Failed' => '失败',
- 'Running' => '运行中',
- 'Success' => '成功',
- ],
- 'example' => 'Success',
- 'enum' => [
- 'Running',
- 'Success',
- 'Failed',
- ],
- ],
- 'FileUrl' => [
- 'title' => '输入文件的下载 url',
- 'description' => '嵌入水印信息得到的文件的临时URL。',
- 'type' => 'string',
- 'example' => 'https://example.com/embed-****.pdf',
- ],
- 'FileUrlExp' => [
- 'title' => 'fileUrl 的过期时间,格式为 unix 时间戳,单位为秒',
- 'description' => 'FileUrl的过期时间,格式为Unix时间戳,精度为秒。',
- 'type' => 'string',
- 'example' => '171859****',
- ],
- 'Filename' => [
- 'title' => '输出文件的文件名',
- 'description' => '嵌入水印信息得到的文件的文件名。',
- 'type' => 'string',
- 'example' => 'embed-****.pdf'."\n",
- ],
- 'OutFileHashMd5' => [
- 'title' => '输出文件的md5哈希,用于校验',
- 'description' => '嵌入水印信息得到的文件的md5哈希,用于排查问题。',
- 'type' => 'string',
- 'example' => 'd41d8cd98f00b204e9800998ecf8****',
- ],
- 'OutFileSize' => [
- 'title' => '输入文件的大小(单位为字节),用于校验',
- 'description' => '嵌入水印信息得到的文件的大小,单位为字节。用于排查问题。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'example' => '123**',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'UpdateUsersStatus',
+ 'description' => '批量修改用户状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUsersStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUxxxxxxxxxx\\",\\n \\"TaskStatus\\": \\"Success\\",\\n \\"FileUrl\\": \\"https://example.com/embed-****.pdf\\",\\n \\"FileUrlExp\\": \\"171859****\\",\\n \\"Filename\\": \\"embed-****.pdf\\\\n\\",\\n \\"OutFileHashMd5\\": \\"d41d8cd98f00b204e9800998ecf8****\\",\\n \\"OutFileSize\\": 0\\n }\\n}","type":"json"}]',
- 'title' => '查询水印嵌入任务详情',
- ],
- 'CreateWmExtractTask' => [
- 'summary' => '创建数字水印提取任务。',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'ListApprovalProcesses',
+ 'description' => '批量查询审批流程列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ListDynamicRoutes',
+ 'description' => '批量查询动态路由',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicRoutes',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListForwardStrategyBindingItems',
+ 'description' => '查询转发策略绑定对象',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListForwardStrategyBindingItems',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
+ [
+ 'apiName' => 'CreateEnterpriseAccelerateTarget',
+ 'description' => '创建企业加速地址',
'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '216136',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ 'ramAction' => [
+ 'action' => 'csas:CreateEnterpriseAccelerateTarget',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'WmType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印类型,枚举值:'."\n"
- .'PureDocument: 常规文档水印'."\n"
- .'PureWebappInvisible: 常规网页水印'."\n"
- .'PureAppInvisible: 常规APP水印'."\n"
- .'PureScreenInvisible: 常规屏幕水印'."\n"
- .'PureImage: 常规图片水印'."\n"
- .'PureAudio: 常规音频水印'."\n"
- .'PureVideo: 常规视频水印'."\n"
- .'AigcDocument: AIGC文档水印'."\n"
- .'AigcWebappInvisible: AIGC网页水印'."\n"
- .'AigcAppInvisible: AIGCAPP水印'."\n"
- .'AigcScreenInvisible: AIGC屏幕水印'."\n"
- .'AigcImage: AIGC图片水印'."\n"
- .'AigcAudio: AIGC音频水印'."\n"
- .'AigcVideo: AIGC视频水印',
- 'description' => '水印类型。取值:'."\n"
- .'- **PureWebappInvisible**:网页水印。'."\n"
- .'- **PureAppInvisible**:App水印。'."\n"
- .'- **PureScreenInvisible**:屏幕水印。'."\n"
- .'- **PureDocument**:文档水印。'."\n"
- .'- **PureImage**:图片水印。'."\n"
- .'- **PureAudio**:音频水印。'."\n"
- .'- **PureVideo**:视频水印。'."\n"
- .'- **AigcWebappInvisible**:AIGC网页水印。'."\n"
- .'- **AigcAppInvisible**:AIGC App水印。'."\n"
- .'- **AigcScreenInvisible**:AIGC屏幕水印。'."\n"
- .'- **AigcDocument**:AIGC文档水印。'."\n"
- .'- **AigcImage**:AIGC图片水印。'."\n"
- .'- **AigcAudio**:AIGC音频水印。'."\n"
- .'- **AigcVideo**:AIGC视频水印。',
- 'type' => 'string',
- 'required' => true,
- 'docRequired' => true,
- 'enumValueTitles' => [
- 'PureImage' => '图片水印',
- 'AigcAppInvisible' => 'AIGC App水印',
- 'PureWebappInvisible' => '网页水印',
- 'AigcAudio' => 'AIGC音频水印',
- 'PureDocument' => '文档水印',
- 'PureAudio' => '音频水印',
- 'AigcScreenInvisible' => 'AIGC屏幕水印',
- 'AigcVideo' => 'AIGC视频水印',
- 'AigcImage' => 'AIGC图片水印',
- 'AigcWebappInvisible' => 'AIGC网页水印',
- 'PureAppInvisible' => 'App水印',
- 'PureScreenInvisible' => '屏幕水印',
- 'PureVideo' => '视频水印',
- ],
- 'example' => 'PureDocument',
- 'enum' => [
- 'PureWebappInvisible',
- 'PureAppInvisible',
- 'PureScreenInvisible',
- 'PureImage',
- 'PureAudio',
- 'PureVideo',
- 'AigcWebappInvisible',
- 'AigcAppInvisible',
- 'AigcScreenInvisible',
- 'AigcImage',
- 'AigcAudio',
- 'AigcVideo',
- 'PureDocument',
- 'VisibleEnhance',
- ],
+ [
+ 'apiName' => 'DeleteApprovalProcesses',
+ 'description' => '批量删除审批流程',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'IsClientEmbed',
- 'in' => 'query',
- 'schema' => [
- 'description' => '音频水印参数:是否为客户端SDK嵌入,默认为false。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'DeleteEnterpriseAcceleratePolicy',
+ 'description' => '删除企业加速策略',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'FileUrl',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '可用于下载文件的 URL'."\n"
- .'控制台调用时传递文件的 oss 路径',
- 'description' => '用于下载待提取文件的URL,需要可以公网访问。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://example.com/test-****.pdf',
+ ],
+ [
+ 'apiName' => 'ListSoftwareForUserDevice',
+ 'description' => '批量查询用户终端设备安装软件',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListSoftwareForUserDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Filename',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '文件名,后端需要根据文件名的后缀判断校验文件类型',
- 'description' => '待提取文件的文件名,后端需要根据文件名的后缀判断校验文件类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'test-****.pdf',
+ ],
+ [
+ 'apiName' => 'UpdateApprovalProcess',
+ 'description' => '更新审批流程',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoSize',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
- 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '64',
- 'minimum' => '32',
- 'example' => '32',
+ ],
+ [
+ 'apiName' => 'UpdateDynamicRoute',
+ 'description' => '修改动态路由',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VideoSpeed',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '长视频水印参数:含义为视频倍速,浮点数字符串。默认1,代表添加水印时的采用倍速,或者添加水印之后,视频时间轴拉伸的倍速',
- 'description' => '长视频水印参数:含义为视频倍速,浮点数字符串。默认1,代表添加水印时的采用倍速,或者添加水印之后,视频时间轴拉伸的倍速。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
+ ],
+ [
+ 'apiName' => 'UpdateIdpDepartment',
+ 'description' => '修改自定义身份源指定部门',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VideoIsLong',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '视频水印参数:在嵌入视频水印时,通过该值控制使用使用长视频的SDK。默认为 false,此时会使用短视频的 SDK',
- 'description' => '视频水印参数:是否使用长视频水印SDK,默认为false。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'CreateWmExtractTask',
+ 'description' => '创建水印提取任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmExtractTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DocumentIsCapture',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '文档水印参数:当提取文档截图中的背景暗水印信息时将该参数设为true。默认为 false',
- 'description' => '文档水印参数:指定待提取文件是否为添加了背景水文档的截图。服务会根据待提取文件是否为图像文件来判断是否走文档背景水印提取逻辑,因此默认无需设置该参数 。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'CreateWmEmbedTask',
+ 'description' => '创建水印嵌入任务',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateWmEmbedTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'CsvControl',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'CSV水印控制参数。需要和嵌入时的参数保持一致,否则会提取失败。',
- 'type' => 'object',
- 'properties' => [
- 'Method' => [
- 'description' => 'CSV水印嵌入方法。需要和嵌入时的参数保持一致,否则会提取失败。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lossless_row_shift_embed',
- 'enum' => [
- 'lossless_row_shift_embed',
- 'lossy_number_embed',
- 'lossy_time_stamp_embed',
- 'lossy_zero_width_embed',
- ],
- ],
- 'EmbedColumn' => [
- 'description' => '有损嵌入控制参数:指定修改列。需要和嵌入时的参数保持一致,否则会提取失败。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'EmbedPrecision' => [
- 'description' => '有损嵌入控制参数:指定修改精度。需要和嵌入时的参数保持一致,否则会提取失败。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'EmbedTimePosition' => [
- 'title' => '嵌入位置,枚举值。需要和嵌入时的参数保持一致'."\n",
- 'description' => '时间戳水印参数:控制时间戳水印嵌入位置。需要和嵌入时对应参数保持一致,否则会提取失败。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Min',
- 'enum' => [
- 'Min',
- 'Sec',
- 'MilSec',
- ],
- ],
- 'EmbedBitsNumberInEachTime' => [
- 'title' => '时间戳信息位宽,需要和嵌入时保持一致。',
- 'description' => '时间戳水印参数:指定单个时间戳容纳多少信息。需要和嵌入时对应参数保持一致,否则会提取失败。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '4',
- 'minimum' => '1',
- 'example' => '1',
- ],
- 'TimeFormat' => [
- 'title' => '时间戳的格式,需要和嵌入时保持一致。',
- 'description' => '时间戳水印参数:指定时间戳格式。需要和嵌入时对应参数保持一致,否则会提取失败。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Year-Mon-Day Hour:Min:Sec.MilSec',
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'UpdateClientUserStatus',
+ 'description' => '设置自定义身份源用户启用状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUserStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ImageExtractParamsOpenApi',
- 'in' => 'query',
- 'style' => 'json',
- 'schema' => [
- 'description' => '图片提取参数',
- 'type' => 'object',
- 'properties' => [
- 'SrcLogoBase64' => [
- 'description' => '增强明水印Logo,base64格式原文件。用于提取增强明水印。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAGQAAAAWCAYAAAA2CDmeAAAACXBIWXMAAAsTAAALEwEAmpwYAAAE7mlUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4gPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgOS4wLWMwMDAgNzkuMTcxYzI3ZiwgMjAyMi8wOC8xNi0xODowMjo0MyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczpkYz0iaHR0cDovL3B1cmwub3JnL2RjL2VsZW1lbnRzLzEuMS8iIHhtbG5zOnBob3Rvc2hvcD0iaHR0cDovL25zLmFkb2JlLmNvbS9waG90b3Nob3AvMS4wLyIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0RXZ0PSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VFdmVudCMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgKFdpbmRvd3MpIiB4bXA6Q3JlYXRlRGF0ZT0iMjAyNS0wNS0yN1QyMjo1MToyMyswODowMCIgeG1wOk1vZGlmeURhdGU9IjIwMjUtMDUtMjdUMjM6NDQ6MzcrMDg6MDAiIHhtcDpNZXRhZGF0YURhdGU9IjIwMjUtMDUtMjdUMjM6NDQ6MzcrMDg6MDAiIGRjOmZvcm1hdD0iaW1hZ2UvcG5nIiBwaG90b3Nob3A6Q29sb3JNb2RlPSIzIiB4bXBNTTpJbnN0YW5jZUlEPSJ4bXAuaWlkOmRiYTA3MjM3LWJmNWUtNTc0ZS04ZDhlLTAyNDlmNDFlNWE2ZCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpkYmEwNzIzNy1iZjVlLTU3NGUtOGQ4ZS0wMjQ5ZjQxZTVhNmQiIHhtcE1NOk9yaWdpbmFsRG9jdW1lbnRJRD0ieG1wLmRpZDpkYmEwNzIzNy1iZjVlLTU3NGUtOGQ4ZS0wMjQ5ZjQxZTVhNmQiPiA8eG1wTU06SGlzdG9yeT4gPHJkZjpTZXE+IDxyZGY6bGkgc3RFdnQ6YWN0aW9uPSJjcmVhdGVkIiBzdEV2dDppbnN0YW5jZUlEPSJ4bXAuaWlkOmRiYTA3MjM3LWJmNWUtNTc0ZS04ZDhlLTAyNDlmNDFlNWE2ZCIgc3RFdnQ6d2hlbj0iMjAyNS0wNS0yN1QyMjo1MToyMyswODowMCIgc3RFdnQ6c29mdHdhcmVBZ2VudD0iQWRvYmUgUGhvdG9zaG9wIDI0LjAgKFdpbmRvd3MpIi8+IDwvcmRmOlNlcT4gPC94bXBNTTpIaXN0b3J5PiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/Pj/PwpEAAAZYSURBVGje3Zp7iFVFHMfPlkaW9qAM0nQlzQxiS1YrQ0vyEdVmRmaCiu9777nnruuu2oMK2wQrkUpJxAyFJDAoIiqt7AVmDylbFMuSnpaKFLXqrliup+/M+c49c+eec+859xHVHx/3zsxv5szMd56/0XITluXaIA0c61b8fRMcBcfBEY120AVbF3Y3uY2wzxCH+X1GSru0dZL59HKOyzjH2oK/DdJefD9B0nnlDafdGA1Rz2vAGaAODANDCzACDNTK7AHqydCYXAsuN9p7JrgUDAC1MRkEestyXBf/zGWHONYHiHSLMt96Dlg5NAXQaK2NVJ5jbcP3u7nzWJdkniCfhOTdzg44Guk73kBTZdZFzBPGDkOQMWWW95IvSEoW+F7RTN6If81tgf0isFCjxUDENctyt0Ss0PuyHqlsfYIE+RN0gGMMf8QR9gfDJw3+kjPa/8bmEEG6AvKGpXVVXxDHmlnEWDT8YdhdJjOpTkuSFGdYEF5lB8v83oguNFNmyJmRv/ztoM18hufJwZGxPpSz05bLVs8AhG2aeYWQF4QIMplxKs8gLW2UkTaK8buMOp4FrgRXgCExEXXp6wuSDlyqvgTN6Jy+2TVddVR+h8fhErAA7A0Q5K2QPUkJMpfhFbRfJ20Lf28284q96+wQQSYYeS7W0uqNtHrG7y6h7cWhIIeNjmnLCuBom6wuSDkf9cvaZYjyE8o+LUBsJcg0hj9nPRMsZzx4BTxD1oG1tJ0YQZA3wFLmXQ42aGkvgmVMW8awiN9ZTUGOGHuFk+2UIEHKxZ9hCw1BDvP0E7Zk3c6wGjh1rNP9IcugSBsbQZBKbOpVFWR6GUtSHEHmxhTkBgjQj7+/09KVIG3g+RIEeQc8BdaD1WCTlvYqWMm0VQy7nKX/kCBpCJKukhi5xBPEtq7DAeJmiCJsX9fS72P+pcwfV5B/3R4SRxBxzGwCc7hhFqIl4AJVuiDisilOWL59G9OdMgW5m3EqfaCWNtJIGxlwyjoffMpZ20a+4CzaqcUVQlyWW0sRZGLMtTZRRUG+N462pQoi7jed7BTFKaad0NI6GTb3kN5MCzrKu5zRUVj/XxNkKsOPZU9llRGk3E1duE1mABvL6iy6dXZLIVLWt2AKfk8vsposknecEgTpTb/SWMO3FMSE7IWnMoLMY7iB4Z/LEKQnj8vjjTqL5WoJ8/zGuBGGTQP9a/nHec+/d5GcUZ4gGXlxdv6Pm3plBSnEncxzIFZ7hBgLpCDP0s0kBD0v0r0s0rFXGaWqcAS2qyLIyxxMUQQZxsteK3hEw9GOvUcZ94Bh8wR4kO4Ss119uCe5dBcFea9zL9gL6RtsCZ8hiawIKcN3ZVfwHuL5piopSJyLYarMPUQ4OC+UZc0Bs/h0kLEe5WbeKZcu5QrKb9MI2DyNtKQ71erlTkLcPb4gvxong+05M0P9TZblwwpynXxsNPIA3zfCBJnEsHJf/GAsfcfoROziKBVp40IEGU1P9AZe+hRPgneZ5xRny2rDRnx/DfrBczguAY+DhxBOoS9tucqsCvVweH1Ylz2BTcWmPhlxU3xvb5AXdpvsABsjVs2QRKg3Nw7dwR0hnt/tIXmUINdrFzPvcug1tgacC87hZl2j+d2aaNtewh4ihO0TaqeeCZaBlaAVMz5JIZNWf/m+Yxfc0FdI8ZrR7nsRXqwEsXFcC5+anXxHWIyPDMgKkYqIN0p64e8s+vzbQ7+VwkUy+D1ECTKaF03xW3iG+0v3e9gszKAzbWs/7ffE8MVFE0SVNxNMA7OtfbxzbIro+xuitf82f1NP8BHIKfhWoX6/LTcgpejigMcqfZNKWy9EXJP3oR7d5Yth/sgy9xDV4d7JJreRPfh00AGbE9mHtQxGbxPz2dbpvEGLB6xfDH7k6UjV6xDYH2An0jZq3x2s5RFlfA0OBuRTHJKDxB+gW31BvFEvGvJZxCfcjTnPt418sm3hK2EzfzdJd3UUMQ6io2qzG2Cm6KZeSBBx8vndKH+5tPNtu2mdWg6bQwQphV3QoMYTJJmz2dyFxm6VIzZtfQO+0tgjR4stLz3Ds//JoZEdlPtyeBXP4m7Af3LoIHvlDVW8pzsFXfzD+arXN0+QfPHE6L+RS8B4pNdqFzZlU0M3zC0RLrdhiKeAq42BMC7golmMsTw19pP9B0H+Bvsku1jBpCmEAAAAAElFTkSuQmCC',
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'CreateRegistrationPolicy',
+ 'description' => '创建设备注册策略',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '本次请求的ID。',
- 'type' => 'string',
- 'example' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8',
- ],
- 'Data' => [
- 'description' => '水印提取任务信息。',
- 'type' => 'object',
- 'properties' => [
- 'TaskId' => [
- 'title' => 'task id, 用于查询任务结果',
- 'description' => '任务ID,用于查询任务结果。',
- 'type' => 'string',
- 'example' => 'wmt-9648c22d2eb2cb57bb855dcae7898464********',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ListForwardStrategies',
+ 'description' => '查询转发策略',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListForwardStrategies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
- ],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"wmt-9648c22d2eb2cb57bb855dcae7898464********\\"\\n }\\n}","type":"json"}]',
- 'title' => '创建水印提取任务',
- ],
- 'CreateWmEmbedTask' => [
- 'summary' => '创建数字水印嵌入任务。',
- 'methods' => [
- 'post',
- ],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'ListEnterpriseAccelerateLogs',
+ 'description' => '查询企业加速审计日志',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListEnterpriseAccelerateLogs',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateExcessiveDeviceRegistrationApplicationsStatus',
+ 'description' => '批量修改设备超额注册申请状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateExcessiveDeviceRegistrationApplicationsStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'create',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '216120',
- 'abilityTreeNodes' => [
- 'FEATUREcsas3KYQ7V',
+ [
+ 'apiName' => 'ListUsers',
+ 'description' => '批量查询用户',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'WmType',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印类型'."\n"
- .'PureDocument: 常规文档水印'."\n"
- .'PureImage: 常规图片水印'."\n"
- .'PureAudio: 常规音频水印'."\n"
- .'PureVideo: 常规视频水印'."\n"
- .'AigcDocument: AIGC文档水印'."\n"
- .'AigcImage: AIGC图片水印'."\n"
- .'AigcAudio: AIGC音频水印'."\n"
- .'AigcVideo: AIGC视频水印',
- 'description' => '水印类型。取值:'."\n"
- .'- **PureDocument**:文档水印。'."\n"
- .'- **PureImage**:图片水印。'."\n"
- .'- **PureAudio**:音频水印。'."\n"
- .'- **PureVideo**:视频水印。'."\n"
- .'- **AigcDocument**:AIGC文档水印。'."\n"
- .'- **AigcImage**:AIGC图片水印。'."\n"
- .'- **AigcAudio**:AIGC音频水印。'."\n"
- .'- **AigcVideo**:AIGC视频水印。',
- 'type' => 'string',
- 'required' => true,
- 'enumValueTitles' => [
- 'PureImage' => '图片水印',
- 'AigcImage' => 'AIGC图片水印',
- 'AigcAudio' => 'AIGC音频水印',
- 'PureDocument' => '文档水印',
- 'PureAudio' => '音频水印',
- 'PureVideo' => '视频水印',
- 'AigcDocument' => 'AIGC文档水印',
- 'AigcVideo' => 'AIGC视频水印',
- ],
- 'example' => 'PureDocument',
- 'enum' => [
- 'PureDocument',
- 'PureImage',
- 'PureAudio',
- 'PureVideo',
- 'AigcDocument',
- 'AigcImage',
- 'AigcAudio',
- 'AigcVideo',
- ],
+ [
+ 'apiName' => 'ListApplicationsForPrivateAccessTag',
+ 'description' => '批量查询内网访问标签的应用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListApplicationsForPrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'Filename',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '文件名,后端需要根据文件名的后缀判断校验文件类型',
- 'description' => '待嵌入文件的文件名,后端需要根据文件名的后缀判断校验文件类型。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'abc****.pdf',
+ ],
+ [
+ 'apiName' => 'ListUserApplications',
+ 'description' => '查询用户内网应用',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'FileUrl',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '可用于下载文件的 URL'."\n"
- .'控制台调用时传递文件的 oss 路径',
- 'description' => '可用于下载待嵌入文件的URL,需要可以公网访问。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'https://example.com/abc****.pdf',
+ ],
+ [
+ 'apiName' => 'DeleteUserGroup',
+ 'description' => '删除用户组',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteUserGroup',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoSize',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '水印信息的容量位宽,可用值为 32, 40, 64,不传时默认为32。非32时需显式指定。比如嵌入式使用的是 40 位的sdk,那么提取时也需要将该值设为 40。',
- 'description' => '水印信息的容量位宽,默认为32。该参数嵌入和提取时需要保持一致。比如嵌入时使用的是 40 位的SDK,那么提取时也需要将该值设为 40。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '64',
- 'minimum' => '32',
- 'enumValueTitles' => [
- 32 => '32',
- 40 => '40',
- 64 => '64',
- ],
- 'example' => '32',
+ ],
+ [
+ 'apiName' => 'UpdateClientUserPassword',
+ 'description' => '设置自定义身份源指定用户的密码',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateClientUserPassword',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoUint',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '10进制数字格式水印信息。若设置该值,则 WmInfoBytesB64 不能设置。'."\n"
- ."\n"
- .'取值范围取决于 WmInfoSize 参数:'."\n"
- ."\n"
- .'- 当 WmInfoSize 为32时,取值范围为 1~4294967295。'."\n"
- ."\n"
- .'- 当 WmInfoSize 为40时,取值范围为 1~1099511627775。'."\n"
- ."\n"
- .'- 当 WmInfoSize 为64时,取值范围为 1~18446744073709551615。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '123***',
+ ],
+ [
+ 'apiName' => 'ListClientUsers',
+ 'description' => '查询自定义身份用户信息',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListClientUsers',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'WmInfoBytesB64',
- 'in' => 'formData',
- 'schema' => [
- 'title' => 'base64 编码后的字符串格式水印信息 。若设置该值,则 wmInfoUint 不能设置。',
- 'description' => 'Base64 编码后的字符串格式水印信息 。若设置该值,则 WmInfoUint 不能设置。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'aGVsbG8gc2F*****',
- 'maxLength' => 400,
+ ],
+ [
+ 'apiName' => 'GetActiveIdpConfig',
+ 'description' => '查询已启用的身份源配置',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetActiveIdpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VideoIsLong',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '视频水印参数:默认为 false,此时会使用短视频的 SDK,设为true时会使用使用长视频的SDK',
- 'description' => '视频水印参数:是否使用长视频水印SDK,默认为false。取值:'."\n"
- ."\n"
- .'- **true**: 是'."\n"
- .'- **false**: 否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'false',
+ ],
+ [
+ 'apiName' => 'ListNacUserCert',
+ 'description' => '批量查询用户入网证书状态',
+ 'operationType' => 'none',
+ 'ramAction' => [
+ 'action' => 'csas:ListNacUserCert',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VideoBitrate',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '短视频水印参数,含义为视频的比特率(bitrate),短视频时必须设置该参数。',
- 'description' => '短视频水印参数:含义为视频的比特率,默认会自动获取视频的比特率,可以通过该参数强制指定提取时使用的比特率。通常无需设置该参数。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '3000k',
+ ],
+ [
+ 'apiName' => 'GetWmExtractTask',
+ 'description' => '查询水印提取任务详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetWmExtractTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ImageEmbedLevel',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '图像水印参数:取值范围为 [0, 4],默认值为 2。更大的值意味着更高的鲁棒性,但是视觉质量会下降。',
- 'description' => '图像水印参数:更大的值意味着更高的鲁棒性,但是视觉质量会下降。默认值2。取值:0~4。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '2',
+ ],
+ [
+ 'apiName' => 'DeleteIdpDepartment',
+ 'description' => '删除自定义身份源指定部门',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteIdpDepartment',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ImageEmbedJpegQuality',
- 'in' => 'formData',
- 'schema' => [
- 'title' => '图像水印参数:期望的输出图像jpeg压缩质量因子,取值范围 [1, 100],默认值 95',
- 'description' => '图像水印参数:期望的输出图像jpeg压缩质量因子,默认值 95。取值:1~100。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '95',
+ ],
+ [
+ 'apiName' => 'UpdateApprovalStatus',
+ 'description' => '更新审批实例状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateApprovalStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'InvisibleEnable',
- 'in' => 'formData',
- 'allowEmptyValue' => false,
- 'schema' => [
- 'description' => '是否启用嵌入暗水印。默认为true。'."\n"
- .'取值:'."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'default' => 'true',
+ ],
+ [
+ 'apiName' => 'UpdateUninstallApplicationsStatus',
+ 'description' => '批量更新卸载申请状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUninstallApplicationsStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'DocumentControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '文档水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'InvisibleAntiTextCopy' => [
- 'description' => '是否启用零宽字符暗水印。零宽字符暗水印可以抵抗文档增、删、改、另存(格式不变)、部分文本复制粘贴、CopytoTxt攻击。不能抵抗格式转换toPDF攻击。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'true',
- ],
- 'InvisibleAntiAllCopy' => [
- 'description' => '是否启用组件暗水印。组件暗水印可以抵抗文档增、删、改、另存(格式不变)、docx全选复制拷贝到新docx文档,不能抵抗格式转换攻击。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'true',
- ],
- 'BackgroundControl' => [
- 'description' => '背景水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'BgAddVisible' => [
- 'description' => '是否启用背景明水印。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'BgVisibleControl' => [
- 'description' => '背景明水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'VisibleText' => [
- 'description' => '背景明水印文案。格式为utf8字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'hello ****',
- 'maxLength' => 1000,
- ],
- 'Mode' => [
- 'title' => '',
- 'description' => '背景明水印模式。取值:'."\n"
- ."\n"
- .'- **pos**:在背景的特定位置嵌入一处明水印文案。'."\n"
- .'- **repeat**:在文档背景中平铺嵌入多处明水印文案。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'pos',
- 'enum' => [
- 'repeat',
- 'pos',
- ],
- ],
- 'FontSize' => [
- 'description' => '明水印文字字号。取值越大,字体越大。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '200',
- 'example' => '30',
- ],
- 'FontColor' => [
- 'description' => '明水印文字颜色。格式为 0xFFFFFF RGB颜色格式。如 0x000000 表示黑色。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0x000000',
- 'pattern' => '^0[xX][0-9a-fA-F]{6}$',
- ],
- 'Angle' => [
- 'description' => '明水印文字逆时针旋转角度。取值范围1~360。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '360',
- 'minimum' => '0',
- 'example' => '30',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左下角为原点。数值在0~1之间时,为比例控制。数值大于1时,为精确的像素位置控制。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- 'pattern' => '^[\\d.]+$',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左下角为原点。数值在0~1之间时,为比例控制,数值大于1时,为精确的像素位置控制。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '0.5',
- 'pattern' => '^[\\d.]+$',
- ],
- 'HorizontalNumber' => [
- 'description' => 'Mode为repeat时生效。表示明水印在水平方向上重复出现的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '200',
- 'example' => '3',
- ],
- 'VerticalNumber' => [
- 'description' => 'Mode为repeat时生效。表示明水印在垂直方向上重复出现的次数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '200',
- 'example' => '3',
- ],
- 'Opacity' => [
- 'description' => '明水印透明度参数。取值范围1~255。取值越大,越不透明。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '255',
- 'minimum' => '1',
- 'example' => '100',
- ],
- ],
- 'required' => false,
- ],
- 'BgAddInvisible' => [
- 'description' => '是否添加背景暗水印。取值:'."\n"
- ."\n"
- .'- **true**:是'."\n"
- .'- **false**:否',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => '是',
- 'false' => '否',
- ],
- 'example' => 'true',
- ],
- 'BgInvisibleControl' => [
- 'description' => '背景暗水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'Opacity' => [
- 'description' => '背景暗水印透明度参数。取值范围1~13。取值越大,越不透明。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '255',
- 'minimum' => '1',
- 'example' => '10',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'DeleteUserDevices',
+ 'description' => '批量删除用户终端设备',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'CsvControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => 'Csv嵌入水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'Method' => [
- 'description' => '水印嵌入方式。'."\n"
- .'取值:'."\n"
- ."\n"
- .'- **lossless_row_shift_embed**:数据无损方法'."\n"
- .'- **lossy_number_embed**:数据有损方法'."\n"
- .'- **lossy_time_stamp_embed**:时间戳方法'."\n"
- .'- **lossy_zero_width_embed**:零宽字符方法',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'lossy_zero_width_embed',
- 'enum' => [
- 'lossless_row_shift_embed',
- 'lossy_number_embed',
- 'lossy_time_stamp_embed',
- 'lossy_zero_width_embed',
- ],
- ],
- 'EmbedColumn' => [
- 'description' => '指定嵌入列,建议为string内容列,计数从1开始。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '1',
- ],
- 'EmbedPrecision' => [
- 'description' => '修改精度,表示修改的幅度,为10的n次方,比如0表示修改精度为10^0,即个位部分,-1表示小数点后一位,1表示十位部分,若float数据无此精度的部分,则不修改。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '-1',
- ],
- 'EmbedTimePosition' => [
- 'title' => '时间戳水印参数。水印嵌入位置。可以为Min(分)、Sec(秒)、MilSec(毫秒),三者选一个填入,选择哪个,则算法修改哪个位置的数据。',
- 'description' => '时间戳水印参数。水印嵌入位置。可以为Min(分)、Sec(秒)、MilSec(毫秒),三者选一个填入,选择哪个,则算法修改哪个位置的数据。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Sec',
- 'enum' => [
- 'Min',
- 'Sec',
- 'MilSec',
- ],
- ],
- 'TimeFormat' => [
- 'title' => '时间戳水印参数。解析csv文件中时间戳的格式字符串。若csv文件中的时间戳类似“2023-10-15 13:20:59:342”,则对应的格式字符串为“Year-Mon-Day Hour:Min:Sec.MilSec”,则这里要填“Year-Mon-Day Hour:Min:Sec.MilSec”,水印嵌入后依然按照此格式输出,一旦填错则该方法无法使用。格式字符串中的年、月、日、时、分、秒、毫秒必须按照上述写法填写,连接符为英文非字符的单连接符,一般可以是“:”“/”“-”“ ”(空格),额外支持“T”“Z”为连接符。其他形式的时间格式目前不支持解析。 ',
- 'description' => '时间戳水印参数。解析csv文件中时间戳的格式字符串。若csv文件中的时间戳类似“2023-10-15 13:20:59:342”,则对应的格式字符串为“Year-Mon-Day Hour:Min:Sec.MilSec”,则这里要填“Year-Mon-Day Hour:Min:Sec.MilSec”,水印嵌入后依然按照此格式输出,一旦填错则该方法无法使用。格式字符串中的年、月、日、时、分、秒、毫秒必须按照上述写法填写,连接符为英文非字符的单连接符,一般可以是“:”“/”“-”“ ”(空格),额外支持“T”“Z”为连接符。其他形式的时间格式目前不支持解析。 ',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'Hour:Min:Sec',
- ],
- 'EmbedBitsNumberInEachTime' => [
- 'title' => '时间戳水印信息位宽。指定单个时间戳容纳多少信息,这个数越大,提取信息需要的行数理论上越少,但是修改的时间幅度变大,幅度范围是2的n次方,n为此参数值。',
- 'description' => '时间戳水印信息位宽。指定单个时间戳容纳多少信息,这个数越大,提取信息需要的行数理论上越少,但是修改的时间幅度变大,幅度范围是2的n次方,n为此参数值。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'maximum' => '4',
- 'minimum' => '1',
- 'example' => '2',
- ],
- 'EmbedDensity' => [
- 'title' => '零宽字符水印参数。嵌入密度,取值在0~1之间的浮点数,0为仅嵌入第一行内容,1为所有行均嵌入。',
- 'description' => '零宽字符水印参数。嵌入密度,取值在0~1之间的浮点数,0为仅嵌入第一行内容,1为所有行均嵌入。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1',
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ListUninstallApplications',
+ 'description' => '批量查询卸载申请列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUninstallApplications',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ImageControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '图片水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'TextVisibleControl' => [
- 'description' => '图片文本水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'VisibleText' => [
- 'description' => '文本水印文案。格式为utf8字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '水印文本',
- ],
- 'Mode' => [
- 'description' => '文本水印显示模式。取值:'."\n"
- .'- **pos**:固定位置模式。'."\n"
- .'- **repeat**:平铺模式。'."\n"
- .'- **top-left**:左上模式。'."\n"
- .'- **top-right**:右上模式。'."\n"
- .'- **bottom-left**:左下模式。'."\n"
- .'- **bottom-right**:右下模式。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'top-right' => 'top-right',
- 'pos' => 'pos',
- 'bottom-right' => 'bottom-right',
- 'bottom-left' => 'bottom-left',
- 'repeat' => 'repeat',
- 'top-left' => 'top-left',
- ],
- 'example' => 'pos',
- ],
- 'Opacity' => [
- 'description' => '文本水印透明度。取值:1~255。取值越大,越不透明。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '255',
- ],
- 'FontSize' => [
- 'description' => '文本水印文字字号。取值越大,字体越大。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'FontColor' => [
- 'description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。如 0x000000或#000000 表示黑色。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '#FF0000',
- ],
- 'Angle' => [
- 'description' => '文本水印文字顺针旋转角度。取值范围0~360。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制文本水印水平位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制文本水印垂直位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'SpaceX' => [
- 'description' => 'Mode为repeat时生效。控制文本水印平铺水平间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'SpaceY' => [
- 'description' => 'Mode为repeat时生效。控制文本水印平铺垂直间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAx' => [
- 'description' => '文本水印水平方向锚点。'."\n"
- .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAy' => [
- 'description' => '文本水印垂直方向锚点。'."\n"
- .'取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Visible' => [
- 'description' => '可见性:'."\n"
- ."\n"
- .'true : 显示'."\n"
- ."\n"
- .'false: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'Margin' => [
- 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
- 'type' => 'object',
- 'properties' => [
- 'Top' => [
- 'description' => 'Mode为top-left、top-right时生效。上边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Right' => [
- 'description' => 'Mode为top-right、bottom-right时生效。右边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Bottom' => [
- 'description' => 'Mode为bottom-left、bottom-right时生效。下边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Left' => [
- 'description' => 'Mode为top-left、bottom-left时生效。左边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'LogoVisibleControl' => [
- 'description' => 'Logo水印控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'Enhance' => [
- 'description' => '是否开启增强明水印。开启后会对logo进行处理,处理后可以对嵌入logo嵌入信息进行提取。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'false',
- ],
- 'LogoBase64' => [
- 'description' => 'Base64格式logo水印。Logo文件为PNG图片转成Base64格式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'iVBORw0KGgoAAAANSUhEUgAAAMgAAADICAYAAACtWK6eAAAAAXNSR0IArs4c6QAAFLRJREFUeF7tnXmYZFV5h9+vehwHE5FFQBZFDGDCoiiKYYIJqBBF4DEakARJGCQwfYtRRicsQiQkgWBEQGb6VjOyJKgxRpIYASWiPmZhcdgkGXABVDBq3FgSGGdguk/uObV0dXdV3Vunq073mfud55k/puus73d/92zfOVfQoASUQFcComyUgBLoTkAFok+HEuhBQAWij4cSUIHoM6AE/AhoD+LHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhIAKpCSG1mb6EVCB+HHTVCUhoAIpiaG1mX4EVCB+3DRVSQioQEpiaG2mHwEViB83TVUSAiqQkhham+lHQAXix01TlYSACqQkhtZm+hFQgfhx01QlIaACKYmhtZl+BFQgftw0VUkIqEBKYmhtph8BFYgfN01VEgIqkJIYWpvpR0AF4sdNU5WEgAqkJIbWZvoRUIH4cdNUJSGgAimJobWZfgRUIH7cNFVJCKhASmJobaYfARWIHzdNVRICKpCSGFqb6UdABeLHTVOVhMC8C8QkvAj4PeCtGF6KsCuwZED8j5GUG/LyMlUOx/DFvHh9/P494BGEmxA+KWv4YR9pNeoCIjBvAjEJe2Yc/hQ4HhgZAhMDbC0pT+XlbU5iCc/jaaCSF9fjd1uPf2CC8+VKHvBIr0nmkcC8CMSMsizrKT42JGE0cd4rKa8uytYk3AG8rmh8j3iTwHJJXbs1REIguEBMwp8BfxKAz2WS8r6i5ZgqF2M4q2h873iGi6TGud7pNWFQAkEF0ug5rgnUwkLzj2Zdsh7kzVkP8oVAdTtFUq7upyxT5XgMy7umqbCKSY7qJ08bV1I3zHXBJFwKxXvd3LI2c6SsZcPMeCbhFuA5uek7RTA8KjX+wCutR6JgAjGnsQ8j3O9RR78kI7xAVvO/RRObhF8G/q9o/AHE20dSvlE0H1PljzH8Vdf4m9ieJSzF5C9KtPIQjpYxbmwJpMqXMbyhaJ1y421ka7lmOlOT8FpgXW7aXhEWs61czhNzyqNg4nACSfgccHTBes012mcl5Xf6zcQkfAb43X7Tecb/Z0l5W9G0bQL5PtDshW2PcSDwDUnZx5zBzjzDaTl5nt/4/QIWc6Vczo86COTerCex9uoU7LD1+eBYzV50MOyIMOoSdhLIKAcic3wOhGtljEeKsptLvCACMcvZjwr/NZeK9khrDfw14HaEO1jMnXIZv/Atq7Gi9RqEgzH8Orh/u/jm1zPdJPvLOOuL5N0mkNsk5TdsGpNwK7AU+JiknFoonwS7qgaTHCbjfLU9jZnqQa6WlFM65WcSfuB4GI6TmhPJtDDN1h0EUqSOCylOGIFUOQ/Dnw+o4bdhXBd9GxXWhXiTmIQXU+GgbK9kKZO8Dqk/oHMOhvOl5hYtcsNMgTSEXH8RGE6SGn9jTmVnFvPyTpnJmroYjAokl3V7hDACmXrT9VU54HsY7qDC7baXkDHXUyyI0BhLW7E0e5qX9V0xcQIvtLRsEs4EPmR7SklZakZ5PcK/uTIn2Fuu5EEzyqkIV3asxyQ7yTg/6SmQhK8AhwGuBzGjHIuw74z83g9uvnY9zJpTXsIkL22NFvqcB/bNL0CCUAKx4+bdCrbH7kL/BSN8Tlbz04Jp5j2aqbI9xo2t7RJ2UbE8Jakbz+eGWT3IKGchXAz8VFJ2bPQOf5QNf9aCWzm6E2ErDAe5zEfY0fLspwcxCd8C9s6tXDNChTezmR+0BKJDrGLoWkbJj/51nsvSucwh8osYfoy+Nh0bb/a8WnUQyA2IW9ZtLUhk84O6QIQHZIx9zWnsxQjf9hEIG1nJko4rYr/l8hMewMx6gV3DJPeoQPKsOeP3wgIxnCA1/rbP7BdcdJO4lbBZE9iOFa3wMlnDd/MaMUsgCY8B2wKrsl7oI9N6kAEIxHuSfjr7M8l/uvZoD5Jn1vrvhQVS4RWyZmirXcUqO4BYZpSXI3yzUFaT7CHj2GFlz2ASVgEfxnArFU7IJubNNJ+UlHc5zlVOwThXlvslZb+Gv9uDLuPN7CBr+VnOHORLwBubc5BOFTIJ/52tmlmH0mOzMuw8ZFowo7wN4Z9cJ5MybQhvqqzJep1qXlsL/S6slDEuLxR3DpFCzUHqS4t5YUsRSPvQJr/Nfj1IlQswfLD+BuJXpca3BjjE8t0H2TrzYl4GbGNXGZvL0U0Epsr9GPbJQ1Lw9772kQrmOSuaCsSXXI9008b+efl7DrGcLhJ+AuyA4cNS48wBCiSv1vm/Gw6VGv/aHtGczqGt/9slc8OFjf+/hQob8zNti7GZDTI+xx35AgUuLIH0sXFWoG3zFmXa0CavFh5DLKlxiBPI1JBlvaTsP+chVpWPZK4qdme+W7DPy282frS9zExXnmcyT4T1CFfLWG+3opbTquE+qXFAHqb5+n1hCUSHWF2fgy476acDq60PmaRsPdcepMhD2JrDGA6Wmjsi4BVMwm3AwcAVkvJer0wCJFpYAtEepLtA2ibpbT3IiRius4nshHiuPUiR522AAqnPS7u4rMysi0mwCwiLmGSljGN7ryBBBTIEzMGGWKNciPAB4IfZQaxdZwlkOW+gwpcbD+J2UuPxXqtY7nmtOxO6ZeMOoX2IZd317YrW7GC4uVfvYqrO+8D2IHZ1bRdZO+Uw2c0cJnGisEOxsyTt4dU8YHsuLIHoEKt7DzLl7j7lrFjlEQwvabmGNDcKmzvpOL8se+b/cUnZzgmghy9W43frCVDIP6zHs3iNpLy7x8N+NvCX1pVIUvYo8kybhDEgyZxHb5aUtxRJM4g4C0sgAxpimeUcSqWru3Z3boZVUnOuGnMKw+5B3LEB4ePuoot62CvbC3morQeZWf8zJOWjZgVbM8GT7scO3rxOIFWO67EUa5dv6/OFzjvpzXK/K6lb7u0YTOIOptkDap+QlBOLwDaj/L69ACPbGC3snlMk37w4W7JA7NCjv2C4PhKBrEKcA6cN50jqfLLsw/1qDMe0NfpJhC82V5RMwtvdBRI2bGZ3Wcuj/QAyy50jYnPXv+NGYZH8TMLjjb2SauZHlhZKs5xdqTSGdAN6kRYpd4sUSJGGDzNOgB7ECuQfgZWS8umibWnbBXcewUXTNeMNQiAm4ddaB62EA2WMe4rWwyT8D7AThtMG8SIrUu7CEojOQbrarNMybxEDN1w/7BVLdmhU96judtipyr4Yju2Rr/X9ek/j984nCqcS272Z2a4oU/MkW4+LEJ4t0g4XR1jWmHN9WlJ3XdTQw8ISiOGVUms4ug296cMrwFTZG+NcxfOD4VeySwi+kxdx5nmQvPitt/7U5Lb5pxWSsqZTepM4V/25TtCbWX9b0tmHt0zCVdB9Al+oXYarpOY8l4ceFpZAtAfp1YPUbzUR1ssYdoOwUHALFuIeJrvDfXc2tOp6g6RJ3A0nU+4ghUroGemomRf3mVGsC6OvP9YmhH9nKy6TS9xFf0MPC0sgW0oP0o837wh7ymoeHrqltQAvAioQL2y9E/Xl7q4CGYIFBpelCmRwLFs5qUCGAHWeslxoAnmN1Lh7nlgMrFjTfqouL9eC7u552ZiTeb47Imt4v2VoEm5EGG+/GC4vD/19NoGFJpBRqTEeu6GyjTC7pFrstNugBDLKtgiPZScOD8+cGb+kAhnMUxRKIPbcQP7tHcKjTPBaez3NYJoXPhdzOru4iwvshlaR0LhtpEjUXnHMu9mO5/LzpkDmmp+mrxMIJRB7RaXdQS0SrAPe+Ri+EJNQ3LU/kxyDuH2EolcczTq33VMEo7wVcb2Tve3Rnkm/lY2cae+/NWewDc/w+LQexFBjhIeZZJwKy2XN1Dl5M8rN1smRCr9w9/luYCv56/qpPpNwNoZTpMaepu7iYX2gLgB359ZemdOgfYGd2G3J2KxgByZcXHv968+A/6DChbKGu1z+VS7CuOtJrW+Xbcd5kroymufqz8hcZu5BWn5an8heOLXGRRj2lstvMsLxspr7ijxQc4kTRiCjXI/wDo+K2i8z3Y3hLoR1bGKdXO1u85j34C6Os1eT2ovj6t8VKXoXVnvdH8oeDPvA5Ya2y7XPYYSrWcRTbOKzCPfKGGd3EMgTCKtkjKtMwqPUN9fcJqBJ3OVwX2GSPRhhv54CqX/o6MHG8O09CE9iWJGdOT+i260lGZubsoNc22fCeJPdB8kWLT6FcEh2o/2LTeL2cC52d3rZ20/EiegkDG7+2XK4NNxHhSsyh8Y9MZwDbt/j2uwuYvvFsPMaTotH5oKbY4RQArEfzBnMZw/sMMy+Xez1oxXu4lnWydqGh+ocYXRLPrSrR4XVMtZy3ehZe/NeduJZRmd8rsBu7B1gL8HuKZD6t09+W1Je1RDIGPU9p0NMlaMKCuRcGeMil765CDHCATPf4q27eQ1HSq3+OQnHDz7uXpL2wRcuab+RxM2X4Onstvt3tgTSNjczifM0sK4rzhHTjPKHiDuJ+IIhmbyVbRiB1G8dtIdrBvXtwZlcLEA77r+z+a/Ip9c6we1webXtIXYeiiEqHNa8M7dI/qbK7kxiLziwb/0X2je0Hb4UEIj1sVpP46EziTugZA8eXddRIFU+wCQnuyHWVA/Sciw0K9iNCb5Ph2O3rWt/NrH9zN7erGQrNrGBGd64pn5L5AmS8oqGQOzD/7wmkyzPrwM3NT881PhWyqdmXitUhGG/cYIIpDG2tONO21UOPxgetsbttyCT8Pf2vqd+03nGtw/264umzeYMdjhn5w0XuUu71/BVk7gLqZ/IE0jjrWsfsuvcUBVuYSM7urlL5x7kUus2P00g8KqsHJsHOQJ5lzurspltZvbsZjk7UuHHTaG2CeB9CCe7u7zqd3tdIqmbn7jgBCLcKKkbWtl5inW72cIEUj+sYz+gU3gCW/Th6Rhvkt1k3F3VXyjMwwd0DpLU9XiFgqnfg7Vz+2cOGoJeXEggCfbSaTsPtALZRVKOcw9bwhHZ5Qn/gvBCGePnjb/djmEHT4HYI7t3tfcuzk1euJZNHMMSfoRhWfunE0x9jrrItaOsAmm8eV7JhDuL3Oo+Cz0dPpEMJ2YGtqsfhULQT7B53ApoqoxiOJMKy5jgMcRNdu0Ni/dieCdLeHrGKlZrku7Y15ef7QvDXghuPyZqz5NM/V24FOEGJjjcfQDH8FhRgZiEc7M55ktkrP7xHlPla9lowToW1j+kA1cwyYZsEn60Sdz+kB0mnswzrGeRE6q9T/gIGeOWUgukAc9+k9wax16hP8zQ9SMwnQoN+BFPd8mbT8Oz8+T261BWGHb+cQvilmPt2W672mdXlm6ctpNuqEnNrSi5YBLnybu/pNPnVI1exJ7AtBdTr8dwKRXeJGOc0LbMa7+r+FDjRWeXcT/DBIn9tPUsgdjvlCxyy7L2GlNrZ9tTviM7p25v+bcCsr2hvUq1/qIUphYA6kvZdjGi9b3Fhou8PeTlvuto6pdRfFDSgXoedzRJsDlIe+mNlY7PZ+vwdnVjOKHPeUhfN7L71dhOjE/q5W7ul23xVCZxw6vPt6+EFU892Jhuwr6RgxC+0xTOYEsYTG7zIhD3FljFL2VfsbDLlPZNMpxQcB4y9PmH3bCb4JxhL0d3g2jqJwX3A/6O5/Ai+Sg/Hg7wLS/XeRNIq9u3PkT17+zZyd3uje8BbjUQ1PVPnE27H7ZTvgOef9gNrfon4uy3Ezdx63xvbprEXdTwdgyXS42VA2FbkkzmXSAl4azNjJSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ0AFEoazlhIpARVIpIbTaochoAIJw1lLiZSACiRSw2m1wxBQgYThrKVESkAFEqnhtNphCKhAwnDWUiIloAKJ1HBa7TAEVCBhOGspkRJQgURqOK12GAIqkDCctZRICahAIjWcVjsMARVIGM5aSqQEVCCRGk6rHYaACiQMZy0lUgIqkEgNp9UOQ+D/AdF26yPzUbcJAAAAAElFTkSuQmCC',
- ],
- 'Mode' => [
- 'description' => 'Logo水印显示模式。取值:'."\n"
- .'- **pos**:固定位置模式。'."\n"
- .'- **repeat**:平铺模式。'."\n"
- .'- **top-left**:左上模式。'."\n"
- .'- **top-right**:右上模式。'."\n"
- .'- **bottom-left**:左下模式。'."\n"
- .'- **bottom-right**:右下模式。',
- 'type' => 'string',
- 'required' => false,
- 'enumValueTitles' => [
- 'top-right' => 'top-right',
- 'pos' => 'pos',
- 'bottom-right' => 'bottom-right',
- 'bottom-left' => 'bottom-left',
- 'repeat' => 'repeat',
- 'top-left' => 'top-left',
- ],
- 'example' => 'pos',
- ],
- 'Opacity' => [
- 'description' => 'Logo水印透明度。取值:1~255。取值越大,透明度越低。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '255',
- ],
- 'Angle' => [
- 'description' => 'Logo水印文字顺针旋转角度。取值范围1~360',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '0',
- ],
- 'SpaceX' => [
- 'description' => 'Mode为repeat时生效。控制明水印平铺水平间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'SpaceY' => [
- 'description' => 'Mode为repeat时生效。控制明水印平铺垂直间距的参数。',
- 'type' => 'integer',
- 'format' => 'int64',
- 'required' => false,
- 'example' => '30',
- ],
- 'PosAx' => [
- 'description' => 'Logo水印水平方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'PosAy' => [
- 'description' => 'Logo水印垂直方向锚点。 取值范围0~1。(PosAx,PosAy)取值为(0,0)时,以文本左上角为锚点绘制;取值为0.5,以文本中心点位置绘制;取值为(1,1)时,以文本右下角为位置绘制。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Visible' => [
- 'description' => '可见性:'."\n"
- ."\n"
- .'**true** : 显示'."\n"
- ."\n"
- .'**false**: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- 'Margin' => [
- 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
- 'type' => 'object',
- 'properties' => [
- 'Top' => [
- 'description' => 'Mode为top-left、top-right时生效。上边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Right' => [
- 'description' => 'Mode为top-right、bottom-right时生效。右边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Bottom' => [
- 'description' => 'Mode为bottom-left、bottom-right时生效。下边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- 'Left' => [
- 'description' => 'Mode为top-left、bottom-left时生效。左边距。',
- 'type' => 'number',
- 'format' => 'float',
- 'required' => false,
- 'example' => '0',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'MetadataControl' => [
- 'description' => '元信息控制参数。WmType为PureImage或AigcImage时生效。',
- 'type' => 'object',
- 'properties' => [
- 'XmpKvBase64' => [
- 'description' => '元信息Base64格式。需要将格式为AIGC:{"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC:"前缀需要加上,否则无法进行添加,另外需要注意与音视频的格式不同。2.Base64为标准格式需要,需要有补位。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'QUlHQzp7IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0=',
- ],
- 'Enable' => [
- 'description' => '是否启用。'."\n"
- ."\n"
- .'true : 显示'."\n"
- ."\n"
- .'false: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'enumValueTitles' => [
- 'true' => 'true',
- 'false' => 'false',
- ],
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ListTagsForPrivateAccessApplication',
+ 'description' => '批量查询内网访问应用的标签',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListTagsForPrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'VideoControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '视频控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'TextVisibleControl' => [
- 'description' => '视频文本水印控制参数',
- 'type' => 'object',
- 'properties' => [
- 'VisibleText' => [
- 'description' => '文本水印文案。格式为utf8字符串。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '水印测试',
- ],
- 'Mode' => [
- 'description' => '文本水印显示模式。取值:'."\n"
- .'- **pos**:固定位置,左上角为原点。'."\n"
- .'- **bottom-right**:左下模式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'bottom-right',
- 'enum' => [
- 'pos',
- 'bottom-right',
- ],
- ],
- 'Opacity' => [
- 'description' => '文本水印透明度。取值:1~255。取值越大,越不透明。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '255',
- ],
- 'FontSize' => [
- 'description' => '字体大小,取值范围:**0**~**72**。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '30',
- ],
- 'FontColor' => [
- 'description' => '文本水印文字颜色。格式为 0xFFFFFF或#FFFFFF RGB颜色格式。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '#FF0000',
- ],
- 'PosX' => [
- 'description' => 'Mode为pos时生效。控制明水印水平位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'PosY' => [
- 'description' => 'Mode为pos时生效。控制明水印垂直位置的参数,以左上角为原点的像素位置控制。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'Visible' => [
- 'description' => '可见性:'."\n"
- ."\n"
- .'true : 显示'."\n"
- ."\n"
- .'false: 不显示',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'True',
- ],
- 'Margin' => [
- 'description' => 'Mode为top-left、top-right、bottom-left、bottom-right时生效。边距。',
- 'type' => 'object',
- 'properties' => [
- 'Bottom' => [
- 'description' => 'Mode为bottom-left、bottom-right时生效。下边距。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- 'Right' => [
- 'description' => 'Mode为top-right、bottom-right时生效。右边距。',
- 'type' => 'integer',
- 'format' => 'int32',
- 'required' => false,
- 'example' => '10',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
- ],
- 'MetadataControl' => [
- 'description' => '元信息控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'XmpKvBase64' => [
- 'description' => '元信息Base64格式。需要将格式为AIGC={"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC="前缀需要加上,否则无法进行添加,另外需要注意与图片元信息前缀不同。2.Base64为标准格式需要,需要有补位。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'QUlHQz17IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0=',
- ],
- 'Enable' => [
- 'description' => '是否开启。'."\n"
- .'- **false**:未开启。'."\n"
- ."\n"
- .'- **true**:已开启。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'ListPrivateAccessPolices',
+ 'description' => '批量查询内网访问策略',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessPolices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'AudioControl',
- 'in' => 'formData',
- 'style' => 'json',
- 'schema' => [
- 'description' => '音频控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'MetadataControl' => [
- 'description' => '音频元信息控制参数。',
- 'type' => 'object',
- 'properties' => [
- 'XmpKvBase64' => [
- 'description' => '元信息Base64格式。需要将格式为AIGC={"Label":"1","ContentProducer":"AXXXX","ProduceID":"BXXXX,"ReservedCode1":"CXXX","ContentPropagator":"DXXX","PropagateID":"EXXX","ReservedCode2":"FXXXX"}。的字符串编码为Base64格式字符串。 注意:1. "AIGC="前缀需要加上,否则无法进行添加,另外需要注意与图片元信息前缀不同。2.Base64为标准格式需要,需要有补位。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'QUlHQz17IkxhYmVsIjoiMSIsIkNvbnRlbnRQcm9kdWNlciI6IkFYWFhYIiwiUHJvZHVjZUlEIjoiQlhYWFgsIlJlc2VydmVkQ29kZTEiOiJDWFhYIiwiQ29udGVudFByb3BhZ2F0b3IiOiJEWFhYIiwiUHJvcGFnYXRlSUQiOiJFWFhYIiwiUmVzZXJ2ZWRDb2RlMiI6IkZYWFhYIn0=',
- ],
- 'Enable' => [
- 'description' => '是否开启。'."\n"
- .'- **false**:未开启。'."\n"
- ."\n"
- .'- **true**:已开启。',
- 'type' => 'boolean',
- 'required' => false,
- 'example' => 'true',
- ],
- ],
- 'required' => false,
- ],
- ],
- 'required' => false,
+ ],
+ [
+ 'apiName' => 'CreateDynamicRoute',
+ 'description' => '创建动态路由',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => 'BE4FB974-11BC-5453-9BE1-1606A73EACA6',
- ],
- 'Data' => [
- 'description' => '任务信息。',
- 'type' => 'object',
- 'properties' => [
- 'TaskId' => [
- 'title' => '嵌入任务ID',
- 'description' => '任务ID,用于后续查询任务执行结果。',
- 'type' => 'string',
- 'example' => 'job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****',
- ],
- ],
- ],
- ],
+ [
+ 'apiName' => 'ListUserDevices',
+ 'description' => '批量查询用户终端设备',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserDevices',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'DetachApplication2Connector',
+ 'description' => '卸载Connector的应用',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:DetachApplication2Connector',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BE4FB974-11BC-5453-9BE1-1606A73EACA6\\",\\n \\"Data\\": {\\n \\"TaskId\\": \\"job:5GfrJYsoaffmCE7Z5bZtjUefzxfd****\\"\\n }\\n}","type":"json"}]',
- 'title' => '创建水印嵌入任务',
- 'description' => '默认最多可创建500个用户组。',
- ],
- 'RevokeUserSession' => [
- 'summary' => '吊销用户登录会话。',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'LookupWmInfoMapping',
+ 'description' => '查询水印信息映射关系',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:LookupWmInfoMapping',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'http',
- 'https',
+ [
+ 'apiName' => 'CreateClientUser',
+ 'description' => '创建自定义身份源用户',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'DeleteClientUser',
+ 'description' => '删除自定义身份源指定用户',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteClientUser',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'readAndWrite',
- 'deprecated' => true,
- 'systemTags' => [
- 'operationType' => 'none',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeCode' => '224559',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ [
+ 'apiName' => 'GetIdpConfig',
+ 'description' => '查询身份源配置详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetIdpConfig',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'IdpId',
- 'in' => 'query',
- 'schema' => [
- 'description' => '用户所属身份源配置ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => 'idp-cfg9vcrqylo39c39uxnw',
+ [
+ 'apiName' => 'ListApprovalProcessesForApprovalSchemas',
+ 'description' => '查询审批模板关联的流程',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalProcessesForApprovalSchemas',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'ExternalIds',
- 'in' => 'query',
- 'schema' => [
- 'description' => '外部身份源用户唯一ID。',
- 'type' => 'string',
- 'required' => true,
- 'example' => '12345678',
+ ],
+ [
+ 'apiName' => 'DeletePrivateAccessTag',
+ 'description' => '删除内网访问标签',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessTag',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => 'D6707286-A50E-57B1-B2CF-EFAC59E850D8',
- ],
- ],
+ [
+ 'apiName' => 'ListDynamicRouteRegions',
+ 'description' => '批量查询动态路由已授权地域',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListDynamicRouteRegions',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'noSubstitutionReason' => '暂无替代API,请关注后续API最新发布。',
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ListApprovalSchemasForApprovalProcesses',
+ 'description' => '查询审批流程关联的模板',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovalSchemasForApprovalProcesses',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D6707286-A50E-57B1-B2CF-EFAC59E850D8\\"\\n}","type":"json"}]',
- 'title' => '吊销用户登录会话',
- ],
- 'ListPopTrafficStatistics' => [
- 'summary' => '查询SASE的POP节点带宽。',
- 'methods' => [
- 'get',
+ [
+ 'apiName' => 'ListPrivateAccessTags',
+ 'description' => '批量查询内网访问标签',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessTags',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'UpdateRegistrationPolicy',
+ 'description' => '修改设备注册策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'UpdateUserDevicesSharingStatus',
+ 'description' => '批量修改用户终端设备共享状态',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:UpdateUserDevicesSharingStatus',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'read',
- 'systemTags' => [
- 'operationType' => 'get',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ [
+ 'apiName' => 'DeleteRegistrationPolicies',
+ 'description' => '批量删除设备注册策略',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeleteRegistrationPolicies',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'parameters' => [
- [
- 'name' => 'Region',
- 'in' => 'query',
- 'schema' => [
- 'description' => '地域ID。',
- 'type' => 'string',
- 'required' => false,
- 'example' => 'cn-hangzhou',
+ [
+ 'apiName' => 'RevokeUserDeviceSession',
+ 'description' => '吊销用户设备会话',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:RevokeUserDeviceSession',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'StartTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '数据的起始时间。以秒为单位的UNIX时间戳。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1681035708',
+ ],
+ [
+ 'apiName' => 'ListUserGroupsForPrivateAccessPolicy',
+ 'description' => '批量查询内网访问策略的用户组',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListUserGroupsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
- [
- 'name' => 'EndTime',
- 'in' => 'query',
- 'schema' => [
- 'description' => '结束时间。以秒为单位的UNIX时间戳。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '1681293719',
+ ],
+ [
+ 'apiName' => 'DeletePrivateAccessApplication',
+ 'description' => '删除内网访问应用',
+ 'operationType' => 'delete',
+ 'ramAction' => [
+ 'action' => 'csas:DeletePrivateAccessApplication',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', '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' => 'EFE7EBB2-449D-5BBB-B381-CA7839BC1649',
- ],
- 'TrafficData' => [
- 'description' => 'POP点带宽数据列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => '流入/流出带宽数据列表。',
- 'type' => 'object',
- 'properties' => [
- 'MetricName' => [
- 'description' => '统计指标名称。分为流入、流出两种。',
- 'type' => 'string',
- 'enumValueTitles' => [
- 'InternetTx' => 'InternetTx',
- 'InternetRx' => 'InternetRx',
- ],
- 'example' => 'InternetTx',
- ],
- 'Datapoints' => [
- 'description' => 'POP点带宽数据点列表。',
- 'type' => 'array',
- 'items' => [
- 'description' => 'POP点带宽数据点。',
- 'type' => 'object',
- 'properties' => [
- 'DateTime' => [
- 'description' => '该数据点对应时间。',
- 'type' => 'string',
- 'example' => '2023-12-06 15:29:00',
- ],
- 'Average' => [
- 'description' => '以分钟为单位的平均带宽值。单位为Byte/s。',
- 'type' => 'number',
- 'format' => 'double',
- 'example' => '15325',
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- ],
- 'enumValueTitles' => [],
+ [
+ 'apiName' => 'ListApplicationsForPrivateAccessPolicy',
+ 'description' => '批量查询内网访问策略的应用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListApplicationsForPrivateAccessPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'GetUserDevice',
+ 'description' => '查询用户终端设备详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetUserDevice',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"EFE7EBB2-449D-5BBB-B381-CA7839BC1649\\",\\n \\"TrafficData\\": [\\n {\\n \\"MetricName\\": \\"InternetTx\\",\\n \\"Datapoints\\": [\\n {\\n \\"DateTime\\": \\"2023-12-06 15:29:00\\",\\n \\"Average\\": 15325\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]',
- 'title' => '查询POP点带宽统计',
- ],
- 'DeleteOtpConfig' => [
- 'summary' => '删除员工OTP配置。',
- 'path' => '',
- 'methods' => [
- 'post',
+ [
+ 'apiName' => 'EnableEnterpriseAcceleratePolicy',
+ 'description' => '启用企业加速策略',
+ 'operationType' => 'update',
+ 'ramAction' => [
+ 'action' => 'csas:EnableEnterpriseAcceleratePolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'schemes' => [
- 'https',
+ [
+ 'apiName' => 'GetWmEmbedTask',
+ 'description' => '查询水印嵌入任务详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetWmEmbedTask',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'security' => [
- [
- 'AK' => [],
+ [
+ 'apiName' => 'ListApprovals',
+ 'description' => '批量查询审批实例列表',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListApprovals',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
],
- 'operationType' => 'write',
- 'deprecated' => false,
- 'systemTags' => [
- 'operationType' => 'delete',
- 'riskType' => 'none',
- 'chargeType' => 'free',
- 'abilityTreeNodes' => [
- 'FEATUREcsas62O8LY',
+ [
+ 'apiName' => 'GetRegistrationPolicy',
+ 'description' => '查询设备注册策略详情',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:GetRegistrationPolicy',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
],
- 'autoTest' => true,
- 'tenantRelevance' => 'tenant',
],
- 'parameters' => [
- [
- 'name' => 'Username',
- 'in' => 'formData',
- 'schema' => [
- 'description' => '用户名。',
- 'type' => 'string',
- 'required' => false,
- 'example' => '张三',
+ [
+ 'apiName' => 'CreateApprovalProcess',
+ 'description' => '创建审批流程',
+ 'operationType' => 'create',
+ 'ramAction' => [
+ 'action' => 'csas:CreateApprovalProcess',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'responses' => [
- 200 => [
- 'schema' => [
- 'title' => 'Schema of Response',
- 'description' => '请求响应。',
- 'type' => 'object',
- 'properties' => [
- 'RequestId' => [
- 'title' => 'Id of the request',
- 'description' => '请求ID。',
- 'type' => 'string',
- 'example' => '54A4055A-343D-583E-9EAC-D12231148A68',
- ],
- ],
+ [
+ 'apiName' => 'ListPrivateAccessTagsForDynamicRoute',
+ 'description' => '批量查询动态路由的标签',
+ 'operationType' => 'list',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessTagsForDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
],
],
],
- 'staticInfo' => [
- 'returnType' => 'synchronous',
+ [
+ 'apiName' => 'ListPrivateAccessApplicationsForDynamicRoute',
+ 'description' => '批量查询动态路由的应用',
+ 'operationType' => 'get',
+ 'ramAction' => [
+ 'action' => 'csas:ListPrivateAccessApplicationsForDynamicRoute',
+ 'authLevel' => 'operate',
+ 'actionConditions' => [],
+ 'resources' => [
+ ['validationType' => 'always', 'product' => 'CloudSecurityAccessService', 'resourceType' => '全部资源', 'arn' => '*'],
+ ],
+ ],
],
- 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"54A4055A-343D-583E-9EAC-D12231148A68\\"\\n}","type":"json"}]',
- 'title' => '删除员工OTP配置。',
- ],
- ],
- 'endpoints' => [
- [
- 'regionId' => 'public',
- 'endpoint' => 'csas.aliyuncs.com',
- ],
- [
- 'regionId' => 'cn-hangzhou',
- 'endpoint' => 'csas.aliyuncs.com',
],
+ 'resourceTypes' => [],
],
];