INNER CODE UNIT · Python

_parseable_archiver_event

cisco-open/forge · fuzz/job_log_archiver_metadata_fuzzer.py:51

def _parseable_archiver_event(payload: Any) -> bool:
    if not isinstance(payload, dict):
        return False

    if 'detail' not in payload:
        return True

    detail = payload.get('detail')
    if not isinstance(detail, dict):
        return False

    workflow_job = detail.get('workflow_job')
    return workflow_job is None or isinstance(workflow_job, dict)


_configure_runtime()

with atheris.instrument_imports():

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…