lib/cloudflare_client/zone/firewall/waf_package.rb
##
# changes the sensitivity and action for an anomaly detection type WAF rule package
changes the sensitivity and action for an anomaly detection type WAF rule package
changes the sensitivity and action for an anomaly detection type WAF rule package
def update(id:, sensitivity: 'high', action_mode: 'challange')
    id_check('id', id)
    valid_value_check(:sensitivity, sensitivity, VALID_SENSITIVITIES)
    valid_value_check(:action_mode, action_mode, VALID_ACTION_MODES)
    data = {sensitivity: sensitivity, action_mode: action_mode}
    cf_patch(path: "/zones/#{zone_id}/firewall/waf/packages/#{id}", data: data)
  end
def update ( id : , sensitivity : 'high' , action_mode : 'challange' ) id_check ( 'id' , id ) valid_value_check ( :sensitivity , sensitivity , VALID_SENSITIVITIES ) valid_value_check ( :action_mode , action_mode , VALID_ACTION_MODES ) data = { sensitivity : sensitivity , action_mode : action_mode } cf_patch ( path : "/zones/#{zone_id}/firewall/waf/packages/#{id}" , data : data ) end
changes the sensitivity and action for an anomaly detection type WAF rule package
changes the sensitivity and action for an anomaly detection type WAF rule package
id
<not_specific>
sensitivity
<not_specific>
action_mode
<not_specific>