Skip to content

feat(rules): add stopped RDS instance rule#60

Merged
axonstone merged 2 commits intomainfrom
codex/rds-stopped-instance-rule
Apr 2, 2026
Merged

feat(rules): add stopped RDS instance rule#60
axonstone merged 2 commits intomainfrom
codex/rds-stopped-instance-rule

Conversation

@axonstone
Copy link
Copy Markdown
Contributor

@axonstone axonstone commented Apr 2, 2026

Summary

  • Add a discovery-only RDS rule that flags DB instances in the stopped state for cleanup review.
  • Add a discovery-only EC2 rule that flags reserved instances whose endTime fell within the last 30 days for renewal follow-up review.
  • Register both rules in the AWS packs, document their public rule IDs, and add evaluator, export, metadata, and changeset coverage for @cloudburn/rules.

Diagram

flowchart LR
  subgraph Datasets["Discovery datasets"]
    RDS["aws-rds-instances"]
    RI["aws-ec2-reserved-instances"]
  end

  subgraph Rules["New rules"]
    RDSRule["CLDBRN-AWS-RDS-9\nStopped RDS DB instance"]
    RIRule["CLDBRN-AWS-EC2-12\nRecently expired EC2 reserved instance"]
  end

  subgraph Outputs["Review outcomes"]
    Cleanup["Cleanup review findings"]
    Renewal["Renewal follow-up findings"]
  end

  RDS --> RDSRule --> Cleanup
  RI --> RIRule --> Renewal
Loading

Scope

  • cloudburn (cli)
  • @cloudburn/sdk
  • @cloudburn/rules
  • docs/community files

Release Notes

  • Added a .changeset/*.md file for published package changes
  • No published package changes in this PR

Verification

  • pnpm lint
  • pnpm typecheck
  • pnpm test
  • pnpm build
  • pnpm verify

Boundary Checks

  • No engine/parser/provider logic added to @cloudburn/rules
  • CLI delegates scan logic to SDK
  • README/CONTRIBUTING/docs updated when behavior changed

Related Issues

  • None found via gh issue list.

Open with Devin

@axonstone axonstone added the enhancement New feature or request label Apr 2, 2026
@axonstone axonstone requested a review from dannysteenman April 2, 2026 09:53
@axonstone axonstone marked this pull request as ready for review April 2, 2026 10:56
Copy link
Copy Markdown
Contributor

@devin-ai-integration devin-ai-integration bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

@axonstone axonstone merged commit e1d241f into main Apr 2, 2026
10 checks passed
@axonstone axonstone deleted the codex/rds-stopped-instance-rule branch April 2, 2026 13:31
@github-actions github-actions bot mentioned this pull request Apr 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant