🛡️ RSOLV Documentation

Test-First AI Security Fixes for GitHub Actions

Installation

Get started with RSOLV in 3 simple steps:

Step 1: Get Your API Key

Sign up at rsolv.dev/signup to get 10 free credits.

Step 2: Add API Key to GitHub Secrets

In your repository: Settings → Secrets and variables → Actions → New repository secret

Step 3: Create Workflow File

Create .github/workflows/rsolv-security.yml:

name: RSOLV Security

on:
  push:
    branches: [main]
  schedule:
    - cron: '0 0 * * 0'  # Weekly scan

jobs:
  security:
    runs-on: ubuntu-latest
    permissions:
      contents: write
      issues: write
      pull-requests: write

    steps:
      - uses: actions/checkout@v4

      - name: RSOLV Security Scan
        uses: RSOLV-dev/rsolv-action@v3
        with:
          rsolvApiKey: ${{ secrets.RSOLV_API_KEY }}
          mode: 'scan'  # Start with scan only

Troubleshooting

Common Issues

Authentication Errors

Problem: "API key invalid" or 401 errors

Solution:

Pull Request Creation Failures

Problem: RSOLV can't create pull requests

Solution:

File Path Issues

Problem: "File not found" errors

Solution: Always use relative paths in issue descriptions:

Rate Limit Errors

Problem: "Rate limit exceeded" (429 errors)

Solution:

API Reference

Action Inputs

All available inputs for the RSOLV GitHub Action:

Core Inputs

Input Description Required Default
rsolvApiKey RSOLV API key Yes -
mode Operation mode: scan, validate, mitigate, full No scan
max_issues Max issues to process per run No 1

Support