Mengkueri aturan sistem untuk perlindungan Web Application Firewall (WAF).
Coba sekarang
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
yundun-waf:DescribeBaseSystemRules |
get |
*全部资源
|
|
None |
Parameter permintaan
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceId |
string |
Yes |
ID instans WAF. Catatan
Panggil DescribeInstance untuk mengkueri ID instans WAF Anda. |
waf_cdnsdf3**** |
| PageNumber |
integer |
No |
Nomor halaman yang akan dikembalikan. Nilai default: 1. |
1 |
| PageSize |
integer |
No |
Jumlah entri yang akan dikembalikan di setiap halaman. Nilai default: 100. |
100 |
| RuleId |
integer |
No |
ID aturan perlindungan sistem yang akan dikueri. |
113089 |
| RuleStatus |
integer |
No |
Status aturan perlindungan sistem. Nilai valid:
|
1 |
| RuleAction |
string |
No |
Aksi aturan perlindungan sistem. Nilai valid:
|
block |
| Lang |
string |
No |
Bahasa tanggapan. Nilai valid:
|
zh |
| RegionId |
string |
No |
Wilayah tempat instans WAF berada. Nilai valid:
|
cn-hangzhou |
| DetectType |
string |
No |
Tipe serangan yang dideteksi oleh aturan perlindungan sistem. Nilai valid:
|
sqli |
| RiskLevel |
string |
No |
Tingkat risiko aturan perlindungan sistem. Nilai valid:
|
loose |
| RuleName |
string |
No |
Nama aturan perlindungan sistem. |
systemRuleTest |
| TemplateId |
integer |
No |
ID template perlindungan. Catatan
|
24354 |
| ResourceManagerResourceGroupId |
string |
No |
ID kelompok sumber daya Alibaba Cloud. |
rg-acfm***q |
| RuleIds |
array |
No |
要查询的系统防护规则 ID 列表。 |
|
|
integer |
No |
要查询的系统防护规则 ID。 |
113090 |
Elemen respons
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| RequestId |
string |
The request ID. |
80736FA5-FA87-55F6-AA69-C5477C6FE6D0 |
| Rules |
array<object> |
The list of system protection rules. |
|
|
object |
The system protection rule. |
||
| RuleId |
integer |
The ID of the system protection rule. |
113089 |
| UpdateTime |
integer |
The time when the system protection rule was last updated. This value is a UNIX timestamp. Unit: milliseconds. |
1665460629000 |
| RuleName |
string |
The name of the system protection rule. |
systemRuleTest |
| RuleStatus |
integer |
The status of the system protection rule. Valid values:
|
1 |
| Description |
string |
The description of the system protection rule. |
rule description |
| RuleAction |
string |
The action of the system protection rule. Valid values:
|
block |
| CveId |
string |
The CVE ID of the vulnerability that is associated with the system protection rule. |
CVE-2021-34538 |
| RiskLevel |
string |
The risk level of the system protection rule. Valid values:
|
super_strict |
| DetectType |
string |
The type of attack that the system protection rule detects. Valid values:
|
sqli |
| TotalCount |
integer |
The total number of entries returned. |
2 |
Contoh
Respons sukses
JSONformat
{
"RequestId": "80736FA5-FA87-55F6-AA69-C5477C6FE6D0",
"Rules": [
{
"RuleId": 113089,
"UpdateTime": 1665460629000,
"RuleName": "systemRuleTest",
"RuleStatus": 1,
"Description": "rule description",
"RuleAction": "block",
"CveId": "CVE-2021-34538",
"RiskLevel": "super_strict",
"DetectType": "sqli"
}
],
"TotalCount": 2
}
Kode kesalahan
Lihat Error Codes untuk daftar lengkap.
Catatan rilis
Lihat Release Notes untuk daftar lengkap.