ppiankov/ClickSpectre Analyze
Analyze ClickHouse table usage and detect unused tables
View on GitHubTrust Signals
- Scorecard Score
- not yet scored
- Maintenance Recency
- Stale
- License
- None
Inputs
| name | description | required | default |
|---|---|---|---|
| clickhouse-dsn | ClickHouse connection string (e.g., clickhouse://user:pass@host:9000/db) | yes | — |
| lookback | Lookback period for usage analysis | no | 30d |
| format | Output format: text, json, sarif | no | json |
| detect-unused-tables | Detect tables with zero usage | no | false |
| min-table-size | Minimum table size in MB to report | no | 1.0 |
| exclude-table | Table patterns to exclude (comma-separated) | no | "" |
| exclude-database | Database patterns to exclude (comma-separated) | no | "" |
| concurrency | Worker pool size | no | 5 |
| baseline | Path to baseline file | no | "" |
| version | ClickSpectre version to use (e.g., 1.0.0). Defaults to latest. | no | latest |
| args | Additional arguments to pass to clickspectre analyze | no | "" |
| upload-sarif | Upload SARIF results to GitHub Security tab (requires format=sarif) | no | false |
Outputs
| name | description |
|---|---|
| exit-code | Normalized exit code from clickspectre analyze (0=ok, 1=findings, 2=error) |
| report-path | Path to the generated report file |