configs_upload
Create configuration snippets from base64-encoded files, one per file named after its sanitized filename, and save them to the database for the scheduler to apply later.
Instructions
Create snippets from base64 files, one per file, named after the file. Use config_create for text. Saved to the database; the scheduler applies it later; this tool cannot confirm it is live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| files | Yes | Files to create, one snippet per file, named after the sanitized file stem | |
| service | No | Service ID for every file; omit or 'global' for global | |
| is_draft | No | Create as draft | |
| config_type | Yes | Type for every uploaded file. Custom config type, e.g. http, server-http, default-server-http, stream, server-stream, modsec, modsec-crs, crs-plugins-before, crs-plugins-after |