Open-source manufacturing ERP, MES and QMS. Quoting, MRP, inventory, shop floor, quality and lot/serial traceability on one Postgres schema, with a REST API and MCP server. Self-host or use Carbon Cloud.
TypeScript ai-agentsbill-of-materialserpinventory-managementleanmanufacturingmanufacturing-execution-systemmcp-servermesmrpopen-source-erppostgresqlproduction-planningqmsquality-management-systemreact-routerself-hostedsupabasetraceabilitytypescript
fix(waf): count SizeRestrictions_BODY so request bodies over 8KB aren't 403'd (#1761)
Brad Barbin252dfa18b481
diff --git a/sst.config.ts b/sst.config.tsindex 10290fb120..92c0810e9e 100644--- a/sst.config.ts+++ b/sst.config.ts@@ -240,6 +240,20 @@ export default $config({managedRuleGroupStatement: {name: "AWSManagedRulesCommonRuleSet",vendorName: "AWS",+ // SizeRestrictions_BODY blocks any request body over 8 KB with a 403+ // at the WAF, before it reaches the app (so it never shows in app+ // logs). Carbon legitimately posts larger bodies: bulk account-mapping+ // saves ship the whole chart of accounts in one POST, and some+ // /api/inngest steps and /api/webhook/stripe exceed 8 KB too. Count+ // instead of Block so these are still inspected/counted but not rejected.+ ruleActionOverrides: [+ {+ name: "SizeRestrictions_BODY",+ actionToUse: {+ count: {},+ },+ },+ ],},},priority: 2,