Daniel-Eisenberg 882dc4c187
Add kong plugin (#36)
* add kong plugin to open-appsec

* fix url in rockspec file

* add the attachment prefix to the paths

* check

* fix branch

---------

Co-authored-by: wiaamm <wiaamm@checkpoint.com>
2025-06-24 14:58:41 +03:00

17 lines
492 B
Lua
Executable File

local typedefs = require "kong.db.schema.typedefs"
return {
name = "open-appsec-waf-kong-plugin",
fields = {
{ consumer = typedefs.no_consumer }, -- required for Konnect compatibility
{ protocols = typedefs.protocols_http }, -- required so Konnect knows when to allow this plugin
{ config = {
type = "record",
fields = {
{ debug = { type = "boolean", default = false } },
},
},
},
},
}