Skip to content

feat(gateway): Update pdk functions for sandbox#5298

Open
Icarus9913 wants to merge 1 commit into
mainfrom
feat/wk/update-sandbox
Open

feat(gateway): Update pdk functions for sandbox#5298
Icarus9913 wants to merge 1 commit into
mainfrom
feat/wk/update-sandbox

Conversation

@Icarus9913
Copy link
Copy Markdown
Member

Description

Docs about updating pdk functions for sandbox, to be releases with Kong 3.15.

Refer to

Preview Links

Checklist

  • Tested how-to docs. If not, note why here.
  • All pages contain metadata.
  • Any new docs link to existing docs.
  • All autogenerated instructions render correctly (API, decK, Konnect, Kong Manager).
  • Style guide (capitalized gateway entities, placeholder URLs) implemented correctly.
  • Every page has a description entry in frontmatter.
  • Add new pages to the product documentation index (if applicable).

Signed-off-by: Icarus Wu <icaruswu66@qq.com>
@Icarus9913 Icarus9913 requested a review from a team as a code owner May 20, 2026 06:36
Copilot AI review requested due to automatic review settings May 20, 2026 06:36
@CLAassistant
Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 20, 2026

Deploy Preview for kongdeveloper ready!

Name Link
🔨 Latest commit 0a46c7e
🔍 Latest deploy log https://app.netlify.com/projects/kongdeveloper/deploys/6a0d565b7a20ec0008f6394e
😎 Deploy Preview https://deploy-preview-5298--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.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Gateway Lua sandboxing reference to reflect additional PDK functions that are available in sandboxed environments (intended for Kong Gateway 3.15).

Changes:

  • Added kong.client.get_identity_realm_source / kong.client.set_identity_realm_source to the strict-mode allowlist.
  • Added a strict-mode “Kong Router PDK” section (kong.router.get_route, kong.router.get_service) and removed the redundant lax-mode listing.
  • Added kong.request.get_id, kong.request.get_raw_forwarded_path, and kong.table.new to the strict-mode allowlist.

@lena-larionova lena-larionova self-assigned this May 20, 2026
@lena-larionova lena-larionova added this to the Gateway 3.15 milestone May 20, 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.

4 participants