Skip to main content

Blink CLI Automations

Create and execute your automations.

Execute Automation

Executes a complete automation - in sync or async mode.

blink automations execute [flags]
FlagDescription
--idAutomation's ID (Required).
--inputsOptional json string for [inputs]. For example: '{''input_values'': {''key'':''value''}}'.

Automation History

Returns the list of audit commands per an execution.

blink automations history [flags]
FlagDescription
--idExecution's ID (Required).

Search Automation

Returns automations by a filter.

blink automations search [flags]
FlagDescription
--qQuery search string, for example: '{"limit": 25, "offset": 0, "filter": {"name": {"$gt": "k8s"}}}' (Required, filter is optional).

Create Automation

Creates an automation from a given YAML file.

blink automations create [flags]
FlagDescription
-f, --filePath to the automation file (Required).
-p, --pack-nameName of an automation pack to create the automation in.
-a, --publishPublish and activate the automation (Default: true).

Delete Automation

Deletes an automation by name or id.

blink automations delete [flags]
FlagDescription
-i, --idAutomation's ID.
-n, --nameAutomation's Name.

Get Automation

Gets an automation by name or id.

blink automations get [flags]
FlagDescription
-i, --idAutomation's ID.
-n, --nameAutomation's Name.

List Automations

List all available automations.

blink automations list

Update Automation

Updates an automation from a given YAML file.

blink automations update [flags]
FlagDescription
-f, --filePath to the automation file (Required).
-p, --pack-nameName of an automation pack to create the automation in.
-a, --publishPublish and activate the automation (Default: true).