Skip to main content
Reva integrates with GitHub to automate policy lifecycle management. Policies authored in Reva are synced to your GitHub repository, enabling:

Key Benefits

  1. Version Control: Track all changes via Git history
  2. Collaboration: Enable team editing with merge controls
  3. Automation: Enforce policies instantly after sync
  4. Audit Trails: Link changes to commits/users
  5. Environment Promotion: Move policies between stages (e.g., dev → prod)

Prerequisites

  1. GitHub Repository
  2. Personal Access Token (PAT)

Integration Steps

  1. Start Integration
    • Go to Reva: Integrations > "+ Integration" > Select "GitHub"
  2. Configure Settings
    • Integration Name*: Unique ID (e.g., prod-policies)
    • Description: Purpose (e.g., “Core access policies”)
  3. Connect GitHub
  4. Select Branch
    • Choose sync branch (e.g., main or dev)
  5. Activate
    • Click Activate (bottom-right corner)
Tip: Use GitHub’s “Protected Branches” feature with Reva to prevent unauthorized policy changes.
I