> ## Documentation Index
> Fetch the complete documentation index at: https://docs.levelblue.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Tenable Sensor Deployment for GCP

**To deploy the Tenable sensor for GCP**

1. Log into the Google Cloud Platform (GCP) console.
2. Navigate to **Compute Engine**, and then select **VM Instances**.
3. Click **Create Instance**.
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_CreateInstance.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=75bc709d66c5d7e564cf29484d6501cf" alt="GCP Create Instance" width="798" height="365" data-path="images/usm-anywhere/GCP_CreateInstance.png" />
   </Frame>
4. Enter a **Name** for the Tenable Sensor, and select the checkbox of the instance type.
5. Click **Create**.
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_MachineConfig.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=d6b6cd51cf3d7a423d0ccf357ee0d72b" alt="GCP Machine Config" width="784" height="411" data-path="images/usm-anywhere/GCP_MachineConfig.png" />
   </Frame>
6. Wait until the VM instance is created and listed. It should have a green check status.
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_VMstatus.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=bcb4b2370754e907b33284300d3e98f4" alt="GCP V Mstatus" width="801" height="365" data-path="images/usm-anywhere/GCP_VMstatus.png" />
   </Frame>
7. Connect to the VM instance by clicking the **SSH** of the created instance.
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_VMinstanceSSH.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=66d501b3131ca4fe826840cfdebaf7bf" alt="GCP V Minstance SSH" width="800" height="368" data-path="images/usm-anywhere/GCP_VMinstanceSSH.png" />
   </Frame>
   A console opens up after clicking SSH.
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_SSH.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=91380e2c8ba0aecb0a710469335d4326" alt="GCP SSH" width="782" height="388" data-path="images/usm-anywhere/GCP_SSH.png" />
   </Frame>
8. Check the Linux OS version in the Tenable sensor:
   ```text wrap theme={null}
   cat/etc/os-release
   ```
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_LinuxOSver.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=201461e95b6281e0275367804b387db0" alt="GCP Linux O Sver" width="785" height="385" data-path="images/usm-anywhere/GCP_LinuxOSver.png" />
   </Frame>
   <Info>
     Based on the screenshot above, the Linux OS is Debian 12.
   </Info>
9. Get the latest Debian version of the Tenable scanner:
   ```text wrap theme={null}
   wget https://www.tenable.com/downloads/api/v2/pages/nessus/files/Nessus-10.11.3-debian10_amd64.deb
   ```
   <Frame>
     <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_Debian.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=98bcd08964498a9020c7510a2b4ff52d" alt="GCP Debian" width="827" height="186" data-path="images/usm-anywhere/GCP_Debian.png" />
   </Frame>
10. Check for the downloaded deb package of the Nessus Tenable scanner.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_DebPackage.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=136ed36489fbe3291fbb727c802b7e96" alt="GCP Deb Package" title="GCP Deb Package" className="mx-auto" style={{ width:"78%" }} width="689" height="139" data-path="images/usm-anywhere/GCP_DebPackage.png" />
    </Frame>
11. Install the deb package using dpkg:
    ```text wrap theme={null}
    # sudo dpkg -I Nessus-10.11.3-debian10_amd64.deb
    ```
12. Install the package.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_InstallPkg.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=85d439d51b72dc5853f231fd71b3b71f" alt="GCP Install Pkg" width="663" height="475" data-path="images/usm-anywhere/GCP_InstallPkg.png" />
    </Frame>
13. Start the nessusd.service:
    ```text wrap theme={null}
    # sudo /bin/systemct1 start nessusd.service
    ```
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_NessusSvc.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=f3e4fa3c3a5551a092f7d6f988f835ea" alt="GCP Nessus Svc" width="659" height="81" data-path="images/usm-anywhere/GCP_NessusSvc.png" />
    </Frame>
14. Enable the nessusd.service:
    ```text wrap theme={null}
    # sudo /bin/systenctl enable nessusd.service
    ```
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_EnableNessusSvc.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=b81a7db822b17ac1ade2e34bd2faf281" alt="GCP Enable Nessus Svc" width="660" height="62" data-path="images/usm-anywhere/GCP_EnableNessusSvc.png" />
    </Frame>
15. Log into [cloud.tenable.com](http://cloud.tenable.com) to get the Linking Key.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_TenableCloud.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=d38dfed116ebc3dd0e6f9a643c4ab52d" alt="GCP Tenable Cloud" width="775" height="377" data-path="images/usm-anywhere/GCP_TenableCloud.png" />
    </Frame>
16. Click the burger menu, and then select **Settings**.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/gU7T8wrJm1xDJZ8S/images/usm-anywhere/Azure_burgermenu.png?fit=max&auto=format&n=gU7T8wrJm1xDJZ8S&q=85&s=26b9f8983c6f70e606e1387cc672f917" alt="Azure Burgermenu" width="777" height="153" data-path="images/usm-anywhere/Azure_burgermenu.png" />
    </Frame>
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/YkIdbcABeK3EmZmy/images/usm-anywhere/HyperV_TenableCloud.png?fit=max&auto=format&n=YkIdbcABeK3EmZmy&q=85&s=2330448bc7bd75e3377aff6097bb42a5" alt="Hyper V Tenable Cloud" title="Hyper V Tenable Cloud" className="mx-auto" style={{ width:"83%" }} width="1045" height="541" data-path="images/usm-anywhere/HyperV_TenableCloud.png" />
    </Frame>
17. Select **Sensors**.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/YkIdbcABeK3EmZmy/images/usm-anywhere/HyperV_TenableCloudSensors.png?fit=max&auto=format&n=YkIdbcABeK3EmZmy&q=85&s=21fb00910c942f497f8912ccd4e34195" alt="Hyper V Tenable Cloud Sensors" title="Hyper V Tenable Cloud Sensors" className="mx-auto" style={{ width:"87%" }} width="1060" height="573" data-path="images/usm-anywhere/HyperV_TenableCloudSensors.png" />
    </Frame>
18. Click **Add Nessus Scanner** to view the Linking Key.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/YkIdbcABeK3EmZmy/images/usm-anywhere/HyperV_AddNessusScanner.png?fit=max&auto=format&n=YkIdbcABeK3EmZmy&q=85&s=09386c25a7d3dbd75e1312cc6c001ba3" alt="Hyper V Add Nessus Scanner" title="Hyper V Add Nessus Scanner" className="mx-auto" style={{ width:"90%" }} width="1046" height="501" data-path="images/usm-anywhere/HyperV_AddNessusScanner.png" />
    </Frame>
19. Copy the **Linking Key**.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/tubUKQ2fVKKngwCT/images/usm-anywhere/HyperV_CopyLinkingKey1.png?fit=max&auto=format&n=tubUKQ2fVKKngwCT&q=85&s=0d268f117316f4d33b84e0c60680ac56" alt="Hyper V Copy Linking Key" title="Hyper V Copy Linking Key" className="mx-auto" style={{ width:"93%" }} width="1038" height="547" data-path="images/usm-anywhere/HyperV_CopyLinkingKey1.png" />
    </Frame>
20. In the Tenable sensor CLI, use the Linking Key to link the Tenable sensor:
    ```text wrap theme={null}
    sudo /opt/nessus/sbin/nessuscli managed link --key=”Linking Key” –cloud
    ```
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_LinkTenableSensor.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=0981f6170c2dc35dfbc53517e83ea4ca" alt="GCP Link Tenable Sensor" width="792" height="39" data-path="images/usm-anywhere/GCP_LinkTenableSensor.png" />
    </Frame>
    Once done, you should see a "**Successfully linked**" message.
21. Return to the Tenable cloud page, and verify that the Tenable sensor is linked correctly and is in **Online** status.
    <Frame>
      <img src="https://mintcdn.com/levelblue-5324744e/rZYqRuu8SvxP90bm/images/usm-anywhere/GCP_SensorOnline.png?fit=max&auto=format&n=rZYqRuu8SvxP90bm&q=85&s=be7665a990ca73947f1d81e8ecdb3898" alt="GCP Sensor Online" width="789" height="285" data-path="images/usm-anywhere/GCP_SensorOnline.png" />
    </Frame>

<Warning>
  **VERIFICATION / TROUBLESHOOTING**

  * If the sensor does not link properly:
    * Re-check the outbound TCP 443 access to [sensor.cloud.tenable.com](http://sensor.cloud.tenable.com) and [plugins.nessus.org](http://plugins.nessus.org).
    * Make sure the Linking Key is correct and not expired.
  * If the scans do not find hosts:
    * Confirm that the scanner can reach the target network (routing, security groups/NSGs, and target host firewalls).
    * For credential scans, confirm that the credentials work and the required auth ports are reachable.
</Warning>
