Contentful is a hosted, headless CMS. Contentful runs the content platform, so you will not find a server log for it the way you would on a self-hosted WordPress or Drupal install. Your visibility comes from three separate places: the front-end you host, your Contentful organisation and space, and the credentials and integrations that connect the two.
This guide covers where each record lives, what hostile traffic usually looks like, and which signals deserve a response.
Know which layer you are watching
Most confusion about attacks on a Contentful site comes from looking at the wrong layer. Split the setup into parts:
- The public front-end. This is the website or app that renders your content. You or your agency host it, so its traffic logs, firewall and CDN records are yours to read.
- The Contentful platform. Contentful operates it. What you can see is the account-level activity available in your organisation and space settings, and what is offered depends on your plan.
- The connections between them. API keys, tokens, installed apps and webhooks. These are the most likely route into your content, and you control all of them.
Scanners and bots almost always hit the front-end, because that is the part with a public address. Traffic aimed at the content platform itself tends to arrive through a stolen credential, not through guessing a URL.
Where to look for traffic on the front-end
Whatever hosts your front-end, whether a static host, a serverless platform, a container setup or a traditional server, will have some form of request log. Check which of these you have switched on:
- Access or request logs from the hosting platform.
- CDN or edge analytics, which often show blocked and challenged requests separately.
- Web application firewall (WAF) event logs, if you run one.
- Error logs from server-side rendering functions or API routes.
Retention and detail vary by provider and plan, so confirm how long records are kept before you need them. If logging is off or the retention window is short, switching it on is the first practical task.
Because the content comes from an API, a front-end that fetches at request time can also be slowed by floods of requests. Static or cached output absorbs most of that, which is one reason many teams prefer it.
What Contentful itself can show you
Inside Contentful, look at the places where people and credentials are managed:
- Organisation users and roles. Review who has access and at what level. Unfamiliar accounts, or accounts for people who have left, are a clear signal.
- Space roles and permissions. Check that editors cannot do more than their job needs.
- API keys and tokens. The space settings list the delivery and preview keys. Personal access tokens for the Content Management API are tied to individual users. Any key you do not recognise needs investigating.
- Entry and asset history. Version history on content shows what changed and which user made the change, which helps when text or links look wrong.
- Webhooks. Each webhook has settings and call details you can review to see what was sent and where.
Whether you also get a dedicated audit or activity log, and how detailed it is, depends on your Contentful plan and organisation setup. Check your organisation settings and the official documentation, and ask Contentful support or your account contact if you cannot find it. If your plan has no such log, the history, token and webhook reviews above become your main evidence.
What attack patterns look like
Hostile traffic tends to fall into a few recognisable shapes. The detail differs by layer.
Scanning and probing
In front-end logs, scanners request paths that do not exist on your site, often for files and admin panels belonging to other platforms. A Contentful-driven site has no WordPress login page, so a stream of requests for one is just noise. A burst of 404 responses from a single address is background scanning. It is worth rate-limiting but rarely an emergency.
Brute-force and credential attacks
These target logins. Your front-end may have its own login for members or previews, and your team signs in to Contentful itself. Signs include many failed attempts on one account, attempts across many accounts from one source, and sign-in alerts from locations your team does not work in. Single sign-on and two-factor authentication blunt this class of attack, so check what your plan allows you to enforce.
Spam
Spam usually comes through forms on the front-end: contact forms, comments, newsletter sign-ups and anything else that accepts text and sends it onward. Look for repeated submissions with similar wording, link-heavy messages and bursts at odd hours. Field limits, a honeypot field, rate limiting and a challenge service reduce it without touching Contentful.
API abuse
If a delivery token has leaked, anyone can request your published content in bulk. That is usually harmless because the content is public anyway. A leaked management token is different, since it may allow changes. Watch for content you did not write, unexpected publishing activity, and new webhooks or tokens.
Which signals need action
Not every log line deserves a response. Use this split:
- Ignore and rate-limit: constant 404s for unrelated platforms’ files, generic bot user agents, and occasional failed sign-ins.
- Investigate the same day: repeated failed sign-ins on one user, a spike of 429 or 5xx responses on the front-end, and form spam that floods your inbox or CRM.
- Act immediately: a token or key you do not recognise, a user you did not invite, a webhook pointing to an unknown address, content changed by someone who should not have edited it, or an installed app nobody approved.
For the last group, revoke the token, remove the user or app, rotate any secret that may have been exposed, and then look for what else that credential touched.
A short monitoring checklist
- Confirm your front-end host keeps request logs and check how long it retains them.
- Turn on your CDN or WAF event logging if it is available.
- Enforce two-factor authentication and, if your plan supports it, single sign-on for the Contentful organisation.
- Review organisation users and space roles on a regular schedule, and remove leavers promptly.
- List every API key and personal access token, delete any that are unused, and store the rest only in your hosting environment settings, never in front-end code or a public repository.
- Review installed apps from the Contentful Marketplace and remove any you no longer use.
- Open each webhook and confirm its destination is one you recognise.
- Set an alert for sudden rises in error responses on the front-end.
For deeper reading, the Contentful developer documentation covers roles, tokens, apps and webhooks, and the OWASP Top Ten describes common web application risks that apply to your front-end. If you need to decode a status code in a log, the MDN HTTP status reference lists them.
Frequently asked questions
Can I see raw server logs for Contentful?
No. Contentful operates the platform, so you do not get server logs for it. You see the front-end logs from your own host and whatever account-level activity your Contentful plan exposes.
Does a bot hitting my site mean Contentful is compromised?
Not on its own. Scanners hit public front-ends constantly. Compromise shows up as unknown users, tokens, apps or webhooks, or as content changes nobody on your team made.
What should I do first if I find a token I do not recognise?
Revoke it, then check what it could reach and what changed recently in your content, users and webhooks. Replace any secret that was stored alongside it, and update the front-end environment settings that used it.