-
Notifications
You must be signed in to change notification settings - Fork 452
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add computer name, serial number, and UUID as variables in macOS configuration profiles #16958
Comments
@noahtalerman we will need this to support the "managed" status in SCEP workflows involving Okta Verify. Please refer to https://help.okta.com/oie/en-us/content/topics/identity-engine/devices/okta-ca-static-scep-macos-jamf.htm#Create for backgound |
Hey @Patagonia121 heads up, this story was prioritized during feature fest. Aiming to ship an improvement in the next 6 weeks. |
Moved the original issue description here: Variable substitution in macOS profiles allows for dynamically creating profiles based on various attributes, for instance if you would want to create a certificate payload for each machine you wouldn't want to make 10,000 profiles you would want to make one that would send the profile with variable
|
Hey @Patagonia121 heads up, we didn't get to this in the last design sprint. Bringing it back to feature fest. |
Turing this into an air guitar so that we can better understand the problem. |
@dherder @noahtalerman @zwass Dave or Zach may have more up-to-date timelines than me. I can also make sure they are asked at the next CS call we have with them. |
Important part here: Once Fleet supports setting these variables in the SCEP config profile, Okta users can keep local macOS credentials sycned w/ Fleet + Okta. |
Hey @nonpunctual I pulled the |
From
FYI @marko-lisica it sounds like we might want to support serial as a variable in this first pass for deploying SCEP certificates for Smallstep. Needs confirmation. |
Hey @marko-lisica, I just watched the Gong recording (internal) from the design review. We do already support GitHub environment variables and they use the We dogfood this feature today in the Google Chrome config profile here. So, I think we have a couple options:
If we're focused on users coming from Jamf (we are), option (1) makes sense. That said, I'm not sure it's the best UX. We can't throw error messages which makes it hard to debug. @getvictor and @lucasmrod any thoughts? Missing other options? |
We mighty have a conflict now then. How do you differentiate between at upload time vs runtime. Let's discuss in design tomorrow |
I recommend option 2 -- use a different syntax. Option 3. Change the syntax of gitops env vars and have runtime use the normal |
Hey @marko-lisica heads up, I forgot that we already have one reserved variable for software install scripts: More context in Slack here: https://fleetdm.slack.com/archives/C03C41L5YEL/p1714577714118779 Does our latest plan work with this variable? Do we need to make any changes? |
@nonpunctual we were talking about that doc the other day, it's truly awesome. For full context for Marko and Noah, AFAIK it only works for certain payloads (SCEP and VPN) |
@noahtalerman |
UPDATE: Let's write a guide for this instead of just testing it (noahtalerman). Guide issue is here: #21294 Closed this story and filed a testing ticket instead (#21294). We discovered that the MDM protocol allows users to set computer name, serial number, and UUID in the SCEP payload: Goal
|
Unique certificates, |
Arg! I forgot to file the testing ticket. Filed a guide ticket instead here: #21294 |
UPDATE: Closed this story and filed a testing ticket instead (#21294). We discovered that the MDM protocol allows users to set computer name, serial number, and UUID in the SCEP payload. Learn more here.
(noahtalerman 2024-07-12)
Goal
Context
We should think about what it will take to implement the same feature for scripts and what approach should we take in order to make this work for both profiles and scripts (i.e. considering scripts while developing for profiles so we can reuse this when we start working on scripts).
Changes
Product
$FLEET.HOST.COMPUTER_NAME
,$FLEET.HOST.HARDWARE_SERIAL
, and$FLEET.HOST.UUID
$FLEET.
but not supported.FLEET
prefix$FLEET.
. It's still possible to use$ENV_VAR
withoutFLEET
prefix.Engineering
QA
Risk assessment
Manual testing steps
Testing notes
Confirmation
The text was updated successfully, but these errors were encountered: