diff --git a/cli/package.json b/cli/package.json index 493dfd1..c97815c 100644 --- a/cli/package.json +++ b/cli/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/platform-cli", - "version": "1.0.0", + "version": "1.1.0", "description": "NowSecure command line tool to interact with NowSecure Platform", "author": "NowSecure", "bin": { diff --git a/cli/src/commands/app/process.ts b/cli/src/commands/app/process.ts index 2a7fa20..6c95316 100644 --- a/cli/src/commands/app/process.ts +++ b/cli/src/commands/app/process.ts @@ -12,7 +12,7 @@ import ProgressBar from "progress"; import { AnalysisType, RequestConfig } from "@nowsecure/platform-lib"; export default class ProcessBinary extends BaseCommand { - static description = "Upload and analyze an application binary"; + static summary = "Upload and analyze an application binary"; static examples = [`<%= config.bin %> <%= command.id %> my_application.apk`]; @@ -20,11 +20,29 @@ export default class ProcessBinary extends BaseCommand { ...groupFlags, "set-version": Flags.string({ char: "v", - summary: "Set the version of the uploaded binary", + summary: "Set the version of the uploaded binary.", + description: `Attached a custom version string to the uploaded build, +overriding the version string contained in the package file. + +The custom string will be displayed in the "Version" column of the application list in Platform.` }), "analysis-type": Flags.string({ char: "t", - summary: "The type of analysis to perform", + summary: "The type of analysis to perform.", + description: `"static": Perform a static analysis only. +"dependencies": Analyze the application's library dependencies. +"full": Run a complete assessment including dynamic analysis. + +If the flag is not specified a full analysis will be run. + +Static-only and dependency-only analyses do not attempt to decrypt encrypted binaries as +these analyses are intended to provide a rapid result for e.g. a CI/CD pipeline. An encrypted +binary will fail to analyze. + +Please note: +The assessment status on NowSecure Platform UI does not reflect successful completion of +static-only or dependencies-only analysis. The labels in the UI will be "Partial Results" +and "Failed Dynamic Analysis" due to the lack of a dynamic analysis.`, options: Object.values(AnalysisType), }), }; diff --git a/github-snapshot/package.json b/github-snapshot/package.json index 0c6dc09..820f832 100644 --- a/github-snapshot/package.json +++ b/github-snapshot/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/github-snapshot", - "version": "1.0.0", + "version": "1.1.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT", diff --git a/lib/package.json b/lib/package.json index 1101e22..1682bb0 100644 --- a/lib/package.json +++ b/lib/package.json @@ -1,7 +1,7 @@ { "name": "@nowsecure/platform-lib", "description": "A library to interact with NowSecure Platform", - "version": "1.0.0", + "version": "1.1.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT", diff --git a/package.json b/package.json index 7c748ea..7a0dda5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/platform-lib-monorepo", - "version": "1.0.0", + "version": "1.1.0", "license": "MIT", "author": "NowSecure", "scripts": { diff --git a/sarif/package.json b/sarif/package.json index 76b6eab..4117610 100644 --- a/sarif/package.json +++ b/sarif/package.json @@ -1,6 +1,6 @@ { "name": "@nowsecure/sarif", - "version": "1.0.0", + "version": "1.1.0", "main": "./lib/index.js", "types": "./lib/index.d.ts", "license": "MIT",