Skip to main content

Exec Action Exec Icon

Exec Check executes a command or script file on the target host. The type of scripts executed include:

  • Bash scripts
  • Powershell scripts
FieldDescriptionSchemeRequired
scriptScript can be a inline script or a path to a script that needs to be executed. On windows executed via Powershell and in darwin and linux executed using bash.stringYes
connectionsConnections for some CLIsmap[string]string

ExecConnection

FieldDescriptionTypeRequired
awsAWS connectionAWSConnection
gcpGCP connectionGCPConnection
azureAzure connectionAzureConnection

AWSConnection

FieldDescriptionTypeRequired
connectionNameConnection namestring
accessKeyAccess keytypes.EnvVar
secretKeySecret keytypes.EnvVar
regionRegionstring
endpointEndpointstring
skipTLSVerifySkip TLS verifybool
objectPathObject pathstring
usePathStyleUse path stylebool

GCPConnection

FieldDescriptionTypeRequired
connectionNameConnection namestring
endpointEndpointstring
credentialsCredentialstypes.EnvVar

Azure Connection

FieldDescriptionTypeRequired
connectionNameConnection namestring
clientIDClient IDtypes.EnvVar
clientSecretClient Secrettypes.EnvVar
tenantIDTenant IDstring

Templating

The scripts you provide will be templated using the following variables:

FieldDescriptionType
configConfig itemConfigItem
componentComponentComponent
paramsThe run parametersmap[string]string