migration 017 adds machine_id to agents table middleware validates X-Machine-ID header on authed routes agent client sends machine ID with requests MIN_AGENT_VERSION config defaults 0.1.22 version utils added for comparison blocks config copying attacks via hardware fingerprint old agents get 426 upgrade required breaking: <0.1.22 agents rejected
24 lines
641 B
Plaintext
24 lines
641 B
Plaintext
# Discord Configuration Template
|
|
# Copy this file to .env and fill in your actual values
|
|
|
|
# Discord Bot Configuration
|
|
DISCORD_BOT_TOKEN=your_bot_token_here
|
|
DISCORD_SERVER_ID=your_server_id_here
|
|
DISCORD_APPLICATION_ID=your_app_id_here
|
|
DISCORD_PUBLIC_KEY=your_public_key_here
|
|
|
|
# Server Management
|
|
SERVER_NAME=RedFlag Security
|
|
ADMIN_ROLE_ID=your_admin_role_id_here
|
|
|
|
# Channel IDs (to be filled after creation)
|
|
GENERAL_CHANNEL_ID=
|
|
ANNOUNCEMENTS_CHANNEL_ID=
|
|
SECURITY_ALERTS_CHANNEL_ID=
|
|
DEV_CHAT_CHANNEL_ID=
|
|
BUG_REPORTS_CHANNEL_ID=
|
|
|
|
# Category IDs (to be filled after creation)
|
|
COMMUNITY_CATEGORY_ID=
|
|
DEVELOPMENT_CATEGORY_ID=
|
|
SECURITY_CATEGORY_ID= |