Your Next Step
A site that sends no security headers today cannot go to every header at once. Paste them all and every third party on every page becomes an issue on the first day, each issue an email, and the reports spend your monthly allowance before you can act on them. HeaderHawk asks for one change at a time instead, and each step waits until your own reports say the last one has settled.
The Overview shows each site’s next step: one action, why it matters, and what HeaderHawk has seen that says it is time. Beside it is the site’s whole ladder: the stages done, any passed over, the one it is on and those to come. Every stage is decided from reports and decisions HeaderHawk already holds, not from a checklist you tick.
The stages
Section titled “The stages”| Stage | What you do | Done when |
|---|---|---|
| Install | Start discovery and add its header, or add reporting to your own policy | A discovery report arrives, or your own policy’s first report |
| Discover | Let discovery run | 7 days have run and at least one source has enough evidence to be proposed, or you move on |
| Review | Keep or drop each source the proposed policy allows | Every proposed source has a decision |
| Report-only | Deploy the proposed policy as Content-Security-Policy-Report-Only |
It has been seen served for 7 days, and the last 7 days brought no new CSP issue, or you move on |
| Enforce | Rename the header to Content-Security-Policy |
A report, a check of your page or a scan sees an enforced policy |
| Payment pages | Mark your payment pages and decide on their scripts | Every script seen on a payment page has a decision |
| Payment policy | Serve the policy built from those decisions on your payment pages | A payment page’s reports or its daily scan show it served, enforced, or you move on |
| Browser changes | Add the deprecation, intervention, crash and network error headers | One of those reports arrives, or a check of your page or a scan finds every line served |
| Isolation | Add the window, feature and integrity policies | A Cross-Origin-Opener-Policy report arrives, or a check or a scan finds every line served |
The CSP stages follow
Build a Policy From Your Traffic, so the
policy you end up enforcing allows what your pages actually load rather than
default-src 'self' over a site that loads a dozen third parties. A new
site’s first step asks where its policy comes from: Build a policy from my
traffic starts discovery, and I’ll use my own policy starts none (see
A site that already has a policy). A
discovery run lasts two weeks, a week of traffic and a week to review it,
then stops on its own. Script
hashes start with the report-only stage: the policy you deploy then carries
'report-sha256', which asks browsers for a hash of each script it lets run.
Payment pages are on the Professional and Business plans. On other plans the
ladder lists both payment stages “On Professional” and goes on past them, and
“Step N of M” does not count them. Once a site has climbed past them, the card
offers Professional beside the site’s next step: a free trial on the Free plan
if your account has not used one, Upgrade if it has, and on Team a plan
change from Billing. Owners and admins can take it. On Professional, the
payment policy also waits for a payment page to be marked. The payment policy is a second header, for
your payment pages only, whose script-src is your script decisions
(A policy from your decisions).
Serve it in report-only first. A decision made after it is deployed changes
it, so the stage opens again until your payment pages serve the new one. The
isolation stage also turns on document policy reports, which come from a
Document-Policy your site already serves rather than from a line the setup
writes (how to point one at HeaderHawk).
Once a site is past the isolation stage, the
step disappears. COEP is never part of the ladder, and stays something you
switch on yourself.
The header block follows the stage
Section titled “The header block follows the stage”A site’s setup panel shows the headers its current stage asks for: the
Reporting-Endpoints line, the stage’s Content-Security-Policy line, and the
lines of the other report types the site already has on, for each that has a
line of its own. All report types,
below it, still lists every type with its switch and the full block, so you
can turn everything on at once if you would rather.
If someone else deploys your site, or you will do it later, Email me these instructions, on the first step and in the setup panel, sends the step, its header block and a link back to it to your own address, to forward. It goes only to the address you sign in with, once that address is verified, and at most three times an hour.
A site created in the dashboard starts with every type a later stage turns on switched off, so its reports cost nothing until you get there. Reaching a stage, or switching a type on yourself, turns it on. Sites created before the ladder keep their settings.
A site that already has a policy
Section titled “A site that already has a policy”Choose I’ll use my own policy on the first step, and the site never runs
discovery: the step shows a Reporting-Endpoints line and the two directives
to add inside your policy, report-to and report-uri, built from the site’s
endpoint, and waits at Install for your policy’s first report. A policy
that blocks nothing your pages load sends none, so Check my headers is the
way to see the lines are served, and Not now moves on. If your policy
already enforces, a check that finds it served as Content-Security-Policy
with the lines in place moves the site past the CSP stages without a report. Discovery
and its review are passed over, and Discovery shows on the ladder marked “Not
now”, where Go back offers the choice again. Starting discovery later,
from Policy › Draft, puts the site back on discovery’s path, and a site
running discovery can switch from its setup panel, which stops the run.
From the first report on, the ladder is placed by evidence. A report-only policy of your own is asked to be enforced: there is no proposal to compare it with, so no week to count, and the next stage comes once a report, a check of your page or a scan sees it enforced. A site that already enforces a policy you wrote yourself is past the CSP stages from then, and its setup panel leaves that policy to you. A site that already sends browser change or COOP reports is past those stages too.
A different policy served
Section titled “A different policy served”If your pages serve a report-only policy other than the draft, say one you edited in the header builder, or one deployed before you changed a decision, the step says so, and how many sources differ, and Policy › Draft lists the difference: lines only your pages serve, and lines only in the draft. The week tests the draft, which is what Enforce now hands out enforcing, so a different policy does not start it. Serve the draft, or change the draft’s decisions to match what you serve, and its week starts once it is seen. If the difference is deliberate, Enforce now is open as soon as the other policy is seen, and moves you on without the week.
Moving on
Section titled “Moving on”The weeks are guidance, not gates. You can move on from each stage whose test is a week on any day:
| Stage | Where | Not offered while |
|---|---|---|
| Discover | Start reviewing now, above Policy › Draft | Nothing is proposed yet, so the policy would block every script |
| Report-only | Enforce now, on the card | No report, check or scan has seen a report-only policy served, so enforcing guesses |
| Payment policy | Enforce now, on the card | Your payment pages have not served the policy in report-only yet |
A disabled button says why when you point at it.
Moving on records the stage as done by you, not passed over, so everything that follows a done stage follows. Moving on from discovery hands you the proposed policy, report-only, in the setup panel, in place of the discovery line. The run keeps collecting until it ends, so a source that turns up later is still added to the draft as one to decide; once your pages serve the policy instead of the discovery line, no more discovery reports arrive. Enforce now hands you the enforcing header: nothing on your site changes until you serve it. The enforce step then says which day of the week you moved on, since a policy enforced early may block something the rest of the week would have shown, and points you at the Issues page to watch once you switch.
Review has no week, so there is nothing to move on from: it is done once every source has a decision. Keep the rest as proposed, above Policy › Draft, decides each source left as the draft shows it, in or out, and the Draft then shows the block to deploy. Each of those is a decision like any other, so you can change it later.
You can move on only from the stage the card shows. Starting a new discovery run drops a move on from discovery, since a new run is a new week, and a move on from the payment policy holds only until a script decision changes that policy.
The card then names the stage you moved on from, with Undo. On the ladder the stage is done, marked with the day of its week you moved on, and Go back makes it the site’s step again. A stage whose own evidence has arrived stays done either way.
Not now
Section titled “Not now”Not now is offered only where skipping a stage is a real choice: install while discovery runs, discovery before a run has started, enforce, payment pages, the browser and isolation stages, and report-only and the payment policy until a report, a check or a scan shows them served. On most stages it changes nothing but the card, and says no more. Passing over discovery is choosing a policy of your own, which the card says. A new site’s install step offers that choice directly, beside starting discovery, in place of Not now.
Not now passes over the current stage and shows the next one. The card then names the stage it passed over, with Undo. Later, the stage stays on the ladder marked “Not now”, and Go back makes it the site’s step again. If you pass over a site’s last stage, the card stays, with no step, so the stage can still be taken back. Owners, admins and members can move on, pass over, undo and go back; viewers see the step and the ladder but none of them. A stage you passed over still counts as done when its evidence arrives.
Stages the site has no use for are left off the ladder and out of its count: the payment policy before a payment page is marked, and the review of a proposal when discovery never ran. A stage you passed over that stops applying, because the last payment page was unmarked or the site has no discovery run, leaves the ladder too, and a payment stage you passed over before moving to a plan without payment pages shows “On Professional” instead. HeaderHawk keeps your Not now, so if the stage applies again it comes back marked “Not now”.
A new type’s first week goes to your digest
Section titled “A new type’s first week goes to your digest”The first week after the isolation stage turns its policies on brings their issues in bulk, by design: everything that was already true of your pages is reported at once. For that week, an alert rule that sends immediately holds those issues back, and your daily or weekly digest lists them instead and names the stage. After seven days, immediate rules send as before.
The hold applies only where a digest covers the site too, so an issue is never left unsent. A blocked script from an enforced integrity policy and a network error or crash spike are never held back. Browser changes raise no issue, so the browser stage holds nothing back.