Drupal · 13 min read · Updated

Drupal Security on Acquia and Working with Acquia Support

Acquia secures the platform, so every scan finding lands on your side. Drupal security on Acquia layer by layer, then how to get fast, useful help from Acquia Support.

Drupal security on Acquia support

This is Part 8 of 10 in Drupal on Acquia: Enterprise Operations Guide, a free series for the people who run Drupal sites on Acquia Cloud Platform. Acquia secures the platform, so every scan finding lands on your side. Drupal security on Acquia layer by layer, then how to get fast, useful help from Acquia Support.

Drupal security on Acquia: the layers you own

A week after Arjun started, Webocreation Group’s security team forwarded an external scan report. It listed findings for the corporate site: two contributed modules with published security advisories, an exposed Stage site with an outdated copy of the site, a phpinfo() file left in the web root by a long-gone developer, and a Drupal administrator account named “admin” with a weak password.

None of these were platform problems. Acquia’s infrastructure was patched and protected. Every finding was in the part of the shared responsibility model that belonged to Webocreation Group. This section covers how to secure the application side of a Drupal site on Acquia.

The security layers your team owns on top of the platform Acquia secures (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
The security layers your team owns on top of the platform Acquia secures.

The security layers you own

Recall the responsibility map from the shared responsibility section. Acquia secures the platform. You secure:

  • Drupal core, contributed modules and themes: keeping them updated.
  • Custom code: writing it securely and reviewing it.
  • Configuration: permissions, text formats, user registration settings, error display.
  • Access: Cloud Platform users and Drupal accounts (see the access management section).
  • Secrets: API keys, passwords and certificates used by your application.
  • Non-production environments: keeping them private.
  • The edge: WAF and bot rules, if you manage your own edge (see the CDN and edge security section).
  • Third-party scripts on your pages.

Drupal security updates

The Drupal Security Team coordinates security fixes for Drupal core and contributed projects covered by its security advisory policy. It publishes security advisories on Drupal.org and through email and RSS feeds. Security releases for core are normally made in a scheduled weekly window, and highly critical issues are sometimes announced in advance through a public service announcement.

Your process should cover:

  1. Awareness. Subscribe to Drupal security announcements. Use Code Studio’s automatic updates or another tool that checks for security releases. Run composer audit in CI to flag packages with known vulnerabilities.
  2. Assessment. For each advisory, check whether you use the affected project and version, and read the risk rating.
  3. Timeframes. Agree how quickly you apply updates by severity, aligned with your company’s vulnerability management policy. Highly critical issues should reach production within hours to a day; others within days or weeks.
  4. Delivery. Apply updates through your normal pipeline and release process, using standard or emergency changes as appropriate (see the release management section).

Also watch for contributed modules that become unsupported: projects whose maintainers stop issuing security fixes. Drupal.org marks them, and Drupal’s update status reports them. Replace or take over unsupported modules before they become a problem.

Custom code security

Custom modules and themes are where many Drupal vulnerabilities live, because they do not benefit from community review. Build security into development:

  • Use Drupal’s APIs for database queries, forms, output rendering and access checks. They protect against SQL injection, cross-site scripting and cross-site request forgery when used correctly.
  • Never trust user input. Validate input and escape output.
  • Check access in every route, controller and custom entity operation.
  • Review code for security in every merge request.
  • Use static analysis in CI, and consider periodic security reviews or penetration tests for critical sites.

Secure configuration

Check these Drupal settings on every production site:

SettingSecure choice
Error displayDo not display errors to visitors on production
User registrationAdministrators only, unless public registration is required and protected
Text formatsRestrict full HTML and similar formats to trusted roles; never allow PHP code execution
PermissionsReview “administer” and “bypass” permissions; give them to as few roles as possible
Administrator accountsFew, named, protected by SSO or strong authentication; no generic “admin” accounts
Trusted host patternsSet in settings.php to your real domains
Development modulesDisabled on production (use Config Split)
File uploadsRestrict extensions and sizes; never allow executable types
Status reportReview Drupal’s status report and resolve warnings

The Security Review module and similar tools can check many of these automatically.

Secrets management

Applications need secrets: API keys for integrations, SMTP passwords, encryption keys, CRM credentials. Never store them in Git, in exported configuration, or in Cloud Hooks.

Better options on Acquia include:

  • Cloud Platform environment variables, set per environment in the Cloud Platform interface and read in settings.php.
  • A secrets file outside the repository, in a location on the environment’s file system that Acquia documents for this purpose, included from settings.php.
  • An external secrets manager, if your organization has one and your application can retrieve secrets from it securely.

Keep an inventory of secrets, who can access them and when they were last rotated. Rotate secrets when people with access leave, and immediately if one is exposed.

Protecting non-production environments

Dev, Stage and other environments often contain copies of production data and unreleased features. They must not be publicly accessible.

Use one or more of:

  • IP allowlisting for non-production environments, through Cloud Platform features where available, or through your edge provider.
  • HTTP authentication, using a Drupal module or web server configuration, as a simple extra barrier.
  • SSO-only access for editors and testers.
  • A “noindex” header on all non-production environments, so search engines do not index them even if protection fails.
  • Scrubbed databases (see the Cloud Hooks section), so that even if an environment is exposed, personal data is not.

Do not forget the default Acquia domains for each environment. Protection must apply to them too.

Cleaning up the web root

Files left in docroot can be served to anyone. Common dangers include phpinfo() files, database dumps, backup copies of settings.php, old installation scripts and test files. Keep docroot clean:

  • Review its contents regularly and remove anything that is not part of the site.
  • Add patterns for dangerous files to .gitignore.
  • Block access to sensitive file types at the edge or web server level.

Third-party scripts

Analytics tags, chat widgets, advertising pixels and personalization tools run in visitors’ browsers with full access to the page. A compromised third-party script can steal form data. Keep an inventory of scripts on each site, approve new ones through your security and privacy review, use a content security policy where practical to restrict where scripts can load from, and remove scripts that are no longer used.

Responding to a security incident

If you suspect a compromise:

  1. Contain: restrict access, take the site into maintenance mode or serve a static page if necessary, and preserve logs.
  2. Notify: your security team, and Acquia Support with a high-urgency ticket.
  3. Investigate: with your security team and Acquia, determine what happened and what was affected.
  4. Recover: restore known-good code and data (see the backups and recovery section), apply missing updates, rotate all credentials and secrets.
  5. Review: hold a post-incident review and fix the gaps that allowed it.

Follow your organization’s incident response and data breach procedures, which may include legal and regulatory notification requirements.

Webocreation Group: Closing the findings

Arjun closed the scan findings within two weeks. The two modules were updated through Code Studio and released as a standard change. Stage was restricted to the company VPN through the edge, its default Acquia domain was protected with HTTP authentication, and noindex headers were added to all non-production environments. The phpinfo() file was deleted and the web root reviewed. The generic “admin” account was blocked, and administrators moved to SSO.

He also set up composer audit in the pipeline and a weekly report of pending security updates. At the next external scan, the corporate site had no findings.

Template: Drupal security baseline

ControlStandardStatus
Security advisories monitoredSubscribed; automatic update merge requests enabled
Update timeframesHighly critical within 24 hours; critical within 7 days; others within 30 days
composer audit in CIPipeline fails on known vulnerabilities
Unsupported modulesNone in use, or replacement planned
Error displayOff on production
Administrator accountsNamed, SSO, reviewed quarterly
Trusted host patternsConfigured
SecretsEnvironment variables or secrets file; none in Git
Non-production protectionIP restricted or authenticated; noindex
Web rootReviewed quarterly; no stray files
Third-party scriptsInventoried and approved
Security reviewAnnual review or penetration test for critical sites

Checklist

  • Subscribe to Drupal security announcements and enable automatic update checks.
  • Agree update timeframes by severity with your security team.
  • Add composer audit and static analysis to CI.
  • Review production Drupal configuration against the baseline.
  • Move all secrets out of Git and configuration.
  • Protect every non-production environment, including default Acquia domains.
  • Clean the web root and block sensitive file types.
  • Write a security incident procedure that includes Acquia Support.

Common traps

  • “Acquia is secure, so we are secure.” Application security is your responsibility.
  • Slow security updates. Drupal security releases are public; attackers read them too.
  • Unsupported modules. No maintainer means no security fixes.
  • Secrets in Git. Every clone of the repository then contains your credentials.
  • Open Stage sites. They leak data and unreleased content, and search engines find them.

Working with Acquia Support

Arjun’s first support ticket with Acquia, inherited from the contractor, had been open for three weeks. Its title was “Site slow.” The description said, in full: “The site is really slow, please fix ASAP.” There had been four replies from Acquia asking for details: which site, which environment, which pages, since when, and whether anything had changed. None had been answered.

Acquia’s support team includes people with deep Drupal and platform expertise. How quickly and effectively they can help depends heavily on how you work with them. This section explains how to get the most from Acquia Support.

The life of a good ticket, from self-service checks to a recorded outcome (diagram from the Drupal on Acquia: Enterprise Operations Guide series)
The life of a good ticket, from self-service checks to a recorded outcome.

What support covers

Acquia’s support scope is defined in its product guides and support documentation for each product and subscription level. In broad terms:

  • Platform issues are Acquia’s responsibility: infrastructure failures, platform services not working, problems with Acquia tools.
  • Application issues are yours: bugs in your code, module conflicts, configuration problems, content issues. Acquia’s support engineers often help diagnose them, especially at higher subscription levels, but fixing them is your job.
  • Guidance and best practices are available within the limits of your subscription, and in greater depth with higher tiers or additional services.

Read the support scope for your subscription before you need it. It tells you what Acquia will and will not do, response time targets, and which channels to use.

Ticket urgency

Acquia classifies tickets by urgency, with response targets that depend on your subscription. The highest urgency is reserved for production outages and severe business impact. Lower urgencies cover degraded service, non-production problems, questions and requests.

Choose urgency honestly:

SituationAppropriate urgency
Production site down or unusable for most visitorsHighest (critical); follow up by phone if your subscription includes it
Production significantly degraded; key function brokenHigh
Non-production problem blocking a releaseMedium or normal, explaining the release date
Question, advice or routine requestLow or normal
Planned event needing preparationNormal, opened well in advance

Overstating urgency does not make your ticket faster in the long run. It erodes trust and takes engineers away from real emergencies. Understating it delays help when you need it.

Writing a good ticket

A good ticket gives the support engineer everything needed to start work immediately. Include:

  • Application and environment: the application name and the environment (for example, corporate, prod).
  • URLs affected: specific pages, not just “the site.”
  • What is happening: the exact error message, status code or behavior, with screenshots.
  • When it started: date, time and time zone.
  • Who is affected: all visitors, logged-in users, a region, a browser.
  • What changed recently: deployments, configuration changes, DNS or edge changes, traffic events.
  • What you have already checked: logs, cache headers, rollbacks attempted.
  • Request IDs from logs or error pages, if available.
  • Business impact: what this costs, so urgency is clear.
  • Contact details: who to reach and how, especially for urgent tickets.

Here is the “Site slow” ticket rewritten:

Corporate site (application: corporate, environment: prod) slow for anonymous users since Nov 14, 08:00 MST

Pages on www.example.com take 3 to 4 seconds to load, compared with under 1 second before Nov 14. Affects anonymous visitors; logged-in editors report normal speed. Edge analytics show the cache hit rate dropped from about 85 percent to about 12 percent at the same time. No deployments since Nov 11. A marketing script was added through the tag manager on Nov 14 at 07:45. We see a new cookie set on every page. Can you confirm whether this cookie is causing Varnish to bypass the cache, and advise on handling it?

That ticket would likely be answered in one reply.

Keeping tickets moving

  • Respond promptly to questions from support. A ticket waiting on you is not being worked on.
  • Keep one issue per ticket. Mixing problems confuses everyone.
  • Update the ticket when things change, including when the problem goes away on its own.
  • Close tickets when resolved, with a note on the outcome.
  • Escalate through the proper path if a ticket is not progressing. Your subscription’s documentation describes how, and your account team can help.

Planned work and advance notice

Many requests go better with notice:

  • Large traffic events (see the performance tuning section).
  • Load testing, which requires coordination with Acquia.
  • Major migrations, such as moving to a new infrastructure generation or consolidating applications.
  • Launches of new sites or domains.
  • Major version upgrades of Drupal or PHP.

Open a ticket or contact your account team early, with dates and details.

Account teams and technical account managers

Depending on your subscription, you may have an account manager and a technical account manager (TAM) or similar role. They can help with:

  • Understanding your entitlements and roadmap.
  • Planning large changes and events.
  • Escalating tickets that are not progressing.
  • Regular service reviews of your estate.

If you have a TAM, hold regular meetings, share your roadmap and upcoming events, and review open tickets and risks together.

Using acquia’s self-service resources

Before opening a ticket, check:

  • The Acquia status page, for known incidents and maintenance.
  • Acquia’s product documentation, including known issues and release notes.
  • Acquia’s help articles and community resources.

Subscribe to the status page so you hear about incidents quickly. When you open a ticket during a platform incident, reference it.

Recording what you learn

Every support ticket teaches something. Record important outcomes in your own knowledge base: the problem, the cause, the fix and any advice from Acquia. Over time, this becomes a valuable internal reference and reduces repeat tickets.

Webocreation Group: A better relationship

Arjun closed the “Site slow” ticket with an apology and a summary of the cookie fix from the caching section. He then wrote a one-page ticket guide for his team, based on this section, and added Acquia Support contacts and escalation steps to the incident runbook.

He also asked Webocreation Group’s account team for a quarterly service review. The first review covered open tickets, upcoming events, the Drupal 10 upgrade deadline and an entitlement mismatch. Within six months, the average time to resolve tickets had dropped sharply, mostly because tickets now arrived with the information needed to solve them.

Template: Acquia Support ticket

FieldContent
TitleApplication, environment, symptom and start time
UrgencyChosen using the urgency guide
Application and environment
URLs affected
What is happeningExact errors, status codes, screenshots
StartedDate, time and time zone
Who is affected
Recent changesDeployments, configuration, DNS, edge, traffic
Already checkedLogs, headers, rollbacks
Request IDs
Business impact
ContactName, phone, availability

Checklist

  • Read the support scope and urgency definitions for your subscription.
  • Write a team guide for opening tickets, using the template.
  • Add Acquia Support contacts and escalation steps to your incident runbook.
  • Subscribe to the Acquia status page.
  • Give Acquia advance notice of events, load tests, launches and migrations.
  • Hold regular reviews with your account team or TAM, if available.
  • Record ticket outcomes in your knowledge base.

Common traps

  • Vague tickets. “Site slow” starts a long conversation. A detailed ticket starts the fix.
  • Overstated urgency. It erodes trust and delays real emergencies.
  • Unanswered questions. A ticket waiting on you is not moving.
  • Expecting Acquia to fix your code. Support helps diagnose; application fixes are yours.
  • No advance notice. Events and migrations go better when Acquia knows they are coming.
Drupal on Acquia: Enterprise Operations Guide (full PDF)Every article from this series in one printable PDF.PDF · 560.0 KB
Free download: unlock it in one step

Share this page

or

Mailchimp opens in a new tab to confirm. Unsubscribe any time.

Rupak Nepali
Written byRupak Nepali

Rupak Nepali is a web developer, manage Webocreation website and the author of six books:
Getting Started with OpenCart Module Development (Packt, 2013),
OpenCart Theme and Module Development (Packt, 2015),
OpenCart 4: Dev Guide for Themes & Extensions (2024),
OpenCart 4: User Manual (2025),
Cloudflare for the Enterprise Website (2026) and
The Technical Web Guide for Marketers (2026).
Rupak has built OpenCart stores and extensions since 2010, has published more than 600 tutorials on Webocreation, and shares free OpenCart extensions on GitHub.
Find Rupak on
GitHub | Amazon | LinkedIn | X | YouTube.

Leave a Reply

Your email address will not be published. Required fields are marked *