feat(prod): remove hardcoded credentials, clean environment config, and prepare for production deployment

This commit is contained in:
rafif committed 2026-07-29 15:05:56 +07:00
1 parent f0876face0
commit d7fa520030
98 files changed
+4317 -794

No files matched your search

+2 -1
View File
@@ -82,7 +82,7 @@ const FlowSchema = new mongoose.Schema({
site_uuid: { type: String, index: true },
flow_id: String,
src_ip: { type: String, index: true },
src_mac: String,
src_mac: { type: String, index: true },
dst_ip: { type: String, index: true },
dst_port: Number,
protocol: String,
@@ -146,6 +146,7 @@ FlowSchema.index({ agent_uuid: 1, flow_id: 1 });
FlowSchema.index({ agent_uuid: 1, protocol: 1, timestamp: -1 });
FlowSchema.index({ agent_uuid: 1, domain: 1, timestamp: -1 });
FlowSchema.index({ site_uuid: 1, app_label: 1, timestamp: -1 });
FlowSchema.index({ site_uuid: 1, src_mac: 1, timestamp: -1 });
ThreatSchema.index({ agent_uuid: 1, timestamp: -1 });
AppCategoryStatSchema.index({ agent_uuid: 1, timestamp: -1 });
EventSchema.index({ agent_uuid: 1, timestamp: -1 });