Summary
Create a custom prompt to ask the user for credentials where you can provide titles, icons, text and default answer
- Needs Admin: False
- Version: 1
- Author: @its_a_feature_
This can potentially hang the agent as dependent on user interaction, so be careful
Arguments
title
- Description: Title of the dialog box
- Required Value: False
- Default Value: Application Needs to Update
icon
- Description: full path to .icns file to use
- Required Value: False
- Default Value: “/System/Library/PreferencePanes/SoftwareUpdate.prefPane/Contents/Resources/SoftwareUpdate.icns”
text
- Description: additional descriptive text to display
- Required Value: False
- Default Value: An application needs permission to update
answer
- Description: Default answer to pre-populate
- Required Value: False
- Default Value: None
Usage
MITRE ATT&CK Mapping
Detailed Summary
Uses JXA to issue a prompt to the user and returns the information they supply: