Skip to content

Commit

Permalink
Merge pull request nowsecure#3 from nowsecure/1.1.0
Browse files Browse the repository at this point in the history
up version to 1.1.0
  • Loading branch information
cosdon authored May 30, 2023
2 parents 23e0996 + 14b65b7 commit ae867f0
Show file tree
Hide file tree
Showing 6 changed files with 26 additions and 8 deletions.
2 changes: 1 addition & 1 deletion cli/package.json
Original file line number Diff line number Diff line change
@@ -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": {
Expand Down
24 changes: 21 additions & 3 deletions cli/src/commands/app/process.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,37 @@ 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`];

static flags = {
...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),
}),
};
Expand Down
2 changes: 1 addition & 1 deletion github-snapshot/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion lib/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nowsecure/platform-lib-monorepo",
"version": "1.0.0",
"version": "1.1.0",
"license": "MIT",
"author": "NowSecure",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion sarif/package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit ae867f0

Please sign in to comment.