• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fluent / fluent-plugin-opensearch
93%
main: 93%

Build:
Build:
LAST BUILD BRANCH: data-stream-pipeline
DEFAULT BRANCH: main
Repo Added 07 Jan 2022 09:11AM UTC
Files 13
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH fix-host
branch: fix-host
CHANGE BRANCH
x
Reset
  • fix-host
  • add-constraint-for-faraday-middleware
  • add-ism-documentation-in-troubleshooting-doc
  • add-testcases-for-hosts-parameter
  • add-to-project
  • adjust-github-workflows
  • align-lowercases
  • allow_duplicate_key
  • ci-add-ruby-3.2
  • ci-grouping-pr
  • ci-ruby-3.2-minimum
  • ci-sha
  • client-chain
  • configurable-unrecoverable-record-types
  • data-stream-pipeline
  • dependabot.yml
  • dependabot/github_actions/actions/add-to-project-2.0.0
  • dependabot/github_actions/actions/checkout-6.0.3
  • dependabot/github_actions/actions/create-github-app-token-3.1.1
  • dependabot/github_actions/actions/create-github-app-token-3.2.0
  • dependabot/github_actions/coverallsapp/github-action-2.3.6
  • dependabot/github_actions/monthly-updates-27f38f1e4e
  • dependabot/github_actions/monthly-updates-a7c1315158
  • dependabot/github_actions/monthly-updates-b381ee1f94
  • dependabot/github_actions/monthly-updates-e631a66382
  • dependabot/github_actions/roots/issue-closer-action-1.2
  • dependabot/github_actions/ruby/setup-ruby-1.299.0
  • dependabot/github_actions/ruby/setup-ruby-1.306.0
  • dependabot/github_actions/ruby/setup-ruby-1.310.0
  • docs
  • fix-badge
  • fix-customize-template
  • fix-data-stream-id-key
  • fix-error-handler-record-reason
  • fix-flush
  • fix-memory-usage
  • fix-reuse-client-port-scheme
  • fix-secret
  • fix/data-stream-bulk-error-logging
  • fix_duplicate_keys_in_test_fixtures
  • fix_expired_sigv4_token
  • handle-exceptions-on-credentials-retriving
  • handle-opensearch-serverless
  • handle-suppress_type_name-correctly
  • implement-aws-opensearch-sign-request-mechanism
  • issue-template
  • load-faraday-v2
  • main
  • obtain-aws-credentials-on-every-requests-if-available
  • pass-credentials-duration
  • permit-to-handle-hosts-parameter
  • prevent_refresh_from_stopping_on_exception
  • refresh_credentials_interval
  • refs/tags/v1.0.0
  • refs/tags/v1.0.1
  • refs/tags/v1.0.10
  • refs/tags/v1.0.2
  • refs/tags/v1.0.3
  • refs/tags/v1.0.4
  • refs/tags/v1.0.5
  • refs/tags/v1.0.6
  • refs/tags/v1.0.7
  • refs/tags/v1.0.8
  • refs/tags/v1.0.9
  • refs/tags/v1.1.0
  • refs/tags/v1.1.1
  • refs/tags/v1.1.2
  • refs/tags/v1.1.3
  • refs/tags/v1.1.4
  • refs/tags/v1.1.5
  • release-1.2.0
  • release-v1.0.0
  • release-v1.1.8
  • revert-duration
  • ruby_versions.yml
  • specify-host-argument-if-needed
  • suppress-emit-error-label-events
  • suppress_type_name
  • tmp
  • update-ci
  • upload-coverage-into-coveralls
  • use-faraday-1
  • use-faraday-2
  • use-if-clause-to-detect-requirements-for-emitting-error-label-events
  • v1.1.6
  • v1.1.7
  • v1.1.8
  • webrick
  • yajl-to-json

07 Oct 2026 05:15AM UTC coverage: 93.119% (+0.2%) from 92.901%
37575507139

Pull #192

github

kenhys
out_opensearch: limit what a host placeholder can expand to

Before: a placeholder in `host`/`hosts` was expanded as is, so a tag or
a record field could add a host with ",", userinfo with "@" or a path
with "/", move the request to another domain, or drop the host with an
empty value. The configured user, password and custom_headers were then
sent to that host.

After: each value is checked before the setting is expanded, so it can
only fill in the part of a host name that the placeholder stands for:
one label, a sub domain of a domain that the operator fixed with two or
more names, or a whole host name with a port. An IPv6 address is allowed
where the operator wrote the "[]" or the scheme that `URI()` needs. A
placeholder used with credentials also logs a warning at startup, and
the README asks for a fixed domain that the operator controls, because
two fixed names alone do not make a destination trusted.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Kentaro Hayashi <hayashi@clear-code.com>
Pull Request #192: out_opensearch: limit what a host placeholder can expand to

47 of 47 new or added lines in 2 files covered. (100.0%)

51 existing lines in 2 files now uncovered.

1245 of 1337 relevant lines covered (93.12%)

330.75 hits per line

Relevant lines Covered
Build:
Build:
1337 RELEVANT LINES 1245 COVERED LINES
330.75 HITS PER LINE
Source Files on fix-host
  • Tree
  • List 13
  • Changed 13
  • Source Changed 3
  • Coverage Changed 13
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
37575507139 fix-host out_opensearch: limit what a host placeholder can expand to Before: a placeholder in `host`/`hosts` was expanded as is, so a tag or a record field could add a host with ",", userinfo with "@" or a path with "/", move the request to another domain... Pull #192 07 Oct 2026 05:22AM UTC kenhys github
93.12
37279291879 fix-host out_opensearch: check a host placeholder value by its place Before: a value could hold a host name and a port wherever the placeholder was. * `host myhost-${pipeline_id}` let a record field move the request to another domain * `hosts https://l... Pull #192 05 Oct 2026 07:48AM UTC kenhys github
93.11
35186385420 fix-host out_opensearch: check a host placeholder value by its place Before: a value could hold a host name and a port wherever the placeholder was. * `host myhost-${pipeline_id}` let a record field move the request to another domain * `hosts https://l... Pull #192 17 Sep 2026 05:42AM UTC kenhys github
93.04
35062263158 fix-host out_opensearch: limit what a host placeholder can expand to Before: A placeholder in `host`/`hosts` was expanded and passed to the connection options as is. So a tag or a record field could add a host with ",", userinfo with "@" or a path with "/... Pull #192 16 Sep 2026 06:12AM UTC kenhys github
92.95
See All Builds (336)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc