Skip to content

Commit

Permalink
assert sample analysis data is present
Browse files Browse the repository at this point in the history
  • Loading branch information
mr-tz authored Aug 1, 2024
1 parent e476354 commit afb7286
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/minimize_vmray_results.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ def main(argv=None):
sv2_json = vmra.zipfile.read("logs/summary_v2.json", pwd=DEFAULT_ARCHIVE_PASSWORD)
flog_xml = vmra.zipfile.read("logs/flog.xml", pwd=DEFAULT_ARCHIVE_PASSWORD)
sample_file_buf = vmra.sample_file_buf
assert vmra.sample_file_analysis is not None
sample_sha256: str = vmra.sample_file_analysis.hash_values.sha256.lower()

new_zip_name = f"{analysis_archive.parent / analysis_archive.stem}_min.zip"
Expand Down

0 comments on commit afb7286

Please sign in to comment.