> For the complete documentation index, see [llms.txt](https://docs.octoxlabs.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.octoxlabs.com/documentation/action-center/action-center-settings.md).

# Action Center Settings

Set default values for Action Center jobs and manage the SSH connections that Linux, Docker and file-copy jobs use.

**Action Center** > **Settings** holds two things: default values for each job, and SSH connections. Use it to enter an integration's URL, token or recipient list once, so every new job node of that integration starts filled in.

### Before you begin

* Applies to: OctoXLabs 6.x. Confirm the minimum version before publishing.
* Required permission to open the page: `workflows.view_jobsettings` or `workflows.view_sshsettings`.
* Required permission to save job defaults: `workflows.change_jobsettings`.
* Required permissions for SSH connections: `workflows.add_sshsettings`, `workflows.change_sshsettings` and `workflows.delete_sshsettings` (each one also needs `workflows.view_sshsettings`).
* The credentials of the target system, for example a Jira API token or an AWS access key.

### What lives here and what does not

| Setting                                                              | Where you configure it                                             |
| -------------------------------------------------------------------- | ------------------------------------------------------------------ |
| Default values for a job (URL, token, project, recipients and so on) | **Action Center** > **Settings**, one tab per job                  |
| SSH connections for Linux, Docker and file-copy jobs                 | **Action Center** > **Settings** > **SSH Configurations**          |
| The mail server that **Send Mail** sends through                     | Platform settings, not Action Center. See SMTP.                    |
| Adapter credentials that collect your data                           | The adapter connection, not Action Center. See Connect an adapter. |

{% hint style="info" %}
Settings are defaults, not shared connections. When you add a job node, its form is pre-filled from the saved defaults. When you save the job, any option you left out is filled from the defaults. A job that is already saved keeps its own values, so changing a default later does not change existing workflows.
{% endhint %}

### How the screen is laid out

The left side lists one tab per integration group (for example General, Slack, Jira, AWS), followed by **SSH Configurations**. Pick a group, then pick a job from the tabs across the top. Each job tab shows the same fields as the job node, without the inventory selection. All fields are optional on this screen, so you can save a partial set of defaults.

### Set job defaults

{% stepper %}
{% step %}

#### Open the settings

Go to **Action Center** > **Settings**.
{% endstep %}

{% step %}

#### Pick the integration and the job

Select the integration group on the left, then the job tab, for example **Jira** > **Create Issue/Ticket on Jira Cloud**.
{% endstep %}

{% step %}

#### Fill in the defaults

Enter the values you want new job nodes to start with. Secret fields such as API tokens and secrets are masked after saving.
{% endstep %}

{% step %}

#### Save

Click **Save**. The console shows **Settings saved**.
{% endstep %}
{% endstepper %}

Settings are saved per job, so a group with several jobs (for example Jira Cloud and Jira Self-Hosted, or each AWS job) has several tabs, and each one needs its own values.

### Job settings by integration family

Field labels are the labels shown in the job form. Jobs in the same integration usually share the same connection fields and add their own action fields.

#### Notification jobs

| Job                                | Fields                                                                                                                   |
| ---------------------------------- | ------------------------------------------------------------------------------------------------------------------------ |
| Send Mail                          | To, Cc, Subject, Body, Send with attachment., Attachment File Type (CSV or XLSX). Needs the platform SMTP configuration. |
| Run Webhook                        | URL, Method (get, post or put).                                                                                          |
| Slack: Send Notification           | Hook url (a Slack incoming webhook URL).                                                                                 |
| Microsoft Teams: Send Notification | Incoming webhook url.                                                                                                    |
| OctoXLabs: Create Notification     | Users, Title, Detail (Title and Detail are limited to 41 characters).                                                    |

#### Ticketing and ITSM jobs

| Job                                   | Connection fields                                     | Other fields                                                                                                                                                                        |
| ------------------------------------- | ----------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Jira Cloud: Create Issue/Ticket       | URL, Email, API Token                                 | Project Key, Issue Type, Account Assignee ID, Custom fields, Create with file as attachment                                                                                         |
| Jira Self-Hosted: Create Issue/Ticket | URL, Username, Password or Personal Access Token      | Project Key, Issue Type, Assignee Username, Custom fields, Create with file as attachment                                                                                           |
| Manage Engine Service Desk            | URL, API Token                                        | Requester E-Mail, Technician E-Mail, Group Name, Request Type Name, Status Name, Category Name, Sub Category Name, Item Name, Priority Name, Subject, Description, Extra Parameters |
| Service Now: Create Service Now Task  | Domain, Username, Password                            | Catalog Item ID, Quantity, Variables, Timeout                                                                                                                                       |
| Github: Create Issue                  | Domain, Access Token                                  | Issue Title                                                                                                                                                                         |
| Microsoft Dynamics 365: Create Case   | Organization URL, Tenant ID, Client ID, Client Secret | Customer Type                                                                                                                                                                       |

#### Identity and directory jobs

| Job family                         | Connection fields                                           |
| ---------------------------------- | ----------------------------------------------------------- |
| Okta (all jobs)                    | Okta Domain, API Token, Request Timeout                     |
| Google Workspace (all jobs)        | Service Account Key, Workspace Admin Email, Request Timeout |
| SharePoint (all jobs)              | Tenant ID, Client ID, Client Secret, SharePoint Domain      |
| Slack user, group and channel jobs | Slack Domain, Slack API Token                               |

#### Endpoint and security tool jobs

| Job family                                                                                                    | Connection fields                                                                                                             |
| ------------------------------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------------------------------------------- |
| CrowdStrike Falcon (Contain Host, Lift Containment, Hide Host, Unhide Host, Add to or Remove from Host Group) | CrowdStrike API Domain, Client ID, Client Secret, Request Timeout. Add to or Remove from Host Group also needs Host Group ID. |
| SentinelOne (all jobs)                                                                                        | SentinelOne Domain, API Token, Timeout                                                                                        |
| Tenable (all jobs)                                                                                            | Domain, Access Key, Secret Key, Timeout, Verify SSL                                                                           |

CrowdStrike jobs act only on assets that carry a CrowdStrike device ID from the CrowdStrike adapter, so the adapter must be connected and discovered first.

#### Cloud and infrastructure jobs

| Job family                        | Connection fields                                                           |
| --------------------------------- | --------------------------------------------------------------------------- |
| AWS (all jobs)                    | Aws access key id, Aws secret access key, Aws region                        |
| Google Cloud (all jobs)           | Service Account Key, Request Timeout                                        |
| Microsoft Azure: Create Azure Tag | Authorization Scope, Tenant ID, Client ID, Client Secret, API Version, Tags |
| Hetzner (all jobs)                | API Token, Server ID, Timeout                                               |

#### Jobs that use an SSH connection

These jobs have a field where you choose one of your SSH connections by name instead of typing credentials.

| Job                                      | Fields                                              |
| ---------------------------------------- | --------------------------------------------------- |
| Linux Start, Restart and Stop Service    | SSH connection, Service name, Use Sudo              |
| Docker Start, Restart and Stop Container | SSH connection, Container ID, Use Sudo              |
| SFTP Copy To, SCP Copy To                | SSH connection, plus file name and directory fields |

FTP Copy To, SMB Copy To and WinRM Copy To do not use SSH connections. They carry their own host and credential fields.

{% hint style="warning" %}
Not every secret field is masked. Fields that the product marks as sensitive (for example the Jira API Token, CrowdStrike Client Secret and Tenable keys) show as ten asterisks after saving. Other token fields, such as the Okta and SentinelOne API Token, are plain text fields. Restrict `workflows.view_jobsettings` accordingly.
{% endhint %}

### Manage SSH connections

Open **Action Center** > **Settings** > **SSH Configurations**. The list shows Name, Username, Host or IP, Port, Connection Method, Status (Success or Failed) and Host Path.

| Field                      | Description                                                              |
| -------------------------- | ------------------------------------------------------------------------ |
| Name                       | The name you pick in a job's SSH connection field.                       |
| Username                   | The account on the remote host.                                          |
| Host or IP                 | The remote host name or address.                                         |
| Port                       | The SSH port. The default is 22.                                         |
| Timeout                    | Seconds to wait for a command. 0 uses the product default.               |
| Authentication Type        | **Password** or **Private Key**.                                         |
| Password                   | Shown for **Password**.                                                  |
| Private Key and Passphrase | Shown for **Private Key**. Upload the key file and enter its passphrase. |
| Host Path                  | The directory on the remote host that files are copied to.               |

{% stepper %}
{% step %}

#### Create the connection

Click **Create SSH Connection**, fill in the fields and click **Create**. The console shows **SSH Configuration has been created**.
{% endstep %}

{% step %}

#### Test it

Click **Connection Test**. OctoXLabs connects, opens an SFTP session and writes a small file named `octoxlabs.txt` into the Host Path. On success the console shows **SSH connection test successful**.
{% endstep %}

{% step %}

#### Edit or delete it

Use the edit and delete actions in the list. When you edit a connection and leave the password or key empty, the stored secret is kept. If you switch from password to key, or the other way round, the old secret is removed.
{% endstep %}
{% endstepper %}

### Verify the result

* For job defaults: open a new workflow, click **Add Job Node**, add the job, and check that the form is pre-filled with your defaults.
* For an SSH connection: the **Status** column shows **Success** after a passing connection test.

### Troubleshooting

| Symptom or error message                                  | Cause                                                                                                | Fix                                                                        |
| --------------------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------- |
| **Action Center** > **Settings** is missing from the menu | The role has neither `workflows.view_jobsettings` nor `workflows.view_sshsettings`.                  | Add the permission to the role.                                            |
| **Save** does not work on a job tab                       | The role lacks `workflows.change_jobsettings`.                                                       | Add the permission to the role.                                            |
| `<name> SSH cannot connect: ...`                          | The host, port, user or credentials are wrong, or the host is unreachable from the OctoXLabs server. | Check the values and the network path, then run **Connection Test** again. |
| `<name> SSH cannot open sftp: ...`                        | The host accepts SSH but has no SFTP subsystem for this user.                                        | Enable SFTP for the user.                                                  |
| **Status** shows **Failed**                               | The last connection or job run that used this connection failed.                                     | Fix the cause and run **Connection Test**.                                 |
| **SSH settings not found** in a job run                   | The SSH connection chosen in the job was deleted.                                                    | Edit the job node and choose another connection.                           |
| A mail job fails although the settings are saved          | The platform SMTP configuration is missing or wrong.                                                 | Configure and test SMTP.                                                   |

### What's next?

<table data-view="cards"><thead><tr><th></th><th></th><th data-hidden data-card-target data-type="content-ref"></th></tr></thead><tbody><tr><td><strong>About Action Center</strong></td><td>Workflows, triggers, conditions and job nodes.</td><td></td></tr><tr><td><strong>Rules and Triggers</strong></td><td>Choose when a workflow runs and what it checks.</td><td></td></tr><tr><td><strong>Sample Workflow</strong></td><td>Build a workflow with the settings you saved.</td><td></td></tr><tr><td><strong>SMTP</strong></td><td>Set up the mail server that Send Mail uses.</td><td></td></tr></tbody></table>
