Skip to main content

Connect Tenable Cloud Security to Secure.com

Tenable Cloud Security is a cloud-native application protection platform (CNAPP) that finds the misconfigurations, risky entitlements, vulnerabilities, and exposed sensitive data in your cloud accounts.

M
Written by Matt

Tenable Cloud Security is a cloud-native application protection platform (CNAPP) that finds the misconfigurations, risky entitlements, vulnerabilities, and exposed sensitive data in your cloud accounts. Secure.com reads your cloud accounts, resources, vulnerabilities, and misconfiguration findings from it, with a read-only API token you create.

What it is for

Connect Tenable Cloud Security to see its cloud data in Secure.com, next to the data from your other security tools. You create one read-only API token in Tenable Cloud Security and enter it in Secure.com. Secure.com reads your data through Tenable Cloud Security with that token, over HTTPS on port 443, from its own systems. Nothing is installed in your cloud accounts, and your network needs no inbound access or change.

Before you start

You need each of these to finish the setup.

  • Access to the Tenable Cloud Security console, with permission to open Settings > API and create tokens.

  • A Secure.com login that can add integrations.

  • Your console address: https://app.tenable.com for most customers, or https://app.tenable.us for US Government. If your console has another address, contact Secure.com support at [email protected] before you continue.

Set it up

Follow the stages in order.

Create an API token

  1. Sign in to the Tenable Cloud Security console.

  2. Go to Settings > API.

  3. In the Organization tree, keep the entire Organization selected, which is the default. If you select a folder or a single account, Secure.com sees only those accounts.

  4. Click + Add Token.

  5. Name it, for example Secure.com.

  6. Select the Viewer role. The Viewer role cannot change anything.

  7. Click Add Token.

  8. Copy the token. It is shown only once.

Note: Send the token only through the Secure.com integration screen, never by email or chat.

Connect Tenable Cloud Security in Secure.com

  1. In Secure.com, go to Integrations > Library > Tenable Cloud Security.

  2. In API Secret, enter the token you created.

  3. If your console is app.tenable.com, leave API URL at its default, https://app.tenable.com/api/graph.

  4. If your console is app.tenable.us, for US Government, enter https://app.tenable.us/api/graph in API URL.

  5. Click Confirm.

  6. Turn on each module that Secure.com lists for this connection.

  7. Click Import.

The Tenable Cloud Security connection form in Secure.com. A guide panel is on the left, with the modules this integration powers below it. On the right are the integration name, the integration description, the API Secret, and the API URL, which shows <a href="https://app.tenable.com/api/graph" rel="nofollow noopener noreferrer" target="_blank">https://app.tenable.com/api/graph</a>. The Cancel and Confirm buttons are at the bottom.

Permissions

The connection needs this permission in your tool to do its work.

  • Viewer role

Your organization holds this permission, not Secure.com:

  • Permission to open Settings > API and create tokens (held by the person who sets it up)

The permissions page of Tenable Cloud Security shows the access each permission gives, whether it is required, and who holds it.

What it collects

Secure.com gets this data through the Tenable Cloud Security connection:

  • Your cloud accounts: the AWS, Azure, GCP, OCI, and Alibaba Cloud accounts Tenable Cloud Security monitors for you.

  • Your cloud resources: the inventory in those accounts, including virtual machines and container images.

  • Your vulnerabilities: the open and resolved vulnerabilities on virtual machines, container images, in-use machine images, and functions.

  • Your misconfiguration findings: the open, closed, and ignored findings.

  • Your risk exclusions: the exclusions you set in Tenable Cloud Security.

Note: If you also connect Tenable Vulnerability Management, Secure.com reads Tenable's plugin catalog once a day with that connection's API keys. It adds each plugin's CVE list and affected products to your Tenable Cloud Security vulnerabilities. Without Tenable Vulnerability Management, those vulnerabilities show only the plugin ID and name that Tenable Cloud Security sends.

How often: Secure.com reads your data once a day, and each read takes your full inventory and your vulnerabilities again. The first read takes every open finding and the findings closed in the last 90 days, and later reads take what changed. Your data starts to appear within 24 hours, and a large environment can take longer on the first read. Secure.com closes a finding at the next read after Tenable Cloud Security resolves it. A cloud account you add later is picked up at the next read, if the token covers the whole Organization.

Check that it works

After you click Import, the card of the connection shows Integrating while Secure.com checks the token. Secure.com asks Tenable Cloud Security how many cloud accounts the token can see. If the check passes, Secure.com shows the message Integration Validation Successful, and the card shows Active. If the check fails, Secure.com shows the message Integration Validation Failed, and the card shows Failed. To find the cause, read Common problems.

To test the token yourself from a terminal:

  1. If your console is app.tenable.com, run this command. It asks Tenable Cloud Security how many cloud accounts the token can see:

    curl -s -w "\n%{http_code}\n" -X POST "https://app.tenable.com/api/graph" \
      -H "Authorization: Bearer <API_TOKEN>" \
      -H "Content-Type: application/json" \
      -d '{"query": "{ Accounts(first: 1) { totalCount } }"}'

  2. If your console is app.tenable.us, for US Government, run this command instead:

    curl -s -w "\n%{http_code}\n" -X POST "https://app.tenable.us/api/graph" \
      -H "Authorization: Bearer <API_TOKEN>" \
      -H "Content-Type: application/json" \
      -d '{"query": "{ Accounts(first: 1) { totalCount } }"}'

  3. Read the last two lines of the output. The line before the last holds the response with totalCount. The last line is the HTTP status.

  4. Check the result. A 200 status with a totalCount above 0 means the token works and sees your cloud accounts.

  5. If the status is 302 or 401, Tenable Cloud Security did not accept the token. Read the 302 or 401 item in Common problems.

  6. If totalCount is 0, the token sees no cloud accounts. Read the totalCount of 0 item in Common problems.

  7. If the status is any other code, or curl reports an error, read Common problems.

To check the connection again after you fix a cause from Common problems:

  1. Click the settings icon on the card of the connection.

  2. If a value is wrong, enter the corrected value in API Secret or API URL.

  3. Click Confirm.

  4. Keep at least one module turned on.

  5. Click Update.

The card shows Integrating while Secure.com checks the connection again.

Common problems

If the connection does not work, look for your problem in this list. After you create a new token, update the connection with it, as in Check that it works.

  • The card shows Failed, and the token test returns 302 or 401. The token is wrong, expired, or deleted. Create a new token, as in Create an API token.

  • The card shows Failed, and the token test returns a totalCount of 0. The token's scope is empty, or Tenable Cloud Security monitors no cloud account yet. If the token was created for part of the Organization, create a new token with the whole Organization selected. If Tenable Cloud Security monitors no cloud account, onboard one there first. Then check the connection again, as in Check that it works.

  • The card shows Failed, and API URL holds another address. API URL must hold the address for your console, https://app.tenable.com/api/graph or https://app.tenable.us/api/graph. Update the connection with the right one, as in Check that it works.

  • The card shows Active, but findings or cloud resources do not appear in Secure.com. If the data is still missing after the time How often gives, the token's role might not be able to read it. If the token does not have the Viewer role, create a new token with it, as in step 6 of Create an API token.

  • The card shows Failed, but the token test returns 200 and a totalCount above 0. Tenable Cloud Security could not answer the check at that moment. It might have limited the rate of requests, returned a server error, or failed the secure (TLS) connection. Wait a few minutes. Then check the connection again, as in Check that it works. If the card still shows Failed, contact Secure.com support at [email protected].

  • The card shows Failed, and the token test returns 403. The token's role cannot read what the check asks for. Create a new token with the whole Organization selected and the Viewer role, as in Create an API token.

  • The token test prints 429 or a 5xx code, or curl reports a connection error. Tenable Cloud Security could not answer the test, or your network blocked the call. Wait a few minutes. Then run the test again. If it still fails, contact Secure.com support at [email protected].

  • Fewer accounts appear than in the Tenable Cloud Security console. The token was scoped to part of the Organization. Create a new token with the whole Organization selected.

  • Data stopped updating. The token was deleted or has expired. Create a new token, as in Create an API token. Then update the connection with it, as in Check that it works.

  • None of these matches what you see. Contact Secure.com support at [email protected]. Include the name of the integration, the exact message on the integration screen, and your console address. Never include the API token.

Keep it secure

Follow these practices to keep the connection working and its access safe.

  • The Viewer role reads, and cannot change anything in Tenable Cloud Security or in your cloud accounts.

  • Secure.com stores the token encrypted, and never shows it again.

  • To end access at once, revoke the token in Settings > API.

  • To rotate the token, create a new token, as in Create an API token. Then update the connection with the new token, as in Check that it works. Last, delete the old token in Settings > API.

  • To disconnect, sign in to Secure.com as an admin, and click the trash icon on the card of the connection. Then click Delete Integration to confirm. Last, delete the token in Settings > API.

Next steps

This connection works with Vulnerabilities and Asset Discovery in Secure.com. To see the other tools Secure.com connects to, browse the Integrations and Data Sources collection.

Did this answer your question?