Mengkueri daftar item pemeriksaan kustom di Cloud Security Posture Management.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:ListCheckItems |
get |
*CustomCheckItem
|
None | None |
Sintaks permintaan
GET HTTP/1.1
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CheckId |
integer |
No |
ID item pemeriksaan. |
100000000001 |
| CheckShowName |
string |
No |
Nama item pemeriksaan kustom. |
testCheckItemName |
| CheckTypes |
array |
No |
Jenis sumber item pemeriksaan di Security Center. |
|
|
string |
No |
Jenis item pemeriksaan yang menunjukkan apakah kebijakan merupakan item pemeriksaan sistem atau item pemeriksaan yang ditentukan pengguna. Nilai yang valid:
|
SYSTEM |
|
| Lang |
string |
No |
Bahasa permintaan dan respons. Nilai default: zh. Nilai yang valid:
|
zh |
| Statuses |
array |
No |
Status item pemeriksaan. |
|
|
string |
No |
Status item pemeriksaan. Nilai yang valid:
|
RELEASE |
|
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 20. Jika Anda mengosongkan parameter ini, 20 entri akan dikembalikan per halaman. Catatan
Kami menyarankan agar Anda tidak mengosongkan parameter ini. |
20 |
| CurrentPage |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai awal: 1. Nilai default: 1. |
1 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Data respons. |
||
| RequestId |
string |
ID permintaan, yang merupakan pengenal unik yang dihasilkan oleh Alibaba Cloud untuk permintaan ini dan dapat digunakan untuk memecahkan masalah. |
7BC55C8F-226E-5AF5-9A2C-2EC43864**** |
| CheckItems |
array<object> |
Informasi tentang item pemeriksaan. |
|
|
array<object> |
Informasi tentang item pemeriksaan. |
||
| CheckId |
integer |
ID item pemeriksaan. |
100000000001 |
| CheckShowName |
string |
Nama item pemeriksaan. |
testCheckItemName |
| Vendor |
string |
Vendor aset cloud. |
ALIYUN |
| InstanceType |
string |
Jenis aset layanan cloud. |
ECS |
| InstanceSubType |
string |
Subjenis aset layanan cloud. |
DISK |
| RiskLevel |
string |
Tingkat risiko item pemeriksaan. Nilai yang valid:
|
HIGH |
| Status |
string |
Status item pemeriksaan. Nilai yang valid:
|
EDIT |
| CheckPolicies |
array<object> |
Daftar standar, persyaratan, dan bagian yang terkait dengan hasil pemeriksaan. |
|
|
object |
Standar, persyaratan, dan bagian yang terkait dengan hasil pemeriksaan. |
||
| StandardId |
integer |
Standard ID of the inspection item. |
10000000001 |
| StandardShowName |
string |
The display name of the standard for the check item. |
testStandardShowName |
| RequirementId |
integer |
The ID of the requirement for the check item. |
10000000001 |
| RequirementShowName |
string |
The display name of the requirement for the check item. |
testRequirementShowName |
| SectionId |
integer |
The ID of the section for the check item. |
10000000001 |
| SectionShowName |
string |
The display name of the section for the check item. |
testSectionShowName |
| Type |
string |
The name of the associated policy category:
|
AISPM |
| Description |
object |
Deskripsi item pemeriksaan. |
|
| Type |
string |
The type of the check description attribute. Values:
|
text |
| Value |
string |
The specific content of the description. |
custom description. |
| Solution |
object |
Informasi solusi item pemeriksaan. |
|
| Type |
string |
The type of the check item solution information. Values:
|
text |
| Value |
string |
The content of the solution for the check item risk. |
test solution. |
| AssistInfo |
object |
Informasi bantuan item pemeriksaan. |
|
| Type |
string |
The type of the help information for the check item risk. Values:
|
text |
| Value |
string |
The content of the help information for the check item risk. |
test assistInfo. |
| CheckRule |
string |
Aturan yang mendefinisikan item pemeriksaan kustom. |
{"AssociatedData":{"ToDataList":[{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","FromPropertyPath":"InstanceId"}]},"MatchProperty":{"Operator":"AND","MatchProperties":[{"DataName":"ACS_ECS_Disk","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testId"},{"DataName":"ACS_ECS_Instance","PropertyPath":"InstanceId","MatchOperator":"EQ","MatchPropertyValue":"testInstanceId"}]}} |
| CheckType |
string |
Jenis sumber item pemeriksaan di Security Center. Nilai yang valid:
|
SYSTEM |
| Remark |
string |
Keterangan. |
remark. |
| PageInfo |
object |
Informasi paginasi. |
|
| TotalCount |
integer |
Jumlah total entri yang dikembalikan. |
100 |
| Count |
integer |
Jumlah entri yang dikembalikan pada halaman saat ini. |
20 |
| CurrentPage |
integer |
Nomor halaman yang dikembalikan. |
1 |
| PageSize |
integer |
Jumlah entri yang dikembalikan per halaman. |
20 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "7BC55C8F-226E-5AF5-9A2C-2EC43864****",
"CheckItems": [
{
"CheckId": 100000000001,
"CheckShowName": "testCheckItemName",
"Vendor": "ALIYUN",
"InstanceType": "ECS",
"InstanceSubType": "DISK",
"RiskLevel": "HIGH",
"Status": "EDIT",
"CheckPolicies": [
{
"StandardId": 10000000001,
"StandardShowName": "testStandardShowName",
"RequirementId": 10000000001,
"RequirementShowName": "testRequirementShowName",
"SectionId": 10000000001,
"SectionShowName": "testSectionShowName",
"Type": "AISPM"
}
],
"Description": {
"Type": "text",
"Value": "custom description."
},
"Solution": {
"Type": "text",
"Value": "test solution."
},
"AssistInfo": {
"Type": "text",
"Value": "test assistInfo."
},
"CheckRule": "{\"AssociatedData\":{\"ToDataList\":[{\"DataName\":\"ACS_ECS_Instance\",\"PropertyPath\":\"InstanceId\",\"FromPropertyPath\":\"InstanceId\"}]},\"MatchProperty\":{\"Operator\":\"AND\",\"MatchProperties\":[{\"DataName\":\"ACS_ECS_Disk\",\"PropertyPath\":\"InstanceId\",\"MatchOperator\":\"EQ\",\"MatchPropertyValue\":\"testId\"},{\"DataName\":\"ACS_ECS_Instance\",\"PropertyPath\":\"InstanceId\",\"MatchOperator\":\"EQ\",\"MatchPropertyValue\":\"testInstanceId\"}]}}",
"CheckType": "SYSTEM",
"Remark": "remark."
}
],
"PageInfo": {
"TotalCount": 100,
"Count": 20,
"CurrentPage": 1,
"PageSize": 20
}
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | ParamIllegal.%s | The parameter %s is invalid, please fill it in again. |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.