Skip to content

EQL: introspection function to classify a value #1313

Open

Description

@coderdan

Applications sometimes need to tell an encrypted value from plaintext, e.g. when an API echoes a redacted field back in an update. The ciphertext's internal prefix is a domain-separation detail, not a public contract, so it shouldn't be used for this.

Add eql_v4.describe(jsonb) (name TBD), returning whether the value is an EQL payload, its domain type, its payload version and its identifier.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions