How do I tell the difference between a CLI based scan vs App-based scan executed in Endor's cloud?
Last updated: April 27, 2026
Context
Users may isolate scan results between a scan within and outside of Endor's SCM App integrations (Endor Labs Documentation: SCM Integrations).
Answer
In a ScanResult object, filter for this attribute:
spec.environment.config.RunBySystem

falseindicates the scan was in Endor Labs' environment as indicated by the cloud icon in the UIendorctl command:
endorctl api list -r ScanResult --filter spec.environment.config.RunBySystem==true

trueindicates it was a customer environment as indicated by the terminal icon in the UIendorctl command:
endorctl api list -r ScanResult --filter spec.environment.config.RunBySystem==false