Skip to content

in_forward: Fix user authentication to align Fluentd's behavior - #10973

Merged
edsiper merged 5 commits into
masterfrom
cosmo0920-fix-user-authentication
Oct 4, 2025
Merged

in_forward: Fix user authentication to align Fluentd's behavior#10973
edsiper merged 5 commits into
masterfrom
cosmo0920-fix-user-authentication

Conversation

@cosmo0920

@cosmo0920 cosmo0920 commented Oct 3, 2025

Copy link
Copy Markdown
Contributor

Currently, Fluent Bit does not follow the behavior of Fluentd's in_forward.
So, we need to align that behavior on in_forward plugin.
Also, I added specification confirming test cases for user authentication at startup.


Enter [N/A] in the box, if an item is not applicable to your change.

Testing
Before we can approve your change; please submit the following in a comment:

  • Example configuration file for the change
  • Debug log output from testing the change
  • Attached Valgrind output that shows no leaks or memory corruption was found

If this is a change to packaging of containers or native binaries then please confirm it works for all targets.

  • Run local packaging test showing all targets (including any new ones) build.
  • Set ok-package-test label to test for all targets (requires maintainer to do).

Documentation

  • Documentation required for this feature

Backporting

  • Backport to latest stable release.

Fluent Bit is licensed under Apache 2.0, by submitting this pull request I understand that this code will be released under the terms of that license.

Summary by CodeRabbit

  • New Features

    • Secure-forward handshake now also activates when using an empty shared key or when user-based authentication is configured.
  • Bug Fixes

    • Startup now validates that configured users require a shared key or empty-shared-key and fails with a clear error if missing.
    • Configured user entries are cleaned up on startup errors to prevent leftover state.
  • Refactor

    • Improved ownership and lifecycle handling for the shared key for safer allocation and cleanup.
  • Tests

    • Added runtime tests covering user-only (fail), empty-shared-key with users, shared-key only, and shared-key with users.

Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
@coderabbitai

coderabbitai Bot commented Oct 3, 2025

Copy link
Copy Markdown

Walkthrough

Adds ownership semantics for shared_key, validates at startup that configured users require either a non-empty shared_key or empty_shared_key (abort init and cleanup on violation), centralizes shared_key lifecycle with ownership-aware helpers, expands handshake initiation to consider empty_shared_key or configured users, and adds runtime tests covering auth permutations.

Changes

Cohort / File(s) Summary
Forward input: startup validation & cleanup
plugins/in_forward/fw.c
After loading users, validate that if users exist then either shared_key is set or empty_shared_key is enabled; on violation log an error, call fw_config_destroy(), delete_users(ctx) and return -1; ensure delete_users(ctx) on server socket setup error paths.
Forward input: shared_key ownership flag
plugins/in_forward/fw.h
Add int owns_shared_key to struct flb_in_fw_config to track ownership of shared_key (field otherwise unchanged).
Forward input: shared_key lifecycle helpers
plugins/in_forward/fw_config.c
Add fw_destroy_shared_key and fw_create_empty_shared_key helpers; centralize allocation/free of shared_key with ownership-aware logic and propagate allocation failures from init.
Forward input: handshake initiation criteria
plugins/in_forward/fw_conn.c
Handshake init now sets HELO (secure-forward handshake) when shared_key is present, or empty_shared_key is enabled, or configured users exist; otherwise remain established.
Tests: runtime auth cases
tests/runtime/in_forward.c
Add helper fw_make_ctx_with_forward and four tests for startup behavior: users-only (expect fail), empty_shared_key with users (pass), shared_key only (pass), shared_key with users (pass); add test entries to TEST_LIST (some duplicated).

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Admin as Config Loader
  participant FW as in_forward:init
  participant Cfg as fw_config
  participant Log as Logger

  Admin->>FW: initialize()
  FW->>Cfg: setup_users()
  FW->>FW: validate auth preconditions
  alt users configured AND no shared_key AND not empty_shared_key
    FW->>Log: error("users require shared_key or empty_shared_key")
    FW->>Cfg: fw_config_destroy()
    FW->>FW: delete_users(ctx)
    FW-->>Admin: return -1
  else OK
    FW-->>Admin: continue init
  end
Loading
sequenceDiagram
  autonumber
  participant Conn as fw_conn_add
  participant Cfg as fw_config
  participant HS as Handshake State

  Conn->>Cfg: read shared_key, empty_shared_key, users
  Conn->>HS: state = ESTABLISHED (default)
  alt shared_key present OR empty_shared_key enabled OR users configured
    Conn->>HS: state = HELO (init secure-forward handshake)
  else
    Note over Conn,HS: remain established without handshake
  end
  Conn-->>HS: proceed with downstream flow
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Poem

I twitch my ears at keys we share,
A handshake hops when users are there.
If secrets lack, I sound the bell,
I clean the burrow where errors dwell.
Tests nibble carrots — hop secure, hop well! 🥕

Pre-merge checks and finishing touches

❌ Failed checks (1 warning)
Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. You can run @coderabbitai generate docstrings to improve docstring coverage.
✅ Passed checks (2 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly indicates that the in_forward plugin’s user authentication logic is being fixed to match Fluentd’s behavior, accurately reflecting the core change in the pull request without extraneous detail.
✨ Finishing touches
  • 📝 Generate docstrings
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch cosmo0920-fix-user-authentication

📜 Recent review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between e42b5ce and 2d18833.

📒 Files selected for processing (1)
  • plugins/in_forward/fw_config.c (3 hunks)
🚧 Files skipped from review as they are similar to previous changes (1)
  • plugins/in_forward/fw_config.c
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (30)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 32bit, x86, x86-windows-static, 3.31.6)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit (Arm64), amd64_arm64, -DCMAKE_SYSTEM_NAME=Windows -DCMA...
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit, x64, x64-windows-static, 3.31.6)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_ARROW=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_COVERAGE=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, gcc, g++)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-22.04, clang-12)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-24.04, clang-14)
  • GitHub Check: pr-compile-without-cxx (3.31.6)
  • GitHub Check: PR - fuzzing test
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-24.04, clang-14)
  • GitHub Check: pr-compile-centos-7
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-22.04, clang-12)

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 19ec5a3 and c5b299d.

📒 Files selected for processing (5)
  • plugins/in_forward/fw.c (1 hunks)
  • plugins/in_forward/fw.h (2 hunks)
  • plugins/in_forward/fw_config.c (2 hunks)
  • plugins/in_forward/fw_conn.c (1 hunks)
  • tests/runtime/in_forward.c (2 hunks)
🧰 Additional context used
🧬 Code graph analysis (3)
plugins/in_forward/fw.c (1)
plugins/in_forward/fw_config.c (1)
  • fw_config_destroy (110-143)
plugins/in_forward/fw_config.c (1)
src/flb_sds.c (2)
  • flb_sds_create (78-90)
  • flb_sds_destroy (389-399)
tests/runtime/in_forward.c (1)
src/flb_lib.c (9)
  • flb_create (138-220)
  • flb_service_set (647-673)
  • flb_input (261-271)
  • flb_destroy (223-258)
  • flb_output (274-284)
  • flb_output_set (515-546)
  • flb_input_set (300-330)
  • flb_start (914-925)
  • flb_stop (942-985)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (30)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit, x64, x64-windows-static, 3.31.6)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit (Arm64), amd64_arm64, -DCMAKE_SYSTEM_NAME=Windows -DCMA...
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 32bit, x86, x86-windows-static, 3.31.6)
  • GitHub Check: PR - fuzzing test
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_COVERAGE=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_ARROW=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, gcc, g++)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-24.04, clang-14)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, gcc, g++)
  • GitHub Check: pr-compile-without-cxx (3.31.6)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, gcc, g++)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-24.04, clang-14)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-22.04, clang-12)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-22.04, clang-12)
  • GitHub Check: pr-compile-centos-7

Comment thread plugins/in_forward/fw_config.c
niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
Upstream-Ref: fluent/fluent-bit@4f553dd
Upstream-PR: fluent/fluent-bit#10973
Testing upstream PR #10973 in FluentDo Agent
niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
@niedbalski

This comment was marked as off-topic.

niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
Upstream-Ref: fluent/fluent-bit@4f553dd
Upstream-PR: fluent/fluent-bit#10973
Testing upstream PR #10973 in FluentDo Agent
niedbalski added a commit to telemetryforge/agent that referenced this pull request Oct 3, 2025
@cosmo0920
cosmo0920 force-pushed the cosmo0920-fix-user-authentication branch from c37fb73 to c5b299d Compare October 3, 2025 09:40
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 0

🧹 Nitpick comments (1)
tests/runtime/in_forward.c (1)

906-1046: Suggest optional test coverage for empty_shared_key without users.

The test suite comprehensively validates the core authentication constraints. However, consider adding a test for empty_shared_key without security.users to confirm that this configuration also starts successfully (documenting the baseline behavior).

Example test:

/* 5) empty_shared_key only (no users) => start OK */
void flb_test_fw_auth_empty_shared_key_only_start_ok()
{
    flb_ctx_t *ctx;
    int in_ffd, out_ffd, ret;

    ctx = fw_make_ctx_with_forward(&in_ffd, &out_ffd);
    TEST_CHECK(ctx != NULL);
    if (!ctx) { return; }

    ret = flb_input_set(ctx, in_ffd,
                        "tag", "test",
                        "empty_shared_key", "true",
                        NULL);
    TEST_CHECK(ret == 0);

    ret = flb_start(ctx);
    TEST_CHECK(ret == 0);
    if (ret == 0) {
        flb_stop(ctx);
    }
    flb_destroy(ctx);
}

And register it in TEST_LIST:

     {"fw_auth_shared_key_only_start_ok", flb_test_fw_auth_shared_key_only_start_ok},
     {"fw_auth_shared_key_plus_users_start_ok", flb_test_fw_auth_shared_key_plus_users_start_ok},
+    {"fw_auth_empty_shared_key_only_start_ok", flb_test_fw_auth_empty_shared_key_only_start_ok},
     {NULL, NULL}
📜 Review details

Configuration used: CodeRabbit UI

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 5e2f8fb and e42b5ce.

📒 Files selected for processing (4)
  • plugins/in_forward/fw.c (1 hunks)
  • plugins/in_forward/fw.h (1 hunks)
  • plugins/in_forward/fw_config.c (3 hunks)
  • tests/runtime/in_forward.c (2 hunks)
🚧 Files skipped from review as they are similar to previous changes (3)
  • plugins/in_forward/fw.h
  • plugins/in_forward/fw.c
  • plugins/in_forward/fw_config.c
🧰 Additional context used
🧬 Code graph analysis (1)
tests/runtime/in_forward.c (1)
src/flb_lib.c (8)
  • flb_create (138-220)
  • flb_input (261-271)
  • flb_destroy (223-258)
  • flb_output (274-284)
  • flb_output_set (515-546)
  • flb_input_set (300-330)
  • flb_start (914-925)
  • flb_stop (942-985)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (30)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit, x64, x64-windows-static, 3.31.6)
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 64bit (Arm64), amd64_arm64, -DCMAKE_SYSTEM_NAME=Windows -DCMA...
  • GitHub Check: pr-windows-build / call-build-windows-package (Windows 32bit, x86, x86-windows-static, 3.31.6)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_ARROW=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=Off, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SIMD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_COVERAGE=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_THREAD=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SANITIZE_MEMORY=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_UNDEFINED=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_SMALL=On, 3.31.6, gcc, g++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=Off, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DSANITIZE_ADDRESS=On, 3.31.6, clang, clang++)
  • GitHub Check: run-ubuntu-unit-tests (-DFLB_JEMALLOC=On, 3.31.6, gcc, g++)
  • GitHub Check: pr-compile-without-cxx (3.31.6)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-22.04, clang-12)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-22.04, clang-12)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, gcc, g++, ubuntu-24.04, clang-14)
  • GitHub Check: pr-compile-system-libs (-DFLB_PREFER_SYSTEM_LIBS=On, 3.31.6, clang, clang++, ubuntu-24.04, clang-14)
  • GitHub Check: pr-compile-centos-7
  • GitHub Check: PR - fuzzing test
🔇 Additional comments (6)
tests/runtime/in_forward.c (6)

906-945: LGTM!

The helper function correctly initializes a Fluent Bit context with a forward input and lib output. Error handling is appropriate, with cleanup (flb_destroy) on failure paths.


948-972: LGTM!

The test correctly validates that a users-only configuration (without shared_key or empty_shared_key) fails to start, enforcing fail-close behavior. Cleanup is properly handled.


975-997: LGTM!

The test correctly validates that combining empty_shared_key with security.users allows startup, with proper cleanup.


1000-1021: LGTM!

The test correctly validates backward compatibility for shared_key-only configurations (without users), ensuring startup succeeds.


1024-1046: LGTM!

The test correctly validates that combining shared_key with security.users allows startup, ensuring both authentication mechanisms work together.


1059-1062: LGTM!

The four new authentication tests are properly registered in the test list.

Comment thread plugins/in_forward/fw_config.c Outdated
Signed-off-by: Hiroshi Hatake <hiroshi@chronosphere.io>
@edsiper
edsiper merged commit 964ebca into master Oct 4, 2025
56 of 57 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants