Skip to content

Commit 81de310

Browse files
committed
feat(dashboard): project-level kill-switch — block all agent connections (#982)
Synced from sferarc/pgbeam@a369073
1 parent 28fc27e commit 81de310

2 files changed

Lines changed: 12 additions & 0 deletions

File tree

src/generated/types/Project.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,12 @@ export type Project = {
9292
* @type string
9393
*/
9494
default_policy_profile_id?: string | null;
95+
/**
96+
* @description Project-level kill-switch. When true, ALL agent-credential connections to this project are blocked at the proxy and live agent sessions are dropped within seconds. Passthrough/human connections are unaffected.\n
97+
* @example false
98+
* @type boolean | undefined
99+
*/
100+
agents_disabled?: boolean;
95101
/**
96102
* @description Number of databases attached to this project.
97103
* @type integer | undefined

src/generated/types/UpdateProjectRequest.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,10 @@ export type UpdateProjectRequest = {
5050
* @type string
5151
*/
5252
default_policy_profile_id?: string | null;
53+
/**
54+
* @description Project-level kill-switch. Set true to block ALL agent-credential connections to this project (live agent sessions are dropped within seconds); set false to re-enable them. Passthrough/human connections are unaffected. Engaging the kill-switch emits a kill_switch webhook event.\n
55+
* @example true
56+
* @type boolean | undefined
57+
*/
58+
agents_disabled?: boolean;
5359
};

0 commit comments

Comments
 (0)