Actions53
- App Check Actions
- Auth Actions
- Cloud Messaging Actions
- Firestore Actions
- Firestore Rule Actions
- Storage Actions
- Storage Rule Actions
Firestore Rule → Update Rules
AI-generatedSummary
Update Firestore security rules by providing new rules source code for a specified Firebase project and database, with optional release naming and automatic release update.
Inputs
- Project Name or ID (required) — Select the Firebase project by name or ID to which the Firestore security rules apply.
- Database Name or ID (required) — Choose the Firestore database in the selected project to update the rules for.
- Release Name Override — Optionally specify a custom release name to override the default release naming derived from the database ID; useful if the default is rejected by the API.
- Rules Source (required) — The Firebase Security Rules source code text defining access permissions to deploy for the specified Firestore database.
- Auto-Release — Boolean flag to automatically update the Firestore rules release to point to the newly created ruleset after updating.
Output shape
an object representing the updated security ruleset information returned by Firebase, including metadata and the ruleset name
The output includes details of the updated ruleset such as its name and metadata. If 'Auto-Release' is enabled, the rules release is updated automatically to point to the new ruleset; otherwise, the release update must be handled separately.