Jeremie Fraeys
5057f02167
test(crypto,security): add tenant key manager and anomaly monitor tests
...
Add comprehensive tests for:
- crypto/tenant_keys: KMS integration, key rotation, encryption/decryption
- security/monitor: sliding window, anomaly detection, concurrent access
Coverage: crypto 65.1%, security 100%
2026-03-13 23:26:22 -04:00
Jeremie Fraeys
61660dc925
refactor: co-locate security, storage, telemetry, tracking, worker tests
...
Move unit tests from tests/unit/ to internal/ following Go conventions:
Security tests:
- tests/unit/security/* -> internal/security/* (audit, config_integrity, filetype, gpu_audit, hipaa_validation, manifest_filename, path_traversal, resource_quota, secrets)
Storage tests:
- tests/unit/storage/* -> internal/storage/* (db, experiment_metadata)
Telemetry tests:
- tests/unit/telemetry/* -> internal/telemetry/* (telemetry)
Tracking tests:
- tests/unit/reproducibility/* -> internal/tracking/* (config_hash, environment_capture)
Worker tests:
- tests/unit/worker/* -> internal/worker/* (artifacts, config, hash_bench, plugins/jupyter_task, plugins/vllm, prewarm_v1, run_manifest_execution, snapshot_stage, snapshot_store, worker)
Update import paths in test files to reflect new locations.
2026-03-12 16:37:03 -04:00
Jeremie Fraeys
e4d286f2e5
feat: add security monitoring and validation framework
...
- Implement anomaly detection monitor (brute force, path traversal, etc.)
- Add input validation framework with safety rules
- Add environment-based secrets manager with redaction
- Add security test suite for path traversal and injection
- Add CI security scanning workflow
2026-02-19 15:34:25 -05:00