Skip to content

Commit d6f062a

Browse files
authored
[Update] Security Scopes (#363)
* updated security scope lists, fixed firewall scope, fixed an event scope * fixed some random indention
1 parent 1d2d70d commit d6f062a

File tree

1 file changed

+18
-13
lines changed

1 file changed

+18
-13
lines changed

openapi.yaml

Lines changed: 18 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ info:
132132
|-----------------------|--------|
133133
| **Authorization URL** | https://login.linode.com/oauth/authorize |
134134
| **Token URL** | https://login.linode.com/oauth/token |
135-
| **Scopes** | <ul><li>`account:read_only` - Allows access to GET information about your Account.</li><li>`account:read_write` - Allows access to all endpoints related to your Account.</li><li>`domains:read_only` - Allows access to GET Domains on your Account.</li><li>`domains:read_write` - Allows access to all Domain endpoints.</li><li>`events:read_only` - Allows access to GET your Events.</li><li>`events:read_write` - Allows access to all endpoints related to your Events.</li><li>`images:read_only` - Allows access to GET your Images.</li><li>`images:read_write` - Allows access to all endpoints related to your Images.</li><li>`ips:read_only` - Allows access to GET your ips.</li><li>`ips:read_write` - Allows access to all endpoints related to your ips.</li><li>`linodes:read_only` - Allows access to GET Linodes on your Account.</li><li>`linodes:read_write` - Allow access to all endpoints related to your Linodes.</li><li>`lke:read_only` - Allows access to GET LKE Clusters on your Account.</li><li>`lke:read_write` - Allows access to all endpoints related to LKE Clusters on your Account.</li><li>`longview:read_only` - Allows access to GET your Longview Clients.</li><li>`longview:read_write` - Allows access to all endpoints related to your Longview Clients.</li><li>`nodebalancers:read_only` - Allows access to GET NodeBalancers on your Account.</li><li>`nodebalancers:read_write` - Allows access to all NodeBalancer endpoints.</li><li>`stackscripts:read_only` - Allows access to GET your StackScripts.</li><li>`stackscripts:read_write` - Allows access to all endpoints related to your StackScripts.</li><li>`volumes:read_only` - Allows access to GET your Volumes.</li><li>`volumes:read_write` - Allows access to all endpoints related to your Volumes.</li></ul><br />|
135+
| **Scopes** | <ul><li>`account:read_only` - Allows access to GET information about your Account.</li><li>`account:read_write` - Allows access to all endpoints related to your Account.</li><li>`domains:read_only` - Allows access to GET Domains on your Account.</li><li>`domains:read_write` - Allows access to all Domain endpoints.</li><li>`events:read_only` - Allows access to GET your Events.</li><li>`events:read_write` - Allows access to all endpoints related to your Events.</li><li>`firewall:read_only` - Allows access to GET information about your Firewalls.</li><li>`firewall:read_write` - Allows acces to all Firewall endpoints.</li><li>`images:read_only` - Allows access to GET your Images.</li><li>`images:read_write` - Allows access to all endpoints related to your Images.</li><li>`ips:read_only` - Allows access to GET your ips.</li><li>`ips:read_write` - Allows access to all endpoints related to your ips.</li><li>`linodes:read_only` - Allows access to GET Linodes on your Account.</li><li>`linodes:read_write` - Allow access to all endpoints related to your Linodes.</li><li>`lke:read_only` - Allows access to GET LKE Clusters on your Account.</li><li>`lke:read_write` - Allows access to all endpoints related to LKE Clusters on your Account.</li><li>`longview:read_only` - Allows access to GET your Longview Clients.</li><li>`longview:read_write` - Allows access to all endpoints related to your Longview Clients.</li><li>`maintenance:read_only` - Allows access to GET information about Maintenance on your account.</li><li>`nodebalancers:read_only` - Allows access to GET NodeBalancers on your Account.</li><li>`nodebalancers:read_write` - Allows access to all NodeBalancer endpoints.</li><li>`object_storage:read_only` - Allows access to GET information related to your Object Storage.</li><li>`object_storage:read_write` - Allows access to all Object Storage endpoints.</li><li>`stackscripts:read_only` - Allows access to GET your StackScripts.</li><li>`stackscripts:read_write` - Allows access to all endpoints related to your StackScripts.</li><li>`volumes:read_only` - Allows access to GET your Volumes.</li><li>`volumes:read_write` - Allows access to all endpoints related to your Volumes.</li></ul><br/>|
136136

137137
## Requests
138138

@@ -749,7 +749,7 @@ paths:
749749
security:
750750
- personalAccessToken: []
751751
- oauth:
752-
- events:read_only
752+
- events:read_write
753753
responses:
754754
'200':
755755
description: Events seen.
@@ -6055,7 +6055,7 @@ paths:
60556055
security:
60566056
- personalAccessToken: []
60576057
- oauth:
6058-
- stackscripts:read_write
6058+
- stackscripts:read_write
60596059
requestBody:
60606060
description: The properties to set for the new StackScript.
60616061
required: true
@@ -8073,9 +8073,9 @@ paths:
80738073
operationId: getManagedIssues
80748074
x-linode-cli-action: issues-list
80758075
security:
8076-
- personalAccessToken: []
8077-
- oauth:
8078-
- account:read_only
8076+
- personalAccessToken: []
8077+
- oauth:
8078+
- account:read_only
80798079
responses:
80808080
'200':
80818081
description: >
@@ -8161,9 +8161,9 @@ paths:
81618161
operationId: getManagedLinodeSettings
81628162
x-linode-cli-action: linode-settings-list
81638163
security:
8164-
- personalAccessToken: []
8165-
- oauth:
8166-
- account:read_only
8164+
- personalAccessToken: []
8165+
- oauth:
8166+
- account:read_only
81678167
responses:
81688168
'200':
81698169
description: >
@@ -9169,7 +9169,7 @@ paths:
91699169
security:
91709170
- personalAccessToken: []
91719171
- oauth:
9172-
- firewalls:read_only
9172+
- firewall:read_only
91739173
responses:
91749174
'200':
91759175
description: Returns an array of Firewalls.
@@ -12223,9 +12223,9 @@ paths:
1222312223
operationId: getProfileApps
1222412224
x-linode-cli-action: apps-list
1222512225
security:
12226-
- personalAccessToken: []
12227-
- oauth:
12228-
- account:read_only
12226+
- personalAccessToken: []
12227+
- oauth:
12228+
- account:read_only
1222912229
responses:
1223012230
'200':
1223112231
description: |
@@ -14464,6 +14464,8 @@ components:
1446414464
'domains:read_write': Allows access to all Domain endpoints.
1446514465
'events:read_only': Allows access to GET your Events.
1446614466
'events:read_write': Allows access to all endpoints related to your Events.
14467+
'firewall:read_only': Allows access to GET information about your Firewalls.
14468+
'firewall:read_write': Allows acces to all Firewall endpoints.
1446714469
'images:read_only': Allows access to GET your Images.
1446814470
'images:read_write': Allows access to all endpoints related to your Images.
1446914471
'ips:read_only': Allows access to GET your ips.
@@ -14474,8 +14476,11 @@ components:
1447414476
'lke:read_write': Allows access to all endpoints related to LKE Clusters on your Account.
1447514477
'longview:read_only': Allows access to GET your Longview Clients.
1447614478
'longview:read_write': Allows access to all endpoints related to your Longview Clients.
14479+
'maintenance:read_only': Allows access to GET information about Maintenance on your account.
1447714480
'nodebalancers:read_only': Allows access to GET NodeBalancers on your Account.
1447814481
'nodebalancers:read_write': Allows access to all NodeBalancer endpoints.
14482+
'object_storage:read_only': Allows access to GET information related to your Object Storage.
14483+
'object_storage:read_write': Allows access to all Object Storage endpoints.
1447914484
'stackscripts:read_only': Allows access to GET your StackScripts.
1448014485
'stackscripts:read_write': Allows access to all endpoints related to your StackScripts.
1448114486
'volumes:read_only': Allows access to GET your Volumes.

0 commit comments

Comments
 (0)