模块 | 使用场景 |
整体(最佳实践) | 使用标签对主题、机器组、仪表盘进行分类,并按标签配置权限 |
数据采集 | |
主题管理及检索分析 | 使用控制台查看/管理主题及检索分析 使用 API 检索分析 |
仪表盘 | |
监控告警 | |
数据处理 | 数据加工 定时 SQL 分析相关 |
数据投递/消费 | 投递 Ckafka 投递 COS 投递 SCF Kafka 协议消费 指标投递 自定义消费 |
DataSight 独立控制台 | 管理 DataSight |
开发者 | 通过 Grafana 使用 CLS |
{"statement": [{"action": [ //必要的相关产品只读权限"monitor:GetMonitorData","monitor:DescribeBaseMetrics","cam:ListGroups","cam:GetGroup","cam:DescribeSubAccountContacts","cam:ListAttachedRolePolicies","cam:GetRole","vpc:DescribeSubnetEx",//创建内网访问的DataSight时需要"vpc:DescribeVpcEx",//创建内网访问的DataSight时需要"tag:TagResources","tag:DescribeResourceTagsByResourceIds","tag:GetTags","tag:GetTagKeys","tag:GetTagValues","kms:GetServiceStatus"],"effect": "allow","resource": "*"},{"action": [ //限制用户创建仪表盘、日志集、主题、告警策略、通知渠道组、机器组和DataSight时,必须绑定指定的标签,例如testCAM:test1。创建其它类型资源暂不支持限定标签。"cls:CreateDashboard","cls:CreateLogset","cls:CreateTopic","cls:CreateAlarm","cls:CreateAlarmNotice","cls:CreateMachineGroup","cls:CreateConsole"],"condition": {"for_any_value:string_equal": {"qcs:request_tag": ["testCAM&test1"]}},"effect": "allow","resource": "*"},{"action": [ //资源具备指定标签时,用户即拥有所有相关接口的权限(需接口支持按标签限制权限)。"cls:*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["testCAM&test1"]}},"effect": "allow","resource": "*"},{"action": [ //部分接口不支持按标签限制权限,不能限制资源范围。以下接口主要为读操作,另有少部分辅助功能接口为写操作,均不影响产品核心数据安全性。"cls:CheckAlarmChannel","cls:CheckAlarmRule","cls:CheckDomainRepeat","cls:CheckFunction","cls:CheckRechargeKafkaServer","cls:DescribeClsPrePayDetails","cls:DescribeClsPrePayInfos","cls:DescribeConfigMachineGroups","cls:DescribeConfigs","cls:DescribeAgentConfigs","cls:DescribeTopicExtendConfig","cls:DescribeDataTransformFailLogInfo","cls:DescribeDataTransformInfo","cls:DescribeDataTransformPreviewDataInfo","cls:DescribeDataTransformPreviewInfo","cls:DescribeDataTransformProcessInfo","cls:DescribeDemonstrations","cls:DescribeExceptionResources","cls:DescribeExternalDataSourcePreview","cls:DescribeFunctions","cls:DescribeResources","cls:DescribeShipperPreview","cls:DescribeScheduledSqlProcessInfo","cls:DescribeConfigurationTemplates","cls:DescribeFolders","cls:GetClsService","cls:GetConfigurationTemplateApplyLog","cls:PreviewKafkaRecharge","cls:agentHeartBeat","cls:CreateDemonstrations","cls:DeleteDemonstrations","cls:DescribeNoticeContents","cls:DescribeWebCallbacks"],"effect": "allow","resource": "*"},{"action": [ //部分接口不支持按标签限制权限,不能限制资源范围。以下接口涉及核心功能的写操作,建议仅按需向少部分用户授权,可删除不需要授权的接口。"cls:RealtimeProducer", //使用 Kafka 上传数据"cls:CreateConfigurationTemplate", //配置模版相关功能接口"cls:ModifyConfigurationTemplate","cls:DeleteConfigurationTemplate","cls:CreateFolder",//文件夹相关功能接口"cls:ModifyFolder","cls:DeleteFolder","cls:ModifyResourceAndFolderRelation","cls:CreateDataTransform",//数据加工相关功能接口"cls:ModifyDataTransform","cls:DeleteDataTransform","cls:RetryShipperTask",//投递COS相关功能接口"cls:ModifyDashboardSubscribeAck",//仪表盘订阅相关功能接口"cls:DeleteDashboardSubscribe","cls:ModifyConfigExtra",//采集配置相关功能接口"cls:DeleteConfigExtra","cls:RemoveMachine",//机器组相关功能接口"cls:UpgradeAgentNormal","cls:CreateNoticeContent",//告警通知内容模版相关功能接口"cls:DeleteNoticeContent","cls:ModifyNoticeContent","cls:CreateWebCallback",//告警集成配置相关功能接口"cls:ModifyWebCallback","cls:DeleteWebCallback"],"effect": "allow","resource": "*"}],"version": "2.0"}
{"statement": [{"action": [ //必要的相关产品只读权限"monitor:GetMonitorData","monitor:DescribeBaseMetrics","cam:ListGroups","cam:GetGroup","cam:DescribeSubAccountContacts","cam:ListAttachedRolePolicies","tag:DescribeResourceTagsByResourceIds","tag:GetTags","tag:GetTagKeys","tag:GetTagValues"],"effect": "allow","resource": "*"},{"action": [ //资源具备指定标签时,用户即拥有相关只读接口的权限"cls:DescribeConsumer","cls:DescribeConsumerPreview","cls:DescribeCosRecharges","cls:DescribeDashboardSubscribes","cls:DescribeDashboards","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribeKafkaConsume","cls:DescribeKafkaConsumer","cls:DescribeKafkaRecharges","cls:DescribeLatestJsonLog","cls:DescribeLatestUserLog","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLogHistogram","cls:DescribeMachineGroupConfigs","cls:DescribeMachines","cls:DescribePartitions","cls:DescribeScheduledSqlInfo","cls:DescribeScheduledSqlProcessInfo","cls:DescribeShipperPreview","cls:DescribeTopics","cls:EstimateRebuildIndexTask","cls:GetAlarm","cls:GetAlarmLog","cls:GetMetricLabelValues","cls:GetMetricSeries","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryExemplars","cls:MetricsQueryRange","cls:MetricsSeries","cls:QueryMetric","cls:QueryRangeMetric","cls:SearchCosRechargeInfo","cls:SearchDashboardSubscribe","cls:SearchLog","cls:DescribeAlarmNotices","cls:DescribeAlarms","cls:DescribeAlertRecordHistory","cls:DescribeExternalDataSources","cls:DescribeLogsets","cls:DescribeMachineGroups","cls:DescribeConsoles","cls:DescribeShipperTasks","cls:DescribeShippers","cls:DescribeRebuildIndexTasks"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["testCAM&test1"]}},"effect": "allow","resource": "*"},{"action": [ //部分接口不支持按标签限制权限,不能限制资源范围。以下接口主要为读操作,另有少部分辅助功能接口为写操作,均不影响产品核心数据安全性。"cls:CheckAlarmChannel","cls:CheckAlarmRule","cls:CheckDomainRepeat","cls:CheckFunction","cls:CheckRechargeKafkaServer","cls:DescribeClsPrePayDetails","cls:DescribeClsPrePayInfos","cls:DescribeConfigMachineGroups","cls:DescribeConfigs","cls:DescribeAgentConfigs","cls:DescribeTopicExtendConfig","cls:DescribeDataTransformFailLogInfo","cls:DescribeDataTransformInfo","cls:DescribeDataTransformPreviewDataInfo","cls:DescribeDataTransformPreviewInfo","cls:DescribeDataTransformProcessInfo","cls:DescribeDemonstrations","cls:DescribeExceptionResources","cls:DescribeExternalDataSourcePreview","cls:DescribeFunctions","cls:DescribeResources","cls:DescribeShipperPreview","cls:DescribeScheduledSqlProcessInfo","cls:DescribeConfigurationTemplates","cls:DescribeFolders","cls:GetClsService","cls:GetConfigurationTemplateApplyLog","cls:PreviewKafkaRecharge","cls:CreateDemonstrations","cls:DeleteDemonstrations","cls:CreateExport","cls:DeleteExport""cls:DescribeNoticeContents","cls:DescribeWebCallbacks"],"effect": "allow","resource": "*"}],"version": "2.0"}
{"version": "2.0","statement": [{"action": ["cls:pushLog","cls:getConfig","cls:agentHeartBeat"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:pushLog","cls:agentHeartBeat","cls:getConfig","cls:CreateConfig","cls:DeleteConfig","cls:ModifyConfig","cls:DescribeConfigs","cls:DescribeMachineGroupConfigs","cls:DeleteConfigFromMachineGroup","cls:ApplyConfigToMachineGroup","cls:DescribeConfigMachineGroups","cls:ModifyTopic","cls:DeleteTopic","cls:CreateTopic","cls:DescribeTopics","cls:CreateLogset","cls:DeleteLogset","cls:DescribeLogsets","cls:CreateIndex","cls:ModifyIndex","cls:CreateMachineGroup","cls:DeleteMachineGroup","cls:DescribeMachineGroups","cls:ModifyMachineGroup","cls:CreateConfigExtra","cls:DeleteConfigExtra","cls:ModifyConfigExtra"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:pushLog","cls:UploadLog","cls:MetricsRemoteWrite"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:RealtimeProducer"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:CreateMetricSubscribe","cls:DescribeMetricCorrectDimension","cls:DescribeMetricSubscribePreview","monitor:DescribeBaseMetrics","monitor:DescribeProductList"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:CreateBinlogSubscribe","cls:DescribeBinlogSubscribes","cls:ModifyBinlogSubscribe","cls:DescribeBinlogSubscribeConnectivity","cls:DescribeBinlogSubscribePreview",],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:PreviewKafkaRecharge","cls:CreateKafkaRecharge","cls:ModifyKafkaRecharge",],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:pushLog",],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:pushLog",],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:CreateConfig","cls:CreateConfig","cls:DeleteConfig","cls:DescribeConfigs","cls:ModifyConfig","cls:CreateConfigExtra","cls:DeleteConfigExtra","cls:ModifyConfigExtra","cls:CreateMachineGroup","cls:DeleteMachineGroup","cls:DescribeMachineGroups","cls:DeleteConfigFromMachineGroup","cls:ApplyConfigToMachineGroup","cls:ModifyMachineGroup"],"resource": "*","effect": "allow"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateLogset","cls:CreateTopic","cls:CreateExport","cls:CreateIndex","cls:DeleteLogset","cls:DeleteTopic","cls:DeleteExport","cls:DeleteIndex","cls:ModifyLogset","cls:ModifyTopic","cls:ModifyIndex","cls:MergePartition","cls:SplitPartition","cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:CreateRebuildIndexTask","cls:EstimateRebuildIndexTask","cls:CancelRebuildIndexTask","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateLogset","cls:CreateTopic","cls:CreateExport","cls:CreateIndex","cls:DeleteLogset","cls:DeleteTopic","cls:DeleteExport","cls:DeleteIndex","cls:ModifyLogset","cls:ModifyTopic","cls:ModifyIndex","cls:MergePartition","cls:SplitPartition","cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:CreateRebuildIndexTask","cls:EstimateRebuildIndexTask","cls:CancelRebuildIndexTask","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["qcs::cls:ap-guangzhou:100007***827:logset/1c012db7-2cfd-4418-****-7342c7a42516","qcs::cls:ap-guangzhou:100007***827:topic/380fe1f1-0c7b-4b0d-****-d514959db1bb"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateLogset","cls:CreateTopic","cls:CreateExport","cls:CreateIndex","cls:DeleteLogset","cls:DeleteTopic","cls:DeleteExport","cls:DeleteIndex","cls:ModifyLogset","cls:ModifyTopic","cls:ModifyIndex","cls:MergePartition","cls:SplitPartition","cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:CreateRebuildIndexTask","cls:EstimateRebuildIndexTask","cls:CancelRebuildIndexTask","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["testCAM&test1"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["qcs::cls:ap-guangzhou:100007***827:logset/1c012db7-2cfd-4418-****-7342c7a42516","qcs::cls:ap-guangzhou:100007***827:topic/380fe1f1-0c7b-4b0d-****-d514959db1bb"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeExports","cls:DescribeIndex","cls:DescribeIndexs","cls:DescribePartitions","cls:SearchLog","cls:DescribeLogHistogram","cls:DescribeLogContext","cls:DescribeLogFastAnalysis","cls:DescribeLatestJsonLog","cls:DescribeRebuildIndexTasks","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["testCAM&test1"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:SearchLog","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries","cls:MetricsRemoteRead"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:SearchLog","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries","cls:MetricsRemoteRead"],"resource": ["qcs::cls:ap-guangzhou:100007***827:logset/1c012db7-2cfd-4418-****-7342c7a42516","qcs::cls:ap-guangzhou:100007***827:topic/380fe1f1-0c7b-4b0d-****-d514959db1bb"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:SearchLog","cls:MetricsLabelValues","cls:MetricsLabels","cls:MetricsQuery","cls:MetricsQueryRange","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries","cls:MetricsRemoteRead"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["testCAM&test1"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:CreateChart","cls:CreateDashboard","cls:DeleteChart","cls:DeleteDashboard","cls:ModifyChart","cls:ModifyDashboard","cls:DescribeDashboards","cls:CreateFolder","cls:DeleteFolder","cls:DescribeFolders","cls:ModifyFolder","cls:ModifyResourceAndFolderRelation","cls:SearchDashboardSubscribe","cls:CreateDashboardSubscribe","cls:ModifyDashboardSubscribe","cls:DescribeDashboardSubscribes","cls:DeleteDashboardSubscribe","cls:ModifyDashboardSubscribeAck"],"resource": "*"},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:CreateChart","cls:CreateDashboard","cls:DeleteChart","cls:DeleteDashboard","cls:ModifyChart","cls:ModifyDashboard","cls:DescribeDashboards","cls:CreateFolder","cls:DeleteFolder","cls:DescribeFolders","cls:ModifyFolder","cls:ModifyResourceAndFolderRelation","cls:SearchDashboardSubscribe","cls:CreateDashboardSubscribe","cls:ModifyDashboardSubscribe","cls:DescribeDashboardSubscribes","cls:DeleteDashboardSubscribe","cls:ModifyDashboardSubscribeAck"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:CreateChart","cls:CreateDashboard","cls:DeleteChart","cls:DeleteDashboard","cls:ModifyChart","cls:ModifyDashboard","cls:DescribeDashboards","cls:CreateFolder","cls:DeleteFolder","cls:DescribeFolders","cls:ModifyFolder","cls:ModifyResourceAndFolderRelation","cls:SearchDashboardSubscribe","cls:CreateDashboardSubscribe","cls:ModifyDashboardSubscribe","cls:DescribeDashboardSubscribes","cls:DeleteDashboardSubscribe","cls:ModifyDashboardSubscribeAck"],"resource": ["qcs::cls::uin/100000***001:dashboard/dashboard-0769a3ba-2514-409d-****-f65b20b23736"]},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["qcs::cls::uin/100000***001:topic/174ca473-50d0-4fdf-****-2ef681a1e02a"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:DescribeDashboards","cls:DescribeFolders","cls:SearchDashboardSubscribe","cls:DescribeDashboardSubscribes"],"resource": "*"},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:DescribeDashboards","cls:DescribeFolders","cls:SearchDashboardSubscribe","cls:DescribeDashboardSubscribes"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:GetChart","cls:GetDashboard","cls:ListChart","cls:DescribeDashboards","cls:DescribeFolders","cls:SearchDashboardSubscribe","cls:DescribeDashboardSubscribes"],"resource": ["qcs::cls::uin/100000***001:dashboard/dashboard-0769a3ba-2514-409d-****-f65b20b23736"]},{"effect": "allow","action": ["cls:SearchLog","cls:DescribeTopics","cls:DescribeLogFastAnalysis","cls:DescribeIndex","cls:DescribeLogsets","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["qcs::cls::uin/100000***001:topic/174ca473-50d0-4fdf-****-2ef681a1e02a"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:SearchLog","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:CreateAlarm","cls:ModifyAlarm","cls:DeleteAlarm","cls:DescribeAlarmNotices","cls:CreateAlarmNotice","cls:ModifyAlarmNotice","cls:DeleteAlarmNotice","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup","cls:GetAlarmLog","cls:DescribeAlertRecordHistory","cls:CheckAlarmRule","cls:CheckAlarmChannel"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:SearchLog","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup","cls:CheckAlarmRule","cls:CheckAlarmChannel","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:ModifyAlarm","cls:DeleteAlarm","cls:DescribeAlarmNotices","cls:ModifyAlarmNotice","cls:DeleteAlarmNotice","cls:GetAlarmLog","cls:DescribeAlertRecordHistory"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:SearchLog","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup","cls:CheckAlarmRule","cls:CheckAlarmChannel","cls:GetMetricLabelValues","cls:QueryMetric","cls:QueryRangeMetric","cls:GetMetricSeries"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:ModifyAlarm","cls:DeleteAlarm","cls:DescribeAlarmNotices","cls:ModifyAlarmNotice","cls:DeleteAlarmNotice","cls:GetAlarmLog","cls:DescribeAlertRecordHistory"],"resource": ["qcs::cls:ap-guangzhou:100007***827:alarm/alarm-xxx-9bbe-4625-ac29-b5e66bf643cf","qcs::cls:ap-guangzhou:100007***827:alarmNotice/notice-xxx-ec2c-410f-924f-4ee8a7cd028e"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:DescribeAlarmNotices","cls:GetAlarmLog","cls:DescribeAlertRecordHistory","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:DescribeAlarmNotices","cls:GetAlarmLog","cls:DescribeAlertRecordHistory"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cam:ListGroups","cam:DescribeSubAccountContacts","cam:GetGroup"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeAlarms","cls:DescribeAlarmNotices","cls:GetAlarmLog","cls:DescribeAlertRecordHistory"],"resource": ["qcs::cls:ap-guangzhou:100007***827:alarm/alarm-xxx-9bbe-4625-ac29-b5e66bf643cf","qcs::cls:ap-guangzhou:100007***827:alarmNotice/notice-xxx-ec2c-410f-924f-4ee8a7cd028e"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeDataTransformPreviewDataInfo","cls:DescribeTopics","cls:DescribeIndex","cls:CreateDataTransform"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeFunctions","cls:CheckFunction","cls:DescribeDataTransformFailLogInfo","cls:DescribeDataTransformInfo","cls:DescribeDataTransformPreviewInfo","cls:DescribeDataTransformProcessInfo","cls:DeleteDataTransform","cls:ModifyDataTransform"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics"],"resource": ["*"]},{"effect": "allow","action": ["cls:DescribeDataTransformFailLogInfo","cls:DescribeDataTransformInfo","cls:DescribeDataTransformPreviewDataInfo","cls:DescribeDataTransformPreviewInfo","cls:DescribeDataTransformProcessInfo"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:CreateScheduledSql","cls:SearchLog","cls:DescribeScheduledSqlInfo","cls:DescribeScheduledSqlProcessInfo","cls:DeleteScheduledSql","cls:ModifyScheduledSql","cls:RetryScheduledSqlTask"],"resource": ["*"]},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:SearchLog","cls:DescribeScheduledSqlProcessInfo","cls:CreateScheduledSql","cls:DeleteScheduledSql","cls:ModifyScheduledSql","cls:RetryScheduledSqlTask"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cls:DescribeScheduledSqlInfo"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:CreateConsumer","cls:ModifyConsumer","cls:DeleteConsumer","cls:DescribeConsumer","cls:DescribeConsumerPreview"],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cam:AttachRolePolicy","cam:CreateRole","cam:DescribeRoleList","ckafka:DescribeInstances","ckafka:DescribeTopic","ckafka:DescribeInstanceAttributes","ckafka:CreateToken","ckafka:AuthorizeToken"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:CreateConsumer","cls:ModifyConsumer","cls:DeleteConsumer","cls:DescribeConsumer","cls:DescribeConsumerPreview"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["age&13","name&vinson"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cam:AttachRolePolicy","cam:CreateRole","cam:DescribeRoleList","ckafka:DescribeInstances","ckafka:DescribeTopic","ckafka:DescribeInstanceAttributes","ckafka:CreateToken","ckafka:AuthorizeToken"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:DescribeConsumer","cls:DescribeConsumerPreview"],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","ckafka:DescribeInstances","ckafka:DescribeTopic","ckafka:DescribeInstanceAttributes","ckafka:CreateToken","ckafka:AuthorizeToken"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:DescribeConsumer","cls:DescribeConsumerPreview"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","ckafka:DescribeInstances","ckafka:DescribeTopic","ckafka:DescribeInstanceAttributes","ckafka:CreateToken","ckafka:AuthorizeToken"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:DescribeIndex","cls:CreateShipper"],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cls:ModifyShipper","cls:DescribeShippers","cls:DeleteShipper","cls:DescribeShipperTasks","cls:RetryShipperTask","cls:DescribeShipperPreview","cos:GetService","cam:ListAttachedRolePolicies","cam:AttachRolePolicy","cam:CreateRole","cam:DescribeRoleList"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets","cls:DescribeIndex","cls:CreateShipper"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cls:ModifyShipper","cls:DescribeShippers","cls:DeleteShipper","cls:DescribeShipperTasks","cls:RetryShipperTask","cls:DescribeShipperPreview","cos:GetService","cam:ListAttachedRolePolicies","cam:AttachRolePolicy","cam:CreateRole","cam:DescribeRoleList"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets" ],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cls:DescribeShippers","cls:DescribeShipperTasks","cls:RetryShipperTask","cls:DescribeShipperPreview","cam:ListAttachedRolePolicies"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cls:DescribeShippers","cls:DescribeShipperTasks","cls:RetryShipperTask","cls:DescribeShipperPreview","cam:ListAttachedRolePolicies"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets"],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cls:CreateDeliverFunction","cls:DeleteDeliverFunction","cls:ModifyDeliverFunction","cls:GetDeliverFunction","scf:ListFunctions","scf:ListAliases","scf:ListVersionByFunction"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cls:CreateDeliverFunction","cls:DeleteDeliverFunction","cls:ModifyDeliverFunction","cls:GetDeliverFunction","scf:ListFunctions","scf:ListAliases","scf:ListVersionByFunction"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets"],"resource": "*"},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cls:GetDeliverFunction","scf:ListFunctions","scf:ListAliases","scf:ListVersionByFunction"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeTopics","cls:DescribeLogsets"],"resource": "*","condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies","cls:GetDeliverFunction","scf:ListFunctions","scf:ListAliases","scf:ListVersionByFunction"],"resource": "*"}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeKafkaConsumer","cls:CloseKafkaConsumer","cls:ModifyKafkaConsumer","cls:OpenKafkaConsumer"],"resource": ["*"]},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeKafkaConsumer","cls:CloseKafkaConsumer","cls:ModifyKafkaConsumer","cls:OpenKafkaConsumer"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}},{"effect": "allow","action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies"],"resource": ["*"]}]}
{"statement": [{"action": ["cls:DescribeLogsets","cls:DescribeTopics","cls:DescribeKafkaConsumer","cls:CloseKafkaConsumer","cls:ModifyKafkaConsumer","cls:OpenKafkaConsumer"],"effect": "allow","resource": ["qcs::cls:ap-chengdu:100001127XXX:logset/axxxxxx-772e-4971-ad9a-ddcfcfff691b","qcs::cls:ap-chengdu:100001127XXX:topic/590xxxxxxx-36c4-447b-a84f-172ee7340b22"]},{"action": ["tag:DescribeResourceTagsByResourceIds","tag:DescribeTagKeys","tag:DescribeTagValues","cam:ListAttachedRolePolicies"],"effect": "allow","resource": ["*"]}],"version": "2.0"}
{"version": "2.0","statement": [{"action": ["cls:OpenKafkaConsumer"],"effect": "allow","resource": ["*"]}]}
{"statement": [{"action": ["cls:DescribeRemoteWriteTask","cls:DescribeTopics","cls:CreateRemoteWriteTask","cls:ModifyRemoteWriteTask","cls:DescribeLogsets","cls:DeleteRemoteWriteTask","cls:CheckRemoteWriteTaskConnect"],"effect": "allow","resource": ["*"]}],"version": "2.0"}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:DescribeRemoteWriteTask","cls:DescribeTopics","cls:CreateRemoteWriteTask","cls:ModifyRemoteWriteTask","cls:DescribeLogsets","cls:DeleteRemoteWriteTask","cls:CheckRemoteWriteTaskConnect"],"resource": ["*"],"condition": {"string_equal": {"qcs:resource_tag": "key:value"}}}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateConsumerGroup","cls:ModifyConsumerGroup","cls:DescribeConsumerGroups","cls:DeleteConsumerGroup","cls:DescribeConsumerOffsets","cls:CommitConsumerOffsets","cls:SendConsumerHeartbeat","cls:pullLog"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateConsole","cls:DeleteConsole","cls:DescribeConsoles","vpc:DescribeSubnetEx","vpc:DescribeVpcEx","cls:ModifyConsole"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateConsole","cls:DeleteConsole","cls:DescribeConsoles","vpc:DescribeSubnetEx","vpc:DescribeVpcEx","cls:ModifyConsole"],"resource": ["qcs::cls::uin/100******123:datasight/clsconsole-1234abcd"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:CreateConsole","cls:DeleteConsole","cls:DescribeConsoles","vpc:DescribeSubnetEx","vpc:DescribeVpcEx","cls:ModifyConsole"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
{"statement": [{"action": ["cls:DescribeConsoles"],"effect": "allow","resource": ["*"]}],"version": "2.0"}
{"statement": [{"action": ["cls:DescribeConsoles"],"effect": "allow","resource": ["qcs::cls::uin/100******123:datasight/clsconsole-1234abcd"]}],"version": "2.0"}
{"statement": [{"action": ["cls:DescribeConsoles"],"effect": "allow","resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}],"version": "2.0"}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:SearchLog","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:MetricsLabelValues","cls:MetricsQueryRange","cls:MetricsLabels","cls:MetricsQuery"],"resource": ["*"]}]}
{"version": "2.0","statement": [{"effect": "allow","action": ["cls:SearchLog","cls:MetricsSeries","cls:MetricsQueryExemplars","cls:MetricsLabelValues","cls:MetricsQueryRange","cls:MetricsLabels","cls:MetricsQuery"],"resource": ["*"],"condition": {"for_any_value:string_equal": {"qcs:resource_tag": ["key&value"]}}}]}
本页内容是否解决了您的问题?