How to Validate Myra Security WAF and Measure Business False Positives
Acceptance Testing Starts with Two Questions: What Was Stopped, and Who Was Incorrectly Blocked?
Myra Security WAF should be validated through two independent evidence trails: one demonstrating that agreed attack samples receive the expected treatment under a specified policy, and another demonstrating that legitimate business activity is not incorrectly blocked—or that false positives can be identified promptly, traced to their cause, and resolved through narrowly scoped changes. A high blocking count does not prove effective protection, and a high business success rate does not prove that attacks failed to get through.
The core definition of the business false-positive rate is: the proportion of requests that comply with the application's business rules but are incorrectly blocked by the WAF within the same observation window and policy version. Its denominator is not all requests, much less all attack events. Business reporting also needs separate counts of affected operations, sessions, and transactions, so browser retries do not inflate a single failure into dozens of incidents, and attack traffic does not dilute the false-positive rate.
This article addresses acceptance testing for Myra Security's web application firewall. It does not treat CDN caching, Bot management, and network-layer DDoS protection as a single product. Myra's official product information describes the WAF as blocking malicious requests before they reach the server and lists Managed WAF as an additional service. This supports including rule actions and managed operations in the evaluation, but does not establish that every account has the same log fields, monitoring mode, challenge capabilities, exception granularity, or response times.
Practical adoption criteria are that critical workflows pass end-to-end regression testing, critical blocking events can be linked to rules and business outcomes, and exceptions can be narrowly scoped and rolled back. If these conditions are not yet met, do not immediately extend enforcement to all login, payment, and callback traffic. First limit the protection scope, address logging gaps or managed-service delivery requirements, and then proceed with enforcement.
Turn Procurement Commitments into Verifiable Acceptance Boundaries
First Establish Which Configuration Is Being Validated
Actual WAF outcomes depend jointly on the traffic path, account capabilities, enabled rules, exception configuration, and application behavior. A procurement document that says only “enable WAF” leaves considerable room for dispute: whether a particular rule is enabled, whether the request body is fully inspected, and whether a domain is within the protection scope can all affect the conclusion.
Before acceptance testing, freeze a configuration baseline that includes at least:
Protected domains, API paths, request methods, and environments, explicitly identifying entry points outside the current scope.
Enabled rule or policy identifiers, actions, and versions. If native version numbers are unavailable, use a confirmed configuration export and change reference.
Request-body inspection boundaries, including agreed handling of content types, sizes, encodings, uploads, and malformed formats.
The status of CDN caching, Bot policies, rate limiting, and other edge security measures, with their responsibilities distinguished from those of the WAF.
Visible log fields, export methods, sampling, availability delay, retention periods, and evidence-collection procedures during failures.
Whether the managed service includes rule tuning, response to business false positives, temporary exception review, and recovery confirmation.
These are acceptance conditions to confirm with Myra, not a description of its product defaults. In particular, establish what happens when traffic exceeds inspection limits: rejection, partial inspection, bypass, or another action—and whether the corresponding events can be identified. Otherwise, a request that “passed” may simply have fallen outside the intended inspection scope.
Sign Off on Security and Availability Objectives Separately
Acceptance Dimension | What Must Be Demonstrated | Primary Evidence | Metrics That Cannot Replace It |
|---|---|---|---|
Attack handling | Agreed test samples receive the expected action | Test cases, policy version, edge events, origin results | Total blocking count |
Legitimate business activity | Legitimate operations complete without incorrect blocking | Normal test cases, business outcomes, request correlation | A 200 response from the homepage |
Diagnosability | WAF, application, and other component issues can be distinguished | Correlation identifiers, action attribution, application logs | A standalone screenshot of a Forbidden response |
Change control | Adjustments are limited in scope and reversible | Configuration differences, approvals, regression and rollback records | A verbal promise that traffic can be allowed |
Managed-service delivery | Responsibilities, response, and resolution meet the agreement | Ticket timelines, handling records, contract terms | General support marketing |
Perform security testing only within authorized boundaries. A few probes against public endpoints cannot establish comprehensive protection, much less DDoS capacity or a contractual SLA. For procurement comparisons, the Myra Security vendor page can help organize the evaluation, but actual acceptance must be specific to this account, this policy, and this business scope.
Establish Attribution Before Labeling a Request a False Positive
403, 429, and 200 Are Not Final Conclusions
A 403 may originate from the WAF, application permission checks, object access policies, or another proxy. A 429 may come from rate limiting or an application quota. Conversely, an HTTP 200 may contain a challenge page, an error template, or an application-level failure response. Statistics based solely on status codes produce both false positives and false negatives.
Start by classifying failures into four categories:
Confirmed WAF block: The edge record shows a terminating action that can be traced to a policy or rule.
Action by another edge mechanism: The action can be attributed to Bot controls, rate limiting, or another control and is not counted directly as a WAF false positive.
Valid application rejection: The request reaches the application and is rejected because of permissions, signatures, inventory, or business state.
Not yet attributed: Evidence is insufficient, correlation failed, or logs are missing. Keep the event pending investigation rather than treating it as a valid block.
Challenges, connection interruptions, and unexpected redirects can also prevent legitimate business activity from completing. If these actions are available in the account, report their business impact separately rather than hiding them among successful requests to fit a “blocking” report.
Application Rules Define “Legitimate”—WAF Allow Decisions Do Not
A logged-in user is not necessarily authorized to read every object, and a well-formed request may still violate authorization boundaries. Conversely, legitimate rich text, search expressions, or code snippets may contain strings resembling attack signatures.
The OWASP Authorization Cheat Sheet distinguishes authentication from authorization and requires permission validation on every request. Therefore, successful authentication alone does not establish a WAF false positive, and WAF approval does not justify skipping application authorization. Acceptance labels should reflect the test account's permissions, resource ownership, and business state.
For example, a customer service role attempting to read a bill it is not authorized to access is not sufficient evidence of a business false positive, even if the WAF blocks it. By contrast, an authorized editor submitting business-approved rich text that is blocked by an input inspection rule is a false-positive candidate worth reproducing. Business owners must help confirm both cases.
Logs Must Connect the Steps of a Real Business Operation
Edge rule-match logs alone often answer only “what was detected,” not “what the user lost.” The minimum usable evidence should cover the edge, origin ingress, and application outcome. Browser interactions also require appropriate frontend events or a reproducible support ticket.
Data Area | Suggested Minimum Information to Retain | Primary Purpose |
|---|---|---|
Request identity | Time, request identifier, business operation identifier, de-identified session identifier | Cross-layer correlation and retry deduplication |
Routing characteristics | Domain, path template, method, content type, request-body size | Grouping by endpoint and input type |
Edge decision | Responsible product, rule identifier, actual action, policy version | Identifying blocking causes and change impact |
Transport outcome | Edge status, connection errors, elapsed time, evidence of origin forwarding | Distinguishing network, edge, and origin failures |
Application outcome | Application request identifier, authorization result, business error code, operation completion status | Determining legitimacy and final impact |
Investigation record | Label, evidence location, reproduction findings, reviewer, remediation version | Creating reviewable false-positive samples |
This is a requirements list, not a confirmed Myra log schema. Some fields may need to come from your own gateway or application. Without rule identifiers, diagnosis becomes more costly. Without business operation identifiers, reliable retry deduplication and transaction-impact calculations become difficult.
Correlation identifiers should be generated or validated at a trusted entry point to prevent arbitrary client values from contaminating investigations. Custom request headers can support testing, but first verify whether they are forwarded, logged, and overwritten. Do not use client-supplied identifiers as authentication evidence.
The absence of an origin log entry does not automatically prove WAF blocking: the request may have hit the cache, been terminated by another component, or been affected by log sampling or write delays. Use edge action records as the primary evidence and cross-check them against ingress logs and application outcomes. All systems should also share a consistent time reference and record logging delays to avoid incorrectly correlating adjacent requests.
Logs are themselves sensitive data. Do not collect complete Cookies, authentication tokens, payment content, or request bodies by default. If a particular field must be investigated, use test data, field-level redaction, restricted access, and an explicit retention period. Log-processing locations and access permissions must be specified in the service arrangements and contract, not inferred from compliance marketing alone.
False-Positive Statistics Must Disclose Numerators, Denominators, and Unknowns
Report at Least Three Types of Metrics Together
Legitimate-request false-block rate = Number of confirmed legitimate requests incorrectly blocked by the WAF ÷ Total number of confirmed legitimate requests within the same scope.
This metric measures false positives at the request level. The numerator and denominator must use consistent time windows, domains, endpoints, policy versions, and sampling scopes. If the numerator comes from manually reviewed samples but the denominator uses site-wide traffic, the result is not meaningful.
False-positive share of reviewed blocks = Number of blocked requests confirmed as false positives ÷ Number of WAF-blocked requests with a completed determination.
This reflects the quality of blocking decisions, not the overall legitimate-request false-block rate. Changes in attack volume can affect it substantially, making it useful for monitoring rule tuning but unsuitable as the sole criterion for business availability acceptance.
Legitimate business operation impact rate = Number of legitimate operations affected by incorrect WAF actions ÷ Total number of legitimate operations under observation.
Define business operations as login attempts, order submissions, form saves, file uploads, and similar activities. One operation may generate multiple requests, and automatic retries of the same logical operation must be consolidated. If an operation eventually succeeds through a retry, label it “affected, then recovered” rather than removing it from impact statistics, and report it separately from final failures.
A Hypothetical Example Shows Why Definitions Matter
Suppose a controlled regression test includes 1000 confirmed legitimate requests, of which 5 are incorrectly blocked by the WAF. The legitimate-request false-block rate for that sample is 0.5%. If all 5 requests are retries of the same order submission, and the regression test contains 200 legitimate business operations, the operation impact rate is also 0.5%—but only 1 operation was affected, not 5 orders.
Now suppose the same window contains substantial attack traffic, bringing the total request count to 100000. Dividing 5 by 100000 yields 0.005%, but that is only the share of false positives in all traffic, not a substitute for the legitimate-request false-block rate. These figures illustrate the calculation relationships only; they are neither Myra test results nor recommended thresholds.
Unclassified Samples Must Remain Visible in Reports
It is difficult to assign reliable labels to all live traffic. Retain at least three states—“confirmed legitimate,” “confirmed malicious or in violation of business constraints,” and “pending determination”—and distinguish sampled reviews from full-population statistics. Reports should show all of the following:
The number of reviewed events, sampling method, and coverage of each group.
Counts of confirmed false positives, confirmed non-false-positives, and pending determinations.
Deduplicated counts of affected operations and sessions, plus final failures and retry recoveries.
Missing logs, failed correlations, uninspected traffic, and business areas that could not be validated.
Reviewing complaints first biases the sample toward false positives; reviewing only high-confidence attacks may underestimate them. Consider stratified sampling by rule, action, endpoint, and client type, supplemented by additional reviews of critical transactions, complaints, and matches on new rules. Population estimates from probability samples require weighting according to the sampling design. Additional investigative samples should be reported separately, not mixed directly into overall proportion calculations.
Observing zero false positives in a small sample does not mean the false-positive rate is zero. Acceptance findings should state sample sizes and uncertainty. If the total number of legitimate requests cannot be identified reliably, report only reviewed-sample metrics and business observation metrics rather than an apparently precise population-wide false-positive rate.
Group Results Around the Business, Not Just Attack Rule Rankings
Site-wide averages can conceal problems at critical entry points. At a minimum, group results by domain and path template, method, policy version, action, authentication status, client type, content type, and business criticality. For users across multiple regions, also examine actual user regions and network environments rather than treating tests from cloud egress points as a substitute for mobile user experience.
Create separate acceptance cases for the following entry points:
Login and session renewal: Check redirects, Cookie continuity, and session expiration. Do not investigate failures solely through the login endpoint itself.
Payments and external callbacks: Validate signatures, replay protection, duplicate delivery, and idempotent outcomes. Machine callers must not be required to complete browser interactions.
Uploads and rich text: Cover legitimate file types, size boundaries, encodings, and business-approved text structures, and check for partial inspection.
Mobile and service-to-service APIs: Check non-browser clients, timeouts, and retries. Do not automatically classify clients that cannot run scripts as malicious traffic.
Search, imports, and bulk operations: Distinguish permitted complex inputs from genuinely invalid requests, and validate large requests and combinations of multiple parameters.
For example, flawless static-resource delivery cannot offset false positives on a checkout endpoint. A rule may generate few false positives overall, but if they are concentrated on callbacks from an important partner, they may still block deployment. Procurement gates should be graded by business consequences rather than defined solely by a site-wide average percentage.
For more cross-layer evidence-collection approaches, see Checking WAF False-Positive Logs. However, rule fields and action semantics must still be confirmed for the specific Myra account; do not copy another vendor's terminology.
Acceptance Cases Must Cover Normal Behavior, Invalid Behavior, and Security Boundaries
Derive Normal Samples from Business Contracts
First, have the business and application teams define which operations each role is allowed to perform, then build repeatable normal test cases. Cover at least the main roles, permission boundaries, input types, and critical state transitions. Test data must have expected outcomes; merely recording that “the page opens” is insufficient. Order submissions should verify business state, uploads should confirm file usability, and callbacks should confirm that the expected processing occurs only once.
Normal samples should also include business-approved content likely to trigger signature rules, such as legitimate rich text, quoted search terms, and permitted code examples. Their legitimacy should be supported by the application's contract, not by temporarily relaxing input requirements just to get the WAF to allow them.
Attack Samples Must Validate More Than Response Codes
Security personnel should define the authorized scope, test objectives, and expected actions for attack regression testing. In an isolated environment or an approved production window, verify that the agreed malicious inputs receive the intended treatment and that the application undergoes no unintended state changes.
A WAF response of 403 is not a pass if the application has already experienced side effects. Likewise, an application's own rejection of an attack does not directly prove that the WAF blocked it. For unauthorized-access tests where “the application should reject the request, but the WAF may allow it,” define that expectation explicitly rather than shifting every rejection responsibility to the WAF in pursuit of a higher blocking rate.
For every test case, retain at least an input summary, expected result, execution time, policy version, edge action, application outcome, and final determination. A security test set demonstrates behavior only for the covered samples; it does not justify claims that all unknown attacks can be prevented.
Use Minimal Commands to Reproduce Path Differences, Not to Treat curl as a Browser
The following commands are for controlled test environments, comparing access through the edge with authorized access to the origin. All example addresses are placeholders. Restrict access to real origin addresses and collected files, and do not include them in public tickets. The test endpoint must be provisioned in advance, and only synthetic data without personal information should be used.
curl --silent --show-error \
--connect-timeout 5 --max-time 20 \
--request POST 'https://www.example.com/acceptance/submit' \
--header 'Content-Type: application/json' \
--header 'X-Acceptance-ID: waf-case-001-edge' \
--data-raw '{"message":"acceptance test","case_id":"normal-001"}' \
--dump-header edge.headers --output edge.body \
--write-out 'status=%{http_code} remote=%{remote_ip} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n'
curl --silent --show-error \
--connect-timeout 5 --max-time 20 \
--resolve 'www.example.com:443:203.0.113.10' \
--request POST 'https://www.example.com/acceptance/submit' \
--header 'Content-Type: application/json' \
--header 'X-Acceptance-ID: waf-case-001-origin' \
--data-raw '{"message":"acceptance test","case_id":"normal-001"}' \
--dump-header origin.headers --output origin.body \
--write-out 'status=%{http_code} remote=%{remote_ip} connect=%{time_connect} tls=%{time_appconnect} ttfb=%{time_starttransfer} total=%{time_total}\n'
The second command uses --resolve to preserve the domain's Host and TLS SNI, avoiding virtual-host or certificate differences caused by requesting an IP address directly. It applies only to authorized origin endpoints that are network-accessible and have the correct certificate. If the origin allows access only from the edge, compare through an existing controlled test channel. Do not temporarily expose the origin to the public internet for testing, or disable certificate verification to hide configuration problems.
Handle results according to the following branches:
The edge request fails, the origin request succeeds, and edge logs confirm a WAF block: treat it as a false-positive candidate and continue checking whether the input is genuinely legitimate.
Both requests fail with the same application error: investigate the application or test data first rather than attributing the failure to the WAF.
The edge returns 200, but the body is not the expected business result: check for challenges, error templates, redirects, and application error codes.
The edge request fails without a corresponding event: first check other security components, DNS, TLS, origin connectivity, and log completeness rather than immediately classifying it as a false positive.
The connect, tls, and ttfb values in the output are cumulative times from the start of the request, not phase durations that can be added together. For a simple new HTTPS connection, differences between these values can approximate individual phases, but redirects, connection reuse, and protocol behavior change their interpretation. These commands do not automatically follow redirects, so the initial response remains available for inspection.
curl cannot simulate a complete browser, interactive challenges, or real sessions. Login, payment redirects, and mobile behavior also require regression testing with real clients. For write operations, use isolated test data and handle idempotency so the two comparison requests do not create duplicate orders or notifications.
Resolve False Positives by Narrowing Rule Scope, Not Disabling an Entire Protection Layer
After confirming a false positive, identify the specific rule, match location, and business-approved boundary before deciding on an adjustment. A minimal change might target “one domain, one path, one method, one field, and one rule,” but first confirm that the Myra account can express the required conditions. If it cannot, escalate the evaluation rather than substituting a broader site-wide bypass.
For example, allowing rich text at /support/message does not mean the entire support system should bypass the WAF. A more appropriate approach is to determine whether the relevant inspection can be adjusted only for the specified field on that endpoint, while retaining checks on other fields, application input validation, and authorization controls. Do not grant unrestricted access based solely on User-Agent, spoofable request headers, or “logged-in” status.
Every exception should record at least its business justification, scope, relaxed inspections, compensating controls, owner, expiration time, and restoration procedure. After remediation, rerun the original false-positive case, other normal cases on the same endpoint, and related attack regression tests to demonstrate that accommodating one legitimate input has not exposed an entire category of risk.
If the account supports a monitoring mode, assess rule matches within a limited scope first. If not, use an isolated environment or a small staged rollout. Because the observation period does not enforce actual blocking, it can reveal potential false positives but cannot directly establish business impact under enforcement. Client-controlled test identifiers should not be used as production bypass conditions either.
Staged Rollouts, Rollback, and Final Sign-Off Need Explicit Evidence
If WAF deployment involves a DNS change, check TTL, certificate coverage, Host and SNI, origin authentication, origin access controls, and caching behavior before shifting traffic. Confirm that dynamic endpoints will not incorrectly cache user responses. Normal pages served from cache do not replace acceptance testing of the origin path and write endpoints.
Begin staged rollout with clearly defined domains, endpoints, or controlled user groups, recording the configuration version and start time. The observation window should cover business peaks, scheduled jobs, callbacks, and client retry cycles—not an arbitrary few hours. Critical paths without live traffic require additional active regression testing.
Agree and sign off on rollback triggers before launch: confirmed false positives in critical transactions, persistent failures of authorized callbacks, critical blocks that cannot be traced, loss of rule-change auditability, or business metrics exceeding predefined tolerance boundaries. Prioritize reverting the latest change or disabling a narrowly scoped rule rather than turning off the entire WAF by default. Consider broader traffic rerouting only when preapproved emergency conditions are met.
DNS rollback is not instantaneous; existing connections and cached DNS results may persist. After switching back, confirm that origin capacity, secure ingress, and certificates are still available. If the problem comes from application authorization or signature implementation, changing the traffic path will not automatically resolve it.
Use three gates for the final acceptance decision:
Ready to expand protection: Critical legitimate workflows pass, agreed attack cases behave as expected, important blocks are traceable, false-positive measurement definitions are stable, and narrowly scoped changes and recovery have been validated.
Restricted operation only: Common paths work, but gaps remain in logs, infrequent callbacks, or specialized clients. Define the retained scope, responsibility for supplying missing evidence, and review deadline.
Defer enforcement: False positives affecting critical business activity cannot be diagnosed, exceptions require site-wide relaxation, or managed support cannot deliver the necessary evidence. Supplement the contract and deployment prerequisites, and evaluate other auditable protection paths if necessary.
When comparing candidates, use Selection Criteria Planning to organize business constraints, but no recommendation can replace the account-level acceptance testing described above. Whether Myra Security WAF suits the business ultimately depends on protection, availability, and a complete operational response process working together—not on how many times a report says “blocked.”
- Myra Security WAF
- WAF business false-positive statistics
- WAF acceptance testing log correlation
- WAF staged rollout and rollback