From 23a4902b6eb65f18e1c44bd8337c1b0e202792ab Mon Sep 17 00:00:00 2001 From: Prabhu Subramanian Date: Sun, 19 Nov 2023 23:13:49 +0000 Subject: [PATCH] Bump version Signed-off-by: Prabhu Subramanian --- docs/SERVER.md | 6 ++++-- package-lock.json | 12 ++++++------ package.json | 4 ++-- 3 files changed, 12 insertions(+), 10 deletions(-) diff --git a/docs/SERVER.md b/docs/SERVER.md index 0b8d4151b..473a4730b 100644 --- a/docs/SERVER.md +++ b/docs/SERVER.md @@ -30,13 +30,13 @@ Use curl or your favorite tool to pass arguments to the `/sbom` route. Arguments can be passed either via the query string or as a JSON body. The following arguments are supported. | Argument | Description | -|------------------|--------------------------------------------------------------------------------------------------------------------------------------------------| +| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------ | | type | Project type | | multiProject | [boolean] | | requiredOnly | Include only the packages with required scope on the SBOM. [boolean] | | noBabel | Do not use babel to perform usage analysis for JavaScript/TypeScript projects. [boolean] | | installDeps | Install dependencies automatically for some projects. Defaults to true but disabled for containers and oci scans. [boolean] [default: true] | -| projectId | The UUID of the project. You must provide the UUID or the projectName and projectVersion (or all three). | +| projectId | The UUID of the project. You must provide the UUID or the projectName and projectVersion (or all three). | | projectName | Dependency Track project name. Default use the directory name | | projectGroup | Dependency Track project group | | projectVersion | Dependency Track project version [default: ""] | @@ -68,7 +68,9 @@ You can POST the arguments. ```bash curl -H "Content-Type: application/json" http://localhost:9090/sbom -XPOST -d $'{"url": "https://github.com/HooliCorp/vulnerable-aws-koa-app.git", "type": "nodejs", "multiProject": "true"}' ``` + Using requests.post in Python: + ```python import requests data = { diff --git a/package-lock.json b/package-lock.json index c27dbeb31..6a4fb3648 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@cyclonedx/cdxgen", - "version": "9.9.4", + "version": "9.9.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@cyclonedx/cdxgen", - "version": "9.9.4", + "version": "9.9.5", "license": "Apache-2.0", "dependencies": { "@babel/parser": "^7.23.3", @@ -56,7 +56,7 @@ "node": ">=16" }, "optionalDependencies": { - "@appthreat/atom": "1.6.3", + "@appthreat/atom": "1.6.4", "@cyclonedx/cdxgen-plugins-bin": "^1.4.0", "@cyclonedx/cdxgen-plugins-bin-arm64": "^1.4.0", "@cyclonedx/cdxgen-plugins-bin-ppc64": "^1.4.0", @@ -91,9 +91,9 @@ } }, "node_modules/@appthreat/atom": { - "version": "1.6.3", - "resolved": "https://registry.npmjs.org/@appthreat/atom/-/atom-1.6.3.tgz", - "integrity": "sha512-Bm27HcyGjshKsIR0SZ2XNPL4QvDGDBhufyqlMbwTnG9yClNX46WagJSUkK5Jt/fyNTsVH6rIGBAMEt1YfvUNZw==", + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/@appthreat/atom/-/atom-1.6.4.tgz", + "integrity": "sha512-ZA+X1SiLn+MaY3ZVCueWvKI7MN7prpfGXLYItUMshPDJs2On2jUuRSBECbIrrQPw5EV2HeGdwXbeeMgitNidRg==", "optional": true, "dependencies": { "@babel/parser": "^7.23.0", diff --git a/package.json b/package.json index 1d677485c..20d49102d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@cyclonedx/cdxgen", - "version": "9.9.4", + "version": "9.9.5", "description": "Creates CycloneDX Software Bill of Materials (SBOM) from source or container image", "homepage": "http://github.com/cyclonedx/cdxgen", "author": "Prabhu Subramanian ", @@ -83,7 +83,7 @@ "yargs": "^17.7.2" }, "optionalDependencies": { - "@appthreat/atom": "1.6.3", + "@appthreat/atom": "1.6.4", "@cyclonedx/cdxgen-plugins-bin": "^1.4.0", "@cyclonedx/cdxgen-plugins-bin-arm64": "^1.4.0", "@cyclonedx/cdxgen-plugins-bin-ppc64": "^1.4.0",