Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

feat: Add credential-level option to disable session recording and logging

オープン
#10 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

  • #11 @snkrheadz による — マージされずにクローズ

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
72/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
typescript
領域
backend

調査の方向性

credentials/BrowserbaseApi.credentials.ts から始め、credential と Browser Options の値から Browserbase セッション設定を構築するノード実行ロジックを見つけます。2 つの任意の credential フィールドを false のデフォルト値で追加し、どちらか一方を有効にすると対応する設定が強制的にオフになり、無効な場合は現在の動作が維持されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

Problem

When using the Browserbase node for back-office automation (e.g., expense processing, HR workflows, internal tools), browser sessions may display sensitive employee and business data. The current default behavior (recordSession: true, logSession: true) causes this data to be captured and stored on Browserbase servers for up to 30 days.

While individual workflow creators can toggle these options off in Browser Options, there is no way for an organization's n8n administrator to enforce this policy across all workflows using the same Browserbase credential.

Proposal

Add two optional boolean fields to BrowserbaseApi.credentials.ts that allow credential owners to force-disable session recording and logging for all workflows using that credential:

// credentials/BrowserbaseApi.credentials.ts
{
    displayName: 'Disable Session Recording',
    name: 'disableSessionRecording',
    type: 'boolean',
    default: false,
    description: 'Force-disable session recording for all workflows using this credential. When enabled, the per-node "Record Session" option is ignored.',
},
{
    displayName: 'Disable Session Logging',
    name: 'disableSessionLogging',
    type: 'boolean',
    default: false,
    description: 'Force-disable session logging for all workflows using this credential. When enabled, the per-node "Log Session" option is ignored.',
},

In the node execution logic:

const credentials = await this.getCredentials('browserbaseApi');
const browserSettings = {
    recordSession: credentials.disableSessionRecording
        ? false
        : (browserOptions.recordSession ?? true),
    logSession: credentials.disableSessionLogging
        ? false
        : (browserOptions.logSession ?? true),
    // ...
};

Why credential-level?

  • Admin control: In n8n, credentials are typically managed by admins/owners — regular workflow creators use shared credentials without editing them.
  • Organization-wide enforcement: A single credential shared across multiple workflows applies the policy uniformly.
  • No breaking changes: Defaults to false, preserving existing behavior for all current users.
  • Works on n8n Cloud and self-hosted: No dependency on environment variables or instance-level settings.

Alternatives considered

Approach Pros Cons
Change defaults to false Simple Users can re-enable; no enforcement
Environment variable True admin control Not available on n8n Cloud
Credential-level option Admin control + Cloud compatible Slightly unconventional use of credentials

Context

We operate n8n Cloud for back-office automation (CS, Finance, HR departments) and encountered this issue when evaluating Browserbase for internal workflows. We're happy to submit a PR implementing this change if the approach is acceptable.

主要言語
TypeScript
スター
5
フォーク
2
平均マージ
2日 19時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

browserbase/n8n-node のほかの issue

browserbase/n8n-node の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。