Skip to content

Build YAML policy engine (allow/redact/pseudonymize/block) #4

@AimelHassan

Description

@AimelHassan

The policy engine should evaluate each input against declarative
YAML rules and return one of four decisions: allow, redact,
pseudonymize, or block.

Rules should be context-aware, the same email address might
be pseudonymized during internal analysis but fully redacted
on export. Operation type (analysis/export/logging) should
be part of the policy evaluation context.

Example policy structure:

  • operation: internal_analysis
    entity: email
    action: pseudonymize
  • operation: export
    entity: email
    action: redact

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions