mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-03 18:28:19 +00:00
feat(pre-push-safety-net): exclude the memory family explicitly and document the scope line
- advisory-scope.json names the taxonomy family memory as excluded, with the registry-grounded reason and what a run does not tell - docs/scanning.md shows the Scope line exactly as the hook prints it - the loaded-scope guard moves into a helper, so __post_init__ keeps its complexity of 14
This commit is contained in:
@@ -204,9 +204,14 @@ Skipped: the changed code has no counterpart in the base revision to compare aga
|
||||
Skipped: engine did not run: the code graph could not be built (is Joern installed? ...)
|
||||
Skipped: no base revision was analysed, so no engine finding can be called new or worsened
|
||||
Notice: Engine checks did not run. Install Joern, or run the hook through ops/ousast-docker. Review the details.
|
||||
Scope: provisional, not yet in effect: no family is qualified for alerts yet. Intended v1 advisory scope: injection, untrusted destination, configuration. Not reported as defects: access control, output encoding, path, prototype, deserialization, memory, or any other family outside the scope. Listing a family does not mean the repository was found free of defects in it.
|
||||
Details: /home/you/.cache/openultrasast/push/push-12345.json
|
||||
```
|
||||
|
||||
The `Scope:` line states which families this tool does not turn into defect alerts while the
|
||||
scope is provisional, and that listing a family is not a claim that the repository is free of
|
||||
defects in it.
|
||||
|
||||
The hook reads these settings from the environment of `git push`:
|
||||
|
||||
| Variable | Default | Effect |
|
||||
|
||||
Reference in New Issue
Block a user