Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feat] Planetscale Analyzer #3928

Merged
Prev Previous commit
Next Next commit
clean up scopes for planetscale.
  • Loading branch information
abmussani committed Feb 26, 2025
commit fd005d6f90df5c58ef318bbf367fdd98d2669024
32 changes: 0 additions & 32 deletions pkg/analyzer/analyzers/planetscale/scopes.json
Original file line number Diff line number Diff line change
@@ -54,37 +54,5 @@
"invalid_status_code": [403]
}
}
],
"oauth_application_scopes": [
{
"name": "write_oauth_tokens",
"test": {
"endpoint": "https://api.planetscale.com/v1/organizations/%s/oauth-applications/%s/token",
"method": "POST",
"valid_status_code": [422],
"invalid_status_code": [403]
}
},
{
"name": "read_oauth_tokens",
"test": {
"endpoint": "https://api.planetscale.com/v1/organizations/%s/oauth-applications/%s/tokens",
"method": "GET",
"valid_status_code": [200],
"invalid_status_code": [403]
}
}
],
"database_scopes": [
{
"name": "read_database",
"test": {
"endpoint": "https://api.planetscale.com/v1/organizations/%s/databases/%s",
"method": "GET",
"valid_status_code": [200],
"invalid_status_code": [403]
}
}
]

}