I am trying to find out when a new software get installed on any end point. and I also have a script running to collect installed software
I have created a lookup file called installed_software_workstations.csv - where i have recorded all the approved software.
I need help with something like -
check if software is not in lookup file( installed_software_workstations.csv). flag it as unapproved software or new software.
@siddh01r,
Assuming that you have the list of softwares installed and software name is DisplayName
. Your lookup table has product
which points to software name.
Try
sourcetype = Script:InstalledApps" |stats count by DisplayName
|lookup approved_software-workstations.csv product as DisplayName
|where isnull(is_approved)
@siddh01r,
Assuming that you have the list of softwares installed and software name is DisplayName
. Your lookup table has product
which points to software name.
Try
sourcetype = Script:InstalledApps" |stats count by DisplayName
|lookup approved_software-workstations.csv product as DisplayName
|where isnull(is_approved)
This has worked for me mate!!! thank you so much!!!!