Skip to content
2 changes: 2 additions & 0 deletions _security/access-control/field-masking.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,8 @@

By default, the Security plugin uses the BLAKE2b algorithm, but you can use any hashing algorithm that your JVM provides. This list typically includes MD5, SHA-1, SHA-384, and SHA-512.

Note that BLAKE2b and several other commonly available algorithms such as MD5 and SHA-1 are not approved for use in FIPS 140-3 compliant environments. If your deployment requires FIPS compliance, you should configure the plugin to use a FIPS-approved algorithm such as SHA-256 or SHA-512, and ensure that the underlying cryptographic provider (e.g., Bouncy Castle FIPS or a FIPS-validated JCE provider) is properly installed and configured.

Check failure on line 99 in _security/access-control/field-masking.md

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.Range] Use an en dash (--) with no space on either side in a range of numbers. Raw Output: {"message": "[OpenSearch.Range] Use an en dash (--) with no space on either side in a range of numbers.", "location": {"path": "_security/access-control/field-masking.md", "range": {"start": {"line": 99, "column": 122}}}, "severity": "ERROR"}

Check warning on line 99 in _security/access-control/field-masking.md

View workflow job for this annotation

GitHub Actions / style-job

[vale] reported by reviewdog 🐶 [OpenSearch.UnitsSpacing] Put a space between the number and the units in '2b '. Raw Output: {"message": "[OpenSearch.UnitsSpacing] Put a space between the number and the units in '2b '.", "location": {"path": "_security/access-control/field-masking.md", "range": {"start": {"line": 99, "column": 16}}}, "severity": "WARNING"}

You can override the default algorithm in `opensearch.yml` using the optional default masking algorithm setting `plugins.security.masked_fields.algorithm.default`, as shown in the following example:

```yml
Expand Down
Loading