- Introduced a comprehensive CI job structure for VEX Lens, including build, test, linting, and load testing. - Defined load test parameters and SLOs for VEX Lens API and Issuer Directory. - Created Grafana dashboards and alerting mechanisms for monitoring API performance and error rates. - Established offline posture guidelines for CI jobs and load testing. feat: Implement deterministic projection verification script - Added `verify_projection.sh` script for verifying the integrity of projection exports against expected hashes. - Ensured robust error handling for missing files and hash mismatches. feat: Develop Vuln Explorer CI and Ops Plan - Created CI jobs for Vuln Explorer, including build, test, and replay verification. - Implemented backup and disaster recovery strategies for MongoDB and Redis. - Established Merkle anchoring verification and automation for ledger projector. feat: Introduce EventEnvelopeHasher for hashing event envelopes - Implemented `EventEnvelopeHasher` to compute SHA256 hashes for event envelopes. feat: Add Risk Store and Dashboard components - Developed `RiskStore` for managing risk data and state. - Created `RiskDashboardComponent` for displaying risk profiles with filtering capabilities. - Implemented unit tests for `RiskStore` and `RiskDashboardComponent`. feat: Enhance Vulnerability Detail Component - Developed `VulnerabilityDetailComponent` for displaying detailed information about vulnerabilities. - Implemented error handling for missing vulnerability IDs and loading failures.
34 lines
1015 B
Markdown
34 lines
1015 B
Markdown
# Telemetry bundle verifier
|
|
|
|
Files:
|
|
- `verify-telemetry-bundle.sh`: offline verifier (checksums + optional JSON schema)
|
|
- `tests/sample-bundle/telemetry-bundle.json`: sample manifest
|
|
- `tests/sample-bundle/telemetry-bundle.sha256`: checksum list for sample bundle
|
|
- `tests/telemetry-bundle.tar`: deterministic sample bundle (ustar, mtime=0, owner/group 0)
|
|
- `tests/run-schema-tests.sh`: validates sample config against config schema
|
|
- `tests/ci-run.sh`: runs schema test + bundle verifier (use in CI)
|
|
|
|
Dependencies for full validation:
|
|
- `python` with `jsonschema` installed (`pip install jsonschema`)
|
|
- `tar`, `sha256sum`
|
|
|
|
Deterministic TAR flags used for sample bundle:
|
|
`tar --mtime=@0 --owner=0 --group=0 --numeric-owner --format=ustar`
|
|
|
|
Exit codes:
|
|
- 0 success
|
|
- 21 missing manifest/checksums
|
|
- 22 checksum mismatch
|
|
- 23 schema validation failed
|
|
- 64 usage error
|
|
|
|
Quick check:
|
|
```bash
|
|
./verify-telemetry-bundle.sh tests/telemetry-bundle.tar
|
|
```
|
|
|
|
CI suggestion:
|
|
```bash
|
|
ops/devops/telemetry/tests/ci-run.sh
|
|
```
|