Capture OS name, OS version and kernel information in output of analyzers
Closed this issue · 1 comments
fridex commented
Capture OS name, OS version and kernel information in metadata (result print function):
analyzer/thoth/analyzer/cli.py
Lines 65 to 70 in 444b99f
this should do the trick for most relevant information:
import platform
# ...
result["metadata"]["platform"] = {
"architecture": platform.architecture(),
"machine": platform.machine(),
"node": platform.node(),
"platform": platform.platform(),
"processor": platform.processor(),
"release": platform.release(),
"version": platform.version(),
}
This way we will capture relevant information for analyzer results (e.g. solver) transparently.
fridex commented
The kernel info is not necessary for all the analyzers.