Mengkueri daftar putih kerentanan berdasarkan halaman.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-sas:DescribeVulWhitelist |
get |
*VulWhitelist
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| CurrentPage |
integer |
No |
Nomor halaman. Halaman dimulai dari halaman 1. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri per halaman. Nilai default: 10. |
10 |
| Lang |
string |
No |
Bahasa konten dalam permintaan dan tanggapan. Nilai default: zh. Nilai valid:
|
zh |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
Parameter tanggapan. |
||
| CurrentPage |
integer |
Nomor halaman saat ini dalam penomoran halaman. |
1 |
| RequestId |
string |
ID permintaan. |
74F97EF7-B543-43FD-A4E9-18456731F9C5 |
| PageSize |
integer |
Jumlah entri per halaman dalam penomoran halaman. |
10 |
| TotalCount |
integer |
Jumlah total entri. |
1 |
| Count |
integer |
Jumlah entri pada halaman saat ini dalam penomoran halaman. |
2 |
| VulWhitelists |
array<object> |
Daftar kerentanan yang masuk daftar putih. |
|
|
object |
Informasi kerentanan. |
||
| Type |
string |
Tipe kerentanan. |
cve |
| TargetInfo |
string |
Cakupan aturan. Nilainya adalah string JSON yang berisi bidang berikut:
Catatan
Jika nilai ini kosong, aturan berlaku untuk semua aset. |
{"type":"GroupId","groupIds":[916****],"uuids":[]} |
| AliasName |
string |
Alias kerentanan. |
RHSA-2017:3263: curl security update |
| Name |
string |
Nama kerentanan. |
oval:com.redhat.rhsa:def:20173263 |
| Reason |
string |
Alasan menambahkan kerentanan ke daftar putih. |
ignore |
| Id |
string |
ID aturan. |
1275 |
| Whitelist |
string |
Informasi kerentanan. Nilainya dalam format JSON.
|
[{ "name":"oval:com.redhat.rhsa:def:20173263", "type":"cve", "aliasName":"RHSA-2017:3263: curl security update" }] |
Contoh
Respons sukses
JSONformat
{
"CurrentPage": 1,
"RequestId": "74F97EF7-B543-43FD-A4E9-18456731F9C5",
"PageSize": 10,
"TotalCount": 1,
"Count": 2,
"VulWhitelists": [
{
"Type": "cve",
"TargetInfo": "{\"type\":\"GroupId\",\"groupIds\":[916****],\"uuids\":[]}",
"AliasName": "RHSA-2017:3263: curl security update",
"Name": "oval:com.redhat.rhsa:def:20173263",
"Reason": "ignore",
"Id": "1275",
"Whitelist": "[{\n\"name\":\"oval:com.redhat.rhsa:def:20173263\",\n\"type\":\"cve\",\n\"aliasName\":\"RHSA-2017:3263: curl security update\"\n}]"
}
]
}
Kode kesalahan
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 500 | ServerError | ServerError | |
| 403 | NoPermission | caller has no permission |
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.