mirror of
https://github.com/openappsec/attachment.git
synced 2025-06-28 16:41:03 +03:00
17 lines
492 B
Lua
Executable File
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 } },
|
|
},
|
|
},
|
|
},
|
|
},
|
|
}
|