Memanggil operasi DescribeDcdnWafDefaultRules untuk mengkueri konfigurasi default aturan WAF.
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
dcdn:DescribeDcdnWafDefaultRules |
get |
*All Resource
|
None | None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| QueryArgs |
string |
No |
Kondisi kueri, berupa string yang telah diserialisasi dalam format JSON.Format: |
{"DefenseScene":"anti_scan"} |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
|||
| RequestId |
string |
ID permintaan. |
15C66C7B-671A-4297-9187-2C4477247A123425345 |
| Content |
array<object> |
Struktur aturan. |
|
|
array<object> |
|||
| DefenseScene |
string |
Skema proteksi. Nilai yang valid:
|
anti_scan |
| Rules |
array<object> |
Struktur aturan. |
|
|
object |
|||
| Type |
string |
Tipe aturan. Nilai yang valid:
|
waf_group |
| Name |
string |
Nama default aturan. |
Default_WafGroup_Rule |
| Status |
string |
Status default aturan. Nilai yang valid:
|
on |
| Config |
string |
Konfigurasi default aturan. |
{"wafGroupIds":"1012"} |
| Action |
string |
Aksi default aturan. Nilai yang valid:
|
block |
Contoh
Respons sukses
JSONformat
{
"RequestId": "15C66C7B-671A-4297-9187-2C4477247A123425345",
"Content": [
{
"DefenseScene": "anti_scan",
"Rules": [
{
"Type": "waf_group",
"Name": "Default_WafGroup_Rule",
"Status": "on",
"Config": "{\"wafGroupIds\":\"1012\"}",
"Action": "block"
}
]
}
]
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.