> 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/action-center/tenable/create-exclusion-on-tenable.md).

# Create Exclusion on Tenable

Creates a Tenable scan exclusion whose members are the matched assets. Optionally the exclusion has a schedule (start, end, time zone and frequency).

### Before you begin

* An API key pair for Tenable Vulnerability Management: an **Access Key** and a **Secret Key**, generated in the Tenable console under Settings - My Account - API Keys. The default **Domain** is `https://cloud.tenable.com`.
* Connection defaults (Domain, Access Key, Secret Key, Timeout, Verify SSL) can be saved once under **Action Center** > **Settings**. See [Action Center Settings](broken://pages/742bb94503961e05b5eaa95572a142f73cd7ecb2).
* Asset type: device only. Required columns: `Hostname`, `IpAddresses`.
* The exclusion name must be unique in the Tenable container. Members may be IPv4 addresses, ranges, CIDR or FQDNs.

### Settings

The job node shows these fields.

| Setting             | Type           | Required | Default                     | Description                                                                                               |
| ------------------- | -------------- | -------- | --------------------------- | --------------------------------------------------------------------------------------------------------- |
| Domain              | URL            | No       | <https://cloud.tenable.com> | Base URL of Tenable. Example: `https://cloud.tenable.com`.                                                |
| Access Key          | Sensitive text | Yes      | None                        | Generated in the Tenable console under Settings - My Account - API Keys. Masked after saving.             |
| Secret Key          | Sensitive text | Yes      | None                        | The secret key of the same key pair. Masked after saving.                                                 |
| Timeout             | Number         | No       | 30                          | Request timeout in seconds.                                                                               |
| Verify SSL          | Boolean        | No       | On                          | Verify the TLS certificate of the Tenable host.                                                           |
| Retry on Rate Limit | Boolean        | No       | On                          | Retry a request once when Tenable answers 429, waiting for the `retry-after` header (at most 60 seconds). |
| Maximum Assets      | Number         | No       | 5000                        | Upper bound on how many assets a single request body may carry. Extra assets are logged and skipped.      |
| Exclusion Name      | Text           | Yes      | None                        | Must be unique in the container. Example: `OctoXLabs - Production servers`.                               |
| Description         | Text           | No       | None                        | Optional description of the exclusion.                                                                    |
| Target Field        | Choice         | No       | Hostname                    | Asset column used as the exclusion member. Choices: `Hostname`, `IpAddresses`.                            |
| Start Time          | Date and time  | No       | None                        | Leave empty to create the exclusion without a schedule.                                                   |
| End Time            | Date and time  | No       | None                        | End of the exclusion window.                                                                              |
| Timezone            | Text           | No       | UTC                         | Example: `America/New_York`.                                                                              |
| Frequency           | Choice         | No       | ONETIME                     | Choices: `ONETIME`, `DAILY`, `WEEKLY`, `MONTHLY`, `YEARLY`.                                               |

### How it works

* The job takes the **Target Field** values of the matched devices (cut to **Maximum Assets**), skips devices that have no value, and removes duplicates.
* It sends one request, `POST /exclusions`, with the name, the members as a comma-separated list, and the description when set.
* A schedule is added only when both **Start Time** and **End Time** are set. If only one of them is set, the exclusion is created without a schedule. The times are converted to wall-clock time in **Timezone**. For any **Frequency** other than `ONETIME` the schedule repeats at an interval of 1. An unknown time zone fails the job.
* No member could be built: the job logs it and does not create the exclusion.
* A failed request fails the job, for example when the name already exists (Tenable answers 409).
* The job passes the matched assets it received on to the next node unchanged.

### Example

Exclude production servers from scans during a weekly maintenance window.

| Setting        | Value                            |
| -------------- | -------------------------------- |
| Domain         | `https://cloud.tenable.com`      |
| Access Key     | `YOUR_ACCESS_KEY`                |
| Secret Key     | `YOUR_SECRET_KEY`                |
| Exclusion Name | `OctoXLabs - Maintenance window` |
| Target Field   | `IpAddresses`                    |
| Start Time     | `2026-11-01 02:00`               |
| End Time       | `2026-11-01 04:00`               |
| Timezone       | `UTC`                            |
| Frequency      | `WEEKLY`                         |

### 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><a href="broken://pages/ed78ac5bacec4909acb71c776dd17d62cfa78748">Broken link</a></td></tr><tr><td><strong>Action Center Settings</strong></td><td>Save connection defaults for Tenable jobs.</td><td><a href="broken://pages/742bb94503961e05b5eaa95572a142f73cd7ecb2">Broken link</a></td></tr><tr><td><strong>Launch Scan on Matched Assets on Tenable</strong></td><td>Launch an existing Tenable scan against the matched assets instead of its saved targets.</td><td><a href="broken://pages/e935a356168db2402abef004dce68ce83cf63a3e">Broken link</a></td></tr></tbody></table>

{% hint style="info" %}
Available starting from version 6.7.2.
{% endhint %}
