How nader11-hub/cloud_project works
Cloud Security: Login Monitor is a Flask authentication-monitoring service. Users submit login attempts; the app evaluates credentials and records outcomes in SQLite, while brute-force detection flags IPs with repeated failures. Operators use the SOC dashboard to review activity and manage logs; REST and health endpoints provide additional access. The single source file combines routes, persistence, detection, and UI, so components share its path. The detection implementation and endpoint internals were not sampled; those relationships rely on README statements.
Main entry points: app.py Login Audit Logs
Components 9
Authentication & Detection
- Login Terminal
app.py - Credential Check
app.py - Brute-Force Detection
app.py
Audit Storage
- Login Audit Logs
app.py
SOC Operations
- SOC Dashboard
app.py - Logs API
app.py - Health Endpoint
app.py - Admin Actions
app.py
Other components
- User
Connections 7
- User → Login Terminal: submits attempt
app.py - Login Terminal → Credential Check: checks credentials
app.py - Credential Check → Login Audit Logs: records outcome
app.py - Brute-Force Detection → Login Audit Logs: flags repeated failures
README.md - SOC Dashboard → Login Audit Logs: queries activity
app.py - Logs API → Login Audit Logs: serves logs
README.md - Admin Actions → Login Audit Logs: clears failed or all
app.py