On August 11, 2023, Cisco announced that Cisco SecureX will go end-of-life on July 31, 2024. The content in this Github repository will not be actively maintained following this announcement.

Lock Computer

Workflow #0046

Response Workflow

This workflow locks a Jamf-managed computer and adds a passcode to it. Supported observables: mac_address, hostname, ip

GitHub


Change Log

Date Notes
Oct 11, 2021 - Initial release
Sep 7, 2022 - Minor updates to naming and descriptions

See the Important Notes page for more information about updating workflows


Requirements


Workflow Steps

  1. Make sure the observable is supported
  2. Search for a matching computer in Jamf
  3. Extract the computer’s ID
  4. If extraction was successful, execute the command on the computer

Configuration

  • Set the Passcode local variable to a 6-character passcode to apply to locked devices
  • If you want to change the name of this workflow in the pivot menu, change its display name

Targets

Target Group: Default TargetGroup

Target Name Type Details Account Keys Notes
Jamf Pro HTTP Endpoint Protocol: HTTPS
Host: your-instance.jamfcloud.com
Port: 443
Path: None
Jamf Pro Credentials  

Account Keys

Account Key Name Type Details Notes
Jamf Pro Credentials HTTP Basic Authentication Username: Jamf API Username
Password: Jamf API Password
Must have correct permissions depending on actions being performed