Install Scanning module in your Cloud
Overview
Red Teaming Modules involves sending malicious agentic requests to your (staging) server. By default, these malicious scanning requests are sent from the Red Teaming module installed within Akto Cloud.
There could be multiple reasons why you'd want to install probing module within your Cloud.
Whitelisting Akto's IP in Security Group or WAF isn't an option
The staging server isn't reachable from public domain
The WAF would block most requests (or block Akto's IP)
The Agentic component domain isn't resolvable from public domain
The Agentic component is completely internal
Copy the JWT Token
Login to Akto dashboard at app.akto.io
Go to Connectors in the left nav.
Open the Setup Guardrail card and copy your token (also referred to as the database abstractor token in later steps).
You then have to use a Linux VM or a Helm chart to install Akto AI Red Teaming module in your cloud.
Setup with Helm Chart
Add the Akto Helm Repository
Run the following commands to add and update the Akto Helm repo:
Install the Chart
Replace <key> with your Anthropic API Key and <token> with the Database Abstractor Token copied from Copy the JWT Token, then pick one of the following installation options.
Directly using the key and token
Storing the key and token in Kubernetes Secrets
Bringing your own existing Secrets
Each existing secret must be of type
Opaqueand store its value under a key namedtoken.
Anthropic API Key Required
You must provide your actual Anthropic API Key and the Database Abstractor Service Token (JWT), either directly or via a Kubernetes Secret.
Setup Linux VM
Provision a New VM
Minimum recommended configuration:
Platform: Amazon Linux 2023
CPU: 2 vCPUs
Memory: 4 GB RAM
Disk: 20 GB
Don’t use burstable instances.
Network:
Private subnet
connectivity to internet (typically via NAT)
connectivity to your staging service
Security groups
Inbound - Open only port 22 for SSH
Outbound - Open all
SSH into the VM
SSH into this new instance in your Cloud
Run the following command:
Install Docker & Docker Compose
Install the docker and docker-compose.
Create the Environment File
Create:
Add the following common configuration, then append the block for your chosen LLM provider below. The scanning module supports Anthropic, Azure OpenAI, and Google Vertex AI as the LLM backing the red teaming engine.
Anthropic API Key Required
You must replace your actual Anthropic API Key in the env file.
Azure OpenAI Credentials Required
You must replace AZURE_OPENAI_ENDPOINT, AZURE_OPENAI_API_KEY, and AZURE_OPENAI_MODEL with your actual Azure OpenAI deployment details.
Vertex AI Credentials Required
You must replace VERTEX_PROJECT_ID, VERTEX_LOCATION, VERTEX_ENDPOINT_ID, VERTEX_ENDPOINT_DOMAIN, and GOOGLE_CREDENTIALS_JSON with your actual Vertex AI project and service account details.
You can also reference the original template is here.
Create the Docker Compose File
Create:
Important Requirements
You must replace
<your-database-abstractor-token>with the actual Database Abstractor Service Token (JWT) copied from the Step 3 of Copy the JWT Token.Ensure both files below are in the same directory:
docker-compose-mini-testing-agentic.ymldocker-agentic-testing.env
Add the following configuration:
For the reference,the original template is here.
Start the Scanning Module
Run:
Run the following command to ensure Docker starts up in case of instance restarts:
Get Support for your Akto setup
There are multiple ways to request support from Akto. We are 24X7 available on the following:
In-app
intercomsupport. Message us with your query on intercom in Akto dashboard and someone will reply.Join our discord channel for community support.
Contact
support@akto.iofor email support.Contact us here.
Last updated