PutFirewallConfigCrs

June 11, 2025 ยท View on GitHub

Custom Ruleset

Example Usage

import { PutFirewallConfigCrs } from "@vercel/sdk/models/putfirewallconfigop.js";

let value: PutFirewallConfigCrs = {
  sd: {
    active: false,
    action: "log",
  },
  ma: {
    active: true,
    action: "deny",
  },
  lfi: {
    active: false,
    action: "log",
  },
  rfi: {
    active: true,
    action: "log",
  },
  rce: {
    active: false,
    action: "log",
  },
  php: {
    active: false,
    action: "deny",
  },
  gen: {
    active: false,
    action: "log",
  },
  xss: {
    active: false,
    action: "deny",
  },
  sqli: {
    active: true,
    action: "log",
  },
  sf: {
    active: true,
    action: "log",
  },
  java: {
    active: true,
    action: "log",
  },
};

Fields

FieldTypeRequiredDescription
sdmodels.PutFirewallConfigSd:heavy_check_mark:Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
mamodels.PutFirewallConfigMa:heavy_check_mark:Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
lfimodels.PutFirewallConfigLfi:heavy_check_mark:Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
rfimodels.PutFirewallConfigRfi:heavy_check_mark:Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
rcemodels.PutFirewallConfigRce:heavy_check_mark:Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
phpmodels.PutFirewallConfigPhp:heavy_check_mark:PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
genmodels.PutFirewallConfigGen:heavy_check_mark:Generic Attack - Provide broad protection from various undefined or novel attack vectors.
xssmodels.PutFirewallConfigXss:heavy_check_mark:XSS Attack - Prevent injection of malicious scripts into trusted webpages.
sqlimodels.PutFirewallConfigSqli:heavy_check_mark:SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
sfmodels.PutFirewallConfigSf:heavy_check_mark:Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
javamodels.PutFirewallConfigJava:heavy_check_mark:Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.