Draft for Better Attack Data Archive - #1199
Conversation
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
…r file. remove the reader cli - it will never be used.
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
|
✅ Attack Data Validation Passed All YAML files in this PR have been successfully validated against the schema. Ready for review and merge! 🚀 |
Better attack data archive with additional metadata and mapping functionality in the archive.
Attack Data Archive Cache
This directory holds a local snapshot produced by
bin/build_dataset_archive.py:a Zstandard-compressed archive of the
datasets/folder fromsplunk/attack_data, plus two
standalone metadata files describing exactly what went into it.
This compression scheme ZIP + ZSTANDARD was intentionally chosen because:
Files
metadata.ymlSummary of the archive build:
generated_at_utc— when the archive was builtfile_count— total number of files includedgitref— the exact commit hash the snapshot was built fromgithub_url— link to the source branch/tag on GitHubtotal_uncompressed_size_bytes— combined size of all files before compressionurl_to_file_mappings.ymlMaps every file in the archive back to its source, split into two sections:
lfs-files— a map keyed by the file's Git LFS download URL(
media.githubusercontent.com/...), with:relative_path— path withindatasets/uncompressed_size— size in byteslast-updated— timestamp of the most recent commit that touched the filenon-lfs-files— a flat list of relative paths for files stored directlyin git (not LFS-tracked)
Use this file to fetch an individual dataset file directly from GitHub without
downloading the full archive.
Notes
.ziparchive itself, so they travelwith it even if separated from these standalone copies.
gitrefinmetadata.ymlpins the exact commit; re-running the build scriptagainst a later commit will produce different contents even if
datasets/is otherwise unchanged (e.g.
last-updatedtimestamps).