Skip to content

Latest commit

 

History

History
72 lines (66 loc) · 6.23 KB

crs.md

File metadata and controls

72 lines (66 loc) · 6.23 KB

Crs

Custom Ruleset

Example Usage

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

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

Fields

Field Type Required Description
sd models.Sd ✔️ Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools.
ma models.Ma ✔️ Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding.
lfi models.Lfi ✔️ Local File Inclusion Attack - Prevent unauthorized access to local files through web applications.
rfi models.Rfi ✔️ Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files.
rce models.Rce ✔️ Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands.
php models.Php ✔️ PHP Attack - Safeguard against vulnerability exploits in PHP-based applications.
gen models.Gen ✔️ Generic Attack - Provide broad protection from various undefined or novel attack vectors.
xss models.Xss ✔️ XSS Attack - Prevent injection of malicious scripts into trusted webpages.
sqli models.Sqli ✔️ SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases.
sf models.Sf ✔️ Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs.
java models.Java ✔️ Java Attack - Mitigate risks of exploitation targeting Java-based applications or components.