adscan deliver
Generate the Client Deliverable Kit — three client-ready PDFs, the MITRE ATT&CK Navigator bundle, and a ZIP.
deliver renders the PRO Client Deliverable Kit from a workspace a scan already filled, and packages it as a single ZIP. It is a PRO command: in LITE it prints the upgrade panel and exits without rendering.
It works from the host launcher and from inside the interactive shell. Inside the shell the active workspace is used automatically, so --workspace is only needed from the host.
deliver and adscan ci --generate-report share one rendering pipeline and one set of report options. A scan can render the kit in the same command with adscan ci; deliver renders it again from the kept workspace, for example with another theme, other frameworks or another branding posture, without rescanning.
adscan deliver [--workspace NAME] [--client NAME] [--engagement CODE]
[--only LIST] [--frameworks LIST] [--theme THEME]
[--branding POSTURE] [--client-logo PATH]
[--client-cover PATH] [--client-back PATH] [--emit LIST]
[--output DIR] [--no-navigator]What it generates
Three PDFs, plus the Navigator extras:
| File | Audience | What it carries |
|---|---|---|
Security_Assessment_Report.pdf | CISO, board | The headline document: posture score, findings with severity and location, the validated attack paths, the ATT&CK lens, and a recommended fix per finding. |
AD_Hardening_Playbook.pdf | Security team lead | Remediation runbooks indexed by finding ID (approach, steps, commands, validation) and a 30-day prioritized plan with owners. |
AD_Control_Coverage_Report.pdf | Auditors, procurement | What was tested and what the client is verified clear on, mapped to control codes across the frameworks you selected. |
Alongside them, unless you pass --no-navigator: an ATT&CK Navigator layer (navigator-layer.json), a standalone HTML viewer, and a diff layer against the previous scan when one exists.
The MITRE Remediation Checklist was retired
It used to ship as a fourth PDF. Its technique-by-technique ATT&CK lens now lives inside the Security Assessment Report, so the kit carries the same coverage in fewer documents. A pinned --only checklist prints a notice and renders the assessment report, so an existing script does not break.
Selecting deliverables
--only takes a comma-separated list. Omit it to render everything.
| Selector | Renders |
|---|---|
report | Security Assessment Report |
playbook | AD Hardening Playbook |
coverage-matrix | AD Control Coverage Report |
executive | Deprecated alias for report |
# Just the playbook
adscan deliver --workspace acme.local --only playbook
# Report plus playbook, skipping the coverage report
adscan deliver --workspace acme.local --only report,playbookCompliance frameworks
No framework is selected by default
--frameworks has no default, and ADscan never picks a framework for you. On an audit workspace you have to answer, with the frameworks the client is subject to or with none when the organisation follows none of them. Leaving the answer blank on an audit is refused. On a lab workspace nothing is asked and the kit carries no compliance mapping. Nothing is forced onto a report that did not ask for it, so a client who needs PCI DSS and ISO 27001 never receives an ENS section.
| Key | Framework |
|---|---|
ens | ENS, Esquema Nacional de Seguridad (Real Decreto 311/2022), Spain / CCN-CERT |
nis2 | NIS2 — EU Directive (EU) 2022/2555 |
iso27001 | ISO/IEC 27001:2022 |
dora | DORA — EU 2022/2554 |
pci_dss | PCI DSS v4.0.1 |
cis | CIS Microsoft Windows Server Benchmark v4.0.0, technical hardening rather than a regulation |
none | No framework applies to this organisation. The kit carries no compliance mapping, and the report says so as your decision. It cannot be combined with a framework. |
ENS and NIS2 are distinct regimes and are selected independently — ask for both with --frameworks ens,nis2.
In an interactive terminal, omitting the flag opens a checkbox prompt whose last option is None. In a non-interactive run (adscan ci, the web worker, a pipeline) there is no prompt, so pass the flag explicitly. An organisation that follows none of these frameworks, such as a company outside the EU with no card data, takes --frameworks none.
adscan deliver --workspace acme.local --frameworks iso27001,pci_dssThe ENS scope a score is stated against
Selecting ens asks one more question, because an ENS score is only correct against a declared scope. Which Anexo II measures a system must satisfy follows from its compliance profile and from the level of each of the five security dimensions (confidentiality, integrity, traceability, authenticity, availability), and that valuation is an administrative act the client performed about their own services. ADscan cannot read it off a scan and never guesses it.
In an interactive run, picking ENS opens six questions: the compliance profile, then one level per dimension, each with the plain-language harm test that separates one level from the next. The system's category is derived from the answers as they land, per Anexo I apdos. 4.1 and 4.2, so a category that contradicts its own dimensions cannot be declared.
The declaration is written to compliance_scope.json in the workspace and reused by every later render. compliance_scope inside the interactive shell shows the declaration on file or replaces it, without running a deliver.
Declaring it without a terminal
A pipeline has no one to answer six questions, so the same verb takes the whole declaration as arguments and never prompts:
adscan execute compliance_scope -w acme.local -- \
--profile general --levels C=medio,I=medio,T=bajo,A=medio,D=bajoThe profile is one of general, ccn_stic_890a, ccn_stic_890c or other_specific_profile, and each dimension takes bajo, medio, alto, or na for a dimension the system has nothing to protect in. The category is not an argument: it is derived from the five levels.
All five dimensions are required. A declaration missing one is refused and exits non-zero, naming the dimension, rather than being completed with a level nobody declared, and an unrecognised level or profile is refused with the valid set. With no arguments the verb reads instead: it prints the declaration on file, or states that none is on file and that the report will score the common core, and exits 0 either way.
ADSCAN_COMPLIANCE_SCOPE=/path/to/declaration.json points every surface at a declaration held outside the workspace, which is what a client's written categorisation gets read from.
Nothing is inferred
Leaving without declaring costs one keypress and is a real answer, not a failure. The report then scores the 52 measures of Anexo II that are required at every category, and states that the category was not declared:
| What the client declared | Measures exigible, of 73 |
|---|---|
| Nothing | 52, the measures required at every category |
| General profile, every dimension BAJO | 52, category BÁSICA |
| General profile, one dimension MEDIO | 64, category MEDIA |
| CCN-STIC 890A, every dimension BAJO | 38 |
An undeclared scope is reported, never assumed
A workspace with no declaration is not treated as a middling category. It is scored against the common core, says so in the report, and the remaining measures are reported as pending the client's own categorisation rather than as conformant or as gaps.
Compliance profiles
| Key | Profile | Scope |
|---|---|---|
general | The general profile of Anexo II | Any system under RD 311/2022 |
ccn_stic_890a | CCN-STIC 890A, fundamental security requirements | Local entities: councils under 5,000 inhabitants and entidades locales menores |
ccn_stic_890c | CCN-STIC 890C, fundamental security requirements | Smaller public entities outside 890A's scope, and SMEs serving the public sector within the ENS |
Both published profiles apply only to category BÁSICA where the valuation is BAJO in all five dimensions. Declare one alongside a higher level and ADscan says the profile's own scope of application does not reach that system, naming the dimension that exceeds it, and scores nothing against a profile that states nothing. The guides provide a route for an entity in scope whose valuation rises: a written commitment, on the model in their own annex, to raise the system progressively. That is an undertaking between the entity and its certification body, so ADscan states the route and leaves the decision where it belongs.
The CCN-STIC 883 family (the population-band profiles for local entities) was published in 2020 against the superseded RD 3/2010 and never reissued, so it is recognised by name and reported as superseded rather than scored.
Non-interactive runs
adscan ci, the Enterprise worker and any pipeline never prompt. They read the declaration from the workspace, or fall through to the common core above. ADSCAN_COMPLIANCE_SCOPE points at a declaration file elsewhere, which is how a client's written categorisation reaches a scheduled run.
On the Enterprise platform the client declares the scope themselves, and the compliance view opens with the scope every figure below is stated against.
Theme
--theme sets the visual treatment for the whole kit. Two themes are supported:
| Value | Look |
|---|---|
corporate_light | White and navy, print-safe. The Big-4 / auditor register. Default. |
editorial | Warm bone paper with an ember accent. The premium consultancy register. |
Short aliases light and warm are accepted. The earlier dark theme is retired, and a script that still names it renders corporate_light with a notice. ADSCAN_PDF_THEME sets it for every run. An unrecognized value falls back to the default rather than failing the render — the kit always produces something.
--report-theme is the older spelling of the same flag and still works.
Client logo
--client-logo co-brands the report cover with the client's own logo, placed next to the ADscan mark. It accepts PNG, SVG and JPG. Use a logo with a transparent background so it sits cleanly on the cover; a logo with its own solid background shows as a visible box.
In an interactive run you can omit the flag: ADscan asks whether to add a logo and opens a host file picker. Pass the flag to point straight at the file instead. Either way the choice is saved to config.json, so later deliver and ci runs reuse it without asking again.
The ADscan mark stays on the cover. Removing it for a fully white-labelled report is a separate paid capability.
adscan deliver --workspace acme.local --client-logo ~/branding/acme.pngOther flags
| Flag | Effect |
|---|---|
--workspace NAME | Workspace name or path. Defaults to the active shell workspace, or prompts. |
--client NAME | Client name embedded in the kit metadata. |
--engagement CODE | Engagement code embedded in the kit metadata. |
--output DIR | Override the output directory. |
--branding POSTURE | adscan, cobrand (default) or whitelabel. White-label needs the white-label entitlement; without it the run says so and renders a cobranded kit. |
--client-cover PATH / --client-back PATH | HTML fragment, or a folder of per-document fragments, for your own cover and back page. Needs the composition seams entitlement. |
--emit LIST | Security Assessment Report outputs. The PDF and HTML are always produced; add data for report_model.json (needs the data export entitlement). |
--no-navigator | Skip the ATT&CK Navigator layer, HTML viewer and diff. |
-d, --debug | Debug output. |
--client and --engagement are optional; left blank they render as an em rule in the metadata. Supplied together on an interactive run, they skip the prompt that would otherwise ask for both.
Output
<workspace>/deliverables/
├── <stamp>-adscan-kit.zip the kit, ready to send
├── <stamp>-manifest.json that kit's own index, kept for good
├── manifest.json pointer to the latest kit
└── staging/
└── run-<stamp>/ the rendered files for that run, unzipped
├── Security_Assessment_Report.pdf
├── AD_Hardening_Playbook.pdf
├── AD_Control_Coverage_Report.pdf
├── AD_Password_Hygiene_Report.pdf
├── navigator-layer.json
├── navigator.html
└── affected_assets_appendix.{csv,json}<stamp> is the UTC second the run opened, such as 2026-10-07T091500Z. You get
one kit per run rather than one per day, so two deliveries in an afternoon leave
two complete kits instead of the second overwriting the first. A kit's ZIP and
its own manifest are never pruned; the staging directories are, and
ADSCAN_DELIVER_KEEP_RUNS sets how many are kept.
The AD Password Hygiene Report appears only when credential recovery actually ran during the engagement. A kit without it means that run recovered nothing, not that the kit is incomplete.
The PDFs render concurrently, so the wall-clock cost is roughly the slowest document rather than the sum.
Save a copy to another folder
When you build the kit from the shell, the last two questions are whether to save a copy in another folder and whether to open the report. Press Enter twice and the ZIP and the PDFs go to ~/ADscan-deliverables/acme.local/ and the report opens from there. The copy in the workspace stays where it was. A subfolder per workspace keeps each client's kits apart, so one client's report never sits next to another's.
ADscan runs in a container and can only write to folders it has mounted, so from the shell it can save under your deliverables folder and nowhere else. Type a path outside it and ADscan tells you so and offers the deliverables folder instead. To write anywhere else, run adscan deliver --output ~/clients/acme from your host shell.
The deliverables folder defaults to ~/ADscan-deliverables. Set ADSCAN_DELIVERABLES_DIR before adscan start to use another one. Runs without a terminal (adscan ci, adscan execute, a deliver with --output) never ask. adscan ci --output is how an unattended run copies the report out.
The free exposure report asks the same two questions when you generate it from the shell. On the native Windows build there is no container, so it accepts any folder, and its default is Documents\ADscan-deliverables.
Example
adscan deliver \
--workspace acme.local \
--client "Acme Corp" \
--engagement ACME-2026-Q1 \
--frameworks iso27001,dora \
--theme editorialRelated
- Client Deliverable Kit — what each document contains.
- Generate a report — the interactive and CI paths to the same output.
- adscan ci — rendering the report as part of an unattended run.