VerityLayer - Complete File & URL Index
Partner/Super Admin Resources
Web Interface URLs
| Function | URL | File Location | |----------|-----|---------------| | Super Admin Dashboard |/super_admin/dashboard.php | super_admin/dashboard.php |
| Create Organization | /super_admin/create_organization.php | super_admin/create_organization.php |
| Edit Organization | /super_admin/edit_organization.php?org_id={id} | super_admin/edit_organization.php |
| View Organization | /super_admin/view_organization.php?org_id={id} | super_admin/view_organization.php |
| Manage Subscriptions | /super_admin/manage_subscriptions.php | super_admin/manage_subscriptions.php |
| Manage Users | /super_admin/manage_users.php | super_admin/manage_users.php |
| Add User | /super_admin/add_user.php | super_admin/add_user.php |
| System Settings | /super_admin/system_settings.php | super_admin/system_settings.php |
| Switch to Org View | /super_admin/switch_to_org.php?org_id={id} | super_admin/switch_to_org.php |
| Data Export | /super_admin/data_export.php | super_admin/data_export.php |
Command Line Tools
| Tool | Command | File Location | |------|---------|---------------| | Create Organization |php admin/create_organization.php --name="..." --email="..." | admin/create_organization.php |
| Add User | php admin/add_user.php --org-id=1 --name="..." --email="..." | admin/add_user.php |
| Update Subscription | php admin/update_subscription.php --org-id=1 --plan="..." | admin/update_subscription.php |
| Provision Tenant DB | php tenant-db-setup/setup_wizard.php --scenario=managed --org-id=1 | tenant-db-setup/setup_wizard.php |
| Test Connection | php tenant-db-setup/test_connection.php --org-id=1 | tenant-db-setup/test_connection.php |
| Batch Provision | php admin/batch_provision.php --all | admin/batch_provision.php |
| Migrate Data | php admin/migrate_org_data.php --org-id=1 | admin/migrate_org_data.php |
| Verify Migration | php admin/verify_migration.php --org-id=1 | admin/verify_migration.php |
| Health Check | php admin/health_check.php | admin/health_check.php |
| Reset Password | php admin/reset_password.php --email="..." | admin/reset_password.php |
Documentation Files
| Document | File Location | |----------|---------------| | Partner Onboarding Guide |docs/PARTNER_ONBOARDING.md |
| Technical Architecture | docs/TECHNICAL_ARCHITECTURE.md |
| Deployment Checklist | docs/PARTNER_DEPLOYMENT_CHECKLIST.md |
| Quick Reference | docs/QUICK_REFERENCE.md |
| Roles & Responsibilities | docs/ROLES_AND_RESPONSIBILITIES.md |
| Package README | docs/README_PARTNER_PACKAGE.md |
| Migration Guide | admin/MIGRATION_GUIDE.md |
| Configuration Guide | tenant-db-setup/CONFIGURATION_GUIDE.md |
| Tenant Setup README | tenant-db-setup/README.md |
---
Customer Organization Admin Resources
Web Interface URLs
| Function | URL | File Location | |----------|-----|---------------| | Login |/login.php | login.php |
| Dashboard | /src/Controllers/index1.php?module=dashboard.php | dashboard.php |
| Organization Settings | /src/Controllers/index1.php?module=Settings/settings.php | Settings/settings.php |
| Risk Escalation Settings | /src/Controllers/index1.php?module=Settings/risk_escalation_settings.php | Settings/risk_escalation_settings.php |
| User List | /src/Controllers/index1.php?module=UserManagement/user_list.php | UserManagement/user_list.php |
| Add User | /src/Controllers/index1.php?module=UserManagement/add_user.php | UserManagement/add_user.php |
| Edit User | /src/Controllers/index1.php?module=UserManagement/edit_user.php?id={id} | UserManagement/edit_user.php |
| Roles & Permissions | /src/Controllers/index1.php?module=UserManagement/roles.php | UserManagement/roles.php |
| Risk Register | /src/Controllers/index1.php?module=Vulnerabilities/risk_register.php | Vulnerabilities/risk_register.php |
| Submit Risk | /src/Controllers/index1.php?module=Vulnerabilities/submit_risk.php | Vulnerabilities/submit_risk.php |
| Vulnerability List | /src/Controllers/index1.php?module=Vulnerabilities/vulnerability_list.php | Vulnerabilities/vulnerability_list.php |
| Asset List | /src/Controllers/index1.php?module=Assets/asset_list.php | Assets/asset_list.php |
| Add Asset | /src/Controllers/index1.php?module=Assets/add_asset.php | Assets/add_asset.php |
| SIEM Dashboard | /src/Controllers/index1.php?module=SIEM/dashboard.php | SIEM/dashboard.php |
| SIEM Alerts | /src/Controllers/index1.php?module=SIEM/alerts.php | SIEM/alerts.php |
| AutoPentest | /src/Controllers/index1.php?module=AutoPentest/autopentest_dashboard.php | AutoPentest/autopentest_dashboard.php |
| Projects | /src/Controllers/index1.php?module=Projects/project_list.php | Projects/project_list.php |
| Vendors | /src/Controllers/index1.php?module=VendorManagement/vendor_list.php | VendorManagement/vendor_list.php |
| BCDR | /src/Controllers/index1.php?module=BCDR/bcdr_dashboard.php | BCDR/bcdr_dashboard.php |
---
Core System Files
Configuration Files
| File | Location | Purpose | |------|----------|---------| | Main Config |includes/config.php | Application configuration, multi-tenant settings |
| Database Connection | src/Core/db_connect.php | Database connection, automatic routing |
| Multi-Tenant Auth | includes/multi_tenant_auth.php | Authentication helpers, org context |
| Database Helpers | includes/db_helpers.php | Backward-compatible DB helpers |
Database Files
| File | Location | Purpose | |------|----------|---------| | Main Schema |database/schema.sql | Central SaaS database schema |
| Org Connections Schema | database/create_org_db_connections.sql | Multi-tenant tables schema |
| Install Script | database/install_org_db_connections.php | Install multi-tenant tables |
| Tenant Schema | tenant-db-setup/tenant_schema.sql | Tenant database schema template |
Core Classes
| File | Location | Purpose | |------|----------|---------| | Tenant DB Manager |src/Core/TenantDatabaseManager.php | Tenant connection management, encryption |
| Page Access Control | includes/PageAccessControl.php | Permission checking |
---
Directory Structure
``
veritylayer/
│
├── admin/ # Partner admin tools (CLI)
│ ├── batch_provision.php
│ ├── create_organization.php
│ ├── migrate_org_data.php
│ ├── verify_migration.php
│ ├── health_check.php
│ └── MIGRATION_GUIDE.md
│
├── super_admin/ # Partner admin interface (Web)
│ ├── dashboard.php
│ ├── create_organization.php
│ ├── edit_organization.php
│ ├── manage_subscriptions.php
│ └── manage_users.php
│
├── tenant-db-setup/ # Tenant provisioning tools
│ ├── setup_wizard.php
│ ├── test_connection.php
│ ├── tenant_schema.sql
│ ├── README.md
│ └── CONFIGURATION_GUIDE.md
│
├── docs/ # Documentation
│ ├── PARTNER_ONBOARDING.md
│ ├── TECHNICAL_ARCHITECTURE.md
│ ├── PARTNER_DEPLOYMENT_CHECKLIST.md
│ ├── QUICK_REFERENCE.md
│ ├── ROLES_AND_RESPONSIBILITIES.md
│ └── README_PARTNER_PACKAGE.md
│
├── database/ # Database schemas
│ ├── schema.sql
│ ├── create_org_db_connections.sql
│ └── install_org_db_connections.php
│
├── includes/ # Core includes
│ ├── config.php
│ ├── multi_tenant_auth.php
│ └── db_helpers.php
│
├── src/
│ ├── Controllers/ # Application controllers
│ │ └── index1.php # Main router
│ └── Core/
│ ├── db_connect.php
│ └── TenantDatabaseManager.php
│
├── Settings/ # Customer settings (Web)
│ ├── settings.php
│ └── risk_escalation_settings.php
│
├── UserManagement/ # Customer user management (Web)
│ ├── user_list.php
│ ├── add_user.php
│ └── roles.php
│
├── Vulnerabilities/ # Customer risk/vuln management (Web)
│ ├── risk_register.php
│ ├── vulnerability_list.php
│ └── submit_risk.php
│
├── Assets/ # Customer asset management (Web)
│ ├── asset_list.php
│ └── add_asset.php
│
├── SIEM/ # Customer SIEM (Web)
│ ├── dashboard.php
│ └── alerts.php
│
├── AutoPentest/ # Customer AutoPentest (Web)
│ └── autopentest_dashboard.php
│
├── Projects/ # Customer projects (Web)
│ └── project_list.php
│
├── VendorManagement/ # Customer vendor management (Web)
│ └── vendor_list.php
│
└── BCDR/ # Customer BCDR (Web)
└── bcdr_dashboard.php
`
---
Access Summary
Partner/Super Admin Access
Web Access:
- Base URL:
https://your-domain.com/super_admin/
All super admin functions
Can switch to any organization view
CLI Access:
- SSH to server
- Run tools in
admin/ and tenant-db-setup/
Database Access:
- Direct MySQL access
- Central SaaS database
- All tenant databases
---
Customer Organization Admin Access
Web Access:
- Base URL:
https://your-domain.com/
Login: /login.php
Modules: /src/Controllers/index1.php?module=...
No CLI Access:
- Cannot SSH to server
- Cannot run command line tools
No Database Access:
- Cannot access MySQL directly
- Data access only through web interface
---
Quick Navigation
For Partners
Start Here:
Read: docs/PARTNER_ONBOARDING.md
Follow: docs/PARTNER_DEPLOYMENT_CHECKLIST.md
Reference: docs/QUICK_REFERENCE.md
Common Tasks:
- Create org:
/super_admin/create_organization.php or CLI
Provision DB: php tenant-db-setup/setup_wizard.php
Monitor: /super_admin/dashboard.php
For Customers
Login: https://your-domain.com/login.php
Dashboard: /src/Controllers/index1.php?module=dashboard.php
Settings: /src/Controllers/index1.php?module=Settings/settings.php
Start Here:
Common Tasks:
- Add users:
/src/Controllers/index1.php?module=UserManagement/add_user.php
Manage risks: /src/Controllers/index1.php?module=Vulnerabilities/risk_register.php
View alerts: /src/Controllers/index1.php?module=SIEM/alerts.php`
---
This index provides complete visibility into all files, URLs, and access points for both partners and customers.