check
Run all Django project analyses in one call and receive a combined, severity-sorted list of risks. Eliminates the need to choose among multiple specialized tools.
Instructions
Run every analysis and return one severity-sorted list.
The single call to reach for on an unfamiliar project. It runs the checks
whose findings are defects, merges them, and sorts by severity, instead of
making you know which of a dozen tools to ask for.
A check that fails to run is listed in `checks_failed` rather than counted
as clean.
This is the one slow call here - a minute or more on a large project - and
it reports progress as each check starts, so a client can name the check
that is running instead of showing nothing for a minute.
Args:
tenant_root: the model that owns data, for the ownership check.
only: run just these checks.
skip: run everything except these.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| only | No | ||
| skip | No | ||
| tenant_root | No | auth.User |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| ok | No | present and false only when the run could not happen at all | |
| note | No | ||
| error | No | ||
| findings | No | ||
| checks_run | No | per check: whether it ran, and how many it produced | |
| frameworks | No | what was detected in the project, and its version | |
| by_severity | No | ||
| checks_failed | No | checks that raised. These are not clean results - a project with a failed check has fewer findings than it has problems. | |
| finding_count | No | ||
| checks_not_applicable | No | check name to the reason it does not apply here |