Ingest-Only Mode Support#27
Open
rswalkden wants to merge 3 commits into
Open
Conversation
whiteh
approved these changes
May 14, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request introduces support for "ingest-only" mode in the Netacea Lua module, allowing request data to be sent to the ingest pipeline without invoking mitigation logic. It also updates documentation, versioning, and tests to reflect this new feature and improve robustness.
Ingest-only mode support:
Added support for ingest-only mode in the Lua module, updating the
ingestmethod insrc/lua_resty_netacea.luato gracefully handle cases whereNetaceaStateorprotector_resultis missing, and only setbc_typewhen mitigation state is available. (src/lua_resty_netacea.luaL121-R129)Updated the documentation (
README.md) with a new section and example configuration for enabling ingest-only mode, including required settings foringestEnabled,mitigationEnabled, andkinesisProperties. (README.mdR48-R101)Versioning and packaging:
1.2.0in bothsrc/lua_resty_netacea.luaand the rockspec file, and updated the Dockerfile and build process to use the new version. ([1], [2], [3])Testing improvements:
test/lua_resty_netacea_spec.lua) to cover ingest-only mode, including cases whereNetaceaStateorprotector_resultis missing and where mitigation state is present. (test/lua_resty_netacea_spec.luaL3-R116)