| trafficparrot.http.handlebars.enabled |
true |
Controls whether Handlebars template processing is enabled for HTTP responses.
Performance Profile: false
Dependencies: Works with trafficparrot.http.handlebars.helpers
|
| trafficparrot.http.handlebars.helpers |
com.trafficparrot.http.handlebars.CsvDataFile, com.trafficparrot.http.handlebars.HttpNow, com.trafficparrot.http.handlebars.RandomDouble, com.trafficparrot.http.handlebars.RandomInteger, com.trafficparrot.http.handlebars.RandomString, com.trafficparrot.http.handlebars.RandomUUID, com.trafficparrot.handlebars.script.Evaluate |
Comma-separated list of Handlebars helper class names for HTTP.
Available Helpers:
CsvDataFile - Reads data from CSV files using coordinates
HttpNow - Provides current date/time functionality
RandomDouble - Generates random double values
RandomInteger - Generates random integer values
RandomString - Generates random strings (up to 10,000 characters)
RandomUUID - Generates random UUIDs
Evaluate - Executes script expressions
|
| trafficparrot.http.cleanup.enabled |
true |
Controls whether the Cleanup entry appears in the HTTP navigation dropdown, linking to the HTTP Mock Cleanup page that consolidates and prunes recorded mappings.
Performance Profile: false
Use Case: Show or hide the Cleanup link in the HTTP menu. Set to false to hide the navigation link; the cleanup page and its REST API remain reachable by direct URL regardless of this setting — the property controls only the visibility of the navigation link.
|
| trafficparrot.http.externalprocess.enabled |
false |
Enables the external-process HTTP response transformer, which passes the response through a user-supplied executable (the "middleware") over a JSON envelope on stdin/stdout.
Performance Profile: false
Use Case: Run language-agnostic middleware to mutate HTTP responses, off by default. While false, a mapping referencing the transformer is inert and logs a warning.
Security: the executable runs as the Traffic Parrot OS user with no sandbox. Requires trafficparrot.http.externalprocess.allowedDir to be set. Enable only on trusted hosts — see the threat model.
|
| trafficparrot.http.externalprocess.allowedDir |
(empty) |
A single directory that the external-process transformer is restricted to. Only executables whose canonical (symlink-resolved) path is under this directory may be invoked.
Performance Profile: (empty)
Use Case: Confine external-process middleware to a dedicated, operator-vetted directory of scripts.
Note: an empty value means nothing is allowed, even when trafficparrot.http.externalprocess.enabled=true — both must be set for the feature to run.
|
| trafficparrot.http.importfromurl.enabled |
false |
Master switch for importing a specification from a URL (introduced for the import-from-URL feature; off by default). When enabled, Traffic Parrot may make a server-side HTTP/HTTPS request from the Traffic Parrot host to fetch a specification to import.
Performance Profile: false
Use Case: Allow operators to opt in to fetching specifications over the network. While false, no URL can be imported.
Security: because the request originates from the Traffic Parrot host, this is gated by an explicit allow-list. Requires trafficparrot.http.importfromurl.allowedHosts to be set. Enable only on trusted hosts.
|
| trafficparrot.http.importfromurl.allowedHosts |
(empty) |
Comma-separated allow-list of host or host:port entries that the import-from-URL feature may fetch from. This is the SSRF allow-list: only hosts an operator explicitly lists may be reached.
Performance Profile: (empty)
Use Case: Confine import-from-URL fetches to a vetted set of hosts.
Note: fail-closed — an empty value means nothing is importable, even when trafficparrot.http.importfromurl.enabled=true; both must be set for the feature to run. A resolved destination is still rejected if it is a loopback, link-local, private, or cloud-metadata address, even when its host is allow-listed.
|
| trafficparrot.http.jwt.enabled |
true |
Enables JWT (JSON Web Token) processing capabilities for HTTP.
Performance Profile: false
Use Case: For JWT token validation and processing in HTTP requests.
|
| trafficparrot.http.modify.response.enabled |
true |
Enables HTTP response modification capabilities.
Performance Profile: false
Use Case: Allows dynamic modification of HTTP responses before sending to clients.
|
| trafficparrot.http.optionsResponse.enabled |
true |
Enables automatic HTTP OPTIONS response handling.
Performance Profile: false
Use Case: Automatically handles CORS preflight requests.
|
| trafficparrot.http.soap.message.signer.enabled |
true |
Enables SOAP message signing capabilities.
Performance Profile: false
Use Case: For WS-Security SOAP message signing functionality.
|
| trafficparrot.http.webhooks.enabled |
true |
Enables webhook functionality for HTTP responses.
Performance Profile: false
Use Case: Allows HTTP responses to trigger outbound webhook calls.
|