Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
fluent-plugin-filter-split
Advanced tools
Fluentd filter plugin to split specified field.
Compared to existing plugins:
Thus, about above plugins, there are limitation of type of field or missing feature to control keep/remove other fields.
$ gem install fluent-plugin-filter-split
Add following line to your Gemfile:
gem "fluent-plugin-filter-split"
And then execute:
$ bundle
parameter | type | description | default |
---|---|---|---|
split_key | string (required) | Specify a target key to split | |
keep_other_key | bool (optional) | Specify a flag whether other key must be kept or not | false |
keep_keys | array (optional) | Specify keys to be kept in filtered record | [] |
remove_keys | array (optional) | Specify keys to be removed in filtered record | [] |
<filter test>
@type filter_split
split_key target_field
keep_other_key true
</filter>
If following record is passed:
{'foo:'bar', 'target_field':[ {'k1':'v1'}, {'k2':'v2'} ] }
Then, you got:
{'foo:'bar', 'k1':'v1'}
{'foo:'bar', 'k2':'v2'}
If following record is passed:
{'foo:'bar', 'target_field':[ 'v1', 'v2' ] }
Then, you got:
{'foo:'bar', 'target_field':'v1'}
{'foo:'bar', 'target_field':'v2'}
FAQs
Unknown package
We found that fluent-plugin-filter-split 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.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.