Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

Allow new channel types

Maidul Islam1fbbbab60262
diff --git a/backend/src/ee/models/log.ts b/backend/src/ee/models/log.ts
index 1fdd527108..b9eadc016d 100644
--- a/backend/src/ee/models/log.ts
+++ b/backend/src/ee/models/log.ts
@@ -41,17 +41,17 @@ const logSchema = new Schema<ILog>(
ref: 'Action',
required: true
}],
- channel: {
+ channel: {
type: String,
- enum: ['web', 'cli', 'auto'],
+ enum: ['web', 'cli', 'auto', 'k8-operator', 'other'],
required: true
},
ipAddress: {
type: String
}
}, {
- timestamps: true
- }
+ timestamps: true
+}
);
const Log = model<ILog>('Log', logSchema);