@@ -203,12 +203,18 @@ func (c *Client) DNSNameservers(ctx context.Context) ([]string, error) {
203
203
}
204
204
205
205
type ACL struct {
206
- ACLs []ACLEntry `json:"acls" hujson:"ACLs,omitempty"`
207
- Groups map [string ][]string `json:"groups,omitempty" hujson:"Groups,omitempty"`
208
- Hosts map [string ]string `json:"hosts,omitempty" hujson:"Hosts,omitempty"`
209
- TagOwners map [string ][]string `json:"tagowners,omitempty" hujson:"TagOwners,omitempty"`
210
- DERPMap * ACLDERPMap `json:"derpMap,omitempty" hujson:"DerpMap,omitempty"`
211
- Tests []ACLTest `json:"tests,omitempty" hujson:"Tests,omitempty"`
206
+ ACLs []ACLEntry `json:"acls" hujson:"ACLs,omitempty"`
207
+ AutoApprovers * ACLAutoApprovers `json:"autoapprovers,omitempty" hujson:"AutoApprovers,omitempty"`
208
+ Groups map [string ][]string `json:"groups,omitempty" hujson:"Groups,omitempty"`
209
+ Hosts map [string ]string `json:"hosts,omitempty" hujson:"Hosts,omitempty"`
210
+ TagOwners map [string ][]string `json:"tagowners,omitempty" hujson:"TagOwners,omitempty"`
211
+ DERPMap * ACLDERPMap `json:"derpMap,omitempty" hujson:"DerpMap,omitempty"`
212
+ Tests []ACLTest `json:"tests,omitempty" hujson:"Tests,omitempty"`
213
+ }
214
+
215
+ type ACLAutoApprovers struct {
216
+ Routes map [string ][]string `json:"routes" hujson:"Routes"`
217
+ ExitNode []string `json:"exitNode" hujson:"ExitNode"`
212
218
}
213
219
214
220
type ACLEntry struct {
0 commit comments