Firebase Admin icon

Firebase Admin

Interact with Firebase Firestore, Auth, and Storage using Firebase Admin SDK

Firestore Rule → Validate Rules

AI-generated

Summary

Validate Firestore Security Rules source code against Firebase's rules engine to check for correctness without deploying them.

Inputs

  • Project Name or ID — Select the Firebase project or specify its ID whose Firestore rules you want to validate.
  • Rules Source (required) — Provide the Firestore Security Rules source code to validate. This is a multi-line string input representing the rules script.

Output shape

a validation result object containing details on whether the rules are valid and any errors or warnings encountered during validation.

The output includes success or failure information from the Firebase rules engine validation. No deployment or modification is done to the actual security rules in Firebase.

Links

Discussion