云防火墙 CFW-修改反病毒规则:请求示例

时间:2024-12-25 16:21:01

请求示例

修改项目id为eefb11b22d5944f2aa067954516df1cf的反病毒规则为”观察“,防火墙id为e743cfaf-8164-4807-aa13-d893d83313cf,企业项目id为fb55459c-41b3-47fc-885d-540946fddda4。

https://{Endpoint}/v1/eefb11b22d5944f2aa067954516df1cf/anti-virus/rule?fw_instance_id=e743cfaf-8164-4807-aa13-d893d83313cf&enterprise_project_id=fb55459c-41b3-47fc-885d-540946fddda4

{
  "object_id" : "1b90f031-0c7b-4f25-95e2-b6d9940d269e",
  "engine_type" : 1,
  "scan_protocol_configs" : [ {
    "protocol_type" : 2,
    "action" : 0
  } ]
}
support.huaweicloud.com/api-cfw/UpdateAntiVirusRule.html