Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Scaffolds = map[string]string{
`com.jamf.ddm-configuration-profile`: `{}`,
`com.jamf.ddm.app-managed`: `{}`,
`com.jamf.ddm.audio-accessory-settings`: `{
"TemporaryPairing": {
"Configuration": {
"UnpairingTime": {
"Hour": 0,
"Policy": "None"
}
},
"Disabled": false,
"Included": true
}
}`,
`com.jamf.ddm.custom-declarations`: `{
"declarations": [
{
"kind": "CONFIGURATION",
"payload": {},
"type": ""
}
]
}`,
`com.jamf.ddm.disk-management`: `{
"Restrictions": {
"ExternalStorage": {
"Included": true,
"Value": "Allowed"
},
"NetworkStorage": {
"Included": true,
"Value": "Allowed"
}
},
"version": 2
}`,
`com.jamf.ddm.math-settings`: `{
"Calculator": {
"BasicMode": {
"AddSquareRoot": false,
"Included": true
},
"InputModes": {
"Included": true,
"RPN": false,
"UnitConversion": false
},
"MathNotesMode": {
"Enabled": false,
"Included": true
},
"ProgrammerMode": {
"Enabled": false,
"Included": true
},
"ScientificMode": {
"Enabled": false,
"Included": true
}
},
"SystemBehavior": {
"Included": true,
"KeyboardSuggestions": false,
"MathNotes": false
}
}`,
`com.jamf.ddm.passcode-settings`: `{
"ChangeAtNextAuth": {
"Included": false,
"Value": false
},
"CustomRegex": {
"Description": {
"<key>": ""
},
"Included": false,
"Regex": "[0-9]{16}"
},
"FailedAttemptsResetInMinutes": {
"Included": false,
"Value": 5
},
"MaximumFailedAttempts": {
"Included": false,
"Value": 10
},
"MaximumGracePeriodInMinutes": {
"Included": false,
"Value": 2
},
"MaximumInactivityInMinutes": {
"Included": false,
"Value": 10
},
"MaximumPasscodeAgeInDays": {
"Included": false,
"Value": 14
},
"MinimumComplexCharacters": {
"Included": false,
"Value": 1
},
"MinimumLength": {
"Included": false,
"Value": 8
},
"PasscodeReuseLimit": {
"Included": false,
"Value": 10
},
"RequireAlphanumericPasscode": {
"Included": false,
"Value": false
},
"RequireComplexPasscode": {
"Included": false,
"Value": false
},
"RequirePasscode": {
"Included": false,
"Value": false
},
"version": "2"
}`,
`com.jamf.ddm.safari-bookmarks`: `{
"ManagedBookmarks": [
{
"Bookmarks": [
{
"Folder": [
{
"Title": "",
"URL": ""
}
],
"Title": "",
"Type": ""
}
],
"GroupIdentifier": "",
"Title": ""
}
]
}`,
`com.jamf.ddm.safari-extensions`: `{
"ManagedExtensions": {
"<key>": {
"AllowedDomains": [
{
"Domain": ""
}
],
"DeniedDomains": [
{
"Domain": ""
}
],
"PrivateBrowsing": "Allowed",
"State": "Allowed"
}
}
}`,
`com.jamf.ddm.safari-settings`: `{
"AcceptCookies": {
"Included": false,
"Value": "Never"
},
"AllowDisablingFraudWarning": {
"Included": false,
"Value": false
},
"AllowHistoryClearing": {
"Included": false,
"Value": false
},
"AllowJavaScript": {
"Included": false,
"Value": false
},
"AllowPopups": {
"Included": false,
"Value": false
},
"AllowPrivateBrowsing": {
"Included": false,
"Value": false
},
"AllowSummary": {
"Included": false,
"Value": false
},
"NewTabStartPage": {
"ExtensionIdentifier": "com.example.extension (ABC1234567)",
"HomepageURL": "https://example.com",
"Included": false,
"PageType": "Start"
}
}`,
`com.jamf.ddm.service-background-tasks`: `{
"backgroundTasks": [
{
"ExecutableAssetReference": {
"Authentication": {
"Type": "MDM"
},
"Reference": {
"ContentType": "",
"DataURL": "",
"Hash-SHA-256": "",
"Size": 0
}
},
"LaunchdConfigurations": [
{
"Context": "daemon",
"FileAssetReference": {
"Authentication": {
"Type": "MDM"
},
"Reference": {
"ContentType": "",
"DataURL": "",
"Hash-SHA-256": "",
"Size": 0
}
}
}
],
"TaskDescription": "",
"TaskType": ""
}
]
}`,
`com.jamf.ddm.service-configuration-files`: `{
"serviceConfigFiles": [
{
"DataAssetReference": {
"Authentication": {
"Type": "MDM"
},
"Reference": {
"ContentType": "",
"DataURL": "",
"Hash-SHA-256": "",
"Size": 0
}
},
"ServiceType": ""
}
]
}`,
`com.jamf.ddm.software-update-settings`: `{
"AllowStandardUserOSUpdates": {
"Enabled": false,
"Included": true
},
"AutomaticActions": {
"Download": {
"Included": true,
"Value": "Allowed"
},
"InstallOSUpdates": {
"Included": true,
"Value": "Allowed"
},
"InstallSecurityUpdate": {
"Included": true,
"Value": "Allowed"
}
},
"Beta": {
"Included": true,
"Value": {
"OfferPrograms": [
{
"Description": "",
"Token": ""
}
],
"ProgramEnrollment": "Allowed",
"RequireProgram": {
"Description": "",
"Token": ""
}
}
},
"Deferrals": {
"CombinedPeriodInDays": {
"Included": true,
"Value": 1
},
"MajorPeriodInDays": {
"Included": true,
"Value": 1
},
"MinorPeriodInDays": {
"Included": true,
"Value": 1
},
"SystemPeriodInDays": {
"Included": true,
"Value": 1
}
},
"Notifications": {
"Enabled": false,
"Included": true
},
"RapidSecurityResponse": {
"Enable": {
"Enabled": false,
"Included": true
},
"EnableRollback": {
"Enabled": false,
"Included": true
}
},
"RecommendedCadence": {
"Included": true,
"Value": "All"
}
}`,
`com.jamf.ddm.sw-updates`: `{
"deploymentTime": "16:00",
"detailsURL": {
"Included": false,
"Value": ""
},
"enforceAfterDays": 14,
"enforcementType": "AUTOMATIC",
"rules": {
"minor": {
"deploymentTime": "16:00",
"enforceAfterDays": 14
}
},
"strategy": "LATEST"
}`,
}
Scaffolds maps blueprint component identifiers to example JSON configurations. Each value is a complete, valid configuration object that can be used as the "configuration" field in a BlueprintComponentV1.
View Source
var ShortNames = map[string]string{
`ddm-configuration-profile`: `com.jamf.ddm-configuration-profile`,
`app-managed`: `com.jamf.ddm.app-managed`,
`audio-accessory-settings`: `com.jamf.ddm.audio-accessory-settings`,
`custom-declarations`: `com.jamf.ddm.custom-declarations`,
`disk-management`: `com.jamf.ddm.disk-management`,
`math-settings`: `com.jamf.ddm.math-settings`,
`passcode-settings`: `com.jamf.ddm.passcode-settings`,
`safari-bookmarks`: `com.jamf.ddm.safari-bookmarks`,
`safari-extensions`: `com.jamf.ddm.safari-extensions`,
`safari-settings`: `com.jamf.ddm.safari-settings`,
`service-background-tasks`: `com.jamf.ddm.service-background-tasks`,
`service-configuration-files`: `com.jamf.ddm.service-configuration-files`,
`software-update-settings`: `com.jamf.ddm.software-update-settings`,
`sw-updates`: `com.jamf.ddm.sw-updates`,
}
ShortNames maps short names to full component identifiers for CLI convenience.
Functions ¶
func Identifiers ¶
func Identifiers() []string
Identifiers returns all known component identifiers in sorted order.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.