Skip to content

Warn when threat detection rewrites an explicit engine - #79349

Closed
pelikhan wants to merge 4 commits into
mainfrom
copilot/fix-threat-detection-imported-engine
Closed

pelikhan wants to merge 4 commits into
mainfrom
copilot/fix-threat-detection-imported-engine

Conversation

@pelikhan

@pelikhan pelikhan commented Nov 19, 2026 •

Copy link
Copy Markdown
Collaborator

Threat detection silently rewrites imported engine IDs to a supported built-in engine, potentially using a different harness and credentials than requested.

  • Compiler warning: Report the requested and effective engine IDs when an explicit threat-detection engine is rewritten.
  • Regression coverage: Cover custom-engine fallbacks, declared replacements, Pi, supported engines, and disabled detection.

Custom-engine execution remains unsupported until the external threat-detection runtime supports generic engines.

pelikhan and others added 2 commits November 19, 2026 21:28
@pelikhan pelikhan changed the title [WIP] Fix threat detection for imported engine definition Warn when threat detection rewrites an explicit engine Nov 19, 2026
@pelikhan pelikhan closed this Nov 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Threat detection cannot run on an imported engine definition

2 participants