Refactor and enhance scanner worker functionality
- Cleaned up code formatting and organization across multiple files for improved readability. - Introduced `OsScanAnalyzerDispatcher` to handle OS analyzer execution and plugin loading. - Updated `ScanJobContext` to include an `Analysis` property for storing scan results. - Enhanced `ScanJobProcessor` to utilize the new `OsScanAnalyzerDispatcher`. - Improved logging and error handling in `ScanProgressReporter` for better traceability. - Updated project dependencies and added references to new analyzer plugins. - Revised task documentation to reflect current status and dependencies.
This commit is contained in:
		| @@ -0,0 +1,191 @@ | ||||
| { | ||||
|   "runtimeTarget": { | ||||
|     "name": ".NETCoreApp,Version=v10.0", | ||||
|     "signature": "" | ||||
|   }, | ||||
|   "compilationOptions": {}, | ||||
|   "targets": { | ||||
|     ".NETCoreApp,Version=v10.0": { | ||||
|       "StellaOps.Scanner.EntryTrace/1.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Logging.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Options": "9.0.0", | ||||
|           "Microsoft.Extensions.Options.ConfigurationExtensions": "9.0.0", | ||||
|           "StellaOps.Plugin": "1.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "StellaOps.Scanner.EntryTrace.dll": {} | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Configuration.Abstractions/9.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.Primitives": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Configuration.Abstractions.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Configuration.Binder/9.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.Configuration.Abstractions": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Configuration.Binder.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.DependencyInjection.Abstractions/9.0.0": { | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Logging.Abstractions/9.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Logging.Abstractions.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Options/9.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Primitives": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Options.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Options.ConfigurationExtensions/9.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.Configuration.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Configuration.Binder": "9.0.0", | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Options": "9.0.0", | ||||
|           "Microsoft.Extensions.Primitives": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Options.ConfigurationExtensions.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "Microsoft.Extensions.Primitives/9.0.0": { | ||||
|         "runtime": { | ||||
|           "lib/net9.0/Microsoft.Extensions.Primitives.dll": { | ||||
|             "assemblyVersion": "9.0.0.0", | ||||
|             "fileVersion": "9.0.24.52809" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "StellaOps.DependencyInjection/1.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.Configuration.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "StellaOps.DependencyInjection.dll": { | ||||
|             "assemblyVersion": "1.0.0.0", | ||||
|             "fileVersion": "1.0.0.0" | ||||
|           } | ||||
|         } | ||||
|       }, | ||||
|       "StellaOps.Plugin/1.0.0": { | ||||
|         "dependencies": { | ||||
|           "Microsoft.Extensions.Configuration.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.DependencyInjection.Abstractions": "9.0.0", | ||||
|           "Microsoft.Extensions.Logging.Abstractions": "9.0.0", | ||||
|           "StellaOps.DependencyInjection": "1.0.0" | ||||
|         }, | ||||
|         "runtime": { | ||||
|           "StellaOps.Plugin.dll": { | ||||
|             "assemblyVersion": "1.0.0.0", | ||||
|             "fileVersion": "1.0.0.0" | ||||
|           } | ||||
|         } | ||||
|       } | ||||
|     } | ||||
|   }, | ||||
|   "libraries": { | ||||
|     "StellaOps.Scanner.EntryTrace/1.0.0": { | ||||
|       "type": "project", | ||||
|       "serviceable": false, | ||||
|       "sha512": "" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Configuration.Abstractions/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-lqvd7W3FGKUO1+ZoUEMaZ5XDJeWvjpy2/M/ptCGz3tXLD4HWVaSzjufsAsjemasBEg+2SxXVtYVvGt5r2nKDlg==", | ||||
|       "path": "microsoft.extensions.configuration.abstractions/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.configuration.abstractions.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Configuration.Binder/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-RiScL99DcyngY9zJA2ROrri7Br8tn5N4hP4YNvGdTN/bvg1A3dwvDOxHnNZ3Im7x2SJ5i4LkX1uPiR/MfSFBLQ==", | ||||
|       "path": "microsoft.extensions.configuration.binder/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.configuration.binder.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.DependencyInjection.Abstractions/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-+6f2qv2a3dLwd5w6JanPIPs47CxRbnk+ZocMJUhv9NxP88VlOcJYZs9jY+MYSjxvady08bUZn6qgiNh7DadGgg==", | ||||
|       "path": "microsoft.extensions.dependencyinjection.abstractions/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.dependencyinjection.abstractions.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Logging.Abstractions/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-g0UfujELzlLbHoVG8kPKVBaW470Ewi+jnptGS9KUi6jcb+k2StujtK3m26DFSGGwQ/+bVgZfsWqNzlP6YOejvw==", | ||||
|       "path": "microsoft.extensions.logging.abstractions/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.logging.abstractions.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Options/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-y2146b3jrPI3Q0lokKXdKLpmXqakYbDIPDV6r3M8SqvSf45WwOTzkyfDpxnZXJsJQEpAsAqjUq5Pu8RCJMjubg==", | ||||
|       "path": "microsoft.extensions.options/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.options.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Options.ConfigurationExtensions/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-Ob3FXsXkcSMQmGZi7qP07EQ39kZpSBlTcAZLbJLdI4FIf0Jug8biv2HTavWmnTirchctPlq9bl/26CXtQRguzA==", | ||||
|       "path": "microsoft.extensions.options.configurationextensions/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.options.configurationextensions.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "Microsoft.Extensions.Primitives/9.0.0": { | ||||
|       "type": "package", | ||||
|       "serviceable": true, | ||||
|       "sha512": "sha512-N3qEBzmLMYiASUlKxxFIISP4AiwuPTHF5uCh+2CWSwwzAJiIYx0kBJsS30cp1nvhSySFAVi30jecD307jV+8Kg==", | ||||
|       "path": "microsoft.extensions.primitives/9.0.0", | ||||
|       "hashPath": "microsoft.extensions.primitives.9.0.0.nupkg.sha512" | ||||
|     }, | ||||
|     "StellaOps.DependencyInjection/1.0.0": { | ||||
|       "type": "project", | ||||
|       "serviceable": false, | ||||
|       "sha512": "" | ||||
|     }, | ||||
|     "StellaOps.Plugin/1.0.0": { | ||||
|       "type": "project", | ||||
|       "serviceable": false, | ||||
|       "sha512": "" | ||||
|     } | ||||
|   } | ||||
| } | ||||
| @@ -0,0 +1,22 @@ | ||||
| { | ||||
|   "schemaVersion": "1.0", | ||||
|   "id": "stellaops.entrytrace.analyzers", | ||||
|   "displayName": "StellaOps EntryTrace Analyzer Pack", | ||||
|   "version": "0.1.0-alpha", | ||||
|   "requiresRestart": true, | ||||
|   "entryPoint": { | ||||
|     "type": "dotnet", | ||||
|     "executable": "StellaOps.Scanner.EntryTrace.dll", | ||||
|     "arguments": [ | ||||
|       "handshake" | ||||
|     ] | ||||
|   }, | ||||
|   "capabilities": [ | ||||
|     "entrytrace", | ||||
|     "analyzer" | ||||
|   ], | ||||
|   "metadata": { | ||||
|     "org.stellaops.plugin.kind": "entrytrace-analyzer", | ||||
|     "org.stellaops.restart.required": "true" | ||||
|   } | ||||
| } | ||||
		Reference in New Issue
	
	Block a user