Repository navigation
Add Synchronoss / Verizon Cloud legal return parser (9 artifacts) - #358
Merged
Merged
Conversation
Original parser, artifact design, and all parsing logic by @OneSixForensics (PR #284). This commit lands that work updated to the current @artifact_processor conventions on main: - __artifacts_v2__ metadata mirrored to the current reference pattern: creation_date (author's original 2026-06-24) + last_update_date, removed legacy "function" and "version" keys - Functions take a single `context` argument; files_found, relative paths, and report folder come from the Context API - Per-row Source File columns and returned source paths use context.get_relative_path() - os.path.realpath dedupe on files_found in every artifact - Datetime columns converted to aware-UTC datetime objects (_ts_utc: ISO-8601 / ' UTC' suffix / epoch s+ms; unparseable values pass through as text, never guessed) - Upload Date columns (bare YYYY-MM-DD folder names, no time component) kept as plain text instead of 'datetime' to avoid fabricating a midnight timestamp - Contacts created/deleted now converted to aware UTC and typed 'datetime'; bare phone-number columns typed 'phonenumber' - Broad exception handlers narrowed to specific exception types - Dropped the scripts/report_icons.py edit: artifact_icon metadata already takes precedence in report.py and all icon names are valid feather icons, so the mapping table entry is redundant Co-Authored-By: OneSixForensics <[email protected]>
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.
Summary
Lands the Synchronoss / Verizon Cloud legal return parser from PR #284 — original parser, artifact design, and all parsing logic by @OneSixForensics — rebased onto current main and updated to the house
@artifact_processorconventions. All 9 artifacts are preserved: Messages (SMS/MMS), Calls, MMS Media Received, MMS Media Sent, MMS Folder Media (Unlinked), Contacts, DV Access Log Uploads, DV Access Log Sync Events, and VZMOBILE Device Backup.The original was already close to modern (decorated with
@artifact_processor,check_in_mediafor media,''for empty media cells) but used the legacy 4-arg function signature and legacy metadata keys.Per-convention changes
creation_datekeeps the author's original 2026-06-24,last_update_dateset to 2026-07-09; removed legacy"function"and"version"keys (loader resolves by dict key = function name).contextargument; files come fromcontext.get_files_found(); per-row Source File columns and the returned source path go throughcontext.get_relative_path()so no examiner-local paths leak into reports.os.path.realpathdedupe onfiles_foundin every artifact (previously only the DV log parser deduped).datetimeobjects via a tolerant_ts_utchelper (ISO-8601 with/withoutT, trailingZorUTC, explicit offsets, bare epoch seconds/ms). Unparseable values pass through unchanged as text — never guessed.YYYY-MM-DDfolder names with no time component, so they were changed from'datetime'to plain text — typing them datetime would fabricate a midnight timestamp that shifts under LAVA timezone offsets.created/deleted: now converted to aware UTC (handles ISO and epoch-ms forms) and typed'datetime'. Note: if a return storesdeletedas a boolean string it stays as plain text in that column (same pass-through behavior as other converted artifacts).'phonenumber'(Sender in messages/calls/MMS, Contacts Phone Number); Recipients lists left untyped per convention.except Exceptionhandlers narrowed to specific exception types (OSError,csv.Error,UnicodeError,ValueError); allopen()calls specifyencoding=(binary reads excepted).artifact_iconin__artifacts_v2__already takes precedence over theicon_mappingstable inreport.py, and all 9 icon names are valid feather icons — the +12-line mapping entry was redundant on current main.Faithfulness notes
*/messages/2*.csvcannot match the Discord returns layouts at their depth, and the in-codeYYYYMMDD.csvbasename filter guards against pattern overreach).&.Validation
ast.parsecompiles; zero legacy references (ArtifactHtmlReport,media_to_html,timezone_offset,files_found[0],fromtimestamp).sanitize_sql_name→CREATE TABLEin an in-memory sqlite3 db.pylint --disable=C,R→ 10.00/10.__wrapped__present.UTCdates, MMS media incl. extensionless magic-byte file, contacts JSON with epoch-ms and ISO dates, DV access log with multi-IP field and checksum querystring, VZMOBILE tree): header/row alignment correct, all datetime cells aware-UTC, dedupe verified, media registered via raw seeker paths.Supersedes #284 — original parser by @OneSixForensics.
🤖 Generated with Claude Code