GetFirewallConfigCrs

June 11, 2025 ยท View on GitHub

Custom Ruleset

Example Usage

import { GetFirewallConfigCrs } from "@vercel/sdk/models/getfirewallconfigop.js";

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

Fields

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