Rubrik
  • Products
  • Solutions
  • Knowledge Hub
  • About Us
  • CXO
  • Partners
  • Support
  • Contact Sales
Rubrik
LinkedInTwitterFacebookYouTubeInstagram

Call us at 1-844-478-2745

Submit Interest

ABOUT RUBRIK

CompanyLeadershipInvestor RelationsNewsroom & Press ReleasesCareersBlog

NEW TO RUBRIK

Why RubrikProductsSolutionsPartnersCustomersResources

POPULAR LINKS

Cyber RecoveryBackup & RecoveryRansomware Recovery Cloud Disaster RecoveryCloud Database Backup and Recovery ServiceSaaS Backups

CompanyLeadershipInvestor RelationsNewsroom & Press ReleasesCareersBlog
Why RubrikProductsSolutionsPartnersCustomersResources
Cyber RecoveryBackup & RecoveryRansomware Recovery Cloud Disaster RecoveryCloud Database Backup and Recovery ServiceSaaS Backups

CompanyLeadershipInvestor RelationsNewsroom & Press ReleasesCareersBlog
Why RubrikProductsSolutionsPartnersCustomersResources
Cyber RecoveryBackup & RecoveryRansomware Recovery Cloud Disaster RecoveryCloud Database Backup and Recovery ServiceSaaS Backups
  • Cookie Policy
  • Legal
  • Privacy Policy
  • Terms of Use
  • Trust
  • CA Residents only: Do not sell or share my personal information | Do not share my sensitive information

© 2026 Rubrik – Zero Trust Data Security™

Background
Technical Blog Hub

Reviving the Rubrik PHP Framework: The GraphQL Rebirth

TutorialAPI-First Automation
MAR 29, 20264 min read
TutorialAPI-First Automation
MAR 29, 20264 min read
Reviving the Rubrik PHP Framework: The GraphQL Rebirth
Share

Table of Contents

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:

  1. RSC Compliance Dashboard: A visual health check for your global data estate.    
  2. Snapshot & Restore Portal: A lightweight UI for day-to-day recovery tasks.    
  3. 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
Frederic Lhoest

Senior Technology Architect

Frederic is an automation expert and veteran architect with over 25 years of experience in streamlining data center operations and seamless workflows. He is a VMware and Nutanix AHV expert, with a proven track record of turning complex operational obstacles into efficient, automated systems. Beyond his technical role, he is a prominent speaker and leader in the Rubrik practitioner community, dedicated to fostering collaborative environments where real-world challenges meet innovative solutions.
Mike Preston
Mike Preston

Staff Technical Marketing Manager

Mike Preston is a Staff Technical Marketing Architect at Rubrik, leading the charge in all things Cloud and Automation. With an education focused on software engineering and over 25 years of IT operations experience, Mike strives to bridge the gap between development and operations — automating processes and streamlining workflows. He is the Toronto VMUG leader, author of Troubleshooting vSphere Storage, and an overall believer in sharing the knowledge!

Related Blogs

View all Posts
GraphQL 101 for Rubrik Security Cloud
Tutorial
MAR 29, 2026

GraphQL 101 for Rubrik Security Cloud

This technical blog provides a foundational overview of using GraphQL with Rubrik Security Cloud (RSC). It explains the shift from REST to a unified GraphQL endpoint, detailing the functional differences between queries and mutations, the use of variables, and the "Connection-Node" pattern for consistent data retrieval. The page also offers practitioner tips for using the RSC API Playground and Chrome DevTools to accelerate automation workflows.

5 min read

Frederic Lhoest

Frederic Lhoest

Senior Technology Architect

View all Posts
Background

Share Your Insights

Have an interesting story or technical findings to share? Reach out to create a blog with us.

Learning & Certifications

Access free and instructor-led training and certification paths to master Rubrik products and maximise your data security expertise.

Explore coursesNext