All posts

AI code review for AWS

With AI code review for AWS, Proofline checks each pull request against the account it deploys to. It reads supported service, database, network and IAM configuration through a read-only role, then explains how the change could fail there.

What Proofline reads from AWS#

  • ECS clusters, services, tasks and task definitions.
  • RDS instances and clusters, from the control plane only.
  • EC2 security groups, subnets and routes.
  • Elastic Load Balancing load balancers, listeners and certificates.
  • IAM roles, with their trust, inline and attached policies.

Each connector reads a defined set of resources. Check the scope of each integration.

When a migration needs a newer engine#

An illustrative pull request adds a migration that uses JSON_TABLE to backfill a column from a JSON payload. PostgreSQL added JSON_TABLE in version 17. The team's local database runs 17, so the migration passes in CI.

The production RDS cluster reports Aurora PostgreSQL 16.4 as its engine version. The migration would fail there, and so would the deployment step that runs it.

The finding cites the JSON_TABLE call in the migration and the cluster's engine version. It suggests rewriting the backfill with jsonb_to_recordset, or upgrading the cluster before the migration ships.

Read-only access with temporary credentials#

Setup supplies an IAM role template with read permissions, a trusted principal, and a connection-specific external ID. Review its trust and permission policies before you create the role.

Proofline assumes the role for short-lived credentials when it needs them. It stores no long-lived AWS keys, and its AWS integrations change nothing in your account.

A missing permission or an unreachable resource makes the review incomplete, and the review names that source. The GitHub and AWS guide covers setup.

For a task that stops before its application starts, use the ECS secret-startup troubleshooting guide. It separates execution-role permissions, secret references and network failures using the failed task's exact revision.

Questions#

What permissions does Proofline need in AWS?

Proofline needs read permissions in an IAM role you create from the setup template. The role trusts a designated principal and requires a connection-specific external ID.

Which AWS services does Proofline read?

The supported AWS integration pages cover ECS, RDS, Elastic Load Balancing, EC2 and IAM, each within a defined scope. Check the current integration list for the resources each source provides.

Does Proofline read data from my RDS databases?

No. Proofline reads RDS configuration from the AWS control plane. It does not connect to the database or read its rows.

One month of free code review.

New organizations get one calendar month of hosted code review for private and public GitHub repositories. No card or cloud connection required. Eligibility and fair-use terms.

Start free with GitHub

Related reading