Introduction
In 2019, I built a PHP-based automation framework for Rubrik CDM. It was a labor of love that grew into a toolbox of 100+ functions for reporting and workflows. But the ecosystem evolved, and fast.
Rubrik Security Cloud (RSC) now utilizes a unified, GraphQL API model, marking a significant shift in how we read and manipulate data. While my previous REST-based functions were effective, the time has come for a complete overhaul. I see this as an opportunity to rebuild entirely: cleaner, stronger, and exclusively powered by GraphQL.
This weekly series will document that journey. Whether you are a PHP veteran or just starting your GraphQL transition, this series will serve as a roadmap for modern Rubrik automation.
The Roadmap: 12 Weeks to Automation Framework v2.0
This isn't just a documentation journey; it's an entire open-source project. Over the next three months, we will cover:
Weeks 1-4: GraphQL Foundations
- The Pivot: Why REST is giving way to GraphQL in RSC.
- Schema & Mutations: Understanding the "language" of Rubrik Security Cloud.
- Core PHP Integration Components: Setting up tokens, headers, and HTTP clients.
Weeks 5-8: Querying Data
- Reading Data: Building queries to list VMs, cloud workloads, and SLA compliance.
- The Logic: Moving from "pulling everything" to "requesting exactly what you need."
Weeks 9-11: Real-World Workflows
- Interactive Snapshots: Building a snapshot browser.
- Actionable Alerting: Slack/Teams integrations for protection gaps.
Week 12: Release
Launching the RSC PHP Framework v2.0 on GitHub.
The Endgame: Real-World Tools
This framework is the foundation for three specific open-source tools I’m building:
- RSC Compliance Dashboard: A visual health check for your global data estate.
- Snapshot & Restore Portal: A lightweight UI for day-to-day recovery tasks.
- Automation Toolkit (CLI): A command-line companion for the "power admin."
Community Collaboration
This series is in collaboration with Mike Preston, a Rubrik Staff Technical Marketing Architect. Mike contributes his valuable technical perspective as a collaborator and reviewer, offering guidance and validating API usage and architectural concepts. This partnership helps ensure the code and patterns we share are aligned with current Rubrik best practices and approaches, allowing you to build alongside us with confidence.
See you next week for Chapter 1: “GraphQL 101 for Rubrik Security Cloud" with Mike’s Expert Insights.
Contributed by

Frederic Lhoest
Senior Technology Architect

Mike Preston
Staff Technical Marketing Manager




