mirror of
https://github.com/openai/codex.git
synced 2026-11-24 07:20:27 +00:00
Add endpoint protection checks to codex doctor (#38827)
## Why Endpoint protection products can interfere with Codex, but existing doctor reports do not identify them or explain which Codex exclusions need verification. ## What changed - Detect supported endpoint protection products on macOS and Windows and add the results to the doctor environment report. - Warn when detected products have unverified Codex exclusions, with product-specific remediation for CrowdStrike Falcon, BeyondTrust Privilege Management, Microsoft Defender, SentinelOne, and Jamf Protect. - Distinguish complete, partial, and unavailable inspection results without requiring remediation when no product is detected. ## Testing - Cover empty, unavailable, partial, single-product, and multi-product inspection results. - Verify the structured JSON contract and human-readable report output. GitOrigin-RevId: 684c69684ed73235d92d398f5294cc1b274278df
This commit is contained in:
1 parent
49db349ffd
commit
c7a95f84b3
5 files changed
+459
-3
No files matched your search
@@ -72,6 +72,7 @@ mod git;
|
||||
mod output;
|
||||
mod progress;
|
||||
mod runtime;
|
||||
mod security;
|
||||
mod system;
|
||||
mod thread_inventory;
|
||||
mod title;
|
||||
@@ -343,6 +344,7 @@ async fn build_report(
|
||||
let progress = doctor_progress(command.json);
|
||||
let mut checks = Vec::new();
|
||||
checks.push(run_sync_check("system", progress.clone(), system_check));
|
||||
checks.push(run_async_check("endpoint protection", progress.clone(), security::check()).await);
|
||||
checks.push(run_sync_check("installation", progress.clone(), || {
|
||||
installation_check(!command.summary)
|
||||
}));
|
||||
|
||||
Reference in new issue
Block a user