Compliance perimeter with security event retention
Enforce HTTPS, filter attacks, and restrict access in front of a regulated application, then export every security event for retention.
This design serves security and compliance teams that must show auditors the controls in front of a regulated application. That application handles card or personal data under a standard such as PCI DSS, SOC 2, LGPD, or GDPR. Certificate Manager holds the TLS certificates, and the application redirects all traffic to HTTPS. A firewall applies WAF rules, Network Shield lists, and geographic restrictions before requests reach the origin through a connector. Data Stream exports every request record, with its WAF decision, to a SIEM or storage the team keeps for the period its standard requires. Under the Shared Responsibility Model, Azion secures the platform, and the team configures and evidences these controls. The design implements the use case Prepare regulated web applications for security audits.
Architecture diagram
Solid arrows carry the request, dotted arrows carry the response, and thick arrows carry the evidence, which runs apart from any request. Each label starts with the number of the dataflow step it belongs to.
Dataflow
- A client connects over HTTPS, and the workload presents the certificate that Certificate Manager holds for the domain. DDoS Protection assesses the traffic before any firewall rule runs.
- Firewall rules read Network Shield lists and answer
403in two cases. One is a client from a country outside the served list, and the other a request for/adminfrom outside the team’s network. - WAF scores every request and, in Blocking, answers
400to a request whose score reaches the threshold of a threat family. - A request that passes reaches the application, which redirects plain HTTP to HTTPS and forwards the request to the origin through the connector.
- Data Stream exports the record of every request, with its WAF variables, to a SIEM or storage. That destination keeps the evidence for the period the standard requires.
- Real-Time Events keeps each record for 7 days, for the review of a recent incident.
A refusal starts at the firewall and goes straight to the client, because the application never receives a refused request. The evidence leaves from the firewall, which every request crosses, refused requests included. Every control on the request leaves a record in the evidence, at the destination and in Real-Time Events.
Components
- Certificate Manager: the Platform Resource that holds the TLS certificates a workload presents. The team uploads its own certificate, or Azion requests one from Let’s Encrypt and renews it.
- application: the Platform Resource that redirects plain HTTP to HTTPS and delivers the requests the firewall lets through.
- firewall: the Platform Resource where every control runs, each as a named rule that the team can map to an audited control.
- DDoS Protection: the Feature that mitigates DoS and DDoS attacks on every workload. It is always on, with nothing to configure.
- WAF: the application-layer control. It scores each request against eight threat families, and in Blocking it refuses an attack pattern.
- Network Shield: restricts access by country and by network, through lists that deny rules read with the Network criterion. The administration path reads an
ip_cidrlist, because country resolution can be wrong for some addresses. - connector: the Platform Resource that reaches the origin.
- Data Stream: exports the request records, with the WAF variables, for retention outside the platform. Its Activity History data source also exports the configuration changes that users make in Azion Console. The Activity History page itself shows only the last 30 days.
- Real-Time Events: holds each request record for 7 days, for incident review. Evidence for a longer audit period comes from the destination.
- SIEM or storage: the integration that holds the evidence for the period the standard of the team requires.
Implementation
- Prepare regulated web applications for security audits - builds this design end to end, with the HTTPS redirect, the country and address rules, the stream of security events, and the checks for each.
- Request a Let’s Encrypt certificate - has Azion request and renew a certificate for the domains of the workload.
- Certificate Manager quickstart - uploads a certificate of your own and binds it to a workload.
- Redirect HTTP to HTTPS - creates the application rule that redirects every plain HTTP request to HTTPS.
- Bind a firewall to a workload - names the firewall in the deployment of the workload, so it inspects the requests to every domain.
- Apply a rule set to every request - applies the WAF rule set, the application-layer control an audit asks for.
- Deny requests from a list of countries - creates the list of served countries and the rule that refuses every other country.
- Allow only the addresses in a list - creates an address list and a rule that refuses every client outside it.
- Guard one path with a network list - joins a path criterion to the Network criterion, so the administration rule acts only on
/admin. - Stream request and WAF records to a SIEM - exports every request with its WAF variables to the destination that keeps the evidence.