docs/windows/policy: add missing key expiration warning interval

Fixes #11345

Change-Id: Ib53b639690b77d1b7d857304dca2119f197227ce
Signed-off-by: Adrian Dewhurst <adrian@tailscale.com>
This commit is contained in:
Adrian Dewhurst 2024-04-17 10:57:37 -04:00 committed by Adrian Dewhurst
parent 03d5d1f0f9
commit c8b0adb382
2 changed files with 19 additions and 8 deletions

View File

@ -164,12 +164,10 @@ This does not affect using the CLI to select or stop using an exit node. If you
If you enable or don't configure this policy, the Exit Node submenu will be shown in the Tailscale menu. If you enable or don't configure this policy, the Exit Node submenu will be shown in the Tailscale menu.
If you disable this policy, the Exit Node submenu will be hidden from the Tailscale menu.]]></string> If you disable this policy, the Exit Node submenu will be hidden from the Tailscale menu.]]></string>
<string id="KeyExpirationNoticeTime">Specify a custom key expiration notification time</string> <string id="KeyExpirationNotice">Specify a custom key expiration notification time</string>
<string id="KeyExpirationNoticeTime_Help"><![CDATA[This policy can be used to configure how soon the notification appears before key expiry. <string id="KeyExpirationNotice_Help"><![CDATA[This policy can be used to configure how soon the notification appears before key expiry.
See https://tailscale.com/kb/1315/mdm-keys#set-the-key-expiration-notice-period for more details. See https://tailscale.com/kb/1315/mdm-keys#set-the-key-expiration-notice-period for more details.
Time intervals must be specified as a Go Duration: for example, 24h, 5h25m30s. Time units larger than hours are unsupported.
If you enable this policy and supply a valid time interval, the key expiry notification will begin to display when the current key has less than that amount of time remaining. If you enable this policy and supply a valid time interval, the key expiry notification will begin to display when the current key has less than that amount of time remaining.
If you disable or don't configure this policy, the default time period will be used (as of Tailscale 1.56, this is 24 hours).]]></string> If you disable or don't configure this policy, the default time period will be used (as of Tailscale 1.56, this is 24 hours).]]></string>
@ -208,22 +206,22 @@ See https://tailscale.com/kb/1315/mdm-keys#set-your-organization-name for more d
<presentationTable> <presentationTable>
<presentation id="LoginURL"> <presentation id="LoginURL">
<textBox refId="LoginURLPrompt"> <textBox refId="LoginURLPrompt">
<label>Coordination server</label> <label>Coordination server:</label>
</textBox> </textBox>
</presentation> </presentation>
<presentation id="LogTarget"> <presentation id="LogTarget">
<textBox refId="LogTargetPrompt"> <textBox refId="LogTargetPrompt">
<label>Log server</label> <label>Log server:</label>
</textBox> </textBox>
</presentation> </presentation>
<presentation id="Tailnet"> <presentation id="Tailnet">
<textBox refId="TailnetPrompt"> <textBox refId="TailnetPrompt">
<label>Tailnet</label> <label>Tailnet:</label>
</textBox> </textBox>
</presentation> </presentation>
<presentation id="ExitNodeID"> <presentation id="ExitNodeID">
<textBox refId="ExitNodeIDPrompt"> <textBox refId="ExitNodeIDPrompt">
<label>Exit Node</label> <label>Exit Node:</label>
</textBox> </textBox>
</presentation> </presentation>
<presentation id="ManagedBy"> <presentation id="ManagedBy">
@ -237,6 +235,12 @@ See https://tailscale.com/kb/1315/mdm-keys#set-your-organization-name for more d
<label>Support URL:</label> <label>Support URL:</label>
</textBox> </textBox>
</presentation> </presentation>
<presentation id="KeyExpirationNotice">
<textBox refId="KeyExpirationNoticePrompt">
<label>Key expiration notice period:</label>
</textBox>
<text>Time intervals must be specified as a Go Duration: for example, 24h, 5h25m30s. Time units larger than hours are unsupported.</text>
</presentation>
</presentationTable> </presentationTable>
</resources> </resources>
</policyDefinitionResources> </policyDefinitionResources>

View File

@ -265,5 +265,12 @@
<text id="ManagedBySupportURL" valueName="ManagedByURL" /> <text id="ManagedBySupportURL" valueName="ManagedByURL" />
</elements> </elements>
</policy> </policy>
<policy name="KeyExpirationNotice" class="Machine" displayName="$(string.KeyExpirationNotice)" explainText="$(string.KeyExpirationNotice_Help)" presentation="$(presentation.KeyExpirationNotice)" key="Software\Policies\Tailscale">
<parentCategory ref="UI_Category" />
<supportedOn ref="SINCE_V1_50" />
<elements>
<text id="KeyExpirationNoticePrompt" valueName="KeyExpirationNotice" required="true" />
</elements>
</policy>
</policies> </policies>
</policyDefinitions> </policyDefinitions>