PayloadKit

Baseline by Second Son Consulting

com.secondsonconsulting.baseline

Baseline by Second Son Consulting Configuration

macOS

Configuration Keys (38)

Showing 38 of 38 keys

KeyTypeDescriptionDefaultRange
string—Default: —Range: —

InitialScripts

arrayDefine 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.Default: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear in SwiftDialog and logs. Initial Scripts will only be shown to the user if the item Fails.Default: —Range: —

Script Path

stringA path to the script you want to run. Can be a local file path or a URL.Default: —Range: —
SHA256string

SHA256

stringThe expected SHA256 of the script being run.Default: —Range: —
MD5string

MD5

stringThe expected MD5 of the script being run.Default: —Range: —
Argumentsstring

Arguments

stringArguments you want to pass to the script when it is run.Default: —Range: —
AsUserboolean

Run as User

booleanEnable this option to run the script as the logged in user.Default: —Range: —
Retriesinteger

Retries

integerThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default.Default: 0Range: —

Curl Options

stringCustom Curl Options to used when downloading this script.Default: —Range: —

Installomator Labels

arrayDefine Installomator labels to be run by Baseline. For information specific to Installomator, see the Installomator Github: https://github.com/Installomator/InstallomatorDefault: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear in the SwiftDialog menu as this Installomator label is processed.Default: —Range: —
Labelstring

Label

stringThe Installomator label.Default: —Range: —
Argumentsstring

Arguments

stringArguments you want to pass to the Installomator command for this label.Default: —Range: —
Iconstring

Icon

stringThe icon you want to appear in the SwiftDialog menu as this Installomator label is processed. Can be a URL or local file path.Default: —Range: —
Subtitlestring

Subtitle

stringThe subtitle text to appear on this line item.Default: —Range: —

Wait Icon

stringThe icon used for the wait list status, for this specific line item.Default: —Range: —

Success Icon

stringThe icon used for the success list status, for this specific line item.Default: —Range: —

Fail Icon

stringThe icon used for the fail list status, for this specific line item.Default: —Range: —
Retriesinteger

Retries

integerThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default.Default: 0Range: —

Hide List While Running

booleanHide the window while this item is running. Default is falseDefault: falseRange: —

Packages

arrayDefine Packages to be run by BaselineDefault: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear in the SwiftDialog menu as this package is installed.Default: —Range: —

Package Path

stringA path to the package you want to install. Can be a local file path or a URL.Default: —Range: —
TeamIDstring

TeamID

stringThe expected TeamID of the package being installed.Default: —Range: —
SHA256string

SHA256

stringThe expected SHA256 of the package being installed.Default: —Range: —
MD5string

MD5

stringThe expected MD5 of the package being installed.Default: —Range: —
Argumentsstring

Arguments

stringArguments you want to pass to the installer command for this package.Default: —Range: —
Iconstring

Icon

stringThe icon you want to appear in the SwiftDialog menu as this package is installed. Can be a URL or local file path.Default: —Range: —
Subtitlestring

Subtitle

stringThe subtitle text to appear on this line item.Default: —Range: —

Wait Icon

stringThe icon used for the wait list status, for this specific line item.Default: —Range: —

Success Icon

stringThe icon used for the success list status, for this specific line item.Default: —Range: —

Fail Icon

stringThe icon used for the fail list status, for this specific line item.Default: —Range: —
Retriesinteger

Retries

integerThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default.Default: 0Range: —

Hide List While Running

booleanHide the window while this item is running. Default is falseDefault: falseRange: —

Curl Options

stringCustom Curl Options to used when downloading this package.Default: —Range: —
Scriptsarray

Scripts

arrayDefine Scripts to be run by BaselineDefault: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear in the SwiftDialog menu as this script is run.Default: —Range: —

Script Path

stringA path to the script you want to run. Can be a local file path or a URL.Default: —Range: —
SHA256string

SHA256

stringThe expected SHA256 of the script being run.Default: —Range: —
MD5string

MD5

stringThe expected MD5 of the script being run.Default: —Range: —
Argumentsstring

Arguments

stringArguments you want to pass to the script when it is run.Default: —Range: —
AsUserboolean

Run as User

booleanEnable this option to run the script as the logged in user.Default: —Range: —
Iconstring

Icon

stringThe icon you want to appear in the SwiftDialog menu as this script is run. Can be a URL or local file path.Default: —Range: —
Subtitlestring

Subtitle

stringThe subtitle text to appear on this line item.Default: —Range: —

Hide List While Running

booleanHide the window while this item is running. Default is falseDefault: falseRange: —

Wait Icon

stringThe icon used for the wait list status, for this specific line item.Default: —Range: —

Success Icon

stringThe icon used for the success list status, for this specific line item.Default: —Range: —

Fail Icon

stringThe icon used for the fail list status, for this specific line item.Default: —Range: —
Retriesinteger

Retries

integerThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default.Default: 0Range: —

Hide List While Running

booleanHide the window while this item is running. Default is falseDefault: falseRange: —

Curl Options

stringCustom Curl Options to used when downloading this script.Default: —Range: —
WaitForarray

WaitFor

arrayDefine files which you want Baseline to wait for. Use this for items not directly installed by Baseline, like VPP or MDM installed apps.Default: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear in the SwiftDialog menu for this item we are waiting for.Default: —Range: —
Pathstring

Path

stringA path to the file you want Baseline to wait for.Default: —Range: —
Iconstring

Icon

stringThe icon you want to appear in the SwiftDialog menu for this item. Can be a URL or local file path.Default: —Range: —
Subtitlestring

Subtitle

stringThe subtitle text to appear on this line item.Default: —Range: —

FinalScripts

arrayDefine 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.Default: —Range: —
dict
dict—Default: —Range: —

Display Name

stringThe name you want to appear SwiftDialog and logs. Final Scripts will only be shown to the user if the item Fails.Default: —Range: —

Script Path

stringA path to the script you want to run. Can be a local file path or a URL.Default: —Range: —
SHA256string

SHA256

stringThe expected SHA256 of the script being run.Default: —Range: —
MD5string

MD5

stringThe expected MD5 of the script being run.Default: —Range: —
Argumentsstring

Arguments

stringArguments you want to pass to the script when it is run.Default: —Range: —
AsUserboolean

Run as User

booleanEnable this option to run the script as the logged in user.Default: —Range: —
Retriesinteger

Retries

integerThe number of times Baseline will retry this specific item if it fails. If omitted, will use the Global Retries Default.Default: 0Range: —

Curl Options

stringCustom Curl Options to used when downloading this script.Default: —Range: —

WaitFor Timeout

integerWhen 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.Default: —Range: —
Restartboolean

Force Restart

booleanThis setting controls whether Baseline forces a restart after completion.Default: trueRange: —
LogOutboolean

Force Log Out

booleanThis setting controls whether Baseline forces a restart after completion.Default: falseRange: —

Cleanup After Use

booleanThis setting controls whether Baseline deletes it's install directory after use: /usr/local/Baseline.Default: trueRange: —

Ignore Default Installomator Options

booleanBy default, Baseline uses "NOTIFY=silent" and "BLOCKING_PROCESS_ACTION=kill" Installomator options. Setting this to True means Baseline will not use those options.Default: falseRange: —

Skip Success Dialog

booleanIf set to true, Baseline will not present a Success dialog at completion.Default: falseRange: —

Skip Failure Dialog

booleanIf set to true, Baseline will not present a Failure dialog at completion.Default: falseRange: —
SilentModeboolean

Silent Mode

booleanIf set to true, no dialog windows will be created. All items and item types will process as normal.Default: falseRange: —

Close List View Before Final Scripts

booleanIf 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: falseRange: —

Dialog List Window Options

stringSwiftDialog options for the primary Baseline progress list window.Default: —Range: —

Dialog Success Window Options

stringSwiftDialog options for the Success Dialog window.Default: —Range: —

Dialog Failure Window Options

stringSwiftDialog options for the Failure Dialog window.Default: —Range: —

Dialog Inspect Mode Window Options

stringSwiftDialog options for Inspect Mode. Most options should be in the JSON file, but some can be passed here. See swiftDialog documentation for specifics.Default: —Range: —

Inspect Mode JSON

stringPath 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 InitialScriptsDefault: —Range: —
BlurScreenboolean

Blur Screen

booleanThis setting controls whether Baseline uses the SwiftDialog --blurscreen feature. Default is true. If you set to false, consider using --ontop in your DialogListOptions keyDefault: trueRange: —
ShowListboolean

Show List

booleanIf 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: trueRange: —

Show Progress Bar

booleanThis setting controls whether Baseline displays a progress bar.Default: falseRange: —

Show Display Names on Progress Bar

booleanThis setting controls whether Baseline displays the current item being processed under the progress bar.Default: falseRange: —

Use Installomator SwiftDialog Integration

booleanTell Installomator to use it's built in SwiftDialog integration for the List View.Default: falseRange: —

Verbose Jamf Items

booleanIf 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: falseRange: —

Button 1 Enabled

booleanThis 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: falseRange: —

Global Status Icon - Wait

stringThe icon used for the wait list status, if no specific wait status icon is set.Default: —Range: —

Global Status Icon - Success

stringThe icon used for the success list status, if no specific success status icon is set.Default: —Range: —

Global Status Icon - Fail

stringThe icon used for the fail list status, if no specific fail status icon is set.Default: —Range: —

Wait For Pending Icon

stringThe icon used for the "pending" status of all WaitFor items. Leave blank for nothing. Use "pending" for swiftDialog Default.Default: —Range: —

Reinstall SwiftDialog

booleanDeprecated: 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.Default: —Range: —

Exit Condition

stringDefine 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.Default: —Range: —

Bail Out File

stringDefine a file path. If this file exists at any point while Baseline is running, Baseline will exit and will not process additional items.Default: —Range: —

Default Installomator Retries

integerDefault number of retries for Installomator items. Default 0Default: 0Range: —

Default Script Retries

integerDefault number of retries for Script items. Default 0Default: 0Range: —

Default Package Retries

integerDefault number of retries for Package items. Default 0Default: 0Range: —