Free tool · AEM as a Cloud Service

cdn.yaml pre-check

Paste your cdn.yaml before you spend a config pipeline run on it. See the lines that match a cause Adobe's own pages give for a rejected file, and the page each finding rests on.

For AEM developers and DevOps engineers who edit traffic filter rules, redirects, origin selectors or request and response transformations. It runs in your browser: nothing you paste is sent to our server or stored. It is a pre-check, and it was not run against a config pipeline.

The example is a made-up cdn.yaml with the mistakes this page looks for. It is not a working file.

Your cdn.yaml

What it does and does not do

A pre-check, not a deployment test

What it reads

The text of one cdn.yaml, pasted or picked as a file, up to 100,000 bytes. It reads it in your browser. Tabs, whitespace at the ends of lines and backslashes in double-quoted strings are checked on every line. The shape of the file (kind, version, metadata, data, the rule sections and their rules lists) is checked as far as this tool can read the YAML.

What you get

A list of findings. Each has the line, a level (error, warning or note), what to change, and the Adobe page it rests on. You also get a draft of your file with the mechanical fixes applied: tabs, trailing whitespace and quote style. It is a draft to review.

What it does not do

It does not say the file will deploy. It does not check whether a when condition makes sense, request property names, WAF flag names, action types, regular expressions or whether an origin can be reached. It does not read your repository or call your site. Kinds other than CDN are recognised and not checked further.

A clean result. A clean result here does not mean the config pipeline will accept the file. This is a pre-check of the points listed under Sources. The real test is a config pipeline run or a deployment to a Rapid Development Environment.

Three levels. Error: Adobe's documentation or knowledge base states the rule. Warning: Adobe names it as a possible cause, or the pipeline's own error text for it was posted on Adobe's forum. Note: Adobe states no rule. Worth a look, not called wrong. A key this tool does not know is always a note.

Free use. The check is free for one file of up to 100,000 bytes, with no account. That is Adobe's own limit for the file (100KB), so a larger file gets one finding, its size, and is not checked further. A tools pass does not change this tool. Questions: contact us

When it cannot read the file. This is not a full YAML parser. It reads the YAML that Adobe's examples use: maps, lists, one-line values in [ ] and { }, quoted and plain values, comments. When it meets an anchor, an alias, a tag, a value over several lines, a second document or nesting more than 64 levels deep, it stops and tells you the line. It does not guess. The line-level checks still cover the whole file.

Sources

The rules it follows, and where they are stated

Every statement below was read on the page linked beside it and checked 14 Nov 2026.

Not confirmed by Adobe's documentation

Adobe's pages do not settle these points. This is how the page behaves there. None of it was tested against a config pipeline.

  • Adobe publishes no schema and no validator for cdn.yaml. This tool was not run against a config pipeline or a Rapid Development Environment. Its findings follow the pages listed above and nothing else.
  • Adobe does not say which YAML parser or YAML version the config pipeline uses. The list of valid escapes used here is the one in YAML 1.2.2.
  • Adobe does not say whether a KB is 1,000 or 1,024 bytes. This tool takes 100KB as 100,000 bytes.
  • Adobe's table names the key envTypes, but one example on the same page writes envType. This tool cannot tell what the pipeline does with envType, so it is a warning, not an error.
  • Adobe does not say whether kind is case sensitive. A value that differs from a listed one only by upper and lower case is a warning.
  • Adobe states the 64-character and letters, digits, hyphen rule for traffic filter rule names only. Names in other sections are not checked against it.
  • Adobe states no rule about two rules with the same name. It is shown as a note.
  • YAML allows any indent step, and some of Adobe's own examples mix steps of two and three columns. Mixed steps are a note. The example in KA-43847 has lost its indentation on Adobe's page, so it is not used as a model here.
  • Adobe's pages do not mention no-break spaces, zero-width characters or control characters. YAML reads only the space and the tab as white space, so such a character outside quotes and comments is a note, and the structure is not read past a line that starts with one.
  • The key lists are taken from the examples on the pages above. A key this tool does not know is a note, never an error: Adobe can add keys at any time.

Questions

Common questions

My cdn.yaml passes a YAML validator. Why does the config pipeline still fail?

Adobe's knowledge base says this happens: the usual causes it names are incorrect indentation, tab characters and trailing whitespace, and it says generic YAML validators may not catch them. A second cause Adobe documents is a regex written in double quotes, where a backslash such as the one in "\.html" or "\1" is not a valid YAML escape. This page looks for those causes and shows the line.

How should I write a regex with backslashes in cdn.yaml?

Use single quotes. In a single-quoted YAML string a backslash is just a backslash, so '^/blog/(.*)\.html$' and '\1' reach the CDN as written. In double quotes each backslash has to be written twice. That is Adobe's advice in knowledge base article KA-34449. Keep every backslash when you change the quotes: the corrected example in that article drops the backslash before the dot, which makes the dot match any character.

Does a clean result mean my file will deploy?

No. Adobe publishes no schema and no validator for cdn.yaml, and this page was not run against a config pipeline. It checks the points listed under Sources and nothing else. The real test is a config pipeline run in Cloud Manager, or a deployment to a Rapid Development Environment.

Why is requestTransformations without rules a warning and not an error?

Because Adobe's documentation does not state it as a rule. In April 2025 a user posted the config pipeline's own message on Adobe's community forum: "must have required property 'rules'". Adobe's knowledge base gives the fix for that message, an empty rules list, without stating a rule. This page reports it as a warning and says where it comes from.

Is my cdn.yaml sent to your server?

No. The check runs in your browser. The text you paste or the file you pick is not uploaded and not stored, and it is gone when you close the tab. The page counts that the tool was used, without the text. If your file holds a secret, note that Adobe's way is to reference secrets as pipeline or environment variables, not to write them in the file.

What does this do that yq or yamllint do not?

yq, yamllint and online YAML validators check YAML syntax. Adobe points to yq and to the validator at yamllint.com. They do not know Adobe's file. This page reports the causes Adobe's own pages give for a rejected cdn.yaml, including regex backslashes in double quotes, a wrong kind, version or envTypes value and a missing rules list, with the Adobe page beside each. It is not a replacement for either tool or for a pipeline run.

Surge Migrate is not affiliated with Adobe and is not an Adobe partner.

Step 3 of 4: Verify

Free tools that go with this one

This tool does one job in the Verify step. Old against new, and configuration checked before it is used.

All free tools, by step and by who they are for →

Surge Migrate

Moving the whole site? Scan, convert, verify, install

This tool covers one part of an Adobe project. For the pages of a site, Surge Migrate moves a website from any CMS to any CMS. Converted automatically. Checked before you install.

  1. 1

    Scan

    Names the system behind your site, counts pages and templates, lists the blocks to build and the work no tool does, and gives an effort range with its working.

    Scan a site →
  2. 2

    Convert

    Each page becomes an Edge Delivery document, an AEM Core Component page and import files for 7 other systems. 10 pages free; 500 or 2,000 pages in one paid run.

    Convert your pages →
  3. 3

    Verify

    A download is offered only when its own format check passes. The report lists every field not found and every component kept as plain content. Compare old and new pages side by side.

    Parity check →
  4. 4

    Install

    You import with the target system's own tool, on your own environment. Each download's README gives the command. Your system changes only when you run it.

    How each import was tested →