raprogramm/SQL Query Analyzer
Static analysis for SQL queries. Detects performance issues, security vulnerabilities, and style violations.
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| schema | Path to SQL schema file | yes | — |
| queries | Path to SQL queries file (use - for stdin) | yes | — |
| dialect | SQL dialect (generic, mysql, postgresql, sqlite) | no | generic |
| format | Output format (text, json, yaml, sarif) | no | text |
| fail-on-warning | Fail if warnings are found | no | false |
| fail-on-error | Fail if errors are found | no | true |
| disabled-rules | Comma-separated list of rule IDs to disable | no | "" |
| post-comment | Post analysis as PR comment | no | false |
| update-comment | Update existing comment instead of creating new | no | true |
| upload-sarif | Upload SARIF results to GitHub Security tab | no | false |
Outputs
| name | description |
|---|---|
| analysis | Analysis result |
| error-count | Number of errors found |
| warning-count | Number of warnings found |
| exit-code | Exit code (0=ok, 1=warnings, 2=errors) |