Skip to content

OpAMP redact slice maps#6955

Open
michel-laterman wants to merge 4 commits intoelastic:mainfrom
michel-laterman:fix/redact-slice-maps
Open

OpAMP redact slice maps#6955
michel-laterman wants to merge 4 commits intoelastic:mainfrom
michel-laterman:fix/redact-slice-maps

Conversation

@michel-laterman
Copy link
Copy Markdown
Contributor

@michel-laterman michel-laterman commented May 4, 2026

What is the problem this PR solves?

Redact slice maps with the form:

- name: Authorization
  value: secretValue

How does this PR solve the problem?

Use the shared redact package in elastic-agent-libs

How to test this PR locally

Enroll an opamp agent with sensitive values in the headers slices.

Design Checklist

  • I have ensured my design is stateless and will work when multiple fleet-server instances are behind a load balancer.
  • I have or intend to scale test my changes, ensuring it will work reliably with 100K+ agents connected.
  • I have included fail safe mechanisms to limit the load on fleet-server: rate limiting, circuit breakers, caching, load shedding, etc.

Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • I have made corresponding change to the default configuration files
  • I have added tests that prove my fix is effective or that my feature works
  • I have added an entry in ./changelog/fragments using the changelog tool

Related issues

@michel-laterman michel-laterman requested a review from a team as a code owner May 4, 2026 19:03
@michel-laterman michel-laterman added bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team backport-9.4 labels May 4, 2026
Redact slice maps with the form:
- name: Authorization
  value: secretValue
@michel-laterman michel-laterman force-pushed the fix/redact-slice-maps branch from b422ffd to 5e3de08 Compare May 4, 2026 19:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-9.4 bug Something isn't working Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant