File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ type TailnetSettings struct {
2929 NetworkFlowLoggingOn bool `json:"networkFlowLoggingOn"`
3030 RegionalRoutingOn bool `json:"regionalRoutingOn"`
3131 PostureIdentityCollectionOn bool `json:"postureIdentityCollectionOn"`
32+ HTTPSEnabled bool `json:"httpsEnabled"`
3233}
3334
3435// UpdateTailnetSettingsRequest is a request to update the settings of a tailnet.
@@ -47,6 +48,7 @@ type UpdateTailnetSettingsRequest struct {
4748 NetworkFlowLoggingOn * bool `json:"networkFlowLoggingOn,omitempty"`
4849 RegionalRoutingOn * bool `json:"regionalRoutingOn,omitempty"`
4950 PostureIdentityCollectionOn * bool `json:"postureIdentityCollectionOn,omitempty"`
51+ HTTPSEnabled * bool `json:"httpsEnabled,omitempty"`
5052}
5153
5254// RoleAllowedToJoinExternalTailnets constrains which users are allowed to join external tailnets
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ func TestClient_TailnetSettings_Get(t *testing.T) {
2929 NetworkFlowLoggingOn : true ,
3030 RegionalRoutingOn : true ,
3131 PostureIdentityCollectionOn : true ,
32+ HTTPSEnabled : true ,
3233 }
3334 server .ResponseBody = expected
3435
@@ -57,6 +58,7 @@ func TestClient_TailnetSettings_Update(t *testing.T) {
5758 NetworkFlowLoggingOn : PointerTo (true ),
5859 RegionalRoutingOn : PointerTo (true ),
5960 PostureIdentityCollectionOn : PointerTo (true ),
61+ HTTPSEnabled : PointerTo (true ),
6062 }
6163 err := client .TailnetSettings ().Update (context .Background (), updateRequest )
6264 assert .NoError (t , err )
You can’t perform that action at this time.
0 commit comments