Releases: deploymenttheory/terraform-provider-jamfpro
v0.10.0
v0.9.1
v0.9.0
0.9.0 (2024-12-23)
Features
- add workflow_dispatch input for release version and update dependencies (fe76925)
- enhance security by adding Harden Runner to workflows and updat… (#549) (9a4cd52)
- enhance security by adding Harden Runner to workflows and update checkout action version (9a4cd52)
- pattern for data sources by name or by id with examples (#540) (5838861)
- update app installer retrieval method and add automated workflo… (#544) (0d56b96)
- update app installer retrieval method and add automated workflows for dependency management and documentation generation (0d56b96)
- updated data resources to support get by name with examples (#553) (4049226)
Bug Fixes
v0.8.0
0.8.0 (2024-12-12)
Features
- Add "Reinstall Button Text" field to self-service configuration (00ba59d)
- add data source lists for computer extension attributes, scripts, and webhooks (223c1e0)
- Add dependency on pre-release checks for Terraform provider rel… (#509) (a1922d8)
- Add dependency on pre-release checks for Terraform provider release workflow (a1922d8)
- add documentation for jamfpro_icon and jamfpro_managed_software_update resources (403f1a4)
- Add GitHub Actions workflow for automated release management (45a555d)
- add Jamf Pro icon resource with local and web source support (0762db0)
- add list data sources for Jamf Pro scripts, webhooks, and computer extension attributes (6bab5aa)
- Add new JSS settings and actions privileges (6d411b0)
- Add PayloadScope field to PayloadContent struct (b49b423)
- Add script to export Jamf Pro user account privileges (cf4536c)
- add Terraform tests for independent computer extension attributes, sites, categories, scripts, and policies (eaea1e8)
- add Terraform tests for independent computer extension attributes, sites, categories, scripts, and policies with dependencies (b45466e)
- docs: add APP Installers resource details to README (3ea8023)
- docs: add example usage for advanced search resources and create managed software update documentation (8f79ba3)
- docs: update README with new resources and their management details (a5e09a1)
- enhance file cleanup logic for downloaded packages to ensure safety and improve logging (7c065b8)
- enhance icon resource construction to prevent conflicting source specifications (9feb4e3)
- implement DownloadFile function for downloading files from web sources (2773589)
- Improve error message for macOS configuration profile level validation (d113dbf)
- managedsoftwareupdates: add managed software updates resource and documentation (fcd71ce)
- managedsoftwareupdates: add resource management for software updates (455daca)
- managedsoftwareupdates: refactor resource management and validation for software update plans (3049c22)
- Normalize payload XML in plist payload content (0688e8d)
- Normalize payload XML in plist payload content (7b9e13c)
- provider: comment out managed software update resource in provider configuration (0928ccc)
- Refactor package create update crud (#501) (2a4e463)
- remove outdated data source documentation for computer extension attributes, scripts, and webhooks (398dd3a)
- resources: add advanced search resources for computers, mobile devices, users, and network segments to examples (928d85c)
- resources: enhance managed software update configuration and validation logic (5dcd1e1)
- resources: enhance managed software update construction with conditional field assignments (4eeb25d)
- resources: enhance managed software update construction with default values for optional fields (5f21d27)
- resources: enhance managed software update construction with device handling and improve validation error messages (e88e60e)
- resources: implement custom validation for managed software updates and enhance state management (b244f05)
- resources: refactor managed software update configuration to root level attributes and simplify state management (161a805)
- resources: streamline managed software update configuration by consolidating field assignments (68206c6)
- Update Api Privileges data for Jamf Pro Version ${{ env.VERSION_DIR }} (577f173)
- Update Api Privileges data for Jamf Pro Version ${{ env.VERSION_DIR }} (f285d5b)
- Update branch name for Api Privileges and User Account Privileges maintenance workflows (c1dc4d7)
- Update go-api-sdk-jamfpro dependency to v1.15.4 and add no_exeute_on field to policy schema (#510) (8577bff)
- update Jamf Pro Icon resource functions to improve file cleanup and logging (5264d88)
- Update privileges descriptions for Casper Admin (195cbb2)
- Update User Account Privileges data for Jamf Pro (5d069c8)
Bug Fixes
- add default value for self_service_icon_id in MacOS configuration profiles resource (bb6132e)
- add mutex locking to prevent concurrent creation of resources (bb2d298)
- change prestage_installed_profile_ids and custom_package_ids types from list to set for improved data handling and enforce ordering requirements (a348a2b)
- change self_service_categories type from list to set for improved data handling and consistency in MacOS configuratio...
v0.6.1
v0.6.1
This is bug fix release.
- refined packages upload validation logic to remove package if validation fails
- fixed package upload logic to preserve original filenames and unescape html characters
- fixed plist and plist generator self service notifications
- added state migration for self service within policies post schema change in v.0.6.0
- added release please to provider
- added doc generation checker for provider
- added working example for policies to docs
- added more detailed schema descriptions for data_time_limitations within policies with updated examples
This release supports Jamf Pro 11.10.1 + 11.10.2 + 11.11
What's Changed
- [Automated] Update App Catalog installer title data by @github-actions in #503
- [Automated] Update User Account Privileges data for Jamf Pro 11.11.1 by @github-actions in #504
- fix: updated Policy resource datetime limitations key descriptions, validators + examples. by @ShocOne in #506
- fix: State migrator for policy schema tag typo fix by @ShocOne in #505
- feat: Refactor package create update crud by @ShocOne in #501
- Fix packages download helper by @ShocOne in #507
Full Changelog: v0.6.0...v0.6.1
v0.6.0
v0.6.0
This is a feature and bug fix release.
- Support for Icons from file path and web sources with updated examples
Fixes for issues
- Fixes for packages uploading with additional sha3_512 upload verification #485
- Numerous small fixes with policies
This release supports Jamf Pro 11.10.1 + 11.10.2 + 11.11
What's Changed
- Fix-policy improvements for schema description and missing reinstall_button_text. by @ShocOne in #488
- feat-added list data sources for webhooks, scripts and computer ext atts with updated examples by @ShocOne in #489
- chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.20.0 to 0.20.1 by @dependabot in #492
- refactor: package create and update logic by @ShocOne in #493
- feat-added provider support for icons from web sources and file path sources. with updated examples by @ShocOne in #494
- Fix- improved handling for the removal of temp files and added validation of icon path sources by @ShocOne in #495
- removed listing data source type and will revisit by @ShocOne in #496
- feat: remove outdated data source documentation for computer extensio… by @ShocOne in #497
Full Changelog: v0.5.1...v0.6.0
v0.5.1
v0.5.1
Notable changes:
This release is trialing the removing of mutex from all resources and extending the timeout context timeframe to 75 seconds.
Significant improvements to plist handling for computers and mobile devices plists. .Jamf Pro stores configuration profiles as XML property lists (plists). When profiles are uploaded, Jamf Pro processes and reformats them for consistency. This means the XML that is considered valid for an upload may look different from what Jamf Pro returns. To handle these differences, the provider implements comprehensive diff suppression for the following cases:
Differences are suppressed in the following cases:
Base64 Content Normalization:
Removes whitespace, newlines, and tabs from base64 encoded strings
Example: 'SGVs bG8g V29y bGQ=' vs 'SGVsbG8gV29ybGQ='
XML Tag Formatting:
Standardizes self-closing tag formats
Examples: '' vs '< true/>' vs '' vs '' vs '<true \t />'
Empty String Standardization:
Normalizes various representations of empty strings
Converts strings containing only whitespace to empty strings
Example: '' vs ' ' vs '\n\t'
HTML Entity Decoding:
Unescapes HTML entities for comparison
Example: '' vs ''
Example: '"text"' vs '"text"'
Key Ordering:
Sorts dictionary keys alphabetically for consistent comparison
Example: '{"b":1,"a":2}' vs '{"a":2,"b":1}'
Field Exclusions:
Ignores Jamf Pro-managed identifiers that may change between environments
Excluded fields: PayloadUUID, PayloadIdentifier, PayloadOrganization, PayloadDisplayName
These fields are removed from comparison as they are managed by Jamf Pro
Trailing Whitespace:
Removes trailing whitespace from each line
Example: 'value ' vs 'value'
This normalization approach ensures that functionally identical profiles are recognized as equivalent despite superficial formatting differences. NOTE - This provider only supports plists generated from Jamf Pro. It does not support importing plists from other sources. If you need to import a plist from an external source,(e.g. iMazing, Apple Configurator, etc.) you must first import it into Jamf Pro, then export it from Jamf Pro to generate a compatible plist. This provider cannot diff suppress plists generated from external sources.
This release supports Jamf Pro 11.10.1 + 11.10.2 + 11.11
What's Changed
- [Automated] Update App Catalog installer title data by @github-actions in #467
- chore(deps): bump step-security/harden-runner from 2.10.1 to 2.10.2 by @dependabot in #474
- [Automated] Update User Account Privileges data for Jamf Pro 11.11.1 by @github-actions in #468
- chore(deps): bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #475
- Fixes for advanced modile searches in constructor func and added better validators for schema by @ShocOne in #476
- fix: change self_service_category type from list to set for improved … by @ShocOne in #477
- Fix Changes made to 4 schema type lists to type sets by @ShocOne in #478
- Fix diff suppression logic for plist config profiles for computers and mobile devices + updated schema docs by @ShocOne in #479
- Fix exhanced schema descriptions and fixed typo and formatting issues by @ShocOne in #480
- Added script policy with dependancies tf test by @ShocOne in #481
- fix: correct spelling and improve clarity in Terraform test descripti… by @ShocOne in #482
- fix: temporarily incerased all CRUD context timeouts by @thejoeker12 in #486
- Draft: Add "Sensitive" attribute to JamfProActivationCode schema by @geoffrepoli in #483
- [Automated] Update App Catalog installer title data by @github-actions in #487
Full Changelog: v0.5.0...v0.5.1
v0.5.0
v0.5.0
This is a maintenance release with bug fixes, jamf pro meta data maintenance updates for app installers and valid permissions.
Warning: This update includes a breaking change for mobile advance searches, as this resource has moved from the classic API to the Jamf Pro API and therefore the data model has changed. Please review the documentation and the updated example if this impacts your workflow.
This release supports Jamf Pro 11.10.1 + 11.10.2 + 11.11
What's Changed
- Format code for consistency across resource definitions and documenta… by @ShocOne in #453
- chore(deps): bump github.com/hashicorp/terraform-plugin-sdk/v2 from 2.34.0 to 2.35.0 by @dependabot in #452
- [Automated] Update User Account Privileges data for Jamf Pro 11.10.2 by @github-actions in #456
- [Automated] Update App Catalog installer title data by @github-actions in #455
- [Automated] Update Api Privileges data for Jamf Pro Version by @github-actions in #454
- chore(deps): bump golang.org/x/text from 0.19.0 to 0.20.0 by @dependabot in #458
- chore(deps): bump github.com/hashicorp/terraform-plugin-docs from 0.19.4 to 0.20.0 by @dependabot in #457
- [Automated] Update User Account Privileges data for Jamf Pro 11.11.1 by @github-actions in #461
- [Automated] Update App Catalog installer title data by @github-actions in #460
- Migrated mobile device advanced searches to jamf pro api and added additional logic for handlig mobile config profile plists by @ShocOne in #463
- [Automated] Update App Catalog installer title data by @github-actions in #465
- Refactor create functions to implement mutex for concurrent operation… by @ShocOne in #466
Full Changelog: v0.4.3...v0.5.0
v0.4.3
v0.4.3
This is a maintenance release with bug fixes and maintainence updates for app installers and valid permissions.
This release supports Jamf Pro 11.10.1 + 11.10.2
What's Changed
- feat: Add "Reinstall Button Text" field to self-service configuration by @ShocOne in #448
- [Automated] Update App Catalog installer title data by @github-actions in #449
- [Automated] Update User Account Privileges data for Jamf Pro 11.10.2 by @github-actions in #450
- Refactor privilege validation logic and update comments for clarity by @ShocOne in #451
Full Changelog: v0.4.2...v0.4.3
v0.4.2
v0.4.2
This is a maintenance release:
Added a new maintenance pipeline that handles the generation of valid privileges for user accounts. Scheduled to run once weekly, to match the other maintenance pipelines. This ensure that upgrades to a new jamf pro version and changes to the valid privilege sets for jss_actions, jss_objects and jss_settings are maintained.
This provider with maintain the 3 most recent jamf pro permission sets to allow for scenarios where you have miss-matched jamf pro versions within your route to live.
This release supports Jamf Pro 11.10.1 +
What's Changed
- [Automated] Update App Catalog installer title data by @github-actions in #434
- feat: Add script to export Jamf Pro user account privileges by @ShocOne in #436
- feat: Update User Account Privileges data for Jamf Pro by @ShocOne in #438
- Added handling for the const updates within validate.go as part of maintenance workflow by @ShocOne in #440
- feat: Update branch name for Api Privileges and User Account Privileg… by @ShocOne in #441
- fix-typo fixes for user accounts by @ShocOne in #443
- [Automated] Update User Account Privileges data for Jamf Pro 11.10.1 by @github-actions in #444
- feat-update maintainence pipeline descriptions by @ShocOne in #445
Full Changelog: v0.4.1...v0.4.2