Description
This article describes the changes in command line for the command used to refresh some of the FortiGuard internal resources, like icons or sprites, for a normal output of application logos, or other display elements.
The problem reported before and concerning the default traffic icon in logs and FortiView as being replaced with an icon from the game Among-us , is caused by a display problem in the browsers.
The sprites.map is an image that contains multiple icons for various applications. In an alphabetical order, 'Among-US' game app is placed first.
When loading this in the browser, the first icon was considered the default, so the display of the logs appeared corrupted.
By refreshing the sprite-map in FortiGate, or clearing the browser cache, the issue is gone.
Scope
Solution
In FortiGate, several resources are stored in a separate file for ease of access.If these files become corrupted, there is a way to restore them to the default values.The following commands can be used to refresh (re-download) these elements from FortiGuard:
FortiOS 6.0.1 and prior: # diagnose web-ui app-icon-updateFortiOS 6.0.2 and newer: # diagnose fortiguard-resource update ?
This command has several parameters that can be used:
FortiGate # diagnose fortiguard-resource update ?sprite-map.png <----- Application icon sprite map (PNG).sprite-map.css <----- Application icon sprite map (CSS).sprite-isdb.png <----- Application icon sprite ISDB (PNG).sprite-isdb.css <----- Application icon sprite ISDB (CSS).app-info <----- Application info for a given ID.ips-information <----- IPS information for a given ID.wf-categories <----- Web filter categories.app-categories <----- Application categories.prefix-links <----- Prefix links.static-links <----- Static links.
A successful update will look like this:
FortiGate # diagnose fortiguard-resource update sprite-map.pngDeleted cached resource filesDownloading...Successfully downloaded sprite-map.pngSize: 2201597 bytesETag: "987561bdeeea4cb698331d2f3992a0ce"MD5: 987561bdeeea4cb698331d2f3992a0ce
While a failed update (likely due to connection problems):
FortiGate # diag fortiguard-resources update sprite-map.pngDeleted cached resource filesCommand fail. Return code -1
The Fortinet Security Fabric brings together the concepts of convergence and consolidation to provide comprehensive cybersecurity protection for all users, devices, and applications and across all network edges.
Copyright 2024 Fortinet, Inc. All Rights Reserved.