ufficioced wrote:
I think that if LS could implement something like deploying a (custom) command line program (or batch or script) and get result in some field of the asset itself we can easily implement some good vuln detections functionalities.
Example: deploy a script to detect permission on a file is executed on the assets (this can be done in .bat, .ps1 or custom .net ext) and the script returns some value, this value is written in some field for each asset, then a custom report can be created to select and alert if wrong values are found.
What do you think about this?
This is currently already possible, however not exactly as you described. You can deploy scripts, batch files or command lines using the deployment module. However, you can't make these deployments write information to the asset's page. As a workaround, you can make the deployment create a registry key with the information and scan the registry key with Lansweeper. This method is similar to the Intel SA-00086 vulnerability deployment we created.
I'll add your request to allow return values of deployments to be written to the asset custom fields to the customer wishlist.