@sentriflow/cli 0.5.0 → 0.5.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/dist/index.js +6 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { createRequire } from 'module';
|
|
3
|
+
const require = createRequire(import.meta.url);
|
|
2
4
|
var __create = Object.create;
|
|
3
5
|
var __defProp = Object.defineProperty;
|
|
4
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -12323,7 +12325,7 @@ function generateSarif(results, filePath, rules, options = {}, ipSummary) {
|
|
|
12323
12325
|
tool: {
|
|
12324
12326
|
driver: {
|
|
12325
12327
|
name: "Sentriflow",
|
|
12326
|
-
version: "0.5.
|
|
12328
|
+
version: "0.5.1",
|
|
12327
12329
|
informationUri: "https://github.com/sentriflow/sentriflow",
|
|
12328
12330
|
rules: sarifRules,
|
|
12329
12331
|
// SEC-007: Include CWE taxonomy when rules reference it
|
|
@@ -12483,7 +12485,7 @@ function generateMultiFileSarif(fileResults, rules, options = {}) {
|
|
|
12483
12485
|
tool: {
|
|
12484
12486
|
driver: {
|
|
12485
12487
|
name: "Sentriflow",
|
|
12486
|
-
version: "0.5.
|
|
12488
|
+
version: "0.5.1",
|
|
12487
12489
|
informationUri: "https://github.com/sentriflow/sentriflow",
|
|
12488
12490
|
rules: sarifRules,
|
|
12489
12491
|
// SEC-007: Include CWE taxonomy when rules reference it
|
|
@@ -16607,7 +16609,7 @@ function enrichResultsWithRuleMetadata(results, rules) {
|
|
|
16607
16609
|
});
|
|
16608
16610
|
}
|
|
16609
16611
|
var program = new Command();
|
|
16610
|
-
program.name("sentriflow").description("SentriFlow Network Configuration Validator").version("0.5.
|
|
16612
|
+
program.name("sentriflow").description("SentriFlow Network Configuration Validator").version("0.5.1").argument("[files...]", "Path(s) to configuration file(s) (supports multiple files)").option("--ast", "Output the AST instead of rule results").option("-f, --format <format>", "Output format (json, human, sarif)", "json").option("-q, --quiet", "Only output failures (suppress passed results)").option("-c, --config <path>", "Path to config file (default: auto-detect)").option("--no-config", "Ignore config file").option("-r, --rules <path>", "Additional rules file to load (legacy)").option(
|
|
16611
16613
|
"--pack <path...>",
|
|
16612
16614
|
"Path(s) to rule pack(s) (.grx2 encrypted or unencrypted JS/TS modules)"
|
|
16613
16615
|
).option(
|
|
@@ -17422,7 +17424,7 @@ async function loadLicensingExtension() {
|
|
|
17422
17424
|
licensingModulePath
|
|
17423
17425
|
);
|
|
17424
17426
|
if (licensing.registerCommands) {
|
|
17425
|
-
licensing.registerCommands(program, { cliVersion: "0.5.
|
|
17427
|
+
licensing.registerCommands(program, { cliVersion: "0.5.1" });
|
|
17426
17428
|
}
|
|
17427
17429
|
} catch {
|
|
17428
17430
|
const licensingMessage = `
|