Utility Actions
Append To List
Append an item to the end of a list. If the variable does not exist, the action will create a new list automatically.
Parameter | Description |
---|---|
Variable Name | The name of the variable. |
Item | Item to add to list. |
Generate MD5 Hash From String
Generates a MD5 hash from a string.
For example:
For input string: blink
, the returned generated MD5 hash will be: 40652ee9ae143f1c1c830f01a5449ecb
.
Parameter | Description |
---|---|
String | The MD5 hash will be calculated based on this string. |
Generate SHA1 Hash From String
Generates a SHA1 hash from a string.
For example:
For input string: blink
, the returned generated SHA1 hash will be: dcae3a7a7c14a77ef384f1c5df6e63edc780eba0
.
Parameter | Description |
---|---|
String | The SHA1 hash will be calculated based on this string. |
Generate SHA256 Hash From String
Generates a SHA256 hash from a string.
For example:
For input string: blink
, the returned generated SHA256 hash will be: e14a51fded1fb9b43de815d3832da099053b583f1d2c01d0495a70f118df426c
.
Parameter | Description |
---|---|
String | The SHA256 hash will be calculated based on this string. |
Generate UUID V4
Generates a random version 4 UUID.
Note: A Version 4 UUID is a universally unique identifier that is generated using random numbers. There is no warranty that the provided UUID is unique.
Run JP Command
Run a JSON path query command on a given JSON object.
Parameter | Description |
---|---|
JSON | JSON object to run the path query command on. |
Query | Path query command to run. |
Unquoted | If the final result is a string, it will be printed without quotes. |
Run JQ Command
Run a JSON query command on a given JSON object.
Parameter | Description |
---|---|
JSON | JSON object to run the query command on. |
Query | Query command to run. |
Get TLS Certificate Information
Retrieves information about the security certificate (TLS/SSL) used by an endpoint for encrypted communication.
Parameter | Description |
---|---|
Hostname | The hostname of the endpoint. |
Port | The port number of the endpoint. |
Check IP in CIDR
Checks if an IP address belongs to a specific network (CIDR block). Returns True
or False
.
For example: The given IP 192.168.1.10
, and the CIDR 192.168.1.0/24
will result in the output True
.
Parameter | Description |
---|---|
IP Address | The IP that needs to be checked as a plain string. |
CIDR | The network, represented as a CIDR. |
Get Epoch Time
Gets an epoch time specific or relative to a given time.
Parameter | Description |
---|---|
Time | Can be a specific date and hour, or a relative range. |
Epoch Format | Whether to display the epoch time as seconds or milliseconds. |
Convert CSV To JSON
Convert a CSV object to a JSON object.
Parameter | Description |
---|---|
CSV Object | CSV object to convert to the JSON format. |
Convert CSV To HTML Table
Convert a CSV object to an HTML Table.
Parameter | Description |
---|---|
CSV Object | CSV object to convert to an HTML Table format. |
Convert HTML To Markdown
Convert HTML string to Markdown.
Parameter | Description |
---|---|
HTML Content | The HTML string which will be converted to Markdown. For example, for the HTML string:<b>Automate Everything</b> With <a href="https://www.blinkops.com/">Blink Ops</a> The MD output will be: **Automate Everything** With [Blink Ops](https://www.blinkops.com/) |
Convert Markdown To HTML
Convert Markdown string to HTML.
Parameter | Description |
---|---|
Markdown Content | The Markdown string which will be converted to HTML. For example, for the MD string: [Blink Ops](https://www.blinkops.com/) The HTML output will be: <p><a href="https://www.blinkops.com/">Blink Ops</a></p> |
Get Time Difference Between Timestamps
Get Time Difference, in Seconds, Between Two Different Timestamps.
Parameter | Description |
---|---|
Timestamp 1 | The first Timestamp. Can be a specific date and hour, or a relative range. |
Timestamp 2 | The second Timestamp. Can be a specific date and hour, or a relative range. |
Find Earliest Date
Returns the earliest date from a given list of dates.
Parameter | Description |
---|---|
Date List | A comma separated list or JSON array containing date strings. Each date string can be in a variety of common date formats. For example:
Timezone Aware cannot be used along with Timezone Naive dates. All dates should either be in UTC format or have a clearly defined timezone. |
Find Latest Date
Returns the latest date from a given list of dates.
Parameter | Description |
---|---|
Date List | A comma separated list or JSON array containing date strings. Each date string can be in a variety of common date formats. For example:
Timezone Aware cannot be used along with Timezone Naive dates. All dates should either be in UTC format or have a clearly defined timezone. |
Print
Prints text to the output screen.
Parameter | Description |
---|---|
Text | The text to print. |
Get Timezone
Gets the timezone identifier from a latitude/longitude pair or from the current workspace.
Can be used in conjunction with the Get Timezone Offset
to get the amount of seconds after GMT.
Parameter | Description |
---|---|
Location Type | Choose how the location for the timezone should be provided. |
Latitude | The degrees latitude of the desired position to get the time for. |
Longitude | The degrees longitude of the desired position to get the time for. |
Get Timezone Offset
Gets the timezone offset (in seconds) relative to GMT from a IANA timezone identifier.
Parameter | Description |
---|---|
Timezone Identifier | The IANA timezone identifier, usually provided as <Country>/<City> .If given UTC , returns the offset of UTC time (0 ).Visit Wikipedia for a frequently updated list of names. For the most updated list, visit the IANA registry and download the distribution file. |
Generate Password
Generates secret password and stores it in a variable.
Parameter | Description |
---|---|
Variable Name | The name of the variable to store the generated password in. |
Password Length | The password length, default 10. |
Include Special Chars | [!-*] character set - !@#$%&* . |
Include Lowercase Chars | [a-z] character set - abcdedfghijklmnopqrst . |
Include Uppercase Chars | [A-Z] character set - ABCDEFGHIJKLMNOPQRSTUVWXYZ . |
Include Digit Chars | [0-9] character set - 0123456789 . |
Increment Variable
The Increment Variable utility action enables you to increment your variable by a value of one. You can choose the variable you would like to increment by selecting it from the dynamic dropdown menu.
Extend List
The Extend List utility action allows you to append an item to the end of your list or append a second list onto the end of your original list. You can choose the list you want to append to by clicking on the dynamic dropdown menu and selecting your preferred list.
Parameter | Description |
---|---|
Variable name | The name of the original list variable |
List to append | The name of second list to append. |
Value | Name of the item to append to the list |
The Extend List utility action enables you to:
- Append a variable to the end of an original list
- Append a second list to the end of an original list
- Append both a variable and a second list to the end of the original list