Skip to content

Pipe: Mask sensitive attributes in sink subtask display strings#17737

Open
luoluoyuyu wants to merge 1 commit into
apache:masterfrom
luoluoyuyu:fix/pipe-sink-mask-sensitive-attributes
Open

Pipe: Mask sensitive attributes in sink subtask display strings#17737
luoluoyuyu wants to merge 1 commit into
apache:masterfrom
luoluoyuyu:fix/pipe-sink-mask-sensitive-attributes

Conversation

@luoluoyuyu
Copy link
Copy Markdown
Member

Description

Use masked PipeParameters display string for logs, metrics and subtask names while keeping unmasked sorted string for internal lifecycle map keys. Also treat scp.password as a sensitive parameter.


This PR has:

  • been self-reviewed.
    • concurrent read
    • concurrent write
    • concurrent read and write
  • added documentation for new or modified features or behaviors.
  • added Javadocs for most classes and all non-trivial methods.
  • added or updated version, license, or notice information
  • added comments explaining the "why" and the intent of the code wherever would not be obvious
    for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold
    for code coverage.
  • added integration tests.
  • been tested in a test IoTDB cluster.

Key changed/added classes (or packages if there are too many classes) in this PR

Use masked PipeParameters display string for logs, metrics and subtask
names while keeping unmasked sorted string for internal lifecycle map keys.
Also treat scp.password as a sensitive parameter.

Co-authored-by: Cursor <cursoragent@cursor.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant