@sentriflow/cli 0.10.0-rc.1 → 0.11.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 +5 -5
- package/dist/index.js +906 -486
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -180,7 +180,7 @@ snmp-server community public RO
|
|
|
180
180
|
|
|
181
181
|
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.
|
|
182
182
|
|
|
183
|
-
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.
|
|
183
|
+
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://docs.sentriflow.com.au/cli/suppressions).
|
|
184
184
|
|
|
185
185
|
## Output Formats
|
|
186
186
|
|
|
@@ -249,7 +249,7 @@ sentriflow router.conf -f sarif --relative-paths > results.sarif
|
|
|
249
249
|
|
|
250
250
|
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 with its secret words masked and the relative file path, so alerts survive line shifts.
|
|
251
251
|
|
|
252
|
-
> 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.
|
|
252
|
+
> 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://docs.sentriflow.com.au/cli/sarif).
|
|
253
253
|
|
|
254
254
|
## Rule Categories
|
|
255
255
|
|
|
@@ -296,7 +296,7 @@ Or call the CLI yourself:
|
|
|
296
296
|
|
|
297
297
|
For pull requests, scan only the changed files: check out with `fetch-depth: 0` and add `--changed-only origin/${{ github.base_ref }}` (or the action's `changed-only` input).
|
|
298
298
|
|
|
299
|
-
A Docker image (`ghcr.io/sentriflow/cli`) and a pre-commit hook are also available. See the [integration docs](https://sentriflow.
|
|
299
|
+
A Docker image (`ghcr.io/sentriflow/cli`) and a pre-commit hook are also available. See the [integration docs](https://docs.sentriflow.com.au/integrations/).
|
|
300
300
|
|
|
301
301
|
## Configuration File
|
|
302
302
|
|
|
@@ -313,12 +313,12 @@ export default {
|
|
|
313
313
|
};
|
|
314
314
|
```
|
|
315
315
|
|
|
316
|
-
See the [configuration reference](https://sentriflow.
|
|
316
|
+
See the [configuration reference](https://docs.sentriflow.com.au/cli/configuration) for all options.
|
|
317
317
|
|
|
318
318
|
## Related Packages
|
|
319
319
|
|
|
320
320
|
- [`@sentriflow/core`](https://github.com/sentriflow/sentriflow/tree/main/packages/core) - Core parsing and compliance engine
|
|
321
|
-
- [`@sentriflow/rules-default`](https://github.com/sentriflow/sentriflow/tree/main/packages/rules-default) - Default validation rules
|
|
321
|
+
- [`@sentriflow/rules-default`](https://github.com/sentriflow/sentriflow/tree/main/packages/rules-default) - Default validation rules (bundled in the CLI and VS Code extension; not published to npm)
|
|
322
322
|
|
|
323
323
|
## Disclaimer
|
|
324
324
|
|