Add tests and implement timeline ingestion options with NATS and Redis subscribers
- Introduced `BinaryReachabilityLifterTests` to validate binary lifting functionality. - Created `PackRunWorkerOptions` for configuring worker paths and execution persistence. - Added `TimelineIngestionOptions` for configuring NATS and Redis ingestion transports. - Implemented `NatsTimelineEventSubscriber` for subscribing to NATS events. - Developed `RedisTimelineEventSubscriber` for reading from Redis Streams. - Added `TimelineEnvelopeParser` to normalize incoming event envelopes. - Created unit tests for `TimelineEnvelopeParser` to ensure correct field mapping. - Implemented `TimelineAuthorizationAuditSink` for logging authorization outcomes.
This commit is contained in:
BIN
bench/reachability-benchmark/cases/c/memcpy-overflow/outputs/app
Normal file
BIN
bench/reachability-benchmark/cases/c/memcpy-overflow/outputs/app
Normal file
Binary file not shown.
@@ -0,0 +1,22 @@
|
||||
{
|
||||
"_type": "https://in-toto.io/Statement/v0.1",
|
||||
"predicate": {
|
||||
"buildType": "stub",
|
||||
"builder": {
|
||||
"id": "stub"
|
||||
},
|
||||
"metadata": {
|
||||
"buildFinishedOn": "1970-01-01T00:00:00Z",
|
||||
"buildStartedOn": "1970-01-01T00:00:00Z"
|
||||
}
|
||||
},
|
||||
"predicateType": "https://slsa.dev/provenance/v0.2",
|
||||
"subject": [
|
||||
{
|
||||
"digest": {
|
||||
"sha256": "stub"
|
||||
},
|
||||
"name": "c-memcpy-overflow:001"
|
||||
}
|
||||
]
|
||||
}
|
||||
Binary file not shown.
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"files": [
|
||||
{
|
||||
"path": "src/main.c",
|
||||
"functions": ["main", "process"],
|
||||
"coverage": 1.0
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"events": [
|
||||
{"path": "src/main.c::main", "type": "entry"},
|
||||
{"path": "src/main.c::process", "type": "call"}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user