Documentation

PolicyCortex Quick Start: Setup Cloud Governance in Minutes

Get up and running with PolicyCortex in minutes. Follow these simple steps to start optimizing your cloud governance.

PolicyCortex Documentation: Installation, Prerequisites & Quick Start

Prerequisites

  • • Admin access to your cloud provider accounts (AWS, Azure, or GCP)
  • • PolicyCortex account with appropriate permissions
  • • Basic understanding of cloud governance concepts

Connect Your Cloud Provider

Navigate to Settings → Integrations and follow the guided setup for your cloud provider.

AWS CLI Examplebash
# Create IAM role for PolicyCortex integration
aws iam create-role \
  --role-name PolicyCortexIntegration \
  --assume-role-policy-document file://trust-policy.json

# Attach necessary policies
aws iam attach-role-policy \
  --role-name PolicyCortexIntegration \
  --policy-arn arn:aws:iam::aws:policy/ReadOnlyAccess

Configure Your First Policy

Create governance policies using our intuitive policy builder or import existing ones.

Example Policy Configurationjson
{
  "name": "enforce-s3-encryption",
  "description": "Ensure all S3 buckets have encryption enabled",
  "resource_type": "aws_s3_bucket",
  "rules": [
    {
      "condition": "encryption.server_side_encryption_configuration == null",
      "action": "enforce",
      "remediation": {
        "type": "auto_encrypt",
        "algorithm": "AES256"
      }
    }
  ],
  "severity": "high",
  "enabled": true
}

Deploy and Monitor

Deploy your policies and monitor compliance in real time through the dashboard.

Deploy Policy via CLIbash
# Deploy policy using PolicyCortex CLI
policycortex policy deploy \
  --file ./s3-encryption-policy.json \
  --environment production \
  --dry-run

# Apply the policy
policycortex policy apply \
  --policy-id enforce-s3-encryption \
  --confirm