tencent cloud

Cloud Log Service

ドキュメントCloud Log Service操作ガイド権限管理CLSアクセスポリシーテンプレート

CLSアクセスポリシーテンプレート

ダウンロード
フォーカスモード
フォントサイズ
最終更新日: 2026-10-12 14:07:54
AI翻訳
カスタム権限ポリシーを使用する場合、使用シーンに応じて以下の権限ポリシーテンプレートを採用できます:
モジュール
利用シーン
全体(ベストプラクティス)
タグを使用してトピック、マシングループ、ダッシュボードを分類し、タグに基づいて権限を設定します。
データ収集
ログ
指標
Agent可観測性
トピック管理および検索分析
コンソールを使用してトピックおよび検索分析を表示/管理します。
APIを使用して検索分析を行います。
ダッシュボード
モニタリングアラート
データ処理
データ加工
スケジュールSQL分析関連
データ配信/消費
CKafkaへ配信
COSへ配信
DLCへ配信
Splunkへ配信
Azure Logへ配信
SCFへ配信
Kafkaプロトコル消費
指標配信
カスタム消費
DataSight 独立コンソール
DataSightを管理
開発者
Grafanaを使用してCLSを利用します。

全体(ベストプラクティス)

Tagを使用してトピック、マシングループ、ダッシュボードを分類し、Tagに基づいて権限を設定します。リソースを作成する際にはリソースにTagを指定する必要があります。ユーザーは指定されたTagを持つリソースに対してのみ管理権限または読み取り専用権限を持ちます。この方法により、CLS内のさまざまなタイプのリソースを簡単に一括管理できます。

指定Tagのリソースに対する管理権限

注意:
このポリシーを使用する際は、その中のコメント説明を消去してください。
{
"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を作成する際には、指定されたTagをバインドする必要があります。例えばtestCAM:test1です。その他のタイプのリソース作成では、現時点ではTagの限定はサポートされていません。
"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": [ //リソースに指定されたTagが付与されている場合、ユーザーはすべての関連インターフェースの権限を有します(インターフェースがTagによる権限制限をサポートしている必要があります)。
"cls:*"
],
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"testCAM&test1"
]
}
},
"effect": "allow",
"resource": "*"
},
{
"action": [ //一部のインターフェースはTagによる権限制限をサポートしておらず、リソース範囲を制限できません。以下のインターフェースは主に読み取り操作であり、一部の補助機能インターフェースは書き込み操作ですが、いずれも製品のコアデータの安全性に影響しません。
"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": [ //一部のインターフェースはTagによる権限制限をサポートしておらず、リソース範囲を制限できません。以下のインターフェースはコア機能の書き込み操作に関わるため、必要に応じて少数のユーザーにのみ権限を付与することをお勧めします。不要な権限のインターフェースは削除できます。
"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"
}

指定Tagのリソースに対する読み取り専用権限

注意:
このポリシーを使用する際は、その中のコメント説明を消去してください。
{
"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": [ //リソースに指定されたTagが付与されている場合、ユーザーは関連する読み取り専用インターフェースの権限を有します。
"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": [ //一部のインターフェースはTagによる権限制限をサポートしておらず、リソース範囲を制限できません。以下のインターフェースは主に読み取り操作であり、一部の補助機能インターフェースは書き込み操作ですが、いずれも製品のコアデータの安全性に影響しません。
"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"
}

データ収集関連

ログ

LogListenerを使用したデータ収集

ユーザーはAgent LogListenerを使用してデータを収集でき、かつログアップロードの機能を備えています(本サンプルでは、マシンにLogListenerをインストールしてログをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog",
"cls:getConfig",
"cls:agentHeartBeat"
],
"resource": "*",
"effect": "allow"
}]
}
説明:
使用しているLogListenerが2.6.5より前のバージョンである場合は、「cls:listLogset」権限を追加する必要があります。

自前のk8sを使用したデータアップロード

ユーザーはLogagentを使用して自建k8s環境のログデータを収集でき、かつアップロードの機能を備えています(本サンプルでは、自建k8sでログをアップロードするための最小権限を示します)。
{
"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:CreateTopic",
"cls:DescribeTopics",
"cls:CreateLogset",
"cls:DescribeLogsets",
"cls:CreateIndex",
"cls:ModifyIndex",
"cls:CreateMachineGroup",
"cls:DeleteMachineGroup",
"cls:DescribeMachineGroups",
"cls:ModifyMachineGroup",
"cls:CreateConfigExtra",
"cls:DeleteConfigExtra",
"cls:ModifyConfigExtra",
"cls:MetricsRemoteWrite"
],
"resource": "*",
"effect": "allow"
}
]
}

API/SDKを使用したデータアップロード

ユーザーはAPI/SDKを使用してCLSにデータをアップロードできます(本サンプルでは、API/SDKを使用してデータをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog",
"cls:UploadLog",
"cls:MetricsRemoteWrite"
],
"resource": "*",
"effect": "allow"
}]
}

ネットワークプローブSDKを使用したデータアップロード

ユーザーはネットワークプローブSDKを使用してCLSにデータをアップロードできます(本サンプルでは、ネットワークプローブを使用してデータをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog"
],
"resource": "*",
"effect": "allow"
}]
}

Kafkaを使用したデータアップロード

ユーザーはKafkaプロトコルを使用してCLSにログをアップロードできます(本サンプルでは、Kafkaプロトコルを使用してログをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:RealtimeProducer"
],
"resource": "*",
"effect": "allow"
}]
}

MySQL Binlogログのサブスクリプション

ユーザーはMySQL BinlogログをCLSにサブスクライブできます(本サンプルでは、コンソールでMySQL Binlogサブスクリプションタスクを構成するために必要な最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:CreateBinlogSubscribe",
"cls:DescribeBinlogSubscribes",
"cls:ModifyBinlogSubscribe",
"cls:DescribeBinlogSubscribeConnectivity",
"cls:DescribeBinlogSubscribePreview"
],
"resource": "*",
"effect": "allow"
}]
}

Kafkaを使用したデータ収集サブスクリプション

ユーザーはKafkaクラスタ内のデータをCLSにサブスクライブできます(本サンプルでは、コンソールでKafkaサブスクリプションタスクを構成するために必要な最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:PreviewKafkaRecharge",
"cls:CreateKafkaRecharge",
"cls:ModifyKafkaRecharge"
],
"resource": "*",
"effect": "allow"
}]
}

FluentBitログアップロード

ユーザーはFluent-bit Goプラグインを使用してFluentBit内のデータをCLSにアップロードできます(本サンプルでは、Fluent-bit Goプラグインを使用してデータをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog"
],
"resource": "*",
"effect": "allow"
}]
}

Logstashログアップロード

ユーザーはLogstashプラグインを使用してLogstash内のデータをCLSにアップロードできます(本サンプルでは、Logstashプラグインを使用してデータをアップロードするための最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog"
],
"resource": "*",
"effect": "allow"
}]
}

収集設定とマシングループの管理

収集設定の作成/変更/削除、およびマシングループの作成/変更/削除が含まれます。
Config関連インターフェースは収集設定関連リソースに対応します。
MachineGroup関連インターフェースはマシングループ関連リソースに対応します。
ConfigExtra関連の3つのインターフェース権限は、自社構築k8sのログアップロードに関連するクラスタ設定情報の管理に使用されます。自社構築k8sのログアップロード関連機能を使用しない場合は無視できます。
{
"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"
}
]
}

指標

指標報告

ユーザーはPrometheus Remote Writeプロトコルを使用して指標データを報告できます。また、このプロトコルと互換性のある各種コレクター(vmagentやtelegrafなど)を使用して指標を収集し、指標トピックに報告することもできます。(本サンプルでは、指標報告の最小権限を示します)。
{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:MetricsRemoteWrite"
],
"resource": [
"*"
]
}
]
}

クラウド製品指標サブスクリプションを使用したデータアップロード

ユーザーはクラウド製品メトリクスサブスクリプションを通じて指標をCLSにアップロードできます(本サンプルでは、コンソールでクラウド製品メトリクスサブスクリプションを構成するために必要な最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:CreateMetricSubscribe",
"cls:DescribeMetricCorrectDimension",
"cls:DescribeMetricSubscribePreview",
"monitor:DescribeBaseMetrics",
"monitor:DescribeProductList"
],
"resource": "*",
"effect": "allow"
}]
}

Agent可観測性

Onesuite-Pilotを使用したAI Agent可観測データの収集

ユーザーはOnesuite-Pilotを使用してAI Agentのセッションとトレースデータを収集し、CLSに報告できます(本サンプルでは、強認証SecretId / SecretKey方式に必要な最小権限を示します)。
{
"version": "2.0",
"statement": [{
"action": [
"cls:pushLog",
"cls:UploadLog"
],
"resource": "*",
"effect": "allow"
}]
}
説明:
以上は強認証(SecretId / SecretKey)方式に必要な最小権限です。弱認証(UIN匿名報告)方式を使用する場合、アクセスキーの設定は不要であり、上記のCAM認可ポリシーも不要です。

トピック管理と検索分析関連

コンソールを使用したトピックの表示・管理と検索分析

権限管理:全トピックに対する管理権限を保有

ユーザーはすべてのトピックに対して検索および管理を行うことができます。これにはトピックの作成、トピックの削除、インデックス設定の変更などが含まれますが、収集設定、ログ配信、ログ加工などは含まれません。
{
"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: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"
]
}
]
}

権限管理:指定Tagのトピックに対する管理権限を保有

ユーザーは指定されたTagを含むトピックに対して検索および管理を行うことができます。これにはトピックの変更、トピックの削除、インデックス設定の変更などが含まれますが、トピックの作成、収集設定、ログ配信、ログ加工などは含まれません。トピックにTagをバインドする際は、そのトピックが属するログセットにも同時にTagをバインドする必要があります。
{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"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"
]
}
]
}

読み取り専用権限:指定Tagのトピックに対する読み取り専用権限を保有

ユーザーは指定されたTagを含むトピックに対して検索を行うことができます。
{
"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"
]
}
}
}
]
}

APIを使用した検索分析

読み取り専用権限:全トピックに対する検索分析の読み取り専用権限を保有

ユーザーはAPIを通じてすべてのトピックに対して検索分析を行うことができます。
{
"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": [
"*"
]
}
]
}

読み取り専用権限:指定トピックに対する検索分析の読み取り専用権限を保有

ユーザーはAPIを通じて指定されたトピックに対して検索分析を行うことができます。
{
"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"
]
}
]
}

読み取り専用権限:指定Tagのトピックに対する検索分析の読み取り専用権限を保有

ユーザーはAPIを通じて、指定されたTagを含むトピックに対して検索分析を行うことができます。
{
"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": "*"
}
]
}

管理権限:指定Tagのダッシュボードに対する管理権限を保有

ユーザーは指定されたTagのダッシュボードを管理できます。これには、指定されたTagが付与されたダッシュボードの作成、削除、編集、表示、サブスクリプションが含まれます。ダッシュボードは指定されたTagのトピックのデータを使用できます。
{
"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": "*"
}
]
}

読み取り専用権限:指定Tagのダッシュボードに対する読み取り専用権限を保有

ユーザーは指定されたTagが付与されたダッシュボードリソースを表示できます。ダッシュボードでは、指定されたTagが付与されたトピックのデータを表示できます。
{
"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": "*"
}
]
}

管理権限:指定Tagのアラートポリシーに対する管理権限を保有

ユーザーは指定されたTagを含むアラームポリシーを管理できます。これには、アラームポリシーの変更、通知チャネルグループの変更、アラームポリシーの表示などが含まれます。
{
"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": "*"
}
]
}

読み取り専用権限:指定Tagのアラートポリシーに対する読み取り専用権限を保有

ユーザーは指定されたTagを含むアラームポリシーを表示できます。
{
"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": [
"*"
]
}
]
}

読み取り専用権限:全データ加工タスクに対する読み取り専用権限を保有

すべてのログトピックの「データ加工タスク」の読み取り専用権限。閲覧のみであるため、DSL関数に対する権限付与は不要です。
{
"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": [
"*"
]
}
]
}

定时SQL分析関連

管理権限:全ログトピックに対する定时SQL分析権限を保有

{
"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": [
"*"
]
}
]
}

管理権限:指定Tagログトピックに対する定时SQL分析権限を保有

{
"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": [
"*"
]
}
]
}

データ配信/消費関連

CKafkaへの配信

管理権限:全ログトピックに対するCKafka配信管理権限を保有

{
"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": "*"
}
]
}

管理権限:指定Tagログトピックに対するCKafka配信管理権限を保有

{
"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": "*"
}
]
}

読み取り専用権限:全ログトピックに対するCKafka配信読み取り専用権限を保有

すべてのログトピックをCKafkaに配信する読み取り専用権限を持ちます。
{
"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": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するCKafka配信読み取り専用権限を保有

{
"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": "*"
}
]
}

COSへの配信

管理権限:全ログトピックに対するCOS配信管理権限を保有

すべてのログトピックをCOSに配信する管理権限を持ちます。
{
"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": "*"
}
]
}

管理権限:指定Tagログトピックに対するCOS配信管理権限を保有

{
"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": "*"
}
]
}

読み取り専用権限:全ログトピックに対するCOS配信読み取り専用権限を保有

{
"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": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するCOS配信読み取り専用権限を保有

{
"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": "*"
}
]
}

DLCへの配信

管理権限:全ログトピックに対するDLC配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CreateDlcDeliver",
"cls:ModifyDlcDeliver",
"cls:DescribeDlcDelivers",
"cls:DeleteDlcDeliver"
],
"resource": "*"
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues",
"dlc:DescribeDatabases",
"dlc:DescribeOptimizedTables",
"dlc:DescribeDatasourceConnection",
"cam:ListAttachedRolePolicies",
"cam:AttachRolePolicy",
"cam:CreateRole",
"cam:DescribeRoleList"
],
"resource": "*"
}
]
}

管理権限:指定Tagログトピックに対するDLC配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CreateDlcDeliver",
"cls:ModifyDlcDeliver",
"cls:DescribeDlcDelivers",
"cls:DeleteDlcDeliver"
],
"resource": "*",
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues",
"dlc:DescribeDatabases",
"dlc:DescribeOptimizedTables",
"dlc:DescribeDatasourceConnection",
"cam:ListAttachedRolePolicies",
"cam:AttachRolePolicy",
"cam:CreateRole",
"cam:DescribeRoleList"
],
"resource": "*"
}
]
}

読み取り専用権限:全ログトピックに対するDLC配信読み取り専用権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets" ],
"resource": "*"
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues",
"cls:DescribeDlcDelivers",
"dlc:DescribeDatabases",
"dlc:DescribeOptimizedTables",
"dlc:DescribeDatasourceConnection",
"cam:ListAttachedRolePolicies"
],
"resource": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するDLC配信読み取り専用権限を保有

{
"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:DescribeDlcDelivers",
"dlc:DescribeDatabases",
"dlc:DescribeOptimizedTables",
"dlc:DescribeDatasourceConnection",
"cam:ListAttachedRolePolicies"
],
"resource": "*"
}
]
}

Splunkへの配信

管理権限:全ログトピックに対するSplunk配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckSplunkConnect",
"cls:DescribeSplunkPreview",
"cls:CreateSplunkDeliver",
"cls:ModifySplunkDeliver",
"cls:DescribeSplunkDelivers",
"cls:DeleteSplunkDeliver"
],
"resource": "*"
}
]
}

管理権限:指定Tagログトピックに対するSplunk配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckSplunkConnect",
"cls:DescribeSplunkPreview",
"cls:CreateSplunkDeliver",
"cls:ModifySplunkDeliver",
"cls:DescribeSplunkDelivers",
"cls:DeleteSplunkDeliver"
],
"resource": "*",
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues"
],
"resource": "*"
}
]
}

読み取り専用権限:全ログトピックに対するSplunk配信読み取り専用権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckSplunkConnect",
"cls:DescribeSplunkPreview",
"cls:DescribeSplunkDelivers"
],
"resource": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するSplunk配信読み取り専用権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckSplunkConnect",
"cls:DescribeSplunkPreview",
"cls:DescribeSplunkDelivers"
],
"resource": "*",
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues"
],
"resource": "*"
}
]
}

Azure Logへの配信

管理権限:全ログトピックに対するAzure Log配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckAzureLogConnect",
"cls:GetAzureTableSchema",
"cls:DescribeShipperPreview",
"cls:DescribeAzureLogDelivers",
"cls:ModifyAzureLogDeliver",
"cls:DeleteAzureLogDeliver",
"cls:CreateAzureLogDeliver"
],
"resource": "*"
}
]
}

管理権限:指定Tagログトピックに対するAzure Log配信管理権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckAzureLogConnect",
"cls:GetAzureTableSchema",
"cls:DescribeShipperPreview",
"cls:DescribeAzureLogDelivers",
"cls:ModifyAzureLogDeliver",
"cls:DeleteAzureLogDeliver",
"cls:CreateAzureLogDeliver"

],
"resource": "*",
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues"
],
"resource": "*"
}
]
}

読み取り専用権限:全ログトピックに対するAzure Log配信読み取り専用権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckAzureLogConnect",
"cls:GetAzureTableSchema",
"cls:DescribeShipperPreview",
"cls:DescribeAzureLogDelivers"
],
"resource": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するAzure Log配信読み取り専用権限を保有

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:DescribeTopics",
"cls:DescribeLogsets",
"cls:CheckAzureLogConnect",
"cls:GetAzureTableSchema",
"cls:DescribeShipperPreview",
"cls:DescribeAzureLogDelivers"
],
"resource": "*",
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
},
{
"effect": "allow",
"action": [
"tag:DescribeResourceTagsByResourceIds",
"tag:DescribeTagKeys",
"tag:DescribeTagValues"
],
"resource": "*"
}
]
}

SCFへの配信

管理権限:全ログトピックに対するSCF配信管理権限を保有

すべてのログトピックをSCFに配信する管理権限を持ちます。
{
"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": "*"
}
]
}

管理権限:指定Tagログトピックに対するSCF配信管理権限を保有

{
"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": "*"
}
]
}

読み取り専用権限:全ログトピックに対するSCF配信読み取り専用権限を保有

すべてのログトピックをSCFに配信する読み取り専用権限を持ちます。
{
"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": "*"
}
]
}

読み取り専用権限:指定Tagログトピックに対するSCF配信読み取り専用権限を保有

{
"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": "*"
}
]
}

Kafkaプロトコルでの消費

管理権限:全ログトピックに対するKafkaプロトコル消費権限を保有

すべてのログトピックのKafkaプロトコル消費権限を持ちます。
{
"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": [
"*"
]
}
]
}

管理権限:指定Tagログトピックに対するKafkaプロトコル消費権限を保有

指定されたTagのログトピックに対するKafkaプロトコルでの消費管理権限を持ちます。
{
"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": [
"*"
]
}
]
}

管理権限:指定リソースに対するKafkaプロトコル消費権限を保有

{
"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"
}

Kafkaプロトコル消費の最小権限(コンソール以外、API呼び出し)

{
"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"
}

管理権限:指定Tagのメトリクストピックに対する配信管理権限を保有

{
"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": [
"*"]
}
]
}

DataSight管理権限

管理権限:すべてのDataSight独立コンソールに対する管理権限を保有

ユーザーはTencent Cloudコンソール上でDataSightコンソールを作成、変更、表示、削除できます。
{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:CreateConsole",
"cls:DeleteConsole",
"cls:DescribeConsoles",
"vpc:DescribeSubnetEx",
"vpc:DescribeVpcEx",
"cls:ModifyConsole"
],
"resource": [
"*"
]
}
]
}

管理権限:指定DataSight独立コンソールに対する管理権限を保有

ユーザーはTencent Cloudコンソール上で指定のDataSightコンソールを作成、変更、表示、削除できます。
{
"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"
]
}
]
}

管理権限:指定TagのDataSight独立コンソールに対する管理権限を保有

ユーザーはTencent Cloudコンソール上で、指定されたTagのDataSightコンソールを作成、変更、表示、削除できます。
{
"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"
]
}
}
}
]
}

読み取り専用権限:すべてのDataSight独立コンソールに対する読み取り専用権限を保有

ユーザーはTencent Cloudコンソール上でDataSightコンソールの関連情報を表示できます。
{
"statement": [
{
"action": [
"cls:DescribeConsoles"
],
"effect": "allow",
"resource": [
"*"
]
}
],
"version": "2.0"
}

読み取り専用権限:指定DataSight独立コンソールに対する読み取り専用権限を保有

ユーザーはTencent Cloudコンソール上で指定のDataSightコンソールの関連情報を表示できます。
{
"statement": [
{
"action": [
"cls:DescribeConsoles"
],
"effect": "allow",
"resource": [
"qcs::cls::uin/100******123:datasight/clsconsole-1234abcd"
]
}
],
"version": "2.0"
}

読み取り専用権限:指定TagのDataSight独立コンソールに対する読み取り専用権限を保有

ユーザーはTencent Cloudコンソール上で、指定されたTagのDataSightコンソールの関連情報を表示できます。
{
"statement": [
{
"action": [
"cls:DescribeConsoles"
],
"effect": "allow",
"resource": [
"*"
],
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
}
],
"version": "2.0"
}

開発者関連

Grafanaを介したCLSの利用

Grafanaを介した全トピックデータの表示

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:SearchLog",
"cls:DescribeTopics",
"cls:MetricsSeries",
"cls:MetricsQueryExemplars",
"cls:MetricsLabelValues",
"cls:MetricsQueryRange",
"cls:MetricsLabels",
"cls:MetricsQuery"
],
"resource": [
"*"
]
}
]
}

Grafanaを介した指定Tagを持つトピックデータの表示

{
"version": "2.0",
"statement": [
{
"effect": "allow",
"action": [
"cls:SearchLog",
"cls:DescribeTopics",
"cls:MetricsSeries",
"cls:MetricsQueryExemplars",
"cls:MetricsLabelValues",
"cls:MetricsQueryRange",
"cls:MetricsLabels",
"cls:MetricsQuery"
],
"resource": [
"*"
],
"condition": {
"for_any_value:string_equal": {
"qcs:resource_tag": [
"key&value"
]
}
}
}
]
}


ヘルプとサポート

この記事はお役に立ちましたか?

フィードバック