124906d084
- Introduced multiple guides for workflows including Evidence Pack Validation, Incident Response, Model Validation, Performance & HIL, Release Signing, SBOM Validation, Secret Scanning, and Supply Chain Attestation. - Created dynamic badges for each workflow to reflect their status and compliance. - Implemented a checklist for validating CI/CD workflows and evidence packs. - Developed scripts for building firmware, testing, collecting evidence, and generating audit reports. - Added tools for generating community, documentation, quality, and security badges based on various reports. - Established endpoints for dynamic badges to be integrated into documentation and README files. - Enhanced the overall structure and traceability of CI/CD processes with evidence packs and automated checks.
20 lines
523 B
Python
20 lines
523 B
Python
import os
|
|
import sys
|
|
|
|
def verify_evidence(target):
|
|
evidence_dir = f"docs/evidence/{target}"
|
|
if os.path.exists(evidence_dir):
|
|
files = os.listdir(evidence_dir)
|
|
if files:
|
|
print(f"Evidence pack trouvé pour {target} : {files}")
|
|
return True
|
|
else:
|
|
print(f"Evidence pack vide pour {target}")
|
|
return False
|
|
else:
|
|
print(f"Evidence pack absent pour {target}")
|
|
return False
|
|
|
|
if __name__ == '__main__':
|
|
verify_evidence(sys.argv[1])
|