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
| Field | Type | Required | Description |
|---|---|---|---|
sd | models.PutFirewallConfigSd | :heavy_check_mark: | Scanner Detection - Detect and prevent reconnaissance activities from network scanning tools. |
ma | models.PutFirewallConfigMa | :heavy_check_mark: | Multipart Attack - Block attempts to bypass security controls using multipart/form-data encoding. |
lfi | models.PutFirewallConfigLfi | :heavy_check_mark: | Local File Inclusion Attack - Prevent unauthorized access to local files through web applications. |
rfi | models.PutFirewallConfigRfi | :heavy_check_mark: | Remote File Inclusion Attack - Prohibit unauthorized upload or execution of remote files. |
rce | models.PutFirewallConfigRce | :heavy_check_mark: | Remote Execution Attack - Prevent unauthorized execution of remote scripts or commands. |
php | models.PutFirewallConfigPhp | :heavy_check_mark: | PHP Attack - Safeguard against vulnerability exploits in PHP-based applications. |
gen | models.PutFirewallConfigGen | :heavy_check_mark: | Generic Attack - Provide broad protection from various undefined or novel attack vectors. |
xss | models.PutFirewallConfigXss | :heavy_check_mark: | XSS Attack - Prevent injection of malicious scripts into trusted webpages. |
sqli | models.PutFirewallConfigSqli | :heavy_check_mark: | SQL Injection Attack - Prohibit unauthorized use of SQL commands to manipulate databases. |
sf | models.PutFirewallConfigSf | :heavy_check_mark: | Session Fixation Attack - Prevent unauthorized takeover of user sessions by enforcing unique session IDs. |
java | models.PutFirewallConfigJava | :heavy_check_mark: | Java Attack - Mitigate risks of exploitation targeting Java-based applications or components. |