Skip to content

docs(gateway): add kong.client.get_principal to sandboxing strict mode allowlist - #6563

Open
jijiechen wants to merge 1 commit into
mainfrom
docs/pdk-get-principal-sandbox
Open

docs(gateway): add kong.client.get_principal to sandboxing strict mode allowlist#6563
jijiechen wants to merge 1 commit into
mainfrom
docs/pdk-get-principal-sandbox

Conversation

@jijiechen

@jijiechen jijiechen commented Aug 5, 2026

Copy link
Copy Markdown
Member

Description

Kong Gateway added a new PDK function, kong.client.get_principal() (Kong/kong-ee#20892), and added it to the untrusted_lua = strict sandbox allowlist next to kong.client.get_consumer (lax inherits it automatically). This updates the hand-maintained allowlist mirror on the Lua sandboxing reference page to match, per the NOTE: Don't forget to update docs too! comment in the gateway's strict.lua/lax.lua source.

Fixes: N/A (no doc ticket filed; internal follow-up to Kong/kong-ee#20892)

Preview Links

N/A — single-line addition to an existing code block, no new page.

Checklist

  • Tested how-to docs. If not, note why here. — N/A, this is a reference page code-block list, not a how-to.
  • All pages contain metadata. — unchanged, no new page.
  • Any new docs link to existing docs. — N/A, no new page.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager). — N/A, no autogenerated content touched.
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly. — unchanged formatting, matches surrounding list style.
  • Every page has a description entry in frontmatter. — unchanged, no new page.
  • Add new pages to the product documentation index (if applicable). — N/A, no new page.

@jijiechen
jijiechen requested a review from a team as a code owner August 5, 2026 03:28
@netlify

netlify Bot commented Aug 5, 2026

Copy link
Copy Markdown

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit c0c4e21
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a72adcb9d240f0008f2c33f
😎 Deploy Preview https://deploy-preview-6563--kongdeveloper.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@jijiechen jijiechen changed the title docs(sandboxing): add kong.client.get_principal to strict mode allowlist docs(gateway): add kong.client.get_principal to sandboxing strict mode allowlist Aug 5, 2026
@lena-larionova lena-larionova added this to the Gateway 3.16 milestone Aug 7, 2026
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.

2 participants