Repository navigation
feat(security): F0.5 golden records — microVM capture, scrub, normalize, diff - #319
Merged
Merged
Conversation
…ze, diff - pkg/goldenrec: every ParquetRow column in exactly one class (strict, presence, ordinal, address, port, volatile, host); Normalize, Scrub (Normalize-invariant) and Diff with a column filter, for FP-9 and FP-12. - cmd/xtcp2-golden: scrub, normalize, diff and check. - s3parquet-golden microVM flavor and nix run .#capture-golden-records: the production binary, 3 Docker containers, a named netns; keeps the second poll; metrics over a unix listener so no host TCP is recorded. - Fixture pkg/xtcp/testdata/golden/7_3_1 (23 rows, scrubbed); two independent captures normalize byte-identical. - checks.golden-records: the JSONL matches the Parquet, the scrub is clean, the manifest row count and the schema match. - Golden rows seed FuzzRowFromProto; protoFromRow round-trip test. - Plan doc: F0.5 done; F2 TODOs for AF_INET6 collection and the ambiguous nsid 0. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
pkg/goldenrec: everyParquetRowcolumn in exactly one class;Normalize,Scrub(Normalize-invariant) andDiffwith a column filter, reused by FP-9 and FP-12.cmd/xtcp2-golden:scrub,normalize,diff(exit 1 on differences, 50-line cap) andcheck.s3parquet-goldenmicroVM flavor +nix run .#capture-golden-records: production binary, 3 Docker containers, a named netns; keeps the second poll (the first can miss a namespace still opening).pkg/xtcp/testdata/golden/7_3_1(23 rows, scrubbed); two independent captures normalize byte-identical.checks.golden-records: JSONL matches the Parquet, scrub clean, manifest row count and schema match; a hand-edited JSONL fails naming the field.FuzzRowFromProto;protoFromRowround-trip test.go test ./..., gofmt, go-vet, nix-fmt, lint-baseline, the three golangci tiers, redteam-lint, golden-records, test-fuzz-all.🤖 Generated with Claude Code