-
Suggestion
-
Resolution: Unresolved
-
None
-
None
-
0
-
5
-
Issue Summary
Currently, in Assets Discovery, when an error occurs the log collected is impossible to tie back to the pattern executed on the host.
To help troubleshoot related issues, DEBUG level logging in Assets Discovery should note which pattern executed, and if it was successful or errored against the target-host.
Steps to Reproduce
- Enable Debug Logging in Assets Discovery
- Create a scan that includes all patterns
- Run the scan against your target host(s)
Expected Results
Logging generated ties the pattern to the results in a clear-to-understand method.
Actual Results
If an error occurs, we see something like this and cannot tie it back to the pattern.
[Normal] Invalid query at System.Management.ManagementException.ThrowWithExtendedInfo(ManagementStatus errorCode) at System.Management.ManagementObjectCollection.ManagementObjectEnumerator.MoveNext() at ProviderClasses.ScanProviders.WMI.WMIQueryScanProcess.HandleManagementObjectCollection(ManagementObjectCollection managementObjectCollection) in C:\build\DISCOVERY-DISCOVERYCLOUDRELEASE206-BUILD\ProviderClasses\ScanProviders\WMI\WMIQueryScanProcess.cs:line 146
Workaround
Change scan parameters and de-select patterns until the error no longer occurs in a scan