Skip to content

Update device trust docs#30821

Merged
flyinghermit merged 18 commits intomasterfrom
sshah/update-dt-docs
Aug 31, 2023
Merged

Update device trust docs#30821
flyinghermit merged 18 commits intomasterfrom
sshah/update-dt-docs

Conversation

@flyinghermit
Copy link
Copy Markdown
Contributor

@flyinghermit flyinghermit commented Aug 21, 2023

Updates device trust docs:

Most of the work in this PR includes shuffling existing content to various new pages so that contents align with day 1 and day 2 usage of device trust.

  • Base device trust page: Now explains basic concepts in detail. Contents are borrowed from outgoing "Set up Device Trust" page.
  • Getting started guide (previously "Set up Device Trust" page): updated to focus on day 1 usage of device trust.
  • Device Management: New page. Most of the contents borrowed from outgoing "Set up Device Trust" page. This page is focused on device management i.e. register device, enroll device, remove device, advanced config
  • Enforcing Device Trust: New page focused on device trust enforcement, including locking device. Most of the contents borrowed from outgoing "Set up Device Trust" page.
  • Auto enrollment: Page is deleted and the content is added to Device Management. After reading my current edits (and also partly from the feedback that it was not easy to find the auto enrollment doc), I felt like it would be better for readers to know about auto enrollment when they are already on the Device Management page. But lmk if this is a wrong idea and will put it back.
  • Jamf Integration: Updated to add reference to hosted Jamf plugin.

I also recommend to pull these changes and view them in local docs server to review if the links and docs flow is consumable when surfing Device Trust docs.

Comment thread docs/config.json Outdated
Comment thread docs/pages/access-controls/device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/device-management.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/guide.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/guide.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/jamf-integration.mdx Outdated
@codingllama
Copy link
Copy Markdown
Contributor

I'll take a closer look soon, but I just wanted to jump in and mention the recently-opened PRs #30865 and #30878, both of which might make things a bit simpler here.

- multiple grammar update
- auto enrollment -> auto-enrollment
- add signed prereqs in enforcing ddevice trust page
@flyinghermit
Copy link
Copy Markdown
Contributor Author

flyinghermit commented Aug 22, 2023

PRs #30865 and #30878, both of which might make things a bit simpler here.

Nice! That's a great addition 🚀

Note to reviewer: Updated to reflect I will be updating this PR to address changes added in #30865 and #30878

- udpated getting started guide to use preset require-trusted-device role
- minor grammar and code formating
@flyinghermit
Copy link
Copy Markdown
Contributor Author

Friendly ping for review please!

@ptgott ptgott self-assigned this Aug 24, 2023
@ptgott
Copy link
Copy Markdown
Contributor

ptgott commented Aug 24, 2023

Hi @sshahcodes, to help me review this, would you mind explaining the problems this PR is solving? The summary in the description is helpful for understanding the changes at a high level, but I'm still not really sure why these changes are being made. Thanks!

@flyinghermit
Copy link
Copy Markdown
Contributor Author

@ptgott sure, the main reason for the changes in this PR is to adjust existing contents focused on day 1 (for users approaching device trust for the first time) and day 2 (for detailed explanation of available configurations, advance use cases, learn about edge case, best practice etc) docs.

Currently, it's a bit mix of reference manual vs getting started all added to a single page without focus on reader persona. It was written when the feature was released first. Lots of defaults have been changed since then, including the new ones that's addressed in #30865 and #30878. Some of the prerequisite aren't even required anymore. The content was structured for general use case but most of it would not be necessary for a admin to quickly try Device Trust, for example, knowing advance use cases and setting up roles and permissions for secure operations is not necessary at all for day 1.

This was highlighted in this ticket improving Device Trust UX. Some of the issues mentioned there would have been addressed if the docs pointed to right direction, hence the changes in this PR. Most of the content is reused from "Set up device trust" page and added to the following pages.
Day 1: Base device trust page (explain concept), Getting started guide (new content)
Day 2: Device Management, Enforcing Device Trust, Jamf Integration

Copy link
Copy Markdown
Contributor

@lsgunn-teleport lsgunn-teleport left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall, this looks good. I might suggest some languages tweaks in a follow-on PR but I think the re-org makes sense. My only question given the current structure is why you wouldn't just but device trust concepts in with the other Device trust topics?
Device trusts

  • concepts
  • get-started (how-to enroll a device - simple demo/eval/test/day 1 task)
  • manage devices (how-to topics)
  • enforce-trust (how-to topics)

@flyinghermit
Copy link
Copy Markdown
Contributor Author

@lsgunn-teleport Thank you for the review.

I might suggest some languages tweaks in a follow-on PR

Sure, you can also create an issue ticket and tag me there, I can collaborate to improve Device Trust docs.

... device trust concepts in with the other Device trust topics?

Nothing concrete in particular but given docs re-org, I wanted to keep the new content minimum as there would be too many things to review. I also feel how-to topics needs proper time to find right balance on content, steps and context and so adding reference style docs, as it is in current PR was helpful in quickly grouping relevant commands together while the concepts are explained in single page. But yes, definitely something to revisit in future to add more how-to guides.

@flyinghermit flyinghermit requested a review from zmb3 August 29, 2023 13:32
@flyinghermit
Copy link
Copy Markdown
Contributor Author

Friendly ping for review please @zmb3 and @codingllama

@codingllama
Copy link
Copy Markdown
Contributor

Apologies for the delay, taking a look now.

Comment thread docs/config.json
Comment thread docs/pages/access-controls/device-trust.mdx
Comment on lines +32 to +33
Categorically, we define these two requirements as Trusted Device management
and Device Trust enforcement.
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could we either say "Trusted Device management/enforcement" or "Device Trust management/enforcement", so there's less difference between terms?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I hear you on this one. Between "Trusted Device management/enforcement" and "Device Trust management/enforcement", I prefer the first one as it is close to how device trust works(enrolling trusted devices, enforcing trusted device access).

Though the Device Trust Enforcement also aligns with the configuration semantics as the rule to enforce device is device_trust_mode: required and not trusted_device: required. That said, I am open to suggestions here.

Also tagging @zmb3 for more suggestions.

Comment thread docs/pages/access-controls/device-trust.mdx
Comment thread docs/pages/access-controls/device-trust/guide.mdx
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
</Admonition>


## Locking a device
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be in the management guide?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it belongs in enforcement but tagging @zmb3 for third opinion.

@zmb3
Copy link
Copy Markdown
Collaborator

zmb3 commented Aug 29, 2023

Lot's of great feedback here already, so I'll wait to review until this batch is addressed.

@flyinghermit
Copy link
Copy Markdown
Contributor Author

Friendly ping @codingllama @zmb3.
I have addressed most of the previous suggestions but few are waiting for discussion.

Copy link
Copy Markdown
Contributor

@codingllama codingllama left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for tackling this one.

Comment thread docs/pages/access-controls/device-trust/device-management.mdx
Comment thread docs/config.json
Comment thread docs/pages/access-controls/device-trust/enforcing-device-trust.mdx Outdated
@flyinghermit flyinghermit enabled auto-merge August 31, 2023 19:54
@flyinghermit flyinghermit added this pull request to the merge queue Aug 31, 2023
Merged via the queue into master with commit 699f1c2 Aug 31, 2023
@flyinghermit flyinghermit deleted the sshah/update-dt-docs branch August 31, 2023 20:44
@public-teleport-github-review-bot
Copy link
Copy Markdown

@sshahcodes See the table below for backport results.

Branch Result
branch/v12 Failed
branch/v13 Create PR
branch/v14 Create PR

@ptgott ptgott removed their assignment Aug 31, 2023
flyinghermit added a commit that referenced this pull request Sep 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants