カスタム設定で構成可能な確認項目のリストを取得します。
今すぐお試しください
テスト
RAM 認証
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| CurrentPage |
integer |
任意 |
返されるページのページ番号。デフォルト値: 1 で、最初のページが返されることを示します。 |
1 |
| PageSize |
integer |
任意 |
ページングクエリにおける 1 ページあたりのエントリの最大値。デフォルト値: 20。 |
10 |
| Lang |
string |
任意 |
リクエストおよび応答メッセージの言語タイプ。デフォルト値: zh。有効な値:
|
zh |
| TaskSources |
array |
任意 |
タスクソースのリスト。 |
|
|
string |
任意 |
タスクソース。有効な値:
|
YAO_CHI |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
レスポンス構造体。 |
||
| CheckItems |
array<object> |
確認項目情報のリスト。 |
|
|
array<object> |
確認項目情報。 |
||
| InstanceSubType |
string |
クラウドサービスのアセットサブタイプ。有効な値:
|
INSTANCE |
| CheckId |
integer |
確認項目の ID。 |
21 |
| CheckShowName |
string |
確認項目の名前。 |
IPv4 Access Control |
| InstanceType |
string |
クラウドサービスのアセットタイプ。有効な値:
|
API_GATEWAY |
| RiskLevel |
string |
確認項目のリスクレベル。有効な値:
|
HIGH |
| Vendor |
string |
クラウドアセットのベンダー。有効な値:
|
0 |
| SectionIds |
array |
確認項目に関連付けられたセクション ID のリスト。 |
|
|
integer |
確認項目に関連付けられたセクション ID。 |
102 |
|
| Description |
object |
確認項目の説明。 |
|
| Type |
string |
確認項目の説明のタイプ。有効な値:
|
text |
| Value |
string |
Type パラメーターが text の場合の確認項目の説明内容。 |
Checks whether strict access control policies are configured. Requirements: 1. If no blacklists and whitelist are configured, configure a whitelist first. 2. If a blacklist is configured, find the blacklist in the list of access control policies. We recommend that you do not configure an empty blacklist. 3. If a whitelist is configured, find the whitelist in the list of access control policies. We recommend that you do not configure an empty whitelist. Make sure that the whitelist does not contain 0.0.0.0. You can add the following IP addresses to the whitelist: ${IPList}. |
| CustomConfigs |
array<object> |
カスタム確認構成情報のリスト。 |
|
|
object |
カスタム確認構成情報。 |
||
| Name |
string |
確認項目の名前。 |
IPList |
| TypeDefine |
string |
確認項目のタイプ。値は JSON 文字列です。 |
{\"type\":\"LIST\",\"range\":[1,512],\"listType\":{\"type\":\"STRING\",\"range\":[0,22]}} |
| DefaultValue |
string |
確認項目のデフォルト値。値は文字列です。 |
0 |
| Value |
string |
確認項目の指定された値。値は文字列です。 |
1 |
| ShowName |
string |
確認項目の表示名。 |
IP列表 |
| EstimatedCount |
integer |
確認項目が消費する推定認可数。 |
30 |
| CheckType |
string |
脅威検知サービス確認項目のソースタイプ。有効な値:
|
SYSTEM |
| InstanceEstimatedCount |
integer |
||
| PageInfo |
object |
ページングクエリにおけるページ情報。 |
|
| CurrentPage |
integer |
ページングクエリにおける現在のページのページ番号。 |
1 |
| PageSize |
integer |
1 ページあたりのエントリ数。 |
10 |
| TotalCount |
integer |
返されたエントリの総数。 |
149 |
| Count |
integer |
ページングクエリにおける現在のページのエントリ数。 |
10 |
| RequestId |
string |
リクエストの ID。Alibaba Cloud によってリクエストに対して生成される一意の識別子です。この ID を使用して問題のトラブルシューティングを行うことができます。 |
9F4E6157-9600-5588-86B9-38F09067**** |
例
成功レスポンス
JSONJSON
{
"CheckItems": [
{
"InstanceSubType": "INSTANCE",
"CheckId": 21,
"CheckShowName": "IPv4 Access Control",
"InstanceType": "API_GATEWAY",
"RiskLevel": "HIGH",
"Vendor": "0",
"SectionIds": [
102
],
"Description": {
"Type": "text",
"Value": "Checks whether strict access control policies are configured. Requirements: 1. If no blacklists and whitelist are configured, configure a whitelist first. 2. If a blacklist is configured, find the blacklist in the list of access control policies. We recommend that you do not configure an empty blacklist. 3. If a whitelist is configured, find the whitelist in the list of access control policies. We recommend that you do not configure an empty whitelist. Make sure that the whitelist does not contain 0.0.0.0. You can add the following IP addresses to the whitelist: ${IPList}."
},
"CustomConfigs": [
{
"Name": "IPList",
"TypeDefine": "{\\\"type\\\":\\\"LIST\\\",\\\"range\\\":[1,512],\\\"listType\\\":{\\\"type\\\":\\\"STRING\\\",\\\"range\\\":[0,22]}}",
"DefaultValue": "0",
"Value": "1",
"ShowName": "IP列表"
}
],
"EstimatedCount": 30,
"CheckType": "SYSTEM",
"InstanceEstimatedCount": 0
}
],
"PageInfo": {
"CurrentPage": 1,
"PageSize": 10,
"TotalCount": 149,
"Count": 10
},
"RequestId": "9F4E6157-9600-5588-86B9-38F09067****"
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。