System Architecture & Multi-Vector Matching
The WWN AppIntel Feed delivers highly granular API intelligence signatures. To utilize this feed, client architectures must deploy a processing layer capable of multi-vector request matching (Method, Path, Headers, Body) and native payload decoding.
Worked example: request to event
This example uses the domain, method, path, and action from exported rule 1 for X (Twitter). The message and user are fictional. The excerpt explains the flow; use the complete delivered rule for production matching.
1. Inspect the request
POST /i/tweet/create HTTP/1.1
Host: x.com
Content-Type: application/x-www-form-urlencoded
status=Release+notes+are+ready+for+review.2. Select the rule and extract fields
Candidate: rule 1 · X (Twitter) · Posted a tweet. Compare the domain, method, path, and any remaining configured conditions using the confirmed matching contract. The rule’s extraction keys include status and media_ids. In this request, URL-form decoding yields status = Release notes are ready for review.; media_ids is absent.
3. Apply policy and report
For this example, the platform supplies the identity alex@company.example and a policy that blocks public posts. The enforcement layer prevents forwarding. Report “User attempted to post a tweet” and the decoded message, omitting the absent media field. The complete JSON event appears below.
Architecture & Traffic Access
The feed requires access to the HTTP request fields used by each rule. Your platform can supply those fields through a proxy, an agent with suitable traffic visibility, or an ICAP integration.
Core Requirements
SSL/TLS Interception
For HTTPS, the inspection platform must obtain plaintext request fields before evaluating rules that use paths, headers, or bodies. In a common ICAP deployment, the upstream proxy handles TLS interception and passes HTTP messages to the ICAP service. Hostname visibility alone is insufficient for body-based detection.
Multi-Vector Logical AND Matching
The engine evaluates the conditions configured for a rule. Confirm their combination, normalization, and matching modes against the delivered feed and reference fixtures before implementation; the field names alone do not specify these semantics.
Native Payload Decoders & Parsers
Decode only the formats required by the selected rules. Agree compression handling, size limits, nested encoding, and malformed-input behavior with your integration. Common request structures include:
Advanced Capabilities
Embedded Lua Engine
Some rules may require a Lua parser for application-specific metadata. Confirm the runtime version and helper functions for the supplied scripts. If these rules are included, define execution limits and handling for script errors or unsupported scripts.
Rule Schema Dictionary
The names below describe the integration concepts used in this guide. Confirm the delivery format and matching contract for your feed before implementing them; this page is not a complete executable schema.
1. Classification Hierarchy
app_class
The overarching market category (e.g., Cloud Storage).
app
The normalized public name of the application (e.g., Google Drive).
action_name
The specific API action being performed (e.g., Uploaded a file).
2. Request Detection Conditions
Confirm Matching Contracttarget_domain
The request hostname used to select candidate rules. Prefer the HTTP authority or Host value from the inspected request. TLS SNI is separate connection metadata and is not an HTTP header. Confirm exact-host versus subdomain matching in the feed contract.
http_method
The required HTTP action method: GET, POST, PUT, DELETE, PATCH, HEAD, CONNECT.
url_path_pattern
The request path condition. Do not infer wildcard or regular-expression support from this name. Confirm whether the delivered rule uses exact matching, substring flags, or another explicit mode, and whether matching happens before or after URL decoding.
request_headers_match
Conditions on parsed request headers. Confirm how names and values are compared, whether values use exact or substring matching, and how repeated headers are handled. Do not assume a search over a concatenated header string.
request_body_match_all
Body conditions evaluated according to the delivered rule format. Do not split arbitrary strings by commas: commas can occur inside values. Confirm the condition encoding, escaping, Boolean combination, and whether comparisons apply to raw text or parsed fields.
For example, a parsed condition on action = share differs from searching for the literal text "action":"share". Whitespace and JSON key order must be covered by the agreed test fixtures.
3. Execution & Dashboard Formatting
lua_parser_script Optional
If native JSON/Multipart parsers are insufficient for an application's proprietary data structure, this field contains executable Lua code to extract dynamic metadata manually.
report_html_template
A reporting template populated with extracted metadata. Keep extracted values as structured data. Escape values for their output context, allow only supported template markup, and validate link schemes before rendering. Treat filenames, messages, and URLs as untrusted input; never insert raw request content as HTML. Define how missing values and optional sections are omitted.
block_response_template
A response selected by your enforcement layer when a request is blocked. In an ICAP REQMOD integration, the service can return an HTTP response for the proxy to deliver instead of forwarding the request. Agree the response status, headers, body, and failure behavior; returning a block page does not inherently require terminating the connection.
Confirm the matching contract
The exported columns and examples do not establish all engine semantics. Before implementing a matcher, obtain the reference behavior and positive and negative fixtures for the feed version you will consume.
| Area | Behavior to confirm |
|---|---|
| Matching modes | Exact, substring, wildcard, or regular expression; Boolean combination of configured conditions. |
| Empty values | Whether null, an empty string, an empty object, and a missing field mean no condition, a literal value, or an invalid rule. |
| Normalization | Hostname and header-name case; path and value case; percent decoding, repeated fields, Unicode, and whitespace. |
| Payloads | Raw-text versus parsed-field comparisons; nested encoding; array selection; compression; malformed input and size limits. |
| Multiple matches | First match, explicit priority, or multiple events; duplicate suppression and stable rule identifiers. |
| Extraction and failures | Missing metadata, optional template sections, unsupported scripts, timeouts, and the platform’s allow/block behavior on inspection failure. |
Request Processing
Select candidate rules using inexpensive checks before decoding large bodies. Your integration determines request buffering and enforcement timing; a request must be held until the policy decision if it is to be blocked before forwarding.
Domain & Method Check (Fast Reject)
Verify the target_domain and http_method. If either fails, immediately stop processing this rule.
Path & Header Conditions
Evaluate path and parsed-header conditions using the matching modes and normalization agreed for the feed.
Payload Parsing & Body Conditions
Decode the required payload format within configured limits. Evaluate the encoded body conditions using the agreed semantics. Handle malformed, truncated, or unsupported payloads explicitly instead of treating them as successful matches.
Data Extraction & Formatting
Extract the configured metadata after matching, using native parsers or a supported Lua script. Preserve structured fields, handle missing values, and safely render the reporting template. Resolve multiple matching rules using the agreed precedence or multi-event behavior.
Policy Enforcement
Pass the detected action, available metadata, and platform identity to your policy engine. For a blocked request, prevent forwarding and return the agreed response through the enforcement layer. Record an attempted action rather than a completed operation.
Final JSON Event Payload
This illustrative event continues the worked example. It is valid JSON; adapt the event envelope to your SIEM or dashboard contract. The action name identifies the matched rule, while the decision and message describe an attempted operation that was blocked.
{
"timestamp": "2026-11-20T12:00:00Z",
"rule_id": 1,
"user_identity": "alex@company.example",
"policy_decision": "BLOCKED",
"app_category": "Social Network",
"app_name": "X (Twitter)",
"action_name": "Posted a tweet",
"extracted_metadata": {
"status": "Release notes are ready for review."
},
"message": "User attempted to post a tweet.",
"dashboard_html": "User attempted to post a tweet.<br>Tweet text: <b>Release notes are ready for review.</b>"
}
Protocol references: ICAP (RFC 3507) · JSON (RFC 8259)