mobbdev 0.0.30 → 0.0.31

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.
Files changed (2) hide show
  1. package/dist/index.js +11 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -1081,6 +1081,15 @@ var ciOption = {
1081
1081
  type: "boolean",
1082
1082
  default: false
1083
1083
  };
1084
+ var apiKeyOption = {
1085
+ type: "string",
1086
+ describe: chalk4.bold("Mobb authentication api-key")
1087
+ };
1088
+ var commitHashOption = {
1089
+ alias: "ch",
1090
+ describe: chalk4.bold("Hash of the commit"),
1091
+ type: "string"
1092
+ };
1084
1093
 
1085
1094
  // src/args/validation.ts
1086
1095
  import chalk5 from "chalk";
@@ -1157,7 +1166,7 @@ function analyzeBuilder(yargs2) {
1157
1166
  alias: "commit-hash",
1158
1167
  describe: chalk6.bold("Hash of the commit"),
1159
1168
  type: "string"
1160
- }).option("y", yesOption).option("ci", ciOption).example(
1169
+ }).option("y", yesOption).option("ci", ciOption).option("api-key", apiKeyOption).option("commit-hash", commitHashOption).example(
1161
1170
  "$0 analyze -r https://github.com/WebGoat/WebGoat -f <your_vulirabitliy_report_path>",
1162
1171
  "analyze an existing repository"
1163
1172
  ).help();
@@ -1190,7 +1199,7 @@ function scanBuilder(args) {
1190
1199
  alias: "scanner",
1191
1200
  choices: Object.values(SCANNERS),
1192
1201
  describe: chalk7.bold("Select the scanner to use")
1193
- }).option("y", yesOption).option("ci", ciOption).example(
1202
+ }).option("y", yesOption).option("ci", ciOption).option("api-key", apiKeyOption).example(
1194
1203
  "$0 scan -r https://github.com/WebGoat/WebGoat",
1195
1204
  "Scan an existing repository"
1196
1205
  ).help();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobbdev",
3
- "version": "0.0.30",
3
+ "version": "0.0.31",
4
4
  "description": "Automated secure code remediation tool",
5
5
  "repository": "https://github.com/mobb-dev/bugsy",
6
6
  "main": "dist/index.js",