MCPcopy Index your code
hub / github.com/openai/plugins / require_finding_open

Function require_finding_open

plugins/codex-security/scripts/workbench_db.py:2056–2062  ·  view source on GitHub ↗
(connection: sqlite3.Connection, occurrence_id: str)

Source from the content-addressed store, hash-verified

2054
2055
2056def require_finding_open(connection: sqlite3.Connection, occurrence_id: str) -> None:
2057 triage = connection.execute(
2058 "SELECT status FROM finding_triage WHERE occurrence_id = ?",
2059 (occurrence_id,),
2060 ).fetchone()
2061 if triage is not None and triage["status"] == "closed":
2062 raise SystemExit("Reopen this finding before requesting remediation.")
2063
2064
2065def request_finding_remediation(

Calls

no outgoing calls

Tested by

no test coverage detected