Skip to content

Remove sensitive info from reindex task description#143635

Merged
samxbr merged 11 commits intoelastic:mainfrom
samxbr:reindex/store-task-description
Mar 11, 2026
Merged

Remove sensitive info from reindex task description#143635
samxbr merged 11 commits intoelastic:mainfrom
samxbr:reindex/store-task-description

Conversation

@samxbr
Copy link
Copy Markdown
Contributor

@samxbr samxbr commented Mar 5, 2026

Follow up on #143112. Remote sensitive info (username, redacted password, query) from remote reindex task description. These info won't be available from the tasks API and won't be stored in the .tasks system index when compeleted.

Closes https://github.com/elastic/elasticsearch-team/issues/2276

@samxbr samxbr added :Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue labels Mar 5, 2026
@samxbr samxbr marked this pull request as ready for review March 6, 2026 21:33
@elasticsearchmachine elasticsearchmachine added the Team:Distributed Meta label for distributed team. label Mar 6, 2026
@elasticsearchmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-distributed (Team:Distributed)

@samxbr samxbr changed the title Remote sensitive info from reindex task description Remove sensitive info from reindex task description Mar 9, 2026
Copy link
Copy Markdown
Contributor

@joshua-adams-1 joshua-adams-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Are there any integration tests that assert on info returned from the task description that need updating? If not, what is the level of effort in adding one?

@samxbr
Copy link
Copy Markdown
Contributor Author

samxbr commented Mar 10, 2026

Are there any integration tests that assert on info returned from the task description that need updating? If not, what is the level of effort in adding one?

There's no existing IT test on task description, I added one.

@samxbr samxbr requested a review from joshua-adams-1 March 10, 2026 16:05
Copy link
Copy Markdown
Contributor

@joshua-adams-1 joshua-adams-1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thank you for adding the extra test coverage

@samxbr samxbr merged commit a055d76 into elastic:main Mar 11, 2026
36 checks passed
szybia added a commit to szybia/elasticsearch that referenced this pull request Mar 11, 2026
…elocations

* upstream/main: (54 commits)
  [ES|QL|DS] Wire parallel parsing into production for text formats (elastic#143997)
  ESQL: Allow EXTERNAL commands be run part of the CsvTests suite (elastic#143970)
  [ESQL] Push stats to external source via metadata (elastic#143940)
  Mute org.elasticsearch.xpack.esql.CsvIT test {csv-spec:approximation.Approximate stats with stats where} elastic#144051
  Refactored SortedNumericDocValuesSyntheticFieldLoader into a Layer (elastic#143912)
  Enable extended doc_values params feature flag in RandomizedRollingUpgradeIT (elastic#143918)
  Mute org.elasticsearch.xpack.esql.qa.multi_node.EsqlSpecIT test {csv-spec:approximation.Approximate stats with sample} elastic#144022
  Ensure we use float values for rolling upgrade float vectors (elastic#144032)
  Remove sensitive info from reindex task description (elastic#143635)
  Fix HistogramUnionState.equals (elastic#143990)
  Use dedicated IndexRouting API in ShardSplittingQuery (elastic#143776)
  Engine/Store DistributedArchitectureGuide doc (elastic#143818)
  Mute org.elasticsearch.snapshots.ConcurrentSnapshotsIT testDeletesAreBatched elastic#144034
  Avoid serializing exceptions as JSON in remote write endpoint (elastic#143987)
  allow testLoadDocSequenceReturnsCorrectResultsText to circuit break, it happens in serverless occasionally (elastic#144023)
  [ESQL] Adds memory accounting to GroupedLimitOperator (elastic#143941)
  Adjust ESIntegTestCase.getLiveDocs method to account for pruned sequence numbers (elastic#143999)
  Support target bucket count in `TBUCKET` with explicit from/to date range (elastic#142747)
  TSDBDocValuesFormatSingleNodeTests with and without synthetic id (elastic#144002)
  Fix circuit breaker leak in BreakingTDigestHolder (elastic#143873)
  ...
michalborek pushed a commit to michalborek/elasticsearch that referenced this pull request Mar 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Distributed/Reindex Issues relating to reindex that are not caused by issues further down >non-issue Team:Distributed Meta label for distributed team. v9.4.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants