Skip to main content

GitHub Actions Integration

Automate security testing in your GitHub workflows with AIPTx’s official GitHub Action.

Quick Start

Add security scanning to any workflow:

Installation

1. Get Your API Key

  1. Log in to the AIPTx Dashboard
  2. Navigate to SettingsAPI Keys
  3. Generate a new key with appropriate permissions

2. Add Secret to GitHub

  1. Go to your repository SettingsSecrets and variablesActions
  2. Click New repository secret
  3. Name: AIPTX_API_KEY
  4. Value: Your AIPTx API key

3. Create Workflow File

Create .github/workflows/security.yml:

Configuration Options

Action Inputs

Action Outputs

Common Workflows

Pull Request Scanning

Scan preview deployments on pull requests:

Scheduled Deep Scan

Run comprehensive scans weekly:

Multi-Environment Scanning

Scan multiple environments in parallel:

With OpenAPI Specification

Security Gates

Block deployments based on findings:

Troubleshooting

Increase the timeout value or use quick mode for CI/CD:
Ensure your target is accessible from GitHub’s runners. For internal applications, consider using self-hosted runners or deploying a preview environment.
Verify the secret is correctly named and the API key has appropriate permissions in the AIPTx dashboard.