Giter VIP home page Giter VIP logo

jamf_laps's Introduction

Refer to the Wiki for the latest updates: https://github.com/the-wozz/jamf_laps/wiki

What 'Woz' Jamf LAPS does:

Checks for Jamf Pro LAPS information on a machine via serial number, then proceeds to prompt LAPS information to the user. All done through a Jamf API 'client' configured within Jamf 'API Roles and Clients'. Prompts can be via 'IBM Notifier' or 'Swift Dialog'.

A lot of "fail-safes" contained within, automatic finding of the Jamf Pro URL, and customizable settings from the icon to automatic downloading of the notification tool via a Jamf Pro policy trigger. See below for more information.

Swift Dialog prompt: Screenshot 2023-10-11 at 12 01 30 PM

How to use 'Woz' Jamf LAPS:

Recommended way to use is a Jamf Policy 'ongoing' that runs this script with availability through Self Service for a Desk Side Tech (controlled access!).

Requirements:

  • macOS 11.x or later
  • Jamf Pro 10.48 or higher
  • IBM Notifier and/or Swift Dialog
  • Jamf Local Administrator Password Solution LINK
  • Jamf Pro API Roles and Clients configured LINK with the following Privileges:
Screenshot 2023-10-12 at 7 11 50 AM

Must configure settings within the script:

  • apiAccount="PUTYOURCLIENTIDHERE"
  • apiPassword="PUTYOURCLIENTSECRETHERE"

Customizable Settings:

All options/locations should be between the quotations!

IBM Notifier location, using S.U.P.E.R.M.A.N built-in IBM Notifier location for ease of use

  • ibmNotifier="/Library/Management/super/IBM Notifier.app/Contents/MacOS/IBM Notifier"

Swift Dialog bin location, default Swift Dialog bin location

  • swiftDialog="/usr/local/bin/dialog"

Set location of desired image to set notification icon for BOTH notification tools. Refer to the notification tools documentation on what file types are accepted. PNG is always a safe bet to use.

  • notificationIcon="/Location/filename.png"

Set notification tool choice (1=IBM Notifier 2=Swift Dialog, blank will result in 1)

  • toolChoice="2"

Shows some detailed info in Terminal output, helpful when troubleshooting

  • verboseMode="0"

Automatically finds Jamf Pro URL and configures LAPS to use it [0 = disabled, 1 = enabled, default is 0] This is done by looking for the Jamf Plist on the machine that the script is executed from. If no Jamf Plist is found, it will prompt the user for the COMPANY name of the Jamf Pro URL. If you prefer to provide your own url, you can set this to 0 and then define your JSS information in the jamfProURL variable.

  • autoFindURL="1"

Jamf Pro Policy trigger for IBM Notifier pkg

  • ibmPolicy=""

Jamf Pro Policy trigger for Swift Dialog pkg

  • swiftPolicy=""

Timer to display LAPS results, valid for BOTH tools, timer is calculated in seconds, displayed in minutes:seconds

  • popupTimer="900"

jamf_laps's People

Contributors

the-wozz avatar

Watchers

 avatar

jamf_laps's Issues

Display Timer

Create variable to allow for notification tool timer to be the same time as the LAPS timer for the current password.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.