ベースラインタイプをクエリします。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
yundun-sas:DescribeRiskType |
get |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| SourceIp |
string |
任意 |
リクエストの送信元 IP アドレス。 |
192.168.X.X |
| Lang |
string |
任意 |
リクエストと応答内のコンテンツの言語。デフォルト値:zh。有効な値:
|
zh |
| Source |
string |
任意 |
データソース。有効な値:
|
agentless |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
返されるデータ。 |
||
| RequestId |
string |
リクエストの ID。問題の特定とトラブルシューティングに使用されます。 |
F22037B5-FCE4-5178-A9E7-71798E1F9270 |
| RiskTypes |
array<object> |
ベースラインタイプに関する情報で構成される配列。 |
|
|
array<object> |
ベースラインタイプに関する情報。 |
||
| TypeName |
string |
ベースラインタイプの名前。 |
hc_exploit |
| Alias |
string |
ベースラインタイプのエイリアス。 |
Redis unauthorized access high exploit vulnerability risk |
| SubTypes |
array<object> |
ベースラインサブタイプに関する情報で構成される配列。 |
|
|
array<object> |
|||
| TypeName |
string |
ベースラインサブタイプの名前。 |
hc_exploit_redis |
| Alias |
string |
ベースラインサブタイプのエイリアス。 |
Redis unauthorized access high exploit vulnerability risk |
| CheckDetails |
array<object> |
ベースラインサブタイプのチェック詳細で構成される配列。 |
|
|
array<object> |
|||
| CheckId |
integer |
ベースラインの ID。 |
1299 |
| CheckItem |
string |
ベースライン。 |
Ensure password expiration period is set. |
| CheckDesc |
string |
ベースラインの説明。 |
Set password expiration time, force regular modification of password, reduce password leakage and guess risk.Use non-password login (e.g. key pair) please ignore this item. |
| Rules |
array<object> |
ベースラインのルール詳細で構成される配列。 |
|
|
array<object> |
|||
| Optional |
integer |
ベースラインを編集できるかどうかを示します。有効な値:
|
1 |
| RuleDesc |
string |
ベースラインのルールの説明。 |
Please customize the password expiration time detection standard as |
| RuleId |
string |
ベースラインのルールの ID。 |
audit.audit_policy.auditpolicychange.cus |
| ParamList |
array<object> |
ベースラインのルールに含まれるパラメーターで構成される配列。 |
|
|
object |
|||
| ParamDefaultValue |
string |
パラメーターのデフォルト値。 |
7 |
| ParamName |
string |
パラメーターの名前。 |
range_val |
| MaxValue |
integer |
パラメーターの最大値。 |
999 |
| ParamType |
integer |
パラメーターの設定タイプ。有効な値:
|
1 |
| ParamDesc |
string |
パラメーターの説明。 |
The setting value is 0 means no definition, 1 means success, 2 means failure, 3 means success and failure |
| MinValue |
integer |
パラメーターの最小値。 |
1 |
| EnumValue |
string |
paramType の値が 1 の場合、このパラメーターは空です。paramType の値が 2 の場合、このパラメーターは paramType で選択できるオプションを提供します。 |
0,1,2,3 |
| SupportedOs |
string |
サーバーのオペレーティングシステムタイプ。有効な値:
|
linux |
| AuthFlag |
boolean |
現在のユーザーバージョンにおけるベースラインサブタイプの権限フラグ。有効な値:
|
true |
| AuthFlag |
boolean |
現在のユーザーバージョンにおけるベースラインタイプの権限フラグ。有効な値:
|
true |
例
成功レスポンス
JSONJSON
{
"RequestId": "F22037B5-FCE4-5178-A9E7-71798E1F9270",
"RiskTypes": [
{
"TypeName": "hc_exploit",
"Alias": "Redis unauthorized access high exploit vulnerability risk",
"SubTypes": [
{
"TypeName": "hc_exploit_redis",
"Alias": "Redis unauthorized access high exploit vulnerability risk",
"CheckDetails": [
{
"CheckId": 1299,
"CheckItem": "Ensure password expiration period is set.",
"CheckDesc": "Set password expiration time, force regular modification of password, reduce password leakage and guess risk.Use non-password login (e.g. key pair) please ignore this item.",
"Rules": [
{
"Optional": 1,
"RuleDesc": "Please customize the password expiration time detection standard as",
"RuleId": "audit.audit_policy.auditpolicychange.cus",
"ParamList": [
{
"ParamDefaultValue": "7",
"ParamName": "range_val",
"MaxValue": 999,
"ParamType": 1,
"ParamDesc": "The setting value is 0 means no definition, 1 means success, 2 means failure, 3 means success and failure",
"MinValue": 1,
"EnumValue": "0,1,2,3"
}
]
}
]
}
],
"SupportedOs": "linux",
"AuthFlag": true
}
],
"AuthFlag": true
}
]
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | -101 | %s %s | |
| 500 | -100 | The service is unavailable, please try again later. | |
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。