Documentation
¶
Overview ¶
jamf_privileges.go This package contains shared / common resource functions
variables.go This package contains shared / common resource variables
Index ¶
- Variables
- func ValidateCasperAdminPrivileges(val interface{}, key string) (warns []string, errs []error)
- func ValidateJSSActionsPrivileges(val interface{}, key string) (warns []string, errs []error)
- func ValidateJSSObjectsPrivileges(val interface{}, key string) (warns []string, errs []error)
- func ValidateJSSSettingsPrivileges(val interface{}, key string) (warns []string, errs []error)
Constants ¶
This section is empty.
Variables ¶
var ValidCasperAdminPrivileges = []string{
"Use Casper Admin",
"Save With Casper Admin",
}
ValidJSSSettingsPrivileges contains a list of all valid values for JSS Actions Priviledges field. Used by accounts and account groups.
var ValidJSSActionsPrivileges = []string{
"Allow User to Enroll",
"Assign Users to Computers",
"Assign Users to Mobile Devices",
"Change Password",
"Dismiss Notifications",
"Enroll Computers and Mobile Devices",
"Flush MDM Commands",
"Flush Policy Logs",
"Jamf Packages Action",
"Remove Jamf Parent management capabilities",
"Remove restrictions set by Jamf Parent",
"CLEAR_TEACHER_PROFILE_PRIVILEGE",
"Renewal of the Built-in Certificate Authority",
"Jamf Connect Deployment Retry",
"Jamf Protect Deployment Retry",
"Send Application Attributes Command",
"Send Blank Pushes to Mobile Devices",
"Send Computer Remote Desktop Command",
"Send Computer Set Activation Lock Command",
"Send Declarative Management Command",
"Send Disable Bootstrap Token Command",
"Send Email to End Users via JSS",
"Send Enable Bootstrap Token Command",
"Send Inventory Requests to Mobile Devices",
"Send Local Admin Password Command",
"Send Messages to Self Service Mobile",
"Send Mobile Device Bluetooth Command",
"Send Mobile Device Diagnostics and Usage Reporting and App Analytics Commands",
"Send Mobile Device Disable Data Roaming Command",
"Send Mobile Device Disable Voice Roaming Command",
"Send Mobile Device Enable Data Roaming Command",
"Send Mobile Device Enable Voice Roaming Command",
"Send Mobile Device Lost Mode Command",
"Send Mobile Device Managed Settings Command",
"Send Mobile Device Mirroring Command",
"Send Mobile Device Personal Hotspot Command",
"Send Mobile Device Remote Command to Download and Install iOS Update",
"Send Mobile Device Remote Lock Command",
"Send Mobile Device Remote Wipe Command",
"Send Mobile Device Remove Passcode Command",
"Send Mobile Device Remove Restrictions Password Command",
"Send Mobile Device Set Activation Lock Command",
"Send Mobile Device Set Wallpaper Command",
"Send Mobile Device Software Update Recommendation Cadence Command",
"Send Set Timezone Command",
"Send Software Update Settings Command",
"Unmanage Mobile Devices",
"Update Local Admin Password Settings",
"View Event Logs",
"View JSS Information",
"View License Serial Numbers",
"View Local Admin Password",
"View Local Admin Password Audit History",
"View MDM command information in Jamf Pro API",
}
ValidJSSSettingsPrivileges contains a list of all valid values for JSS Actions Priviledges field. Used by accounts and account groups.
var ValidJSSObjectsPrivileges = []string{}/* 338 elements not displayed */
ValidJSSObjectsPrivileges contains a list of all valid values for JSS Object Priviledges field. Used by accounts and account groups.
var ValidJSSSettingsPrivileges = []string{
"Read Activation Code",
"Update Activation Code",
"Read Apache Tomcat Settings",
"Update Apache Tomcat Settings",
"Read Apple Configurator Enrollment",
"Update Apple Configurator Enrollment",
"Read Education Settings",
"Update Education Settings",
"Read Mobile Device App Maintenance Settings",
"Update Mobile Device App Maintenance Settings",
"Read Automatic Mac App Updates Settings",
"Update Automatic Mac App Updates Settings",
"Read Automatically Renew MDM Profile Settings",
"Update Automatically Renew MDM Profile Settings",
"Read Cache",
"Update Cache",
"Read Change Management",
"Update Change Management",
"Read Computer Check-In",
"Update Computer Check-In",
"Read Cloud Distribution Point",
"Update Cloud Distribution Point",
"Read Cloud Services Settings",
"Update Cloud Services Settings",
"Read Clustering",
"Update Clustering",
"Read Computer Check-In",
"Update Computer Check-In",
"Read Computer Inventory Collection",
"Update Computer Inventory Collection",
"Read Computer Inventory Collection Settings",
"Update Computer Inventory Collection Settings",
"Read Conditional Access",
"Update Conditional Access",
"Read Customer Experience Metrics",
"Update Customer Experience Metrics",
"Read Device Compliance Information",
"Read Mobile Device Inventory Collection",
"Update Mobile Device Inventory Collection",
"Read Engage Settings",
"Update Engage Settings",
"Read GSX Connection",
"Update GSX Connection",
"Read Patch Internal Source",
"Read Jamf Connect Settings",
"Update Jamf Connect Settings",
"Read Parent App Settings",
"Update Parent App Settings",
"Read Jamf Protect Settings",
"Update Jamf Protect Settings",
"Read JSS URL",
"Update JSS URL",
"Read Teacher App Settings",
"Update Teacher App Settings",
"Read Limited Access Settings",
"Update Limited Access Settings",
"Read Retention Policy",
"Update Retention Policy",
"Read Onboarding Configuration",
"Update Onboarding Configuration",
"Read Password Policy",
"Update Password Policy",
"Read Patch Management Settings",
"Update Patch Management Settings",
"Read PKI",
"Update PKI",
"Read Re-enrollment",
"Update Re-enrollment",
"Read Computer Security",
"Update Computer Security",
"Read App Request Settings",
"Update App Request Settings",
"Read Mobile Device Self Service",
"Update Mobile Device Self Service",
"Read Self Service",
"Update Self Service",
"Read SMTP Server",
"Update SMTP Server",
"Read SSO Settings",
"Update SSO Settings",
"Read User-Initiated Enrollment",
"Update User-Initiated Enrollment",
}
ValidJSSSettingsPrivileges contains a list of all valid values for JSS Settings Priviledges field. Used by accounts and account groups.
Functions ¶
func ValidateCasperAdminPrivileges ¶
ValidateCasperAdminPrivileges checks if each value in the casper_admin_privileges field matches a value from a predefined list of valid Casper Admin Privileges.
func ValidateJSSActionsPrivileges ¶
ValidateJSSActionsPrivileges checks if each value in the jss_actions_privileges field matches a value from a predefined list of valid JSS Actions Privileges.
func ValidateJSSObjectsPrivileges ¶
ValidateJSSObjectsPrivileges ensures that each privilege in the list is valid.
func ValidateJSSSettingsPrivileges ¶
ValidateJSSSettingsPrivileges checks if each value in the jss_settings_privileges field matches a value from a predefined list of valid JSS Setting Privileges.
Types ¶
This section is empty.