More framework packs¶
Besides the EU AI Act, Opencomplai carries native packs: one row per requirement, article, control or criterion. Each pack has its own page, with the status and counts generated from the framework data. A row that takes a provider attestation reads Unverified until you record one, and a few rows also look for supporting evidence in the repository, which never lowers a row and never makes an unattested row Met.
None of this is an audit, a certification, a SOC 2 report or a legal assessment. Every row is the project's own short description at low confidence, flagged for founder review. For copyrighted standards (ISO, AICPA, ETSI) the rows carry ids and headings only, never the standard's text.
The packs¶
- NIST AI RMF 1.0 (
NIST_AI_RMF), 72 rows - ISO/IEC 42001:2023 AI management system (
ISO_IEC_42001), 65 rows - ISO/IEC 27090:2026 AI security guidance (
ISO_IEC_27090), 31 rows - ISO/IEC 27001:2022 information security management (
ISO_IEC_27001), 118 rows - SOC 2 Trust Services Criteria (not a SOC 2 report) (
SOC_2), 61 rows - NIS2 Directive (EU) 2022/2555 cybersecurity measures (
NIS2), 21 rows - DORA Regulation (EU) 2022/2554 digital operational resilience (
DORA), 37 rows - EBA Guidelines on ICT, outsourcing and loan origination (
EBA), 25 rows - EIOPA Opinion on AI governance and risk management (
EIOPA_AI), 8 rows - GDPR Regulation (EU) 2016/679, duties relevant to AI systems (
GDPR), 21 rows - Cyber Resilience Act Regulation (EU) 2024/2847 (
CRA), 63 rows - ETSI EN 304 223 baseline cyber security for AI (
ETSI_EN_304_223), 72 rows - ISO/IEC 42005:2025 AI system impact assessment (
ISO_IEC_42005), 20 rows - ISO/IEC 23894:2023 AI risk management guidance (
ISO_IEC_23894), 23 rows
Every row lists the EU AI Act articles it relates to. See Framework mappings for every row and link, including which frameworks point at each ISO/IEC 27001 control.
Using a pack¶
Target it like any other framework and record attestations under framework_inputs:
{
"compliance_targets": ["EU_AI_ACT", "GDPR", "ISO_IEC_27001"],
"framework_inputs": {
"GDPR": {
"attested": {
"GDPR:Art. 35": {
"statement": "DPIA for the support assistant approved; see records/dpia-2026.pdf.",
"attested_by": "Jane Doe",
"attested_at": "2026-11-03"
}
}
}
}
}
opencomplai gaps --target GDPR prints the table; check --with-gaps writes it into framework_reports; check --gate GDPR gates CI on its Missing rows. An Unverified row fails a gate only if you ask for it (see Failing a build on unattested rows). A row that does not apply to you goes under framework_inputs.<KEY>.excluded with your reason.
An attestation may also carry valid_until (the last day it counts) and evidence (pointers to the documents behind it: a link, a file with its SHA-256, or a record id; never the content). attested_by is a display name rather than an email address, because it is copied into signed artifacts.
Attestation bundles¶
Attestations do not have to be typed into the manifest. An attestation bundle is a signed JSON document holding an organisation's attestations and exclusions, served by the endpoint configured in OPENCOMPLAI_DASHBOARD_URL, the endpoint push uploads to. check, gaps, recommend and docs generate merge it into a copy of the manifest's framework_inputs once, before anything is evaluated, so every row sees it. The manifest file on disk is never changed.
Nothing is read or fetched unless you ask for it:
| You ask with | The bundle comes from |
|---|---|
--attestations-file PATH | A file on disk. Offline. |
--attestations-remote | GET <OPENCOMPLAI_DASHBOARD_URL>/v1/attestations?system_id=<system_id>, sent with OPENCOMPLAI_API_KEY the way push sends it. |
attestations: in opencomplai.yaml | The same two places, on every run: source: remote, or source: file with a path (a relative path is relative to opencomplai.yaml). |
A flag beats opencomplai.yaml, and passing both flags exits 2. With neither a flag nor an attestations section there is no network call.
opencomplai attestations pull -o bundle.json writes the fetched bundle to a file (see attestations), so a CI job can keep it and run check --attestations-file bundle.json against the same bytes every time.
File format¶
{
"schema_version": "attestation_bundle/v1",
"system_id": "loan-decision-model",
"issued_at": "2026-11-03T09:30:00+00:00",
"attestations": {
"ISO_IEC_27001": {
"ISO_IEC_27001:A.6.3": {
"statement": "AI security training runs every year for all staff.",
"attested_by": "Jane Doe",
"attested_at": "2026-06-01",
"valid_until": "2027-06-01",
"evidence": [{ "kind": "link", "ref": "https://wiki.example/training" }],
"record_id": "rec_1"
}
},
"EU_AI_ACT": {
"Art. 4": {
"statement": "AI literacy training is part of onboarding.",
"attested_by": "Jane Doe",
"attested_at": "2026-06-01",
"record_id": "rec_2"
}
}
},
"excluded": {
"SOC_2": { "SOC_2:CC1.1": "No office premises." }
},
"key_id": "bundle-key-1",
"signature": "<base64 Ed25519 signature>"
}
Every top-level field is required. system_id is null for an organisation-wide bundle; a bundle for a different system than the manifest's is refused. Each record has the fields of a manifest attestation plus a required record_id, and attested_by must not contain @. The bundle is checked against the published schema (attestation_bundle.schema.json) and refused if it is larger than 2 MiB, before it is parsed.
Merge rules¶
- The manifest wins. A requirement the manifest already attests or excludes keeps the manifest's entry, and a warning names the bundle record or exclusion it shadows.
- Unknown ids are dropped, with a warning. So is an id that is not a requirement of that framework, an id that does not take an attestation, and a framework key this version does not know.
- Exclusions are for rows an attestation alone decides. A row an evaluator or an artifact probe can also decide keeps its own status, the EU AI Act takes no exclusions, and NIST AI RMF has no such row; those exclusions are dropped with a warning.
- One record per requirement.
Art. 4andEU_AI_ACT:Art. 4name the same requirement; if a bundle carries both, the first by id is kept and a warning names the other. - The EU AI Act takes only the articles that accept an attestation (Art. 4, and Art. 20 from the next release). The bundle's
Art. 4andArt. 20land underframework_inputs.EU_AI_ACT.attested. - Frameworks the run does not target are ignored.
A row attested from a bundle shows attestation:<name>@<date>#<record_id> as its evidence_ref.
Expiry¶
valid_until is the last day an attestation counts. From the next day its row reads Unverified, with the rationale "Attestation expired on valid_until does not expire, but gaps and check print a warning when one is older than its row's review period (365 days for most rows). For a record that came from a bundle, the rationale and the warning both say to re-attest the record. For a manifest entry, the rationale says to renew it under framework_inputs.<FRAMEWORK>.attested in the manifest, and the warning says to re-attest it or to set valid_until on the attestation.
Failing a build on unattested rows¶
check --gate GDPR --gate-fail-on unverified (or gate: {frameworks: [GDPR], fail_on: unverified} in opencomplai.yaml) fails on Missing and Partial rows, as partial does, and also on a row that only an attestation can decide while it has no current attestation: none recorded, or the one recorded has expired. The failing ids are in failed_controls and the result becomes CONTROL_FAIL (exit 1). Rows that an evaluator or an artifact can also decide are left to that source, and NIST AI RMF and the EU AI Act are never failed for being Unverified.
For a job that gates the build, pull the bundle in its own step and give check the file with --attestations-file. With --attestations-remote, an endpoint that is down leaves the bundle unread, the rows it attested read Unverified again, and the gate can fail.
When the bundle cannot be used¶
- A file given with
--attestations-file(or named inopencomplai.yaml) that is missing, too large, not valid JSON, not a valid bundle or for another system exits2. - The endpoint never blocks a run. If
OPENCOMPLAI_API_KEYorOPENCOMPLAI_DASHBOARD_URLis unset, the key contains a space, a newline or a non-ASCII character (it is never printed), the endpoint cannot be reached or answers with an error, or the response is not a valid bundle, the command prints a warning and goes on with the manifest alone. The artifactcheckwrites then carries"attestation_bundle": {"status": "unavailable", "reason": "<code>"}, where the code is one ofnot_configured,http_refused,invalid_url,fetch_failed,bundle_too_large,invalid_bundleorsystem_mismatch.gaps,recommendanddocs generatewrite no artifact, so for them the warning is all there is. - Plain
http://to any host other thanlocalhost,127.0.0.1and::1is refused (pushonly warns), because the API key would travel unencrypted. Other schemes are refused too, and a redirect is never followed.
What the artifact records¶
With a bundle, the scan artifact gets an attestation_bundle block: sha256, signature, key_id, issued_at and count, copied from the bundle. The bundle itself is never copied into it. The CLI does not check the bundle's signature, because it holds no issuer key; the hash and signature are recorded so that the issuer, or anyone with the issuer's public key, can. check records the bundle whether or not the run evaluates a framework (--with-gaps or a gate), so with attestations: {source: remote} in opencomplai.yaml every check asks the endpoint. A run without a bundle writes the artifact exactly as it did before.
What to keep in mind¶
- Scope. The rows cover what each text asks of an organisation or product that builds or runs an AI system. They do not replace the full text, an auditor, a supervisor or legal advice.
- SOC 2. Rows follow the criteria; attesting them is not a SOC 2 examination, which only a licensed CPA firm performs.
- DORA and EBA. These packs sit beside the older mapped-only citations:
gaps --map-to DORA|EBAstill adds one citation per EU AI Act article to the EU table (see Mapped regimes). Since DORA applies, the EBA ICT guidelines (GL/2019/04) keep only section 3.8, and the outsourcing guidelines (GL/2019/02) are due to be replaced; the rows say so. - EIOPA. The Opinion addresses AI systems that are neither prohibited nor high-risk under the AI Act.
- CRA. Every row names when its duty starts: reporting under Art. 14 from 11 September 2026, the rest from 11 December 2027.
- AI Act changes. Regulation (EU) 2026/1744 moved the special-category basis for bias detection from Art. 10(5) to a new Art. 4a and reworded Art. 27(4); links point at the articles as they stand.