@sentriflow/cli 0.8.0 → 0.9.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +4 -4
- package/dist/index.js +7029 -1491
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -170,7 +170,7 @@ snmp-server community public RO
|
|
|
170
170
|
|
|
171
171
|
Directives: `sentriflow-disable-next-line`, `sentriflow-disable-line`, `sentriflow-disable` / `sentriflow-enable` ranges and `sentriflow-disable-file`. When a rule reports several findings on one line, `RULE:word` (inline) or the `message` field (suppression file) targets the finding whose message contains that word; a bare rule ID suppresses all of them. `sentriflow-enable RULE` also ends `RULE:word` ranges.
|
|
172
172
|
|
|
173
|
-
The suppression file is read from the current working directory only (`--suppressions <path>` picks another; `--no-suppressions` ignores all suppressions). Suppressed findings do not affect the exit code and are counted on stderr. See the [suppressions guide](https://
|
|
173
|
+
The suppression file is read from the current working directory only (`--suppressions <path>` picks another; `--no-suppressions` ignores all suppressions). Suppressed findings do not affect the exit code and are counted on stderr. See the [suppressions guide](https://sentriflow.github.io/sentriflow/cli/suppressions).
|
|
174
174
|
|
|
175
175
|
## Output Formats
|
|
176
176
|
|
|
@@ -239,7 +239,7 @@ sentriflow router.conf -f sarif --relative-paths > results.sarif
|
|
|
239
239
|
|
|
240
240
|
Each rule carries its category and tags in `properties`; rules with a CWE also carry a `security-severity` and a CWE relationship (`run.taxonomies`). Each result has a `partialFingerprints.primaryLocationLineHash` built from the rule ID, the message (digits ignored), the text of the reported line and the relative file path, so alerts survive line shifts.
|
|
241
241
|
|
|
242
|
-
> Upgrading from 0.7.x or earlier: fingerprints now include the finding message, so after the upgrade GitHub Code Scanning closes the existing SentriFlow alerts and opens the same findings again as new alerts, once. See the [SARIF guide](https://
|
|
242
|
+
> Upgrading from 0.7.x or earlier: fingerprints now include the finding message, so after the upgrade GitHub Code Scanning closes the existing SentriFlow alerts and opens the same findings again as new alerts, once. See the [SARIF guide](https://sentriflow.github.io/sentriflow/cli/sarif).
|
|
243
243
|
|
|
244
244
|
## Rule Categories
|
|
245
245
|
|
|
@@ -284,7 +284,7 @@ Or call the CLI yourself:
|
|
|
284
284
|
sarif_file: results.sarif
|
|
285
285
|
```
|
|
286
286
|
|
|
287
|
-
A Docker image (`ghcr.io/sentriflow/cli`) and a pre-commit hook are also available. See the [integration docs](https://
|
|
287
|
+
A Docker image (`ghcr.io/sentriflow/cli`) and a pre-commit hook are also available. See the [integration docs](https://sentriflow.github.io/sentriflow/integrations/).
|
|
288
288
|
|
|
289
289
|
## Configuration File
|
|
290
290
|
|
|
@@ -301,7 +301,7 @@ export default {
|
|
|
301
301
|
};
|
|
302
302
|
```
|
|
303
303
|
|
|
304
|
-
See the [configuration reference](https://
|
|
304
|
+
See the [configuration reference](https://sentriflow.github.io/sentriflow/cli/configuration) for all options.
|
|
305
305
|
|
|
306
306
|
## Related Packages
|
|
307
307
|
|