Meilisearch
search.meilisearch
Protects against destructive Meilisearch REST API operations like index deletion, document deletion, delete-batch, and API key removal.
- 10blocking rules
- 8safe patterns
- 2Critical
- 6High
- 2Medium
[packs]
enabled = ["search.meilisearch"]Evaluated when a command contains meili, meilisearch, 7700, indexes, keys.
Blocking rules
Each rule ID is search.meilisearch:<name>. Use it in allowlists and [policy.rules].
Criticalmeili-curl-delete-indexcurl -X DELETE against /indexes/{uid} deletes a Meilisearch index.
Explanation
Deleting a Meilisearch index permanently removes all documents, settings, filterable attributes, and ranking rules. Search functionality for applications using this index will fail immediately. Safer alternatives: - GET /indexes/{uid}: Export index settings first - Create a dump with POST /dumps for backup - Re-index from source data after verification
Criticalmeili-http-delete-indexhttp DELETE against /indexes/{uid} deletes a Meilisearch index.
Explanation
Deleting a Meilisearch index permanently removes all documents, settings, filterable attributes, and ranking rules. Search functionality for applications using this index will fail immediately. Safer alternatives: - GET /indexes/{uid}: Export index settings first - Create a dump with POST /dumps for backup - Re-index from source data after verification
Highmeili-curl-delete-batchcurl -X POST to /documents/delete-batch deletes documents in bulk.
Explanation
Batch delete removes multiple documents by their IDs in a single operation. This is irreversible and affects all documents matching the provided IDs. Verify the ID list carefully before executing. Safer alternatives: - GET documents by ID to verify content first - Export matching documents before deletion - Test with a small batch before processing all
Highmeili-curl-delete-documentscurl -X DELETE against /documents removes documents from Meilisearch.
Explanation
Deleting all documents removes every record from the index while preserving settings and configuration. Search will return no results until re-indexing. This cannot be undone. Safer alternatives: - GET /indexes/{uid}/documents: Export documents first - Create a snapshot or dump before deletion - Use delete-batch for targeted removal instead
Highmeili-curl-delete-keycurl -X DELETE against /keys removes a Meilisearch API key.
Explanation
Deleting an API key immediately revokes access for all applications using it. Search and indexing operations will fail with authentication errors. The key cannot be recovered after deletion. Safer alternatives: - GET /keys: List and document keys before deletion - Create replacement key before deleting old one - Update applications with new key first
Highmeili-http-delete-batchhttp POST to /documents/delete-batch deletes documents in bulk.
Explanation
Batch delete removes multiple documents by their IDs in a single operation. This is irreversible and affects all documents matching the provided IDs. Verify the ID list carefully before executing. Safer alternatives: - GET documents by ID to verify content first - Export matching documents before deletion - Test with a small batch before processing all
Highmeili-http-delete-documentshttp DELETE against /documents removes documents from Meilisearch.
Explanation
Deleting all documents removes every record from the index while preserving settings and configuration. Search will return no results until re-indexing. This cannot be undone. Safer alternatives: - GET /indexes/{uid}/documents: Export documents first - Create a snapshot or dump before deletion - Use delete-batch for targeted removal instead
Highmeili-http-delete-keyhttp DELETE against /keys removes a Meilisearch API key.
Explanation
Deleting an API key immediately revokes access for all applications using it. Search and indexing operations will fail with authentication errors. The key cannot be recovered after deletion. Safer alternatives: - GET /keys: List and document keys before deletion - Create replacement key before deleting old one - Update applications with new key first
Mediummeili-curl-delete-documentcurl -X DELETE against /documents/{id} removes a document from Meilisearch.
Explanation
Deleting a single document removes it from search results immediately. While less destructive than bulk operations, applications expecting this document will receive errors or empty results. Safer alternatives: - GET /indexes/{uid}/documents/{id}: Verify document first - Export document content before deletion - Use soft delete field in documents instead
Mediummeili-http-delete-documenthttp DELETE against /documents/{id} removes a document from Meilisearch.
Explanation
Deleting a single document removes it from search results immediately. While less destructive than bulk operations, applications expecting this document will receive errors or empty results. Safer alternatives: - GET /indexes/{uid}/documents/{id}: Verify document first - Export document content before deletion - Use soft delete field in documents instead
Safe patterns
Checked first. A command that matches one is never blocked by this pack.
meili-curl-get-statsmeili-curl-get-healthmeili-curl-get-versionmeili-curl-searchmeili-http-get-statsmeili-http-get-healthmeili-http-get-versionmeili-http-search