This repository was archived by the owner on Oct 31, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathconfig.example.json
More file actions
52 lines (52 loc) · 1.58 KB
/
config.example.json
File metadata and controls
52 lines (52 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
{
"apiKey": "your-noeprotect-api-key-here",
"apiEndpoint": "https://api.neoprotect.net/v2",
"pollIntervalSeconds": 30,
"monitorMode": "all",
"_comment": "monitorMode can be 'all' or 'specific'",
"specificIPs": [
"192.168.1.1",
"10.0.0.1"
],
"blacklistedIPs": [
"192.168.1.100",
"10.0.0.100"
],
"enabledIntegrations": [
"discord_bot",
"webhook"
],
"integrationConfigs": {
"discord": {
"webhookUrl": "https://discord.com/api/webhooks/YOUR/DISCORD/WEBHOOK",
"username": "NeoProtect Monitor",
"avatarUrl": "https://example.com/avatar.png"
},
"discord_bot": {
"token": "YOUR_DISCORD_BOT_TOKEN",
"clientId": "YOUR_DISCORD_CLIENT_ID",
"guildId": "YOUR_DISCORD_GUILD_ID",
"channelId": "YOUR_DISCORD_CHANNEL_ID",
"commandsEnabled": true,
"allowedRoles": ["ROLE_ID_1", "ROLE_ID_2", "ROLE_ID_3"],
"_comment": "commandsEnabled: Enable/disable slash commands (default: true). allowedRoles: Roles which are allowed to use the bot commands, if not set, all roles are allowed."
},
"webhook": {
"url": "https://your-webhook-endpoint.com/notify",
"headers": {
"Authorization": "Bearer your-token-here",
"Content-Type": "application/json"
},
"timeout": 10
},
"email": {
"smtpServer": "smtp.example.com",
"smtpPort": 587,
"username": "alerts@example.com",
"password": "your-smtp-password",
"from": "alerts@example.com",
"to": ["admin@example.com", "security@example.com"],
"subject": "NeoProtect Attack Alert"
}
}
}