- GitHubApp: 11 new tests (health, CRUD lifecycle, update, delete, UI SCM tab) - Advisory pipeline: 16 tests (fixture data verification, source management smoke, initial/incremental sync, cross-source merge, canonical query API, UI catalog) with KEV/GHSA/EPSS fixture data files for deterministic testing - Rekor transparency: 7 tests (container health, submit/get/verify round-trip, log consistency, attestation API) gated behind E2E_REKOR=1 - eBPF agent: 3 edge case tests (unreachable endpoint, coexistence, degraded health) plus mock limitation documentation in test header - Fix UI search race: wait for table rows before counting rowsBefore - Advisory fixture now serves real data (KEV JSON, GHSA list, EPSS CSV) - Runtime host fixture adds degraded health endpoint Suite: 143 passed, 0 failed, 32 skipped in 13.5min (up from 123 tests) Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
24 lines
1005 B
Plaintext
24 lines
1005 B
Plaintext
server {
|
|
listen 80;
|
|
server_name _;
|
|
|
|
location /api/v1/health {
|
|
default_type application/json;
|
|
return 200 '{"status":"healthy","agent":"ebpf","version":"0.9.0","pid":1,"uptime_seconds":3600,"kernel":"6.1.0","probes_loaded":12,"events_per_second":450}';
|
|
}
|
|
|
|
location /api/v1/health-degraded {
|
|
default_type application/json;
|
|
return 200 '{"status":"degraded","agent":"ebpf","version":"0.9.0","pid":1,"uptime_seconds":120,"kernel":"6.1.0","probes_loaded":3,"events_per_second":10}';
|
|
}
|
|
|
|
location /api/v1/info {
|
|
default_type application/json;
|
|
return 200 '{"agent_type":"ebpf","hostname":"stellaops-runtime-host","os":"linux","arch":"amd64","kernel_version":"6.1.0","probes":["syscall_open","syscall_exec","net_connect","file_access","process_fork","mmap_exec","ptrace_attach","module_load","bpf_prog_load","cgroup_attach","namespace_create","capability_use"]}';
|
|
}
|
|
|
|
location / {
|
|
return 404 '{"error":"not_found"}';
|
|
}
|
|
}
|