Create open-appsec-waf-kong-plugin-1.0.0-1.rockspec

This commit is contained in:
orianelou 2025-08-07 14:43:45 +03:00 committed by GitHub
parent 6154961b0b
commit cf117af4b4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -0,0 +1,59 @@
package = "cloudguard-waf-kong-plugin"
version = "1.0.0-1"
source = {
url = "git://github.com/openappsec/attachment.git",
tag = "v1.0.0"
}
description = {
summary = "CloudGuard WAF Kong plugin",
detailed = [[
This is the CloudGuard WAF plugin for Kong API gateway, built using the open-appsec engine.
It integrates advanced security features into Kong using CloudGuard branding while utilizing the open-appsec core.
]],
homepage = "https://github.com/openappsec/attachment",
license = "Apache"
}
dependencies = {
"lua >= 2.1"
}
build = {
type = "builtin",
modules = {
["kong.plugins.open-appsec-waf-kong-plugin.handler"] = "attachments/kong/plugins/open-appsec-waf-kong-plugin/handler.lua",
["kong.plugins.open-appsec-waf-kong-plugin.nano_ffi"] = "attachments/kong/plugins/open-appsec-waf-kong-plugin/nano_ffi.lua",
["kong.plugins.open-appsec-waf-kong-plugin.schema"] = "attachments/kong/plugins/open-appsec-waf-kong-plugin/schema.lua",
["lua_attachment_wrapper"] = {
sources = {
"attachments/kong/plugins/open-appsec-waf-kong-plugin/lua_attachment_wrapper.c",
"attachments/nano_attachment/nano_attachment.c",
"attachments/nano_attachment/nano_attachment_io.c",
"attachments/nano_attachment/nano_attachment_metric.c",
"attachments/nano_attachment/nano_attachment_sender.c",
"attachments/nano_attachment/nano_attachment_sender_thread.c",
"attachments/nano_attachment/nano_attachment_thread.c",
"attachments/nano_attachment/nano_compression.c",
"attachments/nano_attachment/nano_configuration.c",
"attachments/nano_attachment/nano_initializer.c",
"attachments/nano_attachment/nano_utils.c",
"attachments/nano_attachment/nano_attachment_util/nano_attachment_util.cc",
"core/attachments/http_configuration/http_configuration.cc",
"core/compression/compression_utils.cc",
"core/shmem_ipc_2/shared_ring_queue.c",
"core/shmem_ipc_2/shmem_ipc.c"
},
incdirs = {
"core/include/attachments/",
"attachments/nano_attachment/",
"external/"
},
defines = { "_GNU_SOURCE", "ZLIB_CONST" },
libraries = { "pthread", "z", "rt", "stdc++" },
ldflags = { "-static-libstdc++", "-static-libgcc" }
}
}
}