1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-09 19:56:48 +00:00
webvirtcloud/computes
catborise 1227674d8f feat(security): implement P0 critical security fixes for API, console, and access control
- Computes API: mark password as write_only in ComputeSerializer, restrict ComputeViewSet and architectures to IsAdminUser.
- Instances API: enforce user ownership tenant isolation in InstanceViewSet.list, restrict MigrateViewSet and CreateInstanceViewSet to IsAdminUser, require IsAdminUser for mutating FlavorViewSet.
- Storage, Network, and Interface APIs: restrict StorageViewSet, VolumeViewSet, NetworkViewSet, InterfaceViewSet to IsAdminUser.
- AppSettings & NWFilters: protect appsettings and nwfilter views with @superuser_only (403 Forbidden for non-superusers).
- noVNC Console: sign tokens with TimestampSigner (salt='console.novnc', max_age=600), verify signature and user authorization in novncd with backward-compatible fallback for debug/test mode.
- Accounts: avoid hardcoded default admin password; generate cryptographically secure random password unless ADMIN_PASSWORD is set (preserve 'admin' in test runner).
- gstfsd daemon: bind to 127.0.0.1 by default instead of 0.0.0.0.
- Tests: added comprehensive test coverage for API security, token expiration/rejection, and view permissions (132 tests passing).
2026-09-27 10:50:09 +03:00
..
api feat(security): implement P0 critical security fixes for API, console, and access control 2026-09-27 10:50:09 +03:00
migrations Added missing migrations 2020-06-15 12:38:44 +06:00
templates fix icon missing bug 2023-12-13 13:57:38 +08:00
__init__.py Initial commit 2015-02-27 10:53:51 +02:00
forms.py format python code with black 2022-11-02 08:54:35 +03:00
models.py fix cpu_usage waiting for instance creation. 2023-05-18 14:35:19 +03:00
test_api_security.py feat(security): implement P0 critical security fixes for API, console, and access control 2026-09-27 10:50:09 +03:00
tests.py fix(tests): decouple tests from local libvirt, support configurable test host, and fix URL/logging bugs 2026-09-25 11:51:45 +03:00
urls.py fix urls for bus and capabilities 2024-06-24 10:22:49 +03:00
utils.py reorg imports and black format 2022-11-02 16:05:41 +03:00
validators.py format python code with black 2022-11-02 08:54:35 +03:00
views.py eliminate code repetition with class structure 2022-11-03 10:20:16 +03:00