docs: document DENO_AUDIT_PERMISSIONS=otel (2.8)#3090
Open
lunadogbot wants to merge 1 commit intodenoland:mainfrom
Open
docs: document DENO_AUDIT_PERMISSIONS=otel (2.8)#3090lunadogbot wants to merge 1 commit intodenoland:mainfrom
DENO_AUDIT_PERMISSIONS=otel (2.8)#3090lunadogbot wants to merge 1 commit intodenoland:mainfrom
Conversation
Updates the Security guide's permission-audit description to cover the new \`otel\` mode, listing the OTel attributes (deno.permission.type / .value / .stack) and a runnable example. Adds a row for DENO_AUDIT_PERMISSIONS to the special-environment-variables table and cross-links to the security page. Refs denoland/deno#32501
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Documents the new
DENO_AUDIT_PERMISSIONS=otelmode shipping in Deno 2.8 (denoland/deno#32501). Permission audits can now emit as OpenTelemetry log records via the configured OTel exporter, instead of just JSONL on disk.runtime/fundamentals/security.md. The file-path mode and OTel mode are now described side-by-side, with the OTel attribute names listed (deno.permission.type,deno.permission.value,deno.permission.stack).DENO_AUDIT_PERMISSIONSrow to the Special environment variables table inruntime/reference/env_variables.md.OTEL_DENO=true DENO_AUDIT_PERMISSIONS=otel deno run -A main.tsexample.Test plan
deno task serve— security.md and env_variables.md render, the cross-link from the env-vars table to the security page resolves.