EcsElixirCore.Application.Features.Masking.MaskingConfig (ecs_elixir_core v1.0.0)

Copy Markdown

Configuration for the masking feature.

Masking allows sensitive fields in logs to be redacted before emission. This module is a placeholder — the feature is not yet implemented.

Configuration

config :ecs_elixir_core,
  masking_enabled: true,
  masking_fields: ["authorization", "password", "token"]

Summary

Functions

Returns true if the masking feature is enabled.

Returns the list of field names to be masked.

Functions

enabled?()

@spec enabled?() :: boolean()

Returns true if the masking feature is enabled.

masked_fields()

@spec masked_fields() :: [String.t()]

Returns the list of field names to be masked.