forked from mtusi2026/mtusi2026lab7
Майорова Софья, БВТ2301, на 5. Трек1. HTTPS/TLS/ACL,18 API tests,13 pipeline groups,3 compromise runs,clean clone,persistence. Original tests/API contract preserved; residual CVE triage in REPORT/security.
12 lines
580 B
Python
12 lines
580 B
Python
"""Three independently bootstrapped synthetic fixture runs of track1."""
|
|
import json
|
|
from pathlib import Path
|
|
import subprocess
|
|
ROOT=Path(__file__).resolve().parents[1]
|
|
runs=[]
|
|
for repeat in range(3):
|
|
subprocess.run(['python3','student-tests/compromise_research.py'],cwd=ROOT,check=True)
|
|
row=json.loads((ROOT/'evidence/worker-compromise.json').read_text());row['repeat']=repeat+1;runs.append(row)
|
|
(ROOT/'evidence/worker-compromise-runs.json').write_text(json.dumps({'runs':runs},indent=2)+'\n')
|
|
print('PASS: all3 controlled worker compromise/rollover runs retained.')
|