@sw-tsdk/plugin-connector 2.0.1-next.90 → 2.0.1-next.95

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 CHANGED
@@ -16,7 +16,7 @@ $ npm install -g @sw-tsdk/plugin-connector
16
16
  $ sw-tsdk-connector COMMAND
17
17
  running command...
18
18
  $ sw-tsdk-connector (--version)
19
- @sw-tsdk/plugin-connector/2.0.1-next.90+845e364 linux-x64 node-v16.18.1
19
+ @sw-tsdk/plugin-connector/2.0.1-next.95+c09e96a linux-x64 node-v16.18.1
20
20
  $ sw-tsdk-connector --help [COMMAND]
21
21
  USAGE
22
22
  $ sw-tsdk-connector COMMAND
@@ -59,7 +59,7 @@ DESCRIPTION
59
59
  Update a connector action.
60
60
  ```
61
61
 
62
- _See code: [lib/commands/action/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/action/add.js)_
62
+ _See code: [lib/commands/action/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/action/add.js)_
63
63
 
64
64
  ## `sw-tsdk-connector action:generate:data`
65
65
 
@@ -84,7 +84,7 @@ DESCRIPTION
84
84
  Use to test a task in an integration
85
85
  ```
86
86
 
87
- _See code: [lib/commands/action/generate/data.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/action/generate/data.js)_
87
+ _See code: [lib/commands/action/generate/data.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/action/generate/data.js)_
88
88
 
89
89
  ## `sw-tsdk-connector action:generate:input`
90
90
 
@@ -109,7 +109,7 @@ DESCRIPTION
109
109
  Update action input schema.
110
110
  ```
111
111
 
112
- _See code: [lib/commands/action/generate/input.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/action/generate/input.js)_
112
+ _See code: [lib/commands/action/generate/input.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/action/generate/input.js)_
113
113
 
114
114
  ## `sw-tsdk-connector action:generate:output`
115
115
 
@@ -133,7 +133,7 @@ DESCRIPTION
133
133
  Update a connector action.
134
134
  ```
135
135
 
136
- _See code: [lib/commands/action/generate/output.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/action/generate/output.js)_
136
+ _See code: [lib/commands/action/generate/output.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/action/generate/output.js)_
137
137
 
138
138
  ## `sw-tsdk-connector action:run:local`
139
139
 
@@ -161,7 +161,7 @@ DESCRIPTION
161
161
  Runs a connector action. (Defaults to current image version in local repository).
162
162
  ```
163
163
 
164
- _See code: [lib/commands/action/run/local.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/action/run/local.js)_
164
+ _See code: [lib/commands/action/run/local.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/action/run/local.js)_
165
165
 
166
166
  ## `sw-tsdk-connector asset:add`
167
167
 
@@ -182,7 +182,7 @@ DESCRIPTION
182
182
  Update a connector action.
183
183
  ```
184
184
 
185
- _See code: [lib/commands/asset/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/asset/add.js)_
185
+ _See code: [lib/commands/asset/add.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/asset/add.js)_
186
186
 
187
187
  ## `sw-tsdk-connector connector:build`
188
188
 
@@ -190,8 +190,9 @@ Builds a local docker image of the connector.
190
190
 
191
191
  ```
192
192
  USAGE
193
- $ sw-tsdk-connector connector:build --template python_3.7_swimlane|node_18|python_310_definition [-d <value>]
194
- [--save] [-f] [--signing-password <value>] [--key-name <value>] [--registry <value>] [-h]
193
+ $ sw-tsdk-connector connector:build [--template
194
+ python_37_swimlane|node_18|python_310_definition|python_311_definition] [-d <value>] [--save] [-f]
195
+ [--signing-password <value>] [--key-name <value>] [--registry <value>] [-h]
195
196
 
196
197
  FLAGS
197
198
  -d, --directory=<value> [default: ./] root directory of the repository.
@@ -201,14 +202,14 @@ FLAGS
201
202
  --registry=<value> [default: localhost:5000] registry to use for signing
202
203
  --save saves a signed docker image as tar in local directory.
203
204
  --signing-password=<value> password used for the private key (ENV: TURBINE_SIGNING_PASSWORD)
204
- --template=<option> (required) [default: python_310_definition] connector language
205
- <options: python_3.7_swimlane|node_18|python_310_definition>
205
+ --template=<option> connector language
206
+ <options: python_37_swimlane|node_18|python_310_definition|python_311_definition>
206
207
 
207
208
  DESCRIPTION
208
209
  Builds a local docker image of the connector.
209
210
  ```
210
211
 
211
- _See code: [lib/commands/connector/build.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/build.js)_
212
+ _See code: [lib/commands/connector/build.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/build.js)_
212
213
 
213
214
  ## `sw-tsdk-connector connector:create`
214
215
 
@@ -216,31 +217,30 @@ Scaffold a new connector
216
217
 
217
218
  ```
218
219
  USAGE
219
- $ sw-tsdk-connector connector:create [-d <value>] [-t node_18|python_310_definition|python_3.7_swimlane]
220
- [--skip-repo] [--vendor <value>] [--product <value>] [--keywords <value>] [--description <value>] [--logoPath
221
- <value>] [--author <value>] [--authorEmail <value>] [--homepage <value>] [-h]
220
+ $ sw-tsdk-connector connector:create [-d <value>] [-t python_310_definition|python_311_definition|python_3]
221
+ [--vendor <value>] [--product <value>] [--keywords <value>] [--description <value>] [--logoPath <value>] [--author
222
+ <value>] [--authorEmail <value>] [--homepage <value>] [-h]
222
223
 
223
224
  FLAGS
224
225
  -d, --directory=<value> [default: ./] root directory for where to store connectors, the connector directory will be
225
226
  generated.
226
227
  -h, --help Show CLI help.
227
- -t, --template=<option> [default: python_310_definition] connector template to scaffold
228
- <options: node_18|python_310_definition|python_3.7_swimlane>
228
+ -t, --template=<option> [default: python_311_definition] connector template to scaffold
229
+ <options: python_310_definition|python_311_definition|python_3>
229
230
  --author=<value> Connector Author
230
231
  --authorEmail=<value> Connector Author Email
231
232
  --description=<value> Description (e.g. CrowdStrike Host Query API)
232
233
  --homepage=<value> Connector Author Support URL
233
- --keywords=<value> Enter keyword (Comma-Separated)
234
+ --keywords=<value> Enter keywords (Comma-Separated)
234
235
  --logoPath=<value> URL or absolute path to logo file
235
236
  --product=<value> Product (e.g. Falcon)
236
- --skip-repo skips the repository creation process
237
237
  --vendor=<value> Vendor (e.g. CrowdStrike)
238
238
 
239
239
  DESCRIPTION
240
240
  Scaffold a new connector
241
241
  ```
242
242
 
243
- _See code: [lib/commands/connector/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/create.js)_
243
+ _See code: [lib/commands/connector/create.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/create.js)_
244
244
 
245
245
  ## `sw-tsdk-connector connector:create:openapi`
246
246
 
@@ -269,7 +269,7 @@ DESCRIPTION
269
269
  Scaffold a new connector
270
270
  ```
271
271
 
272
- _See code: [lib/commands/connector/create/openapi.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/create/openapi.js)_
272
+ _See code: [lib/commands/connector/create/openapi.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/create/openapi.js)_
273
273
 
274
274
  ## `sw-tsdk-connector connector:create:source`
275
275
 
@@ -287,7 +287,7 @@ DESCRIPTION
287
287
  Generates 11x source from 10x
288
288
  ```
289
289
 
290
- _See code: [lib/commands/connector/create/source.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/create/source.js)_
290
+ _See code: [lib/commands/connector/create/source.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/create/source.js)_
291
291
 
292
292
  ## `sw-tsdk-connector connector:logo`
293
293
 
@@ -306,7 +306,7 @@ DESCRIPTION
306
306
  Update a connector.
307
307
  ```
308
308
 
309
- _See code: [lib/commands/connector/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/logo.js)_
309
+ _See code: [lib/commands/connector/logo.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/logo.js)_
310
310
 
311
311
  ## `sw-tsdk-connector connector:save`
312
312
 
@@ -327,7 +327,7 @@ DESCRIPTION
327
327
  Save a docker image locally as .tar.gz
328
328
  ```
329
329
 
330
- _See code: [lib/commands/connector/save.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/save.js)_
330
+ _See code: [lib/commands/connector/save.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/save.js)_
331
331
 
332
332
  ## `sw-tsdk-connector connector:sign`
333
333
 
@@ -351,7 +351,7 @@ DESCRIPTION
351
351
  Builds a local docker image of the connector.
352
352
  ```
353
353
 
354
- _See code: [lib/commands/connector/sign.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/sign.js)_
354
+ _See code: [lib/commands/connector/sign.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/sign.js)_
355
355
 
356
356
  ## `sw-tsdk-connector connector:update`
357
357
 
@@ -371,7 +371,7 @@ DESCRIPTION
371
371
  Update a connector.
372
372
  ```
373
373
 
374
- _See code: [lib/commands/connector/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/update.js)_
374
+ _See code: [lib/commands/connector/update.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/update.js)_
375
375
 
376
376
  ## `sw-tsdk-connector connector:validate`
377
377
 
@@ -394,5 +394,5 @@ DESCRIPTION
394
394
  Use to validate an integration
395
395
  ```
396
396
 
397
- _See code: [lib/commands/connector/validate.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.90+845e364/lib/commands/connector/validate.js)_
397
+ _See code: [lib/commands/connector/validate.js](https://github.com/swimlane/turbine-sdk/blob/v2.0.1-next.95+c09e96a/lib/commands/connector/validate.js)_
398
398
  <!-- commandsstop -->
@@ -2,7 +2,7 @@ import { Base } from '@sw-tsdk/core';
2
2
  export declare class Build extends Base {
3
3
  static description: string;
4
4
  static flags: {
5
- template: import("@oclif/core/lib/interfaces").OptionFlag<string>;
5
+ template: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
6
6
  'compile-override': import("@oclif/core/lib/interfaces").OptionFlag<string>;
7
7
  'runner-override': import("@oclif/core/lib/interfaces").OptionFlag<string>;
8
8
  'runtime-override': import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
@@ -7,6 +7,7 @@ const node_path_1 = require("node:path");
7
7
  const node_fs_1 = require("node:fs");
8
8
  const connector_1 = require("@sw-tsdk/connector");
9
9
  const sign_1 = require("./sign");
10
+ const docker_1 = require("@sw-tsdk/docker");
10
11
  // noinspection JSUnusedGlobalSymbols
11
12
  class Build extends core_2.Base {
12
13
  async run() {
@@ -20,6 +21,10 @@ class Build extends core_2.Base {
20
21
  catch (_a) {
21
22
  this.error(`Could not access ${directory}`);
22
23
  }
24
+ const docker = new docker_1.Docker();
25
+ core_1.CliUx.ux.action.start('Checking for docker...');
26
+ await docker.ping();
27
+ core_1.CliUx.ux.action.stop();
23
28
  const connector = new connector_1.BuildConnector();
24
29
  const result = await connector.build({ directory, template, compileOverride, runnerOverride, runtimeOverride, nocache, platform, squash });
25
30
  if (save) {
@@ -44,9 +49,8 @@ exports.Build = Build;
44
49
  Build.description = 'Builds a local docker image of the connector.';
45
50
  Build.flags = Object.assign(Object.assign({}, core_2.Base.flags), { template: core_1.Flags.string({
46
51
  description: 'connector language',
47
- options: ['python_3.7_swimlane', 'node_18', 'python_310_definition'],
48
- default: 'python_310_definition',
49
- required: true,
52
+ options: ['python_37_swimlane', 'node_18', 'python_310_definition', 'python_311_definition'],
53
+ required: false,
50
54
  }), 'compile-override': core_1.Flags.string({
51
55
  hidden: true,
52
56
  default: 'Compile.Dockerfile',
@@ -1 +1 @@
1
- {"version":3,"file":"build.js","sourceRoot":"","sources":["../../../src/commands/connector/build.ts"],"names":[],"mappings":";;;AAAA,sCAAiC;AACjC,wCAAkC;AAClC,yCAAiC;AACjC,qCAAgC;AAChC,kDAAiD;AACjD,iCAA2B;AAE3B,qCAAqC;AACrC,MAAa,KAAM,SAAQ,WAAI;IAqE7B,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAEvC,IAAI,EAAC,SAAS,EAAC,GAAG,KAAK,CAAA;QACvB,MAAM,EACJ,IAAI,EACJ,QAAQ,EACR,kBAAkB,EAAE,eAAe,EACnC,iBAAiB,EAAE,cAAc,EACjC,kBAAkB,EAAE,eAAe,EACnC,eAAe,EAAE,OAAO,EACxB,QAAQ,EACR,MAAM,GACP,GAAG,KAAK,CAAA;QAET,SAAS,GAAG,IAAA,mBAAO,EAAC,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAA;QAE/C,IAAI;YACF,MAAM,kBAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;SACjC;QAAC,WAAM;YACN,IAAI,CAAC,KAAK,CAAC,oBAAoB,SAAS,EAAE,CAAC,CAAA;SAC5C;QAED,MAAM,SAAS,GAAG,IAAI,0BAAc,EAAE,CAAA;QACtC,MAAM,MAAM,GAAG,MAAM,SAAS,CAAC,KAAK,CAAC,EAAC,SAAS,EAAE,QAAQ,EAAE,eAAe,EAAE,cAAc,EAAE,eAAe,EAAE,OAAO,EAAE,QAAQ,EAAE,MAAM,EAAC,CAAC,CAAA;QAExI,IAAI,IAAI,EAAE;YACR,MAAM,EAAC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AAE,CAAC,UAAU,CAAC;aACpB,CAAC;KACH,CAAC,EACF,MAAM,EAAE,YAAK,CAAC,OAAO,CAAC;QACpB,WAAW,EAAE,6BAA6B;QAC1C,MAAM,EAAE,IAAI;KACb,CAAC,EACF,eAAe,EAAE,YAAK,CAAC,OAAO,CAAC;QAC7B,IAAI,EAAE,GAAG;QACT,WAAW,EAAE,mCAAmC;KACjD,CAAC,EACF,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC;QACrB,MAAM,EAAE,IAAI;QACZ,OAAO,EAAE,aAAa;KACvB,CAAC,EACF,kBAAkB,EAAE,YAAK,CAAC,MAAM,CAAC;QAC/B,WAAW,EAAE,mEAAmE;QAChF,OAAO,EAAE,EAAE;QACX,GAAG,EAAE,0BAA0B;KAChC,CAAC,EACF,UAAU,EAAE,YAAK,CAAC,MAAM,CAAC;QACvB,WAAW,EAAE,2CAA2C;KACzD,CAAC,EACF,aAAa,EAAE,YAAK,CAAC,OAAO,CAAC;QAC3B,MAAM,EAAE,IAAI;KACb,CAAC,EACF,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,gBAAgB;KAC1B,CAAC,EACF,IAAI,EAAE,YAAK,CAAC,IAAI,CAAC;QACf,IAAI,EAAE,GAAG;KACV,CAAC,IACH"}
1
+ {"version":3,"file":"build.js","sourceRoot":"","sources":["../../../src/commands/connector/build.ts"],"names":[],"mappings":";;;AAAA,sCAAwC;AACxC,wCAAkC;AAClC,yCAAiC;AACjC,qCAAgC;AAChC,kDAAiD;AACjD,iCAA2B;AAC3B,4CAAsC;AAEtC,qCAAqC;AACrC,MAAa,KAAM,SAAQ,WAAI;IAoE7B,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;QAEvC,IAAI,EAAC,SAAS,EAAC,GAAG,KAAK,CAAA;QACvB,MAAM,EACJ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ACvB,CAAC,EACF,kBAAkB,EAAE,YAAK,CAAC,MAAM,CAAC;QAC/B,WAAW,EAAE,mEAAmE;QAChF,OAAO,EAAE,EAAE;QACX,GAAG,EAAE,0BAA0B;KAChC,CAAC,EACF,UAAU,EAAE,YAAK,CAAC,MAAM,CAAC;QACvB,WAAW,EAAE,2CAA2C;KACzD,CAAC,EACF,aAAa,EAAE,YAAK,CAAC,OAAO,CAAC;QAC3B,MAAM,EAAE,IAAI;KACb,CAAC,EACF,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC;QACrB,WAAW,EAAE,6BAA6B;QAC1C,OAAO,EAAE,gBAAgB;KAC1B,CAAC,EACF,IAAI,EAAE,YAAK,CAAC,IAAI,CAAC;QACf,IAAI,EAAE,GAAG;KACV,CAAC,IACH"}
@@ -4,8 +4,6 @@ export declare class Create extends Base {
4
4
  static flags: {
5
5
  directory: import("@oclif/core/lib/interfaces").OptionFlag<string>;
6
6
  template: import("@oclif/core/lib/interfaces").OptionFlag<string>;
7
- 'skip-repo': import("@oclif/core/lib/interfaces").BooleanFlag<boolean>;
8
- clientId: import("@oclif/core/lib/interfaces").OptionFlag<string>;
9
7
  vendor: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
10
8
  product: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
11
9
  keywords: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
@@ -14,7 +12,6 @@ export declare class Create extends Base {
14
12
  author: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
15
13
  authorEmail: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
16
14
  homepage: import("@oclif/core/lib/interfaces").OptionFlag<string | undefined>;
17
- 'repo-base-template': import("@oclif/core/lib/interfaces").OptionFlag<string>;
18
15
  help: import("@oclif/core/lib/interfaces").BooleanFlag<void>;
19
16
  };
20
17
  run(): Promise<void>;
@@ -40,7 +40,7 @@ class Create extends core_2.Base {
40
40
  {
41
41
  type: 'list',
42
42
  name: 'keywords',
43
- message: 'Choose a category',
43
+ message: 'Choose a category (Comma-separated)',
44
44
  choices: common_1.connectorCategories,
45
45
  },
46
46
  {
@@ -104,7 +104,7 @@ class Create extends core_2.Base {
104
104
  iconImage: '../image/logo.png',
105
105
  description: answers.description,
106
106
  homepage: answers.homepage,
107
- keywords: [answers.keywords],
107
+ keywords: [...answers.keywords.split(',').map(x => x.trim())],
108
108
  license: 'AGPL-3.0',
109
109
  meta: {
110
110
  imageRepository: `quay.io/swimlane-connectors/${name}`,
@@ -159,17 +159,7 @@ Create.flags = Object.assign(Object.assign({}, core_2.Base.flags), { directory:
159
159
  }), template: core_1.Flags.string({
160
160
  char: 't',
161
161
  description: 'connector template to scaffold',
162
- default: 'python_310_definition',
163
- options: ['node_18', 'python_310_definition', 'python_3.7_swimlane'],
164
- }), 'skip-repo': core_1.Flags.boolean({ description: 'skips the repository creation process' }), clientId: core_1.Flags.string({
165
- char: 'c',
166
- description: 'client id of the authentication app',
167
- default: '0d418a5615c458b0b593',
168
- hidden: true,
169
- }), vendor: core_1.Flags.string({ description: 'Vendor (e.g. CrowdStrike)' }), product: core_1.Flags.string({ description: 'Product (e.g. Falcon)' }), keywords: core_1.Flags.string({ description: 'Enter keyword (Comma-Separated)' }), description: core_1.Flags.string({ description: 'Description (e.g. CrowdStrike Host Query API)' }), logoPath: core_1.Flags.string({ description: 'URL or absolute path to logo file' }), author: core_1.Flags.string({ description: 'Connector Author' }), authorEmail: core_1.Flags.string({ description: 'Connector Author Email' }), homepage: core_1.Flags.string({ description: 'Connector Author Support URL' }), 'repo-base-template': core_1.Flags.string({
170
- char: 't',
171
- description: 'github base template override to create repo from.',
172
- default: 'connector-python-definition-template',
173
- hidden: true,
174
- }), help: core_1.Flags.help({ char: 'h' }) });
162
+ default: 'python_311_definition',
163
+ options: ['python_310_definition', 'python_311_definition', 'python_3'],
164
+ }), vendor: core_1.Flags.string({ description: 'Vendor (e.g. CrowdStrike)' }), product: core_1.Flags.string({ description: 'Product (e.g. Falcon)' }), keywords: core_1.Flags.string({ description: 'Enter keywords (Comma-Separated)' }), description: core_1.Flags.string({ description: 'Description (e.g. CrowdStrike Host Query API)' }), logoPath: core_1.Flags.string({ description: 'URL or absolute path to logo file' }), author: core_1.Flags.string({ description: 'Connector Author' }), authorEmail: core_1.Flags.string({ description: 'Connector Author Email' }), homepage: core_1.Flags.string({ description: 'Connector Author Support URL' }), help: core_1.Flags.help({ char: 'h' }) });
175
165
  //# sourceMappingURL=create.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"create.js","sourceRoot":"","sources":["../../../src/commands/connector/create.ts"],"names":[],"mappings":";;;;AAAA,sCAAwC;AACxC,wCAAkC;AAClC,yCAAuC;AACvC,qCAAgC;AAChC,kDAA+D;AAC/D,gEAA+B;AAC/B,yCAAoE;AACpE,yEAAqF;AAErF,uCAA2D;AAC3D,8DAA0B;AAC1B,2CAAoC;AACpC,2CAAkC;AAElC,qCAAqC;AACrC,MAAa,MAAO,SAAQ,WAAI;IAwC9B,KAAK,CAAC,GAAG;QACP,MAAM,EAAC,KAAK,EAAC,GAAG,MAAM,IAAI,CAAC,KAAK,CAAC,MAAM,CAAC,CAAA;QAExC,IAAI,EAAC,SAAS,EAAC,GAAG,KAAK,CAAA;QACvB,SAAS,GAAG,IAAA,mBAAO,EAAC,SAAS,IAAI,OAAO,CAAC,GAAG,EAAE,CAAC,CAAA;QAE/C,MAAM,EACJ,QAAQ,EAAE,iBAAiB,GAC5B,GAAG,KAAK,CAAA;QAET,IAAI;YACF,MAAM,kBAAQ,CAAC,MAAM,CAAC,SAAS,CAAC,CAAA;SACjC;QAAC,WAAM;YACN,IAAI,CAAC,KAAK,CAAC,oBAAoB,SAAS,EAAE,CAAC,CAAA;SAC5C;QAED,MAAM,eAAe,GAAG,CAAC;gBACvB,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,QAAQ;gBACd,OAAO,EAAE,2BAA2B;aACrC;YACD;gBACE,IAAI,EAAE,OAAO;gBACb,IAAI,EAAE,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2B,EAAC,CAAC,EAChE,OAAO,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,uBAAuB,EAAC,CAAC,EAC7D,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,kCAAkC,EAAC,CAAC,EACzE,WAAW,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,+CAA+C,EAAC,CAAC,EACzF,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,mCAAmC,EAAC,CAAC,EAC1E,MAAM,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,kBAAkB,EAAC,CAAC,EACvD,WAAW,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,wBAAwB,EAAC,CAAC,EAClE,QAAQ,EAAE,YAAK,CAAC,MAAM,CAAC,EAAC,WAAW,EAAE,8BAA8B,EAAC,CAAC,EACrE,IAAI,EAAE,YAAK,CAAC,IAAI,CAAC,EAAC,IAAI,EAAE,GAAG,EAAC,CAAC,IAC9B"}
package/lib/common.js CHANGED
@@ -52,6 +52,7 @@ exports.connectorCategories = [
52
52
  'Miscellaneous',
53
53
  ];
54
54
  exports.connectorTemplates = [
55
+ 'python_311_definition',
55
56
  'python_310_definition',
56
57
  'node_18',
57
58
  'python_3.7_swimlane',
package/lib/common.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"common.js","sourceRoot":"","sources":["../src/common.ts"],"names":[],"mappings":";;;;AAAA,gEAA+B;AAC/B,wGAA6D;AAC7D,kDAA+C;AAGxC,KAAK,UAAU,YAAY,CAAC,SAAiB;IAClD,kBAAQ,CAAC,cAAc,CAAC,cAAc,EAAE,sCAAkB,CAAC,CAAA;IAC3D,MAAM,SAAS,GAAG,MAAM,IAAA,wBAAY,EAAC,SAAS,CAAC,CAAA;IAC/C,MAAM,OAAO,GAAG,SAAS,CAAC,eAAe;SACxC,IAAI,CAAC,CAAC,CAA0B,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AC9B,kCAAkC;IAClC,mBAAmB;IACnB,+BAA+B;IAC/B,8BAA8B;IAC9B,gBAAgB;IAChB,eAAe;CAChB,CAAA;AAEY,QAAA,kBAAkB,GAAG;IAChC,uBAAuB;IACvB,uBAAuB;IACvB,SAAS;IACT,qBAAqB;CACtB,CAAA"}
@@ -0,0 +1,14 @@
1
+ # THIS IS AN EXAMPLE, PLEASE USE THE SDK TO CREATE A NEW ACTION and DELETE
2
+ name: example
3
+ schema: action/1
4
+ title: ''
5
+ description: ''
6
+ inputs: # Use the SDK to autogenerate the inputs, can be 'object' or 'array' type.
7
+ type: object
8
+ properties: # the following are used for definition runner.
9
+ output: # use the SDK to autogenerate the output schema. This can be 'object' or 'array' type.
10
+ type: object
11
+ properties:
12
+ additionalProperties: true
13
+ meta:
14
+
@@ -0,0 +1,22 @@
1
+ # THIS IS AN EXAMPLE, PLEASE USE THE SDK TO CREATE A NEW ASSET and DELETE
2
+ schema: asset/1
3
+ name: asset
4
+ title: Virus Total API Key Authentication
5
+ description: ''
6
+ inputs:
7
+ type: object
8
+ properties:
9
+ url:
10
+ type: string
11
+ default: https://www.swimlane.com # add the default if cloud.
12
+ x-apikey:
13
+ type: string
14
+ verify_ssl:
15
+ type: boolean
16
+ http_proxy:
17
+ type: string
18
+ default: https://www.proxy.com
19
+ required:
20
+ - url
21
+ - x-apikey # example
22
+ meta:
@@ -0,0 +1,6 @@
1
+
2
+ class SwMain():
3
+ def __init__(self, context):
4
+
5
+ def execute(self):
6
+ pass:
@@ -0,0 +1,7 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project are documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## 1.0.0 - {{{timestamp}}}
7
+ * Initial Release
@@ -0,0 +1,38 @@
1
+ ## Overview
2
+
3
+ A brief description goes here. Be sure to provide an overview of what the plugin does. Include description of the
4
+ product being integrated, plus use cases/value prop of the Swimlane integration.
5
+
6
+ ## Prerequisites
7
+
8
+ Prerequisites, everything outside of the plugin itself. This should include info on how to
9
+ configure the device (API Key, Perms, ect)
10
+
11
+ ## Capabilities
12
+
13
+ This plugin provides the following capabilities:
14
+
15
+ * Capabilities
16
+ * Go
17
+ * Here
18
+ * e.g. Manage Firewall Policies instead of listing each individual tasks
19
+
20
+ ### Limitations
21
+
22
+ Include information about known limitations here, including supported or minimum versions, especially
23
+ known unsupported versions.
24
+
25
+ ## Asset Setup
26
+
27
+ The content here should discuss asset setup in a conversational manner. Be sure to include any known login
28
+ and test connection errors.
29
+
30
+ ## Tasks Setup
31
+ Special task setup as needed depending on plugin, exclude if empty.
32
+
33
+ Known available allowed input options from enum type selection
34
+
35
+ ## Notes
36
+
37
+ * Any other notes not fitting other sections go here.
38
+ * Any reference URLs to external docs or other resources
@@ -0,0 +1,40 @@
1
+ # THIS IS AN EXAMPLE, PLEASE USE THE SDK TO CREATE A NEW ACTION and DELETE
2
+ name: action_name
3
+ schema: action/1
4
+ title: ''
5
+ description: ''
6
+ inputs: # Use the SDK to autogenerate the inputs, can be 'object' or 'array' type.
7
+ type: object
8
+ properties: # the following are used for definition runner.
9
+ path_parameters: # remove if path parameters are not needed.
10
+ type: object
11
+ description: Path Parameters
12
+ properties:
13
+ required:
14
+ parameters:
15
+ type: object
16
+ description: URL Query Parameters
17
+ properties:
18
+ required:
19
+ json_body: # remove if no json_body is needed.
20
+ type: object
21
+ description: Body
22
+ properties:
23
+ required:
24
+ data_body: # remove if no data_body is needed.
25
+ type: object
26
+ description: Body
27
+ properties:
28
+ required:
29
+ headers: # remove if no custom headers are needed.
30
+ type: object
31
+ description: Body
32
+ properties:
33
+ required:
34
+ output: # use the SDK to autogenerate the output schema. This can be 'object' or 'array' type.
35
+ type: object
36
+ properties:
37
+ additionalProperties: true
38
+ meta:
39
+ endpoint: turbine-api/v3/turbine # full path to endpoint after host.
40
+ method: GET
@@ -0,0 +1,27 @@
1
+ # THIS IS AN EXAMPLE, PLEASE USE THE SDK TO CREATE A NEW ASSET and DELETE
2
+ schema: asset/1
3
+ name: asset
4
+ title: Virus Total API Key Authentication
5
+ description: ''
6
+ inputs:
7
+ type: object
8
+ properties:
9
+ url:
10
+ type: string
11
+ default: https://www.swimlane.com # add the default if cloud.
12
+ x-apikey:
13
+ type: string
14
+ verify_ssl:
15
+ type: boolean
16
+ http_proxy:
17
+ type: string
18
+ default: https://www.proxy.com
19
+ required:
20
+ - url
21
+ - x-apikey # example
22
+ meta:
23
+ asset_url_key: url
24
+ security: # example of header auth. All security objects must follow OpenAPI spec auth.
25
+ type: apiKey
26
+ name: x-apikey # example
27
+ in: header
@@ -0,0 +1,7 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project are documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## 1.0.0 - {{{timestamp}}}
7
+ * Initial Release
@@ -0,0 +1,38 @@
1
+ ## Overview
2
+
3
+ A brief description goes here. Be sure to provide an overview of what the plugin does. Include description of the
4
+ product being integrated, plus use cases/value prop of the Swimlane integration.
5
+
6
+ ## Prerequisites
7
+
8
+ Prerequisites, everything outside of the plugin itself. This should include info on how to
9
+ configure the device (API Key, Perms, ect)
10
+
11
+ ## Capabilities
12
+
13
+ This plugin provides the following capabilities:
14
+
15
+ * Capabilities
16
+ * Go
17
+ * Here
18
+ * e.g. Manage Firewall Policies instead of listing each individual tasks
19
+
20
+ ### Limitations
21
+
22
+ Include information about known limitations here, including supported or minimum versions, especially
23
+ known unsupported versions.
24
+
25
+ ## Asset Setup
26
+
27
+ The content here should discuss asset setup in a conversational manner. Be sure to include any known login
28
+ and test connection errors.
29
+
30
+ ## Tasks Setup
31
+ Special task setup as needed depending on plugin, exclude if empty.
32
+
33
+ Known available allowed input options from enum type selection
34
+
35
+ ## Notes
36
+
37
+ * Any other notes not fitting other sections go here.
38
+ * Any reference URLs to external docs or other resources
@@ -1 +1 @@
1
- {"version":"2.0.1-next.90+845e364","commands":{"action:add":{"id":"action:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"action template to scaffold","multiple":false,"options":["node_18","python_310_definition","python_3.7_swimlane"],"default":"python_310_definition"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"asset:add":{"id":"asset:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"scheme":{"name":"scheme","type":"option","char":"s","description":"asset template to scaffold","multiple":false,"options":["custom","apikey","oauth2_client_credentials","http_basic","http_bearer"]},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:build":{"id":"connector:build","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"template":{"name":"template","type":"option","description":"connector language","required":true,"multiple":false,"options":["python_3.7_swimlane","node_18","python_310_definition"],"default":"python_310_definition"},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"save":{"name":"save","type":"boolean","description":"saves a signed docker image as tar in local directory.","allowNo":false,"relationships":[{"type":"all","flags":["signing-password","key-name"]},{"type":"some","flags":["registry"]}]},"squash":{"name":"squash","type":"boolean","description":"squashes the docker layers.","hidden":true,"allowNo":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key (ENV: TURBINE_SIGNING_PASSWORD)","multiple":false,"default":""},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username)","multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create":{"id":"connector:create","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"connector template to scaffold","multiple":false,"options":["node_18","python_310_definition","python_3.7_swimlane"],"default":"python_310_definition"},"skip-repo":{"name":"skip-repo","type":"boolean","description":"skips the repository creation process","allowNo":false},"clientId":{"name":"clientId","type":"option","char":"c","description":"client id of the authentication app","hidden":true,"multiple":false,"default":"0d418a5615c458b0b593"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","description":"Enter keyword (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"repo-base-template":{"name":"repo-base-template","type":"option","char":"t","description":"github base template override to create repo from.","hidden":true,"multiple":false,"default":"connector-python-definition-template"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:logo":{"id":"connector:logo","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"path":{"name":"path","type":"option","char":"p","description":"path or URL to product logo in PNG format.","required":true,"multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:save":{"id":"connector:save","description":"Save a docker image locally as .tar.gz","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repo.","multiple":false,"default":"."},"output":{"name":"output","type":"option","char":"o","description":"output file to where to store the image.","required":true,"multiple":false},"image":{"name":"image","type":"option","char":"i","description":"image to save.","required":true,"multiple":false},"skip-pull":{"name":"skip-pull","type":"boolean","char":"s","description":"skips pulling the image","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:sign":{"id":"connector:sign","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"image":{"name":"image","type":"option","description":"image name to sign","required":true,"multiple":false},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key","multiple":false,"default":""},"save":{"name":"save","type":"boolean","description":"saves docker image as tar in local directory.","allowNo":false},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username)","required":true,"multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:update":{"id":"connector:update","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"version":{"name":"version","type":"option","char":"v","description":"new version of the connector.","multiple":false},"manifest-path":{"name":"manifest-path","type":"option","char":"f","description":"connector manifest path relative to directory.","multiple":false,"default":"/connector/connector.yaml"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:validate":{"id":"connector:validate","description":"Use to validate an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"image":{"name":"image","type":"option","char":"i","description":"image to use","multiple":false},"connector":{"name":"connector","type":"option","char":"c","description":"connector to validate (relative to directory)","required":true,"multiple":false,"default":"connector"},"signed":{"name":"signed","type":"boolean","description":"validates a signed connector","allowNo":false},"key":{"name":"key","type":"option","description":"public key for verification","multiple":false,"dependsOn":["signed"],"exclusive":["skip-verification"]},"skip-pull":{"name":"skip-pull","type":"boolean","char":"s","description":"skips pulling the image","allowNo":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"}},"args":[]},"action:generate:data":{"id":"action:generate:data","description":"Use to test a task in an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"action":{"name":"action","type":"option","char":"a","description":"action to generate data","multiple":false},"asset":{"name":"asset","type":"option","description":"Filename for asset, defaults to the task name under the data folder. ie: data/asset_name.json","multiple":false},"inputs":{"name":"inputs","type":"option","description":"Filename for JSON inputs, defaults to the task name under the data folder. ie: data/my_task.json","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"},"include-optional":{"name":"include-optional","type":"boolean","description":"used to only generate required properties","allowNo":false},"force":{"name":"force","type":"boolean","description":"overwrites current files","allowNo":false}},"args":[]},"action:generate:input":{"id":"action:generate:input","description":"Update action input schema.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/actions/<action>.yaml","multiple":false},"input-path":{"name":"input-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:generate:output":{"id":"action:generate:output","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/<action>.yaml","multiple":false},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"output-path":{"name":"output-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:image":{"id":"action:run:image","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","hidden":true,"aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","required":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file","required":true,"multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"repository":{"name":"repository","type":"option","char":"r","description":"The connector image repository to run.","multiple":false},"version":{"name":"version","type":"option","description":"Use the latest release image from quay.","multiple":false,"default":"latest"},"stdin":{"name":"stdin","type":"boolean","description":"Send the inputs through stdin instead of an environment variable.","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:local":{"id":"action:run:local","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file, defaults to /data/<action>.json","multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"template":{"name":"template","type":"option","description":"connector template","multiple":false,"options":["python_3.7_swimlane","node_18","python_310_definition"],"default":"python_310_definition"},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:openapi":{"id":"connector:create:openapi","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","char":"k","description":"Please enter keyword (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"specs":{"name":"specs","type":"option","char":"o","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:source":{"id":"connector:create:source","description":"Generates 11x source from 10x","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]}}}
1
+ {"version":"2.0.1-next.95+c09e96a","commands":{"action:add":{"id":"action:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"action template to scaffold","multiple":false,"options":["node_18","python_310_definition","python_3.7_swimlane"],"default":"python_310_definition"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"asset:add":{"id":"asset:add","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"scheme":{"name":"scheme","type":"option","char":"s","description":"asset template to scaffold","multiple":false,"options":["custom","apikey","oauth2_client_credentials","http_basic","http_bearer"]},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:build":{"id":"connector:build","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"template":{"name":"template","type":"option","description":"connector language","required":false,"multiple":false,"options":["python_37_swimlane","node_18","python_310_definition","python_311_definition"]},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"save":{"name":"save","type":"boolean","description":"saves a signed docker image as tar in local directory.","allowNo":false,"relationships":[{"type":"all","flags":["signing-password","key-name"]},{"type":"some","flags":["registry"]}]},"squash":{"name":"squash","type":"boolean","description":"squashes the docker layers.","hidden":true,"allowNo":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key (ENV: TURBINE_SIGNING_PASSWORD)","multiple":false,"default":""},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username)","multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create":{"id":"connector:create","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"template":{"name":"template","type":"option","char":"t","description":"connector template to scaffold","multiple":false,"options":["python_310_definition","python_311_definition","python_3"],"default":"python_311_definition"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","description":"Enter keywords (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:logo":{"id":"connector:logo","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"path":{"name":"path","type":"option","char":"p","description":"path or URL to product logo in PNG format.","required":true,"multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:save":{"id":"connector:save","description":"Save a docker image locally as .tar.gz","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repo.","multiple":false,"default":"."},"output":{"name":"output","type":"option","char":"o","description":"output file to where to store the image.","required":true,"multiple":false},"image":{"name":"image","type":"option","char":"i","description":"image to save.","required":true,"multiple":false},"skip-pull":{"name":"skip-pull","type":"boolean","char":"s","description":"skips pulling the image","allowNo":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:sign":{"id":"connector:sign","description":"Builds a local docker image of the connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"image":{"name":"image","type":"option","description":"image name to sign","required":true,"multiple":false},"signing-password":{"name":"signing-password","type":"option","description":"password used for the private key","multiple":false,"default":""},"save":{"name":"save","type":"boolean","description":"saves docker image as tar in local directory.","allowNo":false},"key-name":{"name":"key-name","type":"option","description":"name used for the key (default: username)","required":true,"multiple":false},"skip-upload":{"name":"skip-upload","type":"boolean","hidden":true,"allowNo":false},"registry":{"name":"registry","type":"option","description":"registry to use for signing","multiple":false,"default":"localhost:5000"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:update":{"id":"connector:update","description":"Update a connector.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the connector folder.","multiple":false,"default":"."},"version":{"name":"version","type":"option","char":"v","description":"new version of the connector.","multiple":false},"manifest-path":{"name":"manifest-path","type":"option","char":"f","description":"connector manifest path relative to directory.","multiple":false,"default":"/connector/connector.yaml"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:validate":{"id":"connector:validate","description":"Use to validate an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"image":{"name":"image","type":"option","char":"i","description":"image to use","multiple":false},"connector":{"name":"connector","type":"option","char":"c","description":"connector to validate (relative to directory)","required":true,"multiple":false,"default":"connector"},"signed":{"name":"signed","type":"boolean","description":"validates a signed connector","allowNo":false},"key":{"name":"key","type":"option","description":"public key for verification","multiple":false,"dependsOn":["signed"],"exclusive":["skip-verification"]},"skip-pull":{"name":"skip-pull","type":"boolean","char":"s","description":"skips pulling the image","allowNo":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"}},"args":[]},"action:generate:data":{"id":"action:generate:data","description":"Use to test a task in an integration","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false},"action":{"name":"action","type":"option","char":"a","description":"action to generate data","multiple":false},"asset":{"name":"asset","type":"option","description":"Filename for asset, defaults to the task name under the data folder. ie: data/asset_name.json","multiple":false},"inputs":{"name":"inputs","type":"option","description":"Filename for JSON inputs, defaults to the task name under the data folder. ie: data/my_task.json","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"current directory to mount","multiple":false,"default":"./"},"include-optional":{"name":"include-optional","type":"boolean","description":"used to only generate required properties","allowNo":false},"force":{"name":"force","type":"boolean","description":"overwrites current files","allowNo":false}},"args":[]},"action:generate:input":{"id":"action:generate:input","description":"Update action input schema.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/actions/<action>.yaml","multiple":false},"input-path":{"name":"input-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:generate:output":{"id":"action:generate:output","description":"Update a connector action.","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"action-config-path":{"name":"action-config-path","type":"option","description":"Override path to action configuration file. Defaults to /connector/config/<action>.yaml","multiple":false},"amend":{"name":"amend","type":"boolean","description":"Merge with existing schema.","allowNo":false},"output-path":{"name":"output-path","type":"option","description":"Relative path to the output data JSON file, defaults to the task name under the data folder. ie: /data/<taskName>_output.json","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:image":{"id":"action:run:image","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","hidden":true,"aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","required":true,"multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file","required":true,"multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"repository":{"name":"repository","type":"option","char":"r","description":"The connector image repository to run.","multiple":false},"version":{"name":"version","type":"option","description":"Use the latest release image from quay.","multiple":false,"default":"latest"},"stdin":{"name":"stdin","type":"boolean","description":"Send the inputs through stdin instead of an environment variable.","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"action:run:local":{"id":"action:run:local","description":"Runs a connector action. (Defaults to current image version in local repository).","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"action":{"name":"action","type":"option","char":"a","description":"Action name to run","multiple":false},"directory":{"name":"directory","type":"option","char":"d","description":"Root directory of the repository.","multiple":false,"default":"./"},"input-path":{"name":"input-path","type":"option","description":"File to input data JSON file, defaults to /data/<action>.json","multiple":false},"output-path":{"name":"output-path","type":"option","description":"File to write the outputs to, defaults to /data/<action>_output.json","multiple":false},"error-path":{"name":"error-path","type":"option","description":"File to write the errors to, defaults to /data/<action>_error.json","multiple":false},"asset-path":{"name":"asset-path","type":"option","description":"File to asset data JSON file, defaults to /data/asset.json","multiple":false},"template":{"name":"template","type":"option","description":"connector template","multiple":false,"options":["python_3.7_swimlane","node_18","python_310_definition"],"default":"python_310_definition"},"compile-override":{"name":"compile-override","type":"option","hidden":true,"multiple":false,"default":"Compile.Dockerfile"},"runner-override":{"name":"runner-override","type":"option","hidden":true,"multiple":false,"default":"Runner.Dockerfile"},"runtime-override":{"name":"runtime-override","type":"option","hidden":true,"multiple":false},"force-rebuild":{"name":"force-rebuild","type":"boolean","char":"f","description":"forces nocache on the image build","allowNo":false},"platform":{"name":"platform","type":"option","hidden":true,"multiple":false,"default":"linux/amd64"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:openapi":{"id":"connector:create:openapi","description":"Scaffold a new connector","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false,"default":"./"},"vendor":{"name":"vendor","type":"option","description":"Vendor (e.g. CrowdStrike)","multiple":false},"product":{"name":"product","type":"option","description":"Product (e.g. Falcon)","multiple":false},"keywords":{"name":"keywords","type":"option","char":"k","description":"Please enter keyword (Comma-Separated)","multiple":false},"description":{"name":"description","type":"option","description":"Description (e.g. CrowdStrike Host Query API)","multiple":false},"logoPath":{"name":"logoPath","type":"option","description":"URL or absolute path to logo file","multiple":false},"author":{"name":"author","type":"option","description":"Connector Author","multiple":false},"authorEmail":{"name":"authorEmail","type":"option","description":"Connector Author Email","multiple":false},"homepage":{"name":"homepage","type":"option","description":"Connector Author Support URL","multiple":false},"specs":{"name":"specs","type":"option","char":"o","description":"root directory for where to store connectors, the connector directory will be generated.","multiple":false},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]},"connector:create:source":{"id":"connector:create:source","description":"Generates 11x source from 10x","strict":true,"pluginName":"@sw-tsdk/plugin-connector","pluginAlias":"@sw-tsdk/plugin-connector","pluginType":"core","aliases":[],"flags":{"directory":{"name":"directory","type":"option","char":"d","description":"root directory of the repository.","multiple":false,"default":"./"},"help":{"name":"help","type":"boolean","char":"h","description":"Show CLI help.","allowNo":false}},"args":[]}}}
package/package.json CHANGED
@@ -6,10 +6,10 @@
6
6
  "dependencies": {
7
7
  "@apidevtools/json-schema-ref-parser": "9.0.9",
8
8
  "@oclif/core": "1.16.4",
9
- "@sw-tsdk/common": "^2.0.1-next.90+845e364",
10
- "@sw-tsdk/connector": "^2.0.1-next.90+845e364",
11
- "@sw-tsdk/core": "^2.0.1-next.90+845e364",
12
- "@sw-tsdk/docker": "^2.0.1-next.90+845e364",
9
+ "@sw-tsdk/common": "^2.0.1-next.95+c09e96a",
10
+ "@sw-tsdk/connector": "^2.0.1-next.95+c09e96a",
11
+ "@sw-tsdk/core": "^2.0.1-next.95+c09e96a",
12
+ "@sw-tsdk/docker": "^2.0.1-next.95+c09e96a",
13
13
  "@swimlane/connector-interfaces": "1.8.5-rc5",
14
14
  "@swimlane/cosign": "1.3.1",
15
15
  "@swimlane/docker-reference": "2.0.0",
@@ -89,6 +89,6 @@
89
89
  "posttest": "yarn lint",
90
90
  "dev:setup": "npm link"
91
91
  },
92
- "version": "2.0.1-next.90+845e364",
93
- "gitHead": "845e364b6c7161e6425543af6398f6bd090e2f79"
92
+ "version": "2.0.1-next.95+c09e96a",
93
+ "gitHead": "c09e96a6d90998ad63c8d234a5a303269ccc2577"
94
94
  }