Mengkueri detail kerentanan keamanan node pool berdasarkan ID node pool dengan memanggil operasi DescribeNodePoolVuls. Detailnya mencakup nama kerentanan dan tingkat keparahan. Pindai node pool secara berkala untuk menemukan kerentanan keamanan guna meningkatkan keamanan kluster.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cs:DescribeNodePoolVuls |
get |
*Cluster
|
None | None |
Sintaks permintaan
GET /clusters/{cluster_id}/nodepools/{nodepool_id}/vuls HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| cluster_id |
string |
Yes |
ID kluster. |
c17e742cee942410486f237293d66**** |
| nodepool_id |
string |
Yes |
ID node pool. |
np38f32fdbc60e4a1e957ffde77846**** |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| necessity |
string |
No |
Tingkat keparahan kerentanan yang akan dikueri. Pisahkan beberapa tingkat dengan koma (,). Nilai yang valid:
|
asap |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| vul_records |
array<object> |
Daftar kerentanan node pool. |
|
|
array<object> |
Daftar kerentanan node pool. |
||
| instance_id |
string |
ID instans node. |
i-t4n2qolb0wtzt0pz**** |
| vul_list |
array<object> |
Daftar kerentanan. |
|
|
array<object> |
Informasi kerentanan. |
||
| name |
string |
The name of the vulnerability. |
oval:com.redhat.rhsa:def:20193197 |
| alias_name |
string |
The alias of the vulnerability. |
RHSA-2019:3197-Important: sudo security update |
| necessity |
string |
The severity level of the vulnerability. Valid values:
Valid values:
|
asap |
| cve_list |
array |
A list of CVE names corresponding to the vulnerabilities. |
|
|
string |
The CVE name of the vulnerability. |
CVE-2017-10268 |
|
| need_reboot |
boolean |
Indicates whether a restart is required. |
false |
| package_list |
array<object> |
||
|
object |
|||
| name |
string |
WebLogic |
|
| node_name |
string |
Nama node, yaitu pengidentifikasi node di dalam kluster. |
cn-hangzhou.192.168.x.x |
| vuls_fix_service_purchased |
boolean |
Menunjukkan apakah layanan perbaikan CVE Security Center telah dibeli.
|
false |
Contoh
Respons sukses
JSONformat
{
"vul_records": [
{
"instance_id": "i-t4n2qolb0wtzt0pz****",
"vul_list": [
{
"name": "oval:com.redhat.rhsa:def:20193197",
"alias_name": "RHSA-2019:3197-Important: sudo security update",
"necessity": "asap",
"cve_list": [
"CVE-2017-10268"
],
"need_reboot": false,
"package_list": [
{
"name": "WebLogic"
}
]
}
],
"node_name": "cn-hangzhou.192.168.x.x"
}
],
"vuls_fix_service_purchased": false
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.