Commit Graph

66 Commits

Author SHA1 Message Date
Zack T
3bd123f608 v0.4 = Resolved issues with PPD Contents causing Bad Requests
+ Fixed some logic issues
 + Changed how I get the PPD Contents; also escaping characters for xml now
 + Added Category
2018-03-07 13:05:14 -07:00
Zack T
288b0f02ae v0.3 = Added Jamf's Encrypted Script Parameters function
+ Added Jamf's Encrypted Script Parameters function to encrypted the username and password of the API User  (https://github.com/jamfit/Encrypted-Script-Parameters)
2018-03-06 14:03:58 -07:00
Zack T
d012dccead v0.2 = Lots of logic and user experience improvements
+ Improved logic to make sense with the workflow of being run from Jamf or CLI.
 + Changed a few bits to improve user experience
 + Added/improved several checks after tasks
 + Added loop to prompt to create another printer after creating a printer
 + Adjusted language outputed by checkStatusCode()
2018-03-06 13:37:16 -07:00
Zack T
220b6d9d3f v0.1 = Major work completed, just need to improve logic
+ I've been working on this script for the last week trying to hash out some of the ideas I had.  It's all there I believe, just need to improve the flow of logic.
2018-03-06 13:30:02 -07:00
Zack T
0b9fb17306 v1.2 = Changed password acquisition method
+ Changed password acquisition method based on suggestion from a colleague
2018-02-26 19:25:54 -07:00
Zack T
7118314c04 v1.1 = Added a check on the API credentials provided
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-26 17:12:11 -07:00
Zack T
84545325b3 v1.0 = Production Ready
+ Renamed file
2018-02-26 16:53:28 -07:00
Zack T
6e48c8bc70 v0.5 = Added Mobile Device Support & Function to update both Device Types
+ Added support for Mobile Devices
 + Created function to handle updating of both Device Types
2018-02-23 21:56:54 -07:00
Zack T
5416c949d9 v0.4 = Changing workflow of the EA
- While working through this and testing, found a different way of doing this -- Leaving updateSiteList() Function for others, but I'm not using in my workflow
 + Finalized the update Site EA for Computers, removed from function
2018-02-23 16:37:46 -07:00
Zack T
34ee66b1e4 v0.3 = Created function to update EA for Computer
+ Created function to update EA for Computer
2018-02-23 16:15:56 -07:00
Zack T
5b279c179e v0.2 = Final version of the updateSiteList() Function
+ Finalized the updateSiteList() Function
2018-02-23 16:04:34 -07:00
Zack T
52df98095e Further Code Improvement
Further Code Improvement
2018-02-23 11:05:48 -07:00
Zack T
9a615e26dc General cleanup of current code
General cleanup of current code
2018-02-23 10:22:04 -07:00
Zack T
e5afea0e61 v0.1 = Created function for updating the EA's list of Sites
+ Created function for updating the EA's list of Sites
2018-02-23 01:31:15 -07:00
Zack T
5d470000b9 v1.0 = Production Ready
+ Production Ready
2018-02-23 00:39:07 -07:00
Zack T
96d1b40636 v0.17 = Added a check on the API credentials provided
+ Added a check on the API credentials provided to verify that they were valid and had permissions
2018-02-23 00:18:18 -07:00
Zack T
b6ac551260 v0.16 = Finalized the curl "PUT" cmd and other cleanup
+ Tested and verified minimum required elements for curl "PUT" cmd to properly configure App
 - Removed all unnecessary code from elements that were not needed
 - Removed quoting ("") that I had used when originally was doing comma delimited values (now using tab delimited)
2018-02-23 00:18:18 -07:00
Zack T
98325795fe v0.15 = Added logic that will decide where to send verbose output
+ Added a function, informBy(), that will decide where to send verbose output
 + The logic directs the output based on where the script is ran; either from CLI or Jamf
2018-02-23 00:18:18 -07:00
Zack T
e2df84b06f v0.14 = Added logic to check the API/curl HTTP Status Codes
+ Modified the curl commands so that we can get the HTTP Status Codes for each API call and then check each call for success/failures
 + Changed the exitCode() function to checkStatusCode() to compare the HTTP Status Codes
2018-02-23 00:18:18 -07:00
Zack T
89c71b4705 v0.13 = Script can be run via CLI or from a Self Service Policy
+ Added and adjusted logic to where the script can be run via CLI or from a Jamf Self Service Policy (for Site Admins)
 + Added option to prompt for credentials
2018-02-23 00:18:18 -07:00
Zack T
c1c669810c v0.12 = Minor maintenance and cleanup
+ Minor mainteanance and cleanup
2018-02-23 00:18:18 -07:00
Zack T
ff804197b2 v0.11 = Resolved issues with the assignApps function
+ Resolved issues with the assignApps function
 + Reordered headers that are echo'ed out to the $outFile
2018-02-23 00:18:18 -07:00
Zack T
e45c3ffb4d v0.10 = Added additional verbosity to several logic structures throughout
+ Added additional verbosity to several logic structures throughout
2018-02-23 00:18:18 -07:00
Zack T
6b001d0851 v0.9 = Redefined the curl command structure to work how I wanted
+ Fixed the JPS server URL variables
 + Redefined the curl command structure to work how I wanted
 + Fixed header creation to properly output to file
 + Added xml structure to pull additional elements for each App
2018-02-23 00:18:18 -07:00
Zack T
711a1946fe v0.8 = Added logic to skip the header line on csv read
+ Added logic to skip the header line on csv read
 + Added in a check to verify if file exists before trying to read it
2018-02-23 00:18:18 -07:00
Zack T
dbafe5b9ab v0.7 = Added additional configurable items
+ Added additional configurable items
 + Adding headers to the output file for readability
 + Adding an exitCode check on the API calls
2018-02-23 00:18:18 -07:00
Zack T
8dc20ca28c v0.6 = Cleaned up and optimized code
+ Cleaned up and optimized code
 + Changed to a tab delimiter instead of a comma in the output file
2018-02-23 00:18:18 -07:00
Zack T
1a035ce7f8 v0.5 = getApps() function should be finalized
+ Slight tweak to the getApps() function
2018-02-23 00:18:18 -07:00
Zack T
fe65fb4e84 v0.4 = Completely overhauled the getApps() function
+ Completely overhauled the getApps() function
 + Much smaller and more efficient
2018-02-23 00:18:18 -07:00
Zack T
491e11ed81 v0.3 = Working onthe getApps() function
+ Working onthe getApps() function
2018-02-23 00:18:18 -07:00
Zack T
d64b5c82a9 v0.2 = Building the logic to get all VPP Apps
+ Building the logic to get all VPP Apps
2018-02-23 00:18:18 -07:00
Zack T
f65106bf2d v0.1 = Laying out the framework
+ Laying out the framework
2018-02-23 00:18:01 -07:00
Zack T
d321bf0208 Updated ReadMe
Updated ReadMe
2018-02-15 22:36:35 -07:00
Zack T
ca8806d92f v1.1 = Made the Virus Definitions check a customizable variable
+ Made the Virus Definitions check a customizable variable
 + Adjust the virus definition variance to 7 days (forgot to change this from test values)
2018-02-09 21:14:11 -07:00
Zack T
f61abeabee v1.0 = Production Ready
+ Script is Production Ready
 + Will likely continue to play with the script to see how to best return information to Jamf
 + Changed name
2018-02-09 11:36:44 -07:00
Zack T
9a706f1eb3 v0.4 = Working on how and what to return via the EA
+ Working through what and how I want to return in the EA to Jamf
2018-02-08 22:58:09 -07:00
Zack T
38f1d5f1c8 v0.3 = Added case statement back in and fixed a few bits
+ Added case statement back in
 + Fixed a few bits that I rushed through
2018-02-08 22:53:20 -07:00
Zack T
100e6df538 v0.2 = Restructed code
+ Using functions and arrays to improve check processes
2018-02-08 22:49:22 -07:00
Zack T
e7e0392c19 v0.1 = Intial Version
+ Laid out the framework to pull desired info.
2018-02-08 22:47:45 -07:00
Zack T
a3a2c5c2bf v1.2.1 = Fixed issue improperly processing 10.10.x OS version strings.
+ Fixed issue improperly processing 10.10.x OS version strings.
2018-01-10 14:56:14 -07:00
Zack T
eae9257488 v1.1 = Added an Exit Code Check
+ Added an Exit Code Check
 + Redirected all output to /dev/null (instead of only stdout)
2017-12-21 12:19:29 -07:00
Zack T
26386f525f Correct redirection
Corrected the redirection; didn't realize I didn't update my local version after testing.
2017-12-21 12:13:40 -07:00
Zack T
ed56e8137b v1.0 = Initial Version
+ Initial Version
2017-12-19 16:30:53 -07:00
Zack T
4379b2c794 v1.2 = Added option to delete packages
+ Added option to delete packages
2017-12-06 17:08:37 -07:00
Zack T
188fa6865e v1.1 = Added 'does file exist' checks
+ Added 'does file exist' checks
2017-12-04 12:19:09 -07:00
Zack T
1e7e215086 v1.0 = Production Release
+ Production Release
2017-12-02 17:09:30 -07:00
Zack T
d8ade0b35e v1.0 = Production Release
+ Production Release
2017-11-30 16:10:08 -07:00
Zack T
2346ccba79 v1.2 = Changed minimum free space to 20GB
Changed the minimum free space to 20GB -- I didn't account for when the Install.app needs to be downloaded.
2017-11-13 20:44:25 -07:00
Zack T
ab183b7656 Fixed several errors in the script
+ Fixed several errors in the script
+ Guess I failed to test the final version...
2017-11-02 16:03:13 -07:00
Zack T
802b3a1ab9 v1.0 = Production Version
+ Updated my jamf_ea_HighSierraCompatibility.sh script to handle multiple OS versions.
2017-09-30 12:30:27 -07:00