@p0security/cli 0.3.0 → 0.4.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/dist/commands/ssh.js +1 -0
- package/package.json +3 -2
package/dist/commands/ssh.js
CHANGED
|
@@ -135,6 +135,7 @@ const ssh = (args) => __awaiter(void 0, void 0, void 0, function* () {
|
|
|
135
135
|
yield validateSshInstall(authn);
|
|
136
136
|
const response = yield (0, request_2.request)(Object.assign(Object.assign({}, (0, lodash_1.pick)(args, "$0", "_")), { arguments: [
|
|
137
137
|
"ssh",
|
|
138
|
+
"session",
|
|
138
139
|
args.destination,
|
|
139
140
|
"--provider",
|
|
140
141
|
"aws",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@p0security/cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Execute infra CLI commands with P0 grants",
|
|
5
5
|
"main": "index.ts",
|
|
6
6
|
"repository": {
|
|
@@ -31,6 +31,7 @@
|
|
|
31
31
|
"pkce-challenge": "^4.1.0",
|
|
32
32
|
"pluralize": "^8.0.0",
|
|
33
33
|
"ps-tree": "^1.2.0",
|
|
34
|
+
"semver": "^7.6.0",
|
|
34
35
|
"typescript": "^4.8.4",
|
|
35
36
|
"which": "^4.0.0",
|
|
36
37
|
"yargs": "^17.6.0"
|
|
@@ -62,7 +63,7 @@
|
|
|
62
63
|
},
|
|
63
64
|
"scripts": {
|
|
64
65
|
"build": "tsc && cp -r public dist/",
|
|
65
|
-
"clean": "rm tsconfig.tsbuildinfo && rm -rf dist/",
|
|
66
|
+
"clean": "rm -f tsconfig.tsbuildinfo && rm -rf dist/",
|
|
66
67
|
"lint": "yarn prettier --check . && yarn run eslint --max-warnings 0 .",
|
|
67
68
|
"p0": "node --no-deprecation ./p0",
|
|
68
69
|
"prepublishOnly": "npm run clean && npm run build"
|