Skip to content

feat: add header manipulation API for security profiles - #47

Merged
furykerry merged 1 commit into
masterfrom
feat/header-manipulation-api
Aug 17, 2026
Merged

feat: add header manipulation API for security profiles#47
furykerry merged 1 commit into
masterfrom
feat/header-manipulation-api

Conversation

@furykerry

Copy link
Copy Markdown
Member

Summary

  • Add HeaderManipulationAction and HeaderValue types to SecurityRuleActions, enabling set/remove of plaintext request headers on matching egress requests
  • Expand annotation constants (cleanup, priority, sandbox hash) and introduce dedicated labels.go for label constants
  • Update SecurityProfile and GlobalSecurityProfile CRD schemas, checkpoint types, and sandbox types
  • Sync Java SDK and Python SDK models with the new API types

Test Plan

  • go vet ./... passes (pre-existing runtime/config.go lock-copy warning is unrelated to this PR)
  • CRD schemas validate against the updated types
  • Java/Python SDK models compile without errors

Signed-off-by: 守辰 <shouchen.zz@alibaba-inc.com>
@kruise-bot

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@furykerry
furykerry merged commit fcc5559 into master Aug 17, 2026
3 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants