![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
fluent-plugin-email-obfuscate
Advanced tools
Fluentd filter plugin obfuscate email addresses.
This filter attempts to parse each field in the record, and will obfuscate all or part of any email addresses it finds, by replacing with the same number of asterisks.
{
"f1": "myEmail@example.net",
"list1": [
"user1@example.com",
"user2@example.org"
],
"a": {
"nested": {
"field": "name3@example.museum"
}
},
"email_string": "Jane Doe <jane@example.name>, John Smith <john@example.name>"
}
{
"f1": "myEmail@*******.***",
"list1": [
"user1@*******.***",
"user2@*******.***"
],
"a": {
"nested": {
"field": "name3@*******.******"
}
},
"email_string": "jane@*******.****, john@*******.****"
}
$ gem install fluent-plugin-email-obfuscate
Add following line to your Gemfile:
gem "fluent-plugin-email-obfuscate"
And then execute:
$ bundle
Use email_obfuscate
filter.
<filter **>
@type email_obfuscate
mode <mode>
suffix_whitelist <list>
</filter>
mode | Action | Example |
---|---|---|
domain_only | Only replace all characters in the domain part | testuser@*******.*** |
partial_name | Replace all characters in domain and partially in the name | testu***@*******.*** |
name_substring | Replace all characters in name and maintain surrounding context | My old email address ********@example.com does not work any more |
full | Replace all characters in name and domain part of address | ********@*******.*** |
Note: .
and @
are never replaced
A list of suffixes not to obfuscate. For example, with config suffix_whitelist [".example.com", "@example.com"]
the result would be:
Input | Action |
---|---|
user@example.com | no change |
user@subdomain.example.com | no change |
user@example.museum | obfuscated |
FAQs
Unknown package
We found that fluent-plugin-email-obfuscate 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.