Baseline by Second Son Consulting
com.secondsonconsulting.baseline
Baseline by Second Son Consulting Configuration
Configuration Keys (38)
| Key | Type | Title |
|---|---|---|
PFC_SegmentedControl_0required | string | — |
InitialScriptsDefine scripts that are run immediately as the user logs in, prior to any Baseline SwiftDialog windows. These scripts are the place to add your custom welcome messages or pre-flight scripts. | array | InitialScripts |
InstallomatorDefine Installomator labels to be run by Baseline. For information specific to Installomator, see the Installomator Github: https://github.com/Installomator/Installomator | array | Installomator Labels |
PackagesDefine Packages to be run by Baseline | array | Packages |
ScriptsDefine Scripts to be run by Baseline | array | Scripts |
WaitForDefine files which you want Baseline to wait for. Use this for items not directly installed by Baseline, like VPP or MDM installed apps. | array | WaitFor |
FinalScriptsDefine scripts that are run just before completion dialogs. For reporting webhooks, cleanup tasks, etc. Similar to InitialScripts, these items do not appear on the List View. | array | FinalScripts |
WaitForTimeoutWhen using WaitFor, enter the number of seconds you wish to wait before Baseline considers remaining items a failure. This timer does not start until all other items are processed. Default if key is omitted is 600. | integer | WaitFor Timeout |
RestartThis setting controls whether Baseline forces a restart after completion. Default: true | boolean | Force Restart |
LogOutThis setting controls whether Baseline forces a restart after completion. Default: false | boolean | Force Log Out |
CleanupAfterUseThis setting controls whether Baseline deletes it's install directory after use: /usr/local/Baseline. Default: true | boolean | Cleanup After Use |
IgnoreDefaultInstallomatorOptionsBy default, Baseline uses "NOTIFY=silent" and "BLOCKING_PROCESS_ACTION=kill" Installomator options. Setting this to True means Baseline will not use those options. Default: false | boolean | Ignore Default Installomator Options |
SkipSuccessDialogIf set to true, Baseline will not present a Success dialog at completion. Default: false | boolean | Skip Success Dialog |
SkipFailDialogIf set to true, Baseline will not present a Failure dialog at completion. Default: false | boolean | Skip Failure Dialog |
SilentModeIf set to true, no dialog windows will be created. All items and item types will process as normal. Default: false | boolean | Silent Mode |
CloseListBeforeFinalScriptsIf set to true, Baseline will close the list view window before running FinalScripts. Use this option if you want to utilize FinalScripts to have the user complete actions prior to the Baseline completion dialog. Default: false | boolean | Close List View Before Final Scripts |
DialogListOptionsSwiftDialog options for the primary Baseline progress list window. | string | Dialog List Window Options |
DialogSuccessOptionsSwiftDialog options for the Success Dialog window. | string | Dialog Success Window Options |
DialogFailureOptionsSwiftDialog options for the Failure Dialog window. | string | Dialog Failure Window Options |
DialogInspectModeOptionsSwiftDialog options for Inspect Mode. Most options should be in the JSON file, but some can be passed here. See swiftDialog documentation for specifics. | string | Dialog Inspect Mode Window Options |
InspectModeJSONPath to your Inspect Mode JSON file. Using this option enables "Inspect Mode". DialogListView options will not be respected, and no Baseline DialogListView will be drawn. Inspect Mode is enabled after InitialScripts | string | Inspect Mode JSON |
BlurScreenThis setting controls whether Baseline uses the SwiftDialog --blurscreen feature. Default is true. If you set to false, consider using --ontop in your DialogListOptions key Default: true | boolean | Blur Screen |
ShowListIf false, the ListView will not show any list items. Instead, a standard Dialog window is drawn with the options configured in `DialogListOptions`. If used with progress bar, the progress bar will still be displayed. Default: true | boolean | Show List |
ProgressBarThis setting controls whether Baseline displays a progress bar. Default: false | boolean | Show Progress Bar |
ProgressBarDisplayNamesThis setting controls whether Baseline displays the current item being processed under the progress bar. Default: false | boolean | Show Display Names on Progress Bar |
InstallomatorSwiftDialogIntegrationTell Installomator to use it's built in SwiftDialog integration for the List View. Default: false | boolean | Use Installomator SwiftDialog Integration |
JamfVerboseIf set to true, when a Script is processing a jamf policy (/usr/local/bin/jamf), Baseline will watch the Jamf log to provide more verbose output on that line item. Similar to the Installomator integration, text and a progress circle will be used for all jamf items. Default: false | boolean | Verbose Jamf Items |
Button1EnabledThis setting enables SwiftDialog "Button 1" (the OK button) on the Baseline List View. This allows users to dismiss the list view and continue working while Baseline runs. By default this button is disabled. Default: false | boolean | Button 1 Enabled |
GlobalDialogStatusIconWaitThe icon used for the wait list status, if no specific wait status icon is set. | string | Global Status Icon - Wait |
GlobalDialogStatusIconSuccessThe icon used for the success list status, if no specific success status icon is set. | string | Global Status Icon - Success |
GlobalDialogStatusIconFailThe icon used for the fail list status, if no specific fail status icon is set. | string | Global Status Icon - Fail |
PendingWaitForIconThe icon used for the "pending" status of all WaitFor items. Leave blank for nothing. Use "pending" for swiftDialog Default. | string | Wait For Pending Icon |
ReinstallDialogDeprecated: This feature was removed in v.2.3, as it is no longer needed. This setting controls whether Baseline will reinstall SwiftDialog as the final step before completion. Default behavior if this key is omitted will reinstall SwiftDialog if a custom PNG is found in /Library/Application Support/Dialog/Dialog.png. Leave this as default if you use Baseline to deploy a custom SwiftDialog icon. Set to false if you do not want Baseline to ever reinstall SwiftDialog. Set to True if you always want to reinstall SwiftDialog after each Baseline. | boolean | Reinstall SwiftDialog |
ExitConditionDefine a file or folder path. When Baseline starts, if this file or folder exists, Baseline will exit quietly without processing any items. Use this option if your management tool may re-send scripts when not desired. | string | Exit Condition |
BailOutFileDefine a file path. If this file exists at any point while Baseline is running, Baseline will exit and will not process additional items. | string | Bail Out File |
DefaultInstallomatorRetriesDefault number of retries for Installomator items. Default 0 Default: 0 | integer | Default Installomator Retries |
DefaultScriptRetriesDefault number of retries for Script items. Default 0 Default: 0 | integer | Default Script Retries |
DefaultPackageRetriesDefault number of retries for Package items. Default 0 Default: 0 | integer | Default Package Retries |
| dict | — |
DisplayNameThe name you want to appear in SwiftDialog and logs. Initial Scripts will only be shown to the user if the item Fails. | string | Display Name |
ScriptPathA path to the script you want to run. Can be a local file path or a URL. | string | Script Path |
SHA256The expected SHA256 of the script being run. | string | SHA256 |
MD5The expected MD5 of the script being run. | string | MD5 |
ArgumentsArguments you want to pass to the script when it is run. | string | Arguments |
AsUserEnable this option to run the script as the logged in user. | boolean | Run as User |
RetriesThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default. Default: 0 | integer | Retries |
CurlOptionsCustom Curl Options to used when downloading this script. | string | Curl Options |
| dict | — |
DisplayNameThe name you want to appear in the SwiftDialog menu as this Installomator label is processed. | string | Display Name |
LabelThe Installomator label. | string | Label |
ArgumentsArguments you want to pass to the Installomator command for this label. | string | Arguments |
IconThe icon you want to appear in the SwiftDialog menu as this Installomator label is processed. Can be a URL or local file path. | string | Icon |
SubtitleThe subtitle text to appear on this line item. | string | Subtitle |
StatusIconWaitThe icon used for the wait list status, for this specific line item. | string | Wait Icon |
StatusIconSuccessThe icon used for the success list status, for this specific line item. | string | Success Icon |
StatusIconFailThe icon used for the fail list status, for this specific line item. | string | Fail Icon |
RetriesThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default. Default: 0 | integer | Retries |
HideListViewHide the window while this item is running. Default is false Default: false | boolean | Hide List While Running |
| dict | — |
DisplayNameThe name you want to appear in the SwiftDialog menu as this package is installed. | string | Display Name |
PackagePathA path to the package you want to install. Can be a local file path or a URL. | string | Package Path |
TeamIDThe expected TeamID of the package being installed. | string | TeamID |
SHA256The expected SHA256 of the package being installed. | string | SHA256 |
MD5The expected MD5 of the package being installed. | string | MD5 |
ArgumentsArguments you want to pass to the installer command for this package. | string | Arguments |
IconThe icon you want to appear in the SwiftDialog menu as this package is installed. Can be a URL or local file path. | string | Icon |
SubtitleThe subtitle text to appear on this line item. | string | Subtitle |
StatusIconWaitThe icon used for the wait list status, for this specific line item. | string | Wait Icon |
StatusIconSuccessThe icon used for the success list status, for this specific line item. | string | Success Icon |
StatusIconFailThe icon used for the fail list status, for this specific line item. | string | Fail Icon |
RetriesThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default. Default: 0 | integer | Retries |
HideListViewHide the window while this item is running. Default is false Default: false | boolean | Hide List While Running |
CurlOptionsCustom Curl Options to used when downloading this package. | string | Curl Options |
| dict | — |
DisplayNameThe name you want to appear in the SwiftDialog menu as this script is run. | string | Display Name |
ScriptPathA path to the script you want to run. Can be a local file path or a URL. | string | Script Path |
SHA256The expected SHA256 of the script being run. | string | SHA256 |
MD5The expected MD5 of the script being run. | string | MD5 |
ArgumentsArguments you want to pass to the script when it is run. | string | Arguments |
AsUserEnable this option to run the script as the logged in user. | boolean | Run as User |
IconThe icon you want to appear in the SwiftDialog menu as this script is run. Can be a URL or local file path. | string | Icon |
SubtitleThe subtitle text to appear on this line item. | string | Subtitle |
HideListViewHide the window while this item is running. Default is false Default: false | boolean | Hide List While Running |
StatusIconWaitThe icon used for the wait list status, for this specific line item. | string | Wait Icon |
StatusIconSuccessThe icon used for the success list status, for this specific line item. | string | Success Icon |
StatusIconFailThe icon used for the fail list status, for this specific line item. | string | Fail Icon |
RetriesThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default. Default: 0 | integer | Retries |
HideListViewHide the window while this item is running. Default is false Default: false | boolean | Hide List While Running |
CurlOptionsCustom Curl Options to used when downloading this script. | string | Curl Options |
| dict | — |
DisplayNameThe name you want to appear in the SwiftDialog menu for this item we are waiting for. | string | Display Name |
PathA path to the file you want Baseline to wait for. | string | Path |
IconThe icon you want to appear in the SwiftDialog menu for this item. Can be a URL or local file path. | string | Icon |
SubtitleThe subtitle text to appear on this line item. | string | Subtitle |
| dict | — |
DisplayNameThe name you want to appear SwiftDialog and logs. Final Scripts will only be shown to the user if the item Fails. | string | Display Name |
ScriptPathA path to the script you want to run. Can be a local file path or a URL. | string | Script Path |
SHA256The expected SHA256 of the script being run. | string | SHA256 |
MD5The expected MD5 of the script being run. | string | MD5 |
ArgumentsArguments you want to pass to the script when it is run. | string | Arguments |
AsUserEnable this option to run the script as the logged in user. | boolean | Run as User |
RetriesThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default. Default: 0 | integer | Retries |
CurlOptionsCustom Curl Options to used when downloading this script. | string | Curl Options |