Overview
A user only wants to scan and show data in the console and in reports for Microsoft and 3rd party patches/updates. However, the console displays Vulnerabilities from a few scans that used profiles that included Vulnerabilities such as a Full Scan profile.
This article guides you on how to stop LanGuard from displaying Vulnerabilities.
    
Environment
      GFI LanGuard 
    
    
      All Supported Operating Systems
      
    
    Root Cause
        GFI LanGuard shows Vulnerabilities and patches detected during a scan.
        
      
    Resolution
    There are two types to prevent LanGuard from displaying Vulnerabilities.
  
  - Delete scans from the database that used the Full Scan profile:
- Go to Configuration > Database Maintenance Options > Manage Scan Results.
 - Organize the scan results by Scan Profile and delete all the scans that have profiles that include Vulnerabilities.
NOTE: If you receive a message that states that the scan cannot be deleted due to database integrity, use the second option below.
 
 - Run a script in SQL that will hide Vulnerabilities:
- Connect to the backend database server using SQL Management Studio and expand the databases node.
 - Right-click on the LNSSScanResults11 database and choose New Query.
 - In the query window, paste the following script/query:
UPDATE [OverviewCategory] SET [ScanIDOfActualResults] = 0
WHERE [ResultsCategoryName] = 'VulnerabilitiesUsb'
OR [ResultsCategoryName] = 'VulnerabilitiesAlerts'
OR [ResultsCategoryName] = 'VulnerabilitiesSoftware'
OR [ResultsCategoryName] = 'VulnerabilitiesNics'
OR [ResultsCategoryName] = 'VulnerabilitiesBackdoors' - Click Execute.
 - The results should show x row(s) affected.
 
 
Confirmation
The console should not display Vulnerabilities or show them in reports.
NOTE: If another Full Scan is run it will flip this setting back to show Vulnerabilities again. In that case, you can just run the script again.
Priyanka Bhotika
Comments