Skip to content

[BUG] Non-anonymized queries can be added to OpenSearch logs #821

Closed

Description

@MaxKsyunz

QueryDataAnonymizer fails to anonymize queries that are only supported by the v2 engine.

When that happens, the query including parameter values is added to OpenSearch log.

Root Cause

QueryDataAnonymizer uses v1 parser to determine what elements in the AST need to be anonymized. When a query fails v1 engine, anonymization is skipped and the query is logged as-is.

Activity

  1. added
    legacy
    on Sep 12, 2022
  2. MaxKsyunz commented on Sep 12, 2022

    @MaxKsyunz
    CollaboratorAuthor

    Relates to #787

  3. added
    bug
    and removed on Sep 29, 2022
  4. added
    v2.5.0
    on Dec 12, 2022
  5. removed
    v2.5.0
    on Jan 6, 2023
  6. Yury-Fridlyand commented on Jul 1, 2023

    @Yury-Fridlyand
    Collaborator

    Completed via #1665

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    buglegacy

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions