You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- "1.4.2 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities"
37
-
- "1.4.1 - Initial updates for fedramp compliance | Updated SDK to the latest version"
38
-
- "1.4.0 - New action Replace"
39
-
- "1.3.1 - Update to v4 Python plugin runtime"
40
-
- "1.3.0 - New action Length | Add example inputs"
41
-
- "1.2.1 - New spec and help.md format for the Extension Library"
42
-
- "1.2.0 - New action Trim"
43
-
- "1.1.0 - New action Set Encoding"
44
-
- "1.0.1 - Update plugin tag from `util` to `utilities` for Marketplace searchability"
45
-
- "1.0.0 - Initial plugin"
37
+
- 1.4.3 - Updated SDK to the latest version (6.2.5)
38
+
- 1.4.2 - Updated SDK to the latest version (v6.2.2) | Address vulnerabilities
39
+
- 1.4.1 - Initial updates for fedramp compliance | Updated SDK to the latest version
40
+
- 1.4.0 - New action Replace
41
+
- 1.3.1 - Update to v4 Python plugin runtime
42
+
- 1.3.0 - New action Length | Add example inputs
43
+
- 1.2.1 - New spec and help.md format for the Extension Library
44
+
- 1.2.0 - New action Trim
45
+
- 1.1.0 - New action Set Encoding
46
+
- 1.0.1 - Update plugin tag from `util` to `utilities` for Marketplace searchability
47
+
- 1.0.0 - Initial plugin
46
48
troubleshooting:
47
-
- "`Split String to Object`: if the input contains multiple key:value pairs and these pairs are separated from each other by a space, and the keys and values within each pair are separated by an equal sign we can follow the below example:\n\n + Example text: `Computer_ID=\"bef41e8b-47b8-e188-8e43-3a2b662dd55d\" Computer_Name=\"dgdemo\\RGWin64\" Computer_Type=\"Windows\"`\n + Example Input: `{\"block_delimiter\": \"\",\"string\":\n\"Computer_ID=\"bef41e8b-47b8-e188-8e43-3a2b662dd55d\" Computer_Name=\"dgdemo RGWin64\" Computer_Type=\"Windows\",\"string_delimiter\": \"=\"}`\n + Example output: `{ \"object\": { \"Computer_ID\": \"bef41e8b-47b8-e188-8e43-3a2b662dd55d\", \"Computer_Name\": \"dgdemo RGWin64\", \"Computer_Type\": \"Windows\" } }`\n\n"
48
-
- "There may be complex string manipulation needs that are likely outside the scope of this plugin. If this is the case, consider using the Python 3 Script plugin instead."
49
+
- "`Split String to Object`: if the input contains multiple key:value pairs and these
50
+
pairs are separated from each other by a space, and the keys and values within each
51
+
pair are separated by an equal sign we can follow the below example:\n\n + Example
description: Error handler to use for encoding and decoding
75
86
enum:
76
-
- "strict"
77
-
- "replace"
78
-
- "ignore"
87
+
- strict
88
+
- replace
89
+
- ignore
79
90
required: true
80
91
example: ignore
81
92
output:
@@ -91,17 +102,17 @@ actions:
91
102
input:
92
103
string:
93
104
title: String Input
94
-
description: "String to break into an array"
105
+
description: String to break into an array
95
106
type: string
96
107
required: true
97
-
example: "This,is,a,sentence"
108
+
example: This,is,a,sentence
98
109
delimiter:
99
110
title: Delimiter
100
111
description: The character used to split the string into slices for the list.
101
112
The default is a newline, if not provided by the user
102
113
type: string
103
114
required: false
104
-
example: ","
115
+
example: ','
105
116
output:
106
117
list:
107
118
type: '[]string'
@@ -111,29 +122,40 @@ actions:
111
122
example: '["This", "is", "a", "sentence"]'
112
123
split_to_object:
113
124
title: Split String to Object
114
-
description: "This action is used to convert a string to an object containing key:value strings.\n\nAny input requiring more than a single key:value pair, e.g. `USER=Bob` needs to use the `block_delimiter` option. In this case, the input string is split by the `block_delimiter` character first, and the resulting items are then split by the `string_delimiter` option. Stripping of double-quotes is automatically applied in this situation for each item before the plugin returns it.\n\nThe [output object](https://docs.komand.com/v0.42.1/docs/python-script-plugins#section-configure-the-plugin-output-schema) on the action's page can be modified to pre-populate the workflow with the names of the keys. It allows users the ability to use the green selector and choose a specific variable later in the workflow by name. [Input templating](https://docs.komand.com/docs/input-templating) would need to be used to obtain variables by name otherwise.\n\nPlease refer to troubleshooting section for a more complex example"
125
+
description: "This action is used to convert a string to an object containing
126
+
key:value strings.\n\nAny input requiring more than a single key:value pair,
127
+
e.g. `USER=Bob` needs to use the `block_delimiter` option. In this case, the
128
+
input string is split by the `block_delimiter` character first, and the resulting
129
+
items are then split by the `string_delimiter` option. Stripping of double-quotes
130
+
is automatically applied in this situation for each item before the plugin returns
0 commit comments