
Research
Malicious npm Packages Impersonate Flashbots SDKs, Targeting Ethereum Wallet Credentials
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
fluent-plugin-json-by-name
Advanced tools
With this plugin you can add json fields as fluent field by the name of the json field
For just indexing, provide the fields with value null in json:
<filter **>
@type json_by_name
fields_to_index {
"test1": null,
"test2": null,
"test3": null
}
</filter>
If you also want to rename the field, provide a new name as string instead of null. All this also works for nested fields:
<filter **>
@type json_by_name
fields_to_index {
"test1": null,
"test2": "this_was_field_test2",
"nested": {
"test3": null,
"test4": "this_was_nested_field_test4"
}
}
</filter>
Assuming the above config, then the plugin would act as follows:
{"message": "{\"test1\": true}"}
{"message": "{\"test2\": true}"}
{"message": "{\"nested\": {\"test3\": true}}"}
{"message": "{\"nested\": {\"test4\": true}}"}
{"message": "{\"test1\": true}", "test1": true}
{"message": "{\"test2\": true}", "this_was_field_test2": true}
{"message": "{\"nested\": {\"test3\": true}}", "nested.test3": true}
{"message": "{\"nested\": {\"test4\": true}}", "this_was_nested_field_test4": true}
More examples can be found in test/plugin/test_filter_json_by_name.rb
bundle install
rake
FAQs
Unknown package
We found that fluent-plugin-json-by-name demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Four npm packages disguised as cryptographic tools steal developer credentials and send them to attacker-controlled Telegram infrastructure.
Security News
Ruby maintainers from Bundler and rbenv teams are building rv to bring Python uv's speed and unified tooling approach to Ruby development.
Security News
Following last week’s supply chain attack, Nx published findings on the GitHub Actions exploit and moved npm publishing to Trusted Publishers.