Skip to main content

Overview

Integrate your Linode infrastructure with RAD Security to enhance threat detection capabilities and ensure your cloud environments adhere to stringent compliance frameworks. RAD Security leverages Linode’s API to monitor your compute, storage, and network resources.

Connection setup

If you navigate to the Settings icon you will find the Cloud Providers section. Click on Connect a Linode account to generate the necessary configuration to connect your account with RAD Security. This process will guide you through creating a Personal Access Token with the required permissions.

Terraform setup

A Terraform snippet will appear, similar to the example below. Copy it and add it to your existing Terraform code. You will need to provide your Linode Personal Access Token and a friendly name for the integration.
terraform {
  required_providers {
    rad-security = {
      source  = "rad-security/rad-security"
      version = "<version>"
    }
  }
}

provider "rad-security" {
  access_key_id        = "Your Rad Security access key here"
  secret_key           = "Your Rad Security secret key here"
  rad_security_api_url = "https://api.rad.security"
}

module "rad-security-connect" {
  source  = "rad-security/rad-security-connect/linode"
  version = "1.0.0"
  
  # Required: A friendly name for this Linode integration
  linode_integration_name = "my-linode-production-env"
  
  # Required: Your Linode Personal Access Token
  linode_personal_access_token = "your_linode_api_token_here"
}

Linode Personal Access Token

The Linode Personal Access Token is required for agentless monitoring of your compute, storage, and network resources. It is recommended to set the token expiration to “Never” to avoid manual renewals and potential interruptions in monitoring. You can generate a Linode Personal Access Token by following these steps:
  1. Go to the Linode Cloud Manager
  2. Click on your profile in the top right corner
  3. Select “API Tokens”
  4. Click “Create a Personal Access Token”
  5. Provide a label (e.g., “RAD Security Integration”) and set the expiry to “Never” for continuous monitoring
  6. Ensure the token has read-only access to the resources you wish to monitor

Multiple Linode Accounts

If you’re integrating multiple Linode accounts with RAD Security, you will need to create a separate module "rad-security-connect" block for each Linode account, providing a unique linode_integration_name and the corresponding linode_personal_access_token for each.