Skip to content

Commit 786abe3

Browse files
authored
Add missing accounting.budgets.read scope and ratchet up lint validation on security scopes (#755)
* fix: add missing accounting scope accounting.budgets.read * chore: enable missing scopes lint rule as error
1 parent 4187a0d commit 786abe3

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.spectral.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,4 @@ rules:
159159
owasp:api4:2023-string-restricted: off # Disable string restricted rule to address warnings
160160
path-params: off # Disable path parameter validation to address mapping key issues
161161
owasp:api8:2023-define-cors-origin: off # Disable CORS origin header requirement
162+
oas3-operation-security-defined: error # Ensure all scopes are listed in schema

xero_accounting.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19740,6 +19740,7 @@ components:
1974019740
profile: your profile information
1974119741
accounting.attachments: Grant read-write access to attachments
1974219742
accounting.attachments.read: Grant read-only access to attachments
19743+
accounting.budgets.read: Grant read-only access to read budgets
1974319744
accounting.contacts: Grant read-write access to contacts and contact groups
1974419745
accounting.contacts.read: Grant read-only access to contacts and contact groups
1974519746
accounting.journals.read: Grant read-only access to journals

0 commit comments

Comments
 (0)