Engineering guide: Web App Shield connections
Plan connections for logs, response workflows, configuration, identity and optional database-security products. The examples need validation against the selected product, version and licence.
Start with the connection overview, then choose a section for the task you need. Each section contains an interface or configuration example; check its prerequisites and limits before using it.
1 Dual-plane security architecture
Distinguish website-traffic protection from separately licensed database-security products. Select a component to inspect the interface and data format relevant to the planned connection.
Plane and component inspector
Pick a plane, then a component, to see its function, egress protocol and data model.
Performs single-pass traffic inspection across 150+ PoPs, neutralising the OWASP Top 10, custom rules and zero-day threats inline.
- Primary egress protocol
HTTPS / TLS 1.3- Data model / schema
CEF / LEEF / JSON
Browser telemetry analysis and dynamic challenge injection to neutralise malicious automation without user friction.
- Primary egress protocol
HTTPS / JS fingerprinting- Data model / schema
JSON / event stream
Evaluates compromised-credential feeds and behavioural anomalies to block credential stuffing and brute force.
- Primary egress protocol
HTTPS / REST API- Data model / schema
JSON event payload
Monitors third-party JavaScript executing in the browser to stop Magecart and formjacking attacks.
- Primary egress protocol
HTTP / script inspector- Data model / schema
JSON / webhook
Mitigates volumetric L3/L4 and complex L7 application attacks within seconds, using global PoP capacity.
- Primary egress protocol
L3/L4 BGP / L7 HTTP- Data model / schema
W3C / CEF
Embeds inside application runtimes to stop SQL injection, command execution and unauthorised file access.
- Primary egress protocol
Native JVM / .NET IPC- Data model / schema
Internal process audit
Monitors privileged local database-administrator activity directly on relational DB servers, local console sessions included.
- Primary egress protocol
Local IPC / shared memory- Data model / schema
Raw audit log
Collects native cloud database audit streams across AWS RDS, Azure SQL and Google Cloud SQL without local agents.
- Primary egress protocol
AWS CloudWatch / Event Hubs API- Data model / schema
Normalised cloud audit
Central big-data server running UEBA analytics, compliance retention and enterprise policy management.
- Primary egress protocol
TLS / HTTPS / gRPC- Data model / schema
sonargd data warehouse
Machine learning over database audit trails to pinpoint high-risk data exposure and behavioural anomalies.
- Primary egress protocol
Internal hub IPC- Data model / schema
Risk-score narrative
2 Telemetry egress and protocols
Choose a supported log-delivery channel, format and destination. The latency chart is illustrative: measure end-to-end delivery and completeness in the acceptance test.
Latency per delivery channel
Average log-transport latency, in seconds — lower is faster.
Takeaway: push mechanisms (Splunk HEC, Kafka) ingest in under 15 seconds; API polling incurs batch delays and rate limiting (HTTP 429).
Log format field mapper
CEF:0|Imperva|Incapsula|1.0|20001|SQL Injection Attempt|7|cs12=BLOCK cs17=CVE-2023-1234 fileType=SQLi filePermission=Rule_1092 c-ip=198.51.100.45 cn1=403 cs-sessionid=sess_8893412aMapped vendor extension fields
cs12 / cs-responseactionFinal mitigation decision enforced (PASSED, BLOCK, CAPTCHA).cs17 / cs-cveCVE correlated by Threat Research.fileType / filePermissionAttack classification (SQLi, XSS) and triggered signature ID.c-ip / cn1Source client IP and HTTP status code returned.
LEEF:2.0|Imperva|Incapsula|1.0|WAF_BLOCK|dev01|src=198.51.100.45|usrName=john_doe|proto=HTTPS|action=BLOCK|cat=CrossSiteScripting|ruleId=89432Mapped vendor extension fields
src / usrNameOrigin IP and authenticated user identity.action / catEnforced action and standardised threat category.ruleIdSecurity policy rule identifier in the Imperva engine.
{
"timestamp": 1729864200,
"client_ip": "198.51.100.45",
"attack_type": "Bot_Automation",
"action": "CAPTCHA_CHALLENGE",
"cve_id": "CVE-2024-8891",
"bot_classification": "Malicious_Scraper"
}Mapped vendor extension fields
client_ip / timestampClient IPv4/IPv6 origin and epoch timestamp.bot_classificationFingerprint class (good bot, scraper, headless browser).actionApplied mitigation (PASSED, CHALLENGE, DROPPED).
2026-10-25 13:50:00 198.51.100.45 POST /api/checkout 403 1092 "Imperva_WAF_Block" "Mozilla/5.0"Mapped vendor extension fields
date time c-ipUTC timestamp and connecting client IP.cs-method cs-uri-stemHTTP verb and requested path.sc-status cs(User-Agent)HTTP status code and client user agent.
Hybrid cryptographic envelope
Edge PoPs compress and symmetrically encrypt raw logs, then wrap the payload key with your public RSA key.
- Payload compressionRaw logs compressed into micro-batches at the edge PoP.
- AES-256 symmetric encryptionEach batch encrypted with a generated symmetric session key.
- RSA key wrappingThe session key encrypted with the enterprise-provided RSA public key.
- MD5 integrity checkFile header carries an MD5 checksum to detect tampering.
3 SIEM and security data lakes
Choose the investigation platform and verify its supported connector, data mapping and access. The steps below are configuration examples, not evidence that a connection is already operating.
Microsoft Sentinel integration pipeline
Serverless extraction pipeline: an Azure Function App deployed in the customer's tenant pulls logs from the Imperva SIEM API and normalises them into Log Analytics.
- Timer trigger and Key Vault lookupThe Azure Function runs on schedule and retrieves the API credentials and the RSA private key from Azure Key Vault.
- API pull and payload decryptionConnects to the Imperva SIEM API over TLS, downloads the compressed log batch and decrypts it in memory.
- Log Analytics ingestionStreams the normalised CEF records into the Azure Monitor Ingestion API, targeted at the Log Analytics workspace.
- ASIM parser normalisationThe ImpervaWAFCloud parser maps raw CEF fields to the CommonSecurityLog schema for cross-workload hunting.
Technical specifications
- Integration pattern
Azure Function App (Python), timer trigger- Data normalisation model
ASIM (CommonSecurityLog table)- Authentication
API ID + key; RSA private key in Key Vault- Telemetry scope
Cloud WAF, bot, ATO, DDoS, audit logs
Splunk Enterprise and Splunk Cloud
High-throughput streaming into the Splunk HTTP Event Collector (HEC) for edge events, paired with the jSonar add-on querying the DSF Hub sonargd database directly.
Technical specifications
- Integration pattern
Splunk HEC push + jSonar DSF add-on- Data normalisation model
Splunk CIM (Web and Network data models)- Authentication
HEC token; mTLS, TLS 1.3- Telemetry scope
WAAP edge access + DSF database audit trails
IBM QRadar DSM integration path
LEEF-formatted events over Syslog TLS or REST API collection, mapped by the Imperva Device Support Module (DSM) into the QRadar Sense Analytics engine.
Technical specifications
- Integration pattern
Syslog over TLS (TCP 6514) / cloud REST API- Data normalisation model
LEEF event mapping- Authentication
Mutual TLS, key-pair verification- Telemetry scope
WAF threats, network protection, DSF alerts
Google Security Operations (Chronicle)
Automated ingestion through Google Cloud Storage buckets into Google SecOps, normalising raw JSON payloads into Unified Data Model (UDM) events.
Technical specifications
- Integration pattern
GCS export bucket / Chronicle ingestion API- Data normalisation model
Unified Data Model (UDM)- Authentication
GCP service-account key / OAuth 2.0- Telemetry scope
Cloud WAF, bot protection, account takeover
Elastic Security and Elasticsearch ingest pipeline
Filebeat or Elastic Agent consumes the S3/Blob log exports and passes records through Elastic ingest pipelines to populate Elastic Common Schema (ECS) fields.
Technical specifications
- Integration pattern
Filebeat / Elastic Agent, S3 input plugin- Data normalisation model
Elastic Common Schema (ECS)- Authentication
AWS IAM role / Azure SAS token- Telemetry scope
WAAP logs, bot fingerprints, RASP workload audit
4 Bidirectional SOAR and automated response
Agree which events can trigger a workflow and which actions need approval. The sample payloads demonstrate a message structure; validate authentication, retries and permitted actions before use.
Incident response playbook simulator
Pick an attack to walk through detection, webhook dispatch, enrichment and enforcement.
- Step 1: DetectionAttack Analytics engineAttack Analytics clusters a 45,000 RPS burst across 12 countries into one active L7 DDoS narrative.Engine: Attack Analytics
- Step 2: DispatchOutbound webhookThe outbound HTTPS webhook fires with its shared-secret authentication token.Protocol: HTTPS webhook
- Step 3: EnrichmentSOAR playbook queryThe Cortex XSOAR playbook queries the Imperva REST API for the most attacked URL paths.Target: SOAR platform
- Step 4: EnforcementDynamic policy shiftAn API command shifts the WAF rule from alert-only to an active dynamic JavaScript challenge.Status: mitigated
{
"event_type": "WebsiteDdosStart",
"account_id": "10023456",
"site_name": "checkout.enterprise.com",
"threat_level": "CRITICAL",
"rps_peak": 45000,
"mitigation_method": "Dynamic Adaptive Challenge"
}- Step 1: DetectionAttack Analytics engineThe ATO module identifies 12,000 credential-validation attempts from residential proxy IPs.Engine: Attack Analytics
- Step 2: DispatchOutbound webhookThe webhook dispatches an account-takeover alert with the list of compromised usernames.Protocol: HTTPS webhook
- Step 3: EnrichmentSOAR playbook queryThe SOAR playbook runs a cross-workload check in Entra ID for the affected accounts.Target: SOAR platform
- Step 4: EnforcementDynamic policy shiftSOAR calls the API to terminate the active user sessions and block the offending IP ranges.Status: mitigated
{
"event_type": "AccountTakeoverAlert",
"target_endpoint": "/api/v1/auth/login",
"attack_vector": "Credential_Stuffing",
"compromised_accounts_detected": 142,
"action_requested": "Invalidate_Sessions"
}- Step 1: DetectionAttack Analytics engineDSF Data Risk Analytics detects an anomalous SELECT extracting 500,000 national-ID records.Engine: Attack Analytics
- Step 2: DispatchOutbound webhookA high-priority alert is dispatched to Splunk SOAR through the Kafka event broker.Protocol: HTTPS webhook
- Step 3: EnrichmentSOAR playbook queryThe playbook retrieves the DBA identity and compares it with the scheduled maintenance tickets.Target: SOAR platform
- Step 4: EnforcementDynamic policy shiftThe DSF Hub applies a Data Level Security (DLS) restriction and revokes the service-account access.Status: mitigated
{
"event_type": "DatabaseDataExfiltration",
"database_instance": "prod-customer-db-aws",
"db_user": "app_svc_reporting",
"records_extracted": 500000,
"action_taken": "Revoke_DLS_Permissions"
}- Step 1: DetectionAttack Analytics engineClient-Side Protection detects an unauthorised external JavaScript file modified on the payment page.Engine: Attack Analytics
- Step 2: DispatchOutbound webhookThe webhook dispatches a Magecart / script-violation alert to the DevSecOps pipeline.Protocol: HTTPS webhook
- Step 3: EnrichmentSOAR playbook queryThe SOAR playbook creates a Jira ticket assigned to application-security engineering.Target: SOAR platform
- Step 4: EnforcementDynamic policy shiftThe Imperva API restricts the script domain pending manual authorisation, as PCI DSS 4.0 requires.Status: mitigated
{
"event_type": "ClientSideScriptViolation",
"page_url": "https://enterprise.com/checkout/pay",
"script_source": "https://malicious-cdn.com/tracker.js",
"compliance_impact": "PCI_DSS_Violation"
}5 DevSecOps, IaC and CI/CD
Review and test configuration changes before applying them. The generated code is a starting example; confirm provider versions, parameters, credentials and a recovery path.
Terraform HCL generator
Set the parameters; the HCL on the right follows.
resource "incapsula_site_v3" "production_site" {
name = "api.enterprise.com"
type = "PUBLIC_CLOUD"
cloud_type = "AWS"
}
resource "incapsula_data_centers_configuration" "dc_config" {
site_id = incapsula_site_v3.production_site.id
data_center {
name = "primary_origin"
ip_or_host = "10.0.12.44"
server {
ip = "10.0.12.44"
active = true
}
}
}
resource "incapsula_waf_security_rule" "custom_protection" {
site_id = incapsula_site_v3.production_site.id
rule_action = "api.rule_action.block"
name = "Enforce-Security-Policy"
filter = "Header.User-Agent == 'BadBotEngine' | Header.Authorization == ''"
}Managing site creation, SSL certificate validation and rule provisioning through Terraform removes configuration drift from the CI/CD pipeline.
OpenAPI schema sync and positive security
In the deployment pipeline (GitLab CI, GitHub Actions), developers push the updated OpenAPI (Swagger) specification to the Imperva API Security module through its REST API.
- Enforces valid routes, HTTP methods and parameter types at the edge.
- Detects shadow APIs: undocumented endpoints that are active.
- Identifies zombie APIs: deprecated routes still receiving traffic.
RASP in-app workload sensors
Runtime Application Self-Protection (RASP) micro-agents deploy inside the application runtime (JVM, .NET CLR, Node.js, Kubernetes pods) without edge network rules.
- Monitors memory buffers, file-system access and raw database queries.
- Neutralises zero-day exploits (deserialisation, SQL injection) in real time.
- In-thread mitigation, no round trip to the edge.
6 Identity federation, enterprise PKI and two-tier mTLS
Separate administrator sign-in from transport authentication. Verify the selected product’s identity and certificate support, including the two connections in any mutual-TLS design.
Two-tier mTLS flow
Pick a stage of the handshake for the client authentication and header-injection mechanics.
Designed for mobile banking applications, B2B enterprise APIs and IoT networks. The connecting client establishes a TLS 1.3 mutual handshake with the nearest Imperva edge PoP. The PoP checks the certificate revocation lists (CRLs) and authenticates the client certificate authority.
Injected forwarding header:
X-Imperva-Client-Cert-SAN: SubjectAltName: email:api-client@enterprise.com, CN=MobileAppClientV2The Imperva PoP terminates the tier-1 TLS session, inspects the payload against the WAF, bot and rate-limiting rules, and extracts the verified client identity attributes (SAN, common name, issuer). It injects these attributes into an encrypted HTTP header before forwarding.
Injected forwarding header:
X-Imperva-Client-Cert-Verified: TRUE; Serial=883920192; Issuer=EnterpriseInternalCATo protect origin servers from direct network bypass, Imperva presents an enterprise-issued client certificate when opening the TCP connection to the backend origin load balancer. The origin drops any request that does not present this verified certificate.
Injected forwarding header:
Connection: TLS_AES_256_GCM_SHA384; ClientCertPresented: ImpervaOriginClientCertV3SAML 2.0 identity federation
Federates administrative authentication across Microsoft Entra ID, Okta and ADFS. Attribute assertions map corporate directory security groups to granular role-based access control (RBAC) tiers and to Data Security Fabric Data Level Security (DLS) compliance scopes.
Verify cryptographic support
Confirm protocol versions, certificate handling and supported algorithms for every connection against current vendor documentation. Do not infer a post-quantum feature from a conventional encryption label.
7 Data Security Fabric and the database estate
Database audit integration is a separate product scope from website protection. Confirm engine support, licensing, permissions and export options against the current vendor documentation.
Database scope distribution
Storage categories monitored across agent and agentless architectures.
- Relational (Oracle, SQL Server)45 %
- Cloud DBaaS (RDS, Azure SQL)25 %
- Big data (Snowflake, BigQuery)18 %
- NoSQL (MongoDB, Cassandra)12 %
Key capability: the DSF Hub sonargd engine runs user and entity behaviour analytics (UEBA) to detect privileged-user anomalies and schema tampering without burdening the SIEM licence.
Database support catalogue
- Oracle (RAC and Exadata)Agent / agentlessMonitors local shared-memory IPC and cloud database instances.
- Microsoft SQL ServerAgent / agentlessFull audit tracking for on-premise SQL Server and Azure SQL.
- Amazon RDS and AuroraAgentless gatewayIngests CloudWatch audit streams without host software.
- PostgreSQL and AlloyDBAgent / agentlessDeep SQL parsing across open-source and enterprise PostgreSQL.
- SnowflakeAgentless gatewayAudit collection for cloud enterprise data warehousing.
- MongoDB and CouchbaseAgentless / agentDocument-store JSON query monitoring and UEBA analytics.
- Google BigQueryAgentless gatewayServerless data-warehouse audit ingestion through GCP APIs.
- Apache CassandraAgent gatewayDistributed NoSQL ring activity tracking.
- SAP HANAAgent gatewayIn-memory database audit and policy enforcement.
- Databricks and HadoopAgentless gatewayBig-data lake query auditing and data-loss prevention.
- No database engine matches.
Kafka streaming broker and business-intelligence egress
Beyond SIEM log shipping, the DSF Hub acts as an enterprise data broker: the built-in rsyslog-kafka engine streams enriched audit records into Apache Kafka or Azure Event Hubs topics, while Tableau and Power BI connect through ODBC/JDBC for multi-year compliance reporting.
8 Master integration matrix and roadmap
Use the matrix to plan interfaces, directions and formats. Agree acceptance checks and ownership for each rollout phase; sample values are not service commitments.
Architectural integration matrix
| Domain | Target system | Direction | Protocol / interface | Data format | Architectural objective |
|---|---|---|---|---|---|
| SIEM | Splunk Enterprise / Cloud | Outbound | HTTPS / HEC API | JSON, CEF | Raw security event ingestion and Splunk CIM mapping |
| SIEM | Microsoft Sentinel | Inbound | REST API (Azure Function) | CEF (ASIM) | Automated log retrieval and Defender telemetry correlation |
| SIEM | IBM QRadar | Outbound | Syslog over TLS (TCP 6514) | LEEF | Threat-intelligence feed and Sense Analytics offences |
| SIEM | Elastic Security | Inbound | Filebeat / S3 plugin | JSON (ECS) | Log storage in Elasticsearch for threat hunting |
| Storage | Amazon S3 | Outbound | S3 REST object API | Compressed JSON / CEF | Encrypted cold storage and decoupled data-lake feeds |
| SOAR | Palo Alto Cortex XSOAR | Bidirectional | REST API / webhooks | JSON | Automated IP blocking, session invalidation, triage |
| SOAR | Splunk SOAR / Chronicle | Bidirectional | REST API / webhooks | JSON | Automated threat-containment playbooks |
| IaC | HashiCorp Terraform | Inbound | Provider API (imperva/incapsula) | HCL / JSON state | Declarative provisioning of sites, rules and SSL certificates |
| CI/CD | GitLab / GitHub Actions | Inbound | REST API / OpenAPI | JSON / YAML | Positive security sync and shadow-API discovery |
| Workload | Kubernetes / pod RASP | In-app | RASP micro-sensor | Native system calls | In-runtime zero-day exploit neutralisation |
| ITSM | ServiceNow | Bidirectional | ServiceNow Table API | JSON | Automated SIR incident creation and CMDB sync |
| ITSM | Jira Service Management | Outbound | Jira REST API | JSON | Script authorisation tracking for PCI DSS compliance |
| Identity | Okta / Entra ID | Inbound | SAML 2.0 / SCIM | XML assertions | Administrative SSO and RBAC role mapping |
| PKI | Thales CipherTrust | Bidirectional | Native registration token | Crypto objects | Database key lifecycle management and tokenisation |
| PKI | GlobalSign CA | Inbound | Automated ACME / DNS | X.509 certificates | Edge SSL/TLS certificate issuance and renewal |
| SASE | Cato Networks | Peering | Remote port forwarding | Encapsulated TCP/IP | Securing private origin resources without public IPs |
| Streaming | Apache Kafka | Outbound | Kafka protocol / rsyslog | JSON / audit logs | High-throughput database audit streaming to analytics |
| BI | Tableau / Power BI | Inbound | ODBC / JDBC | SQL tabular | Multi-year compliance audit reporting |
No row matches.
Four-phase implementation
- Phase 1Identity and PKI foundation
- SAML 2.0 SSO federation
- Two-tier mTLS origin shield
- GlobalSign ACME SSL setup
- PQC cryptographic preparation
- Phase 2Telemetry and SOC activation
- Object-storage push pipelines
- SIEM parsers (ASIM / CIM)
- Outbound webhooks for SOAR
- Real-time ChatOps alerts
- Phase 3DevSecOps and policy as code
- Terraform provider deployment
- OpenAPI schema sync in CI/CD
- RASP in-app workload sensors
- Shadow-API auto-discovery
- Phase 4DSF hybrid data expansion
- DSF Hub core infrastructure
- Cloud agentless gateways
- On-premise host-agent rollout
- Kafka sub-second streaming
Source: Thales Cyber Security — Enterprise Security & Data Fabric Ecosystem. Vendor figures as published. ALT-F1 is the Belgian partner for Imperva: we open the account, tune the rules and build these integrations with your teams. The original document is kept in the site repository (docs/imperva/).