@kinosec/cli 0.2.0 → 0.2.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/README.md +2 -13
- package/dist/cli.js +2 -2
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -17,10 +17,6 @@ Or run without installing:
|
|
|
17
17
|
npx @kinosec/cli scan list
|
|
18
18
|
```
|
|
19
19
|
|
|
20
|
-
Or download a standalone binary from [GitHub Releases](https://github.com/kinosec-ai/cli/releases) — no Node.js required.
|
|
21
|
-
|
|
22
|
-
See [docs/install.md](docs/install.md) for all installation methods.
|
|
23
|
-
|
|
24
20
|
## Quick Start
|
|
25
21
|
|
|
26
22
|
```bash
|
|
@@ -46,8 +42,6 @@ kinosec finding list --scan <scan-id>
|
|
|
46
42
|
kinosec report export --scan <report-id> --format markdown > report.md
|
|
47
43
|
```
|
|
48
44
|
|
|
49
|
-
See [docs/quickstart.md](docs/quickstart.md) for a full walkthrough.
|
|
50
|
-
|
|
51
45
|
## Commands
|
|
52
46
|
|
|
53
47
|
```
|
|
@@ -65,8 +59,6 @@ kinosec token list|create|revoke Manage API tokens
|
|
|
65
59
|
|
|
66
60
|
Every command supports `--json` for machine-readable output and `--help` for usage details.
|
|
67
61
|
|
|
68
|
-
See [docs/commands.md](docs/commands.md) for the full command reference.
|
|
69
|
-
|
|
70
62
|
## Authentication
|
|
71
63
|
|
|
72
64
|
The CLI authenticates via Personal Access Tokens (PATs). Tokens are resolved in this order:
|
|
@@ -75,8 +67,6 @@ The CLI authenticates via Personal Access Tokens (PATs). Tokens are resolved in
|
|
|
75
67
|
2. `KINOSEC_TOKEN` environment variable
|
|
76
68
|
3. `~/.config/kinosec/credentials.json` (saved by `kinosec auth login`)
|
|
77
69
|
|
|
78
|
-
See [docs/authentication.md](docs/authentication.md) for details.
|
|
79
|
-
|
|
80
70
|
## Example
|
|
81
71
|
|
|
82
72
|
```bash
|
|
@@ -97,12 +87,11 @@ f1a2b3c4-... SQL Injection Critical open active_
|
|
|
97
87
|
|
|
98
88
|
## Requirements
|
|
99
89
|
|
|
100
|
-
- Node.js >= 20.0.0
|
|
101
|
-
- No requirements for standalone binaries
|
|
90
|
+
- Node.js >= 20.0.0
|
|
102
91
|
|
|
103
92
|
## Contributing
|
|
104
93
|
|
|
105
|
-
This CLI is maintained by [KinoSec](https://kinosec.ai). External contributions are not accepted at this time.
|
|
94
|
+
This CLI is maintained by [KinoSec](https://kinosec.ai). External contributions are not accepted at this time.
|
|
106
95
|
|
|
107
96
|
## License
|
|
108
97
|
|
package/dist/cli.js
CHANGED
|
@@ -10817,7 +10817,7 @@ Examples:
|
|
|
10817
10817
|
|
|
10818
10818
|
// src/cli.ts
|
|
10819
10819
|
var program2 = new Command();
|
|
10820
|
-
program2.name("kinosec").description("KinoSec CLI \u2014 run pentests from your terminal").version("0.2.
|
|
10820
|
+
program2.name("kinosec").description("KinoSec CLI \u2014 run pentests from your terminal").version("0.2.1", "-v, --version").option("--token <pat>", "API token (overrides KINOSEC_TOKEN and config)").option("--api-url <url>", "API base URL (overrides config)").option("--output <format>", "Output format: text or json", "text").option("--json", "Shorthand for --output json").option("--no-color", "Disable colors");
|
|
10821
10821
|
registerAuthCommand(program2);
|
|
10822
10822
|
registerConfigCommand(program2);
|
|
10823
10823
|
registerMeCommand(program2);
|
|
@@ -10826,7 +10826,7 @@ registerAssetCommand(program2);
|
|
|
10826
10826
|
registerFindingCommand(program2);
|
|
10827
10827
|
registerReportCommand(program2);
|
|
10828
10828
|
registerTokenCommand(program2);
|
|
10829
|
-
program2.parseAsync(process.argv).then(() => checkForUpdate("0.2.
|
|
10829
|
+
program2.parseAsync(process.argv).then(() => checkForUpdate("0.2.1")).catch(handleError);
|
|
10830
10830
|
/*! Bundled license information:
|
|
10831
10831
|
|
|
10832
10832
|
ky/distribution/index.js:
|