# Tenable

## Trigger an Automated Scan in Tenable

<figure><img src="https://372186556-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-M8s1QY2Q6YTHB4a6DMu%2Fuploads%2F8OSPK1SPMdhNGDauvX2O%2F9.png?alt=media&#x26;token=dc570eb0-c27f-4e0e-b1a1-4cfd71bbad08" alt=""><figcaption></figcaption></figure>

The purpose of this example is to schedule a [vulnerability scan in Tenable](https://www.tenable.com/source/vulnerability-assessment) when a Project is created in AttackForge.

This example Flow can be downloaded from our [Flows GitHub Repository](https://github.com/AttackForge/Flows) and [imported](#importing-exporting-flows) into your AttackForge.

**Initial Set Up**

* **Event**: Project Created
* **Secrets**:
  * tenable\_auth - your [Tenable API Key](https://docs.tenable.com/vulnerability-management/Content/Settings/my-account/GenerateAPIKey.htm)

**Action 1 - Schedule Vulnerability Scan in Tenable**&#x20;

* **Method**: \<insert>
* **URL**: \<insert>
* **Headers**:
  * Key = Accept; Type = Value; Value = application/json
  * Key = Content-Type; Type = Value; Value = application/json
  * Key = Authorization; Type = Secret; Value = tenable\_auth
* **Request Script**:

```javascript
<insert>
```

* **Response Script**:

```javascript
<insert>
```
