mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-06 14:27:59 +00:00
Allow new channel types
This commit is contained in:
@@ -41,17 +41,17 @@ const logSchema = new Schema<ILog>(
|
|||||||
ref: 'Action',
|
ref: 'Action',
|
||||||
required: true
|
required: true
|
||||||
}],
|
}],
|
||||||
channel: {
|
channel: {
|
||||||
type: String,
|
type: String,
|
||||||
enum: ['web', 'cli', 'auto'],
|
enum: ['web', 'cli', 'auto', 'k8-operator', 'other'],
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
ipAddress: {
|
ipAddress: {
|
||||||
type: String
|
type: String
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
timestamps: true
|
timestamps: true
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
|
|
||||||
const Log = model<ILog>('Log', logSchema);
|
const Log = model<ILog>('Log', logSchema);
|
||||||
|
|||||||
Reference in New Issue
Block a user