coolify/tests/Unit/Policies
Andras Bacsai 0580af0d34 feat(healthchecks): add command health checks with input validation
Add support for command-based health checks in addition to HTTP-based checks:
- New health_check_type field supporting 'http' and 'cmd' values
- New health_check_command field with strict regex validation
- Updated allowedFields in create_application and update_by_uuid endpoints
- Validation rules include max 1000 characters and safe character whitelist
- Added feature tests for health check API endpoints
- Added unit tests for GithubAppPolicy and SharedEnvironmentVariablePolicy
2026-02-25 11:38:09 +01:00
..
GithubAppPolicyTest.php feat(healthchecks): add command health checks with input validation 2026-02-25 11:38:09 +01:00
PrivateKeyPolicyTest.php feat: Implement required port validation for service applications 2025-11-06 14:32:36 +01:00
S3StoragePolicyTest.php feat: streamline S3 restore with single-step flow and improved UI consistency 2025-11-17 10:05:18 +01:00
SharedEnvironmentVariablePolicyTest.php feat(healthchecks): add command health checks with input validation 2026-02-25 11:38:09 +01:00