Add icon for Okta Advanced Server Access macOS FMA (#48956)
<!-- Add the related story/sub-task/bug number, like Resolves #123, or remove if NA --> The Okta Advanced Server Access macOS Fleet-maintained app had no icon — the Fleet UI fell back to the generic package icon, and the fleetdm.com software catalog used the fallback icon. The icon was extracted from the vendor's `ScaleFT.app` bundle inside `ScaleFT-1.108.0.pkg` (downloaded from the URL in `ee/maintained-apps/outputs/okta-advanced-server-access/darwin.json`; SHA-256 verified against the manifest) and generated with `tools/software/icons/generate-icons.sh`: - `frontend/pages/SoftwarePage/components/icons/ScaleFt.tsx`: new icon component. - `frontend/pages/SoftwarePage/components/icons/index.ts`: two map entries — `"okta advanced server access"` (matches the FMA list name) and `"scaleft"` (matches host inventory, since the app's `CFBundleName` is `ScaleFT` and there is no `CFBundleDisplayName`). - `website/assets/images/app-icon-okta-advanced-server-access-60x60@2x.png`: 128×128 PNG for the fleetdm.com software catalog (filename follows the `app-icon-<slug>` convention used by `build-static-content.js`). # Checklist for submitter - [x] Input data is properly validated, `SELECT *` is avoided, SQL injection is prevented (using placeholders for values in statements), JS inline code is prevented especially for url redirects, and untrusted data interpolated into shell scripts/commands is validated against shell metacharacters. ## Testing - [x] QA'd all new/changed functionality manually <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **New Features** * Added a new software icon for ScaleFT/Okta Advanced Server Access. * The icon now appears automatically when those software names are recognized in the app. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -796,6 +796,7 @@ import Safari from "./Safari";
|
||||
import SafeExamBrowser from "./SafeExamBrowser";
|
||||
import Sanesidebuttons from "./Sanesidebuttons";
|
||||
import Santa from "./Santa";
|
||||
import ScaleFt from "./ScaleFt";
|
||||
import ScMenu from "./ScMenu";
|
||||
import Scratch from "./Scratch";
|
||||
import Screenflick from "./Screenflick";
|
||||
@@ -1709,6 +1710,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
||||
obsidian: Obsidian,
|
||||
ocenaudio: Ocenaudio,
|
||||
"ok json": OkJson,
|
||||
"okta advanced server access": ScaleFt,
|
||||
"okta verify": OktaVerify,
|
||||
ollama: Ollama,
|
||||
omnidisksweeper: Omnidisksweeper,
|
||||
@@ -1870,6 +1872,7 @@ export const SOFTWARE_NAME_TO_ICON_MAP = {
|
||||
santa: Santa,
|
||||
"sbarex qlmarkdown": Qlmarkdown,
|
||||
"sc menu": ScMenu,
|
||||
scaleft: ScaleFt,
|
||||
scratch: Scratch,
|
||||
"screen studio": ScreenStudio,
|
||||
screenflick: Screenflick,
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 8.2 KiB |
Reference in New Issue
Block a user