CKAN for government open data portals

A national or regional open data team must publish datasets from many departments, meet metadata rules and serve re-users through an API. This page explains how CKAN handles that work, what the build involves, and what to confirm with a partner before scope is agreed.

On this page

CKAN for government open data portals: one catalog for many publishing departments

A national or regional open data team that must collect datasets from many departments needs one catalog that every publisher feeds, under one set of metadata rules, with an API that re-users can query. CKAN fits that job because its model is built around this split. Each department becomes an organization in CKAN with its own members and roles, and every dataset belongs to one organization. Publishing rights stay with the department that owns the data, while the central team controls the catalog as a whole. A departmental website publishes files under one owner's conventions. In a shared CKAN portal, the same dataset and resource fields apply to every publisher, and the central team decides which custom fields are mandatory before any department can publish.

DCAT support lets the catalog speak the metadata language that re-users and other catalogs expect. The ckanext-dcat repository provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester, so departments can be pulled in from catalogs they already run, such as a regional portal feeding a national one. Confirm which profile your rules require (DCAT-AP or a national variant) and check that the extension version supports your CKAN release, since the extension is listed as supported on CKAN 2.10 and 2.11. The DataStore adds row-level access. Tabular resources are loaded into a separate PostgreSQL database with a write user and a read-only user, and the Data API serves filtering, full-text search, pagination and SQL queries.

Government portals such as catalog.data.gov, open.canada.ca/data and data.humdata.org are examples of CKAN in public use, and they show the pattern a national or regional team can follow. The build itself runs in infrastructure the government controls, whether that is its own cloud accounts, data centers or air-gapped networks, so custody of the data, the keys and the logs stays with the government. Before the design starts, agree who can create organizations, who approves a dataset before it is published, and which metadata fields are mandatory. Those decisions set the schema, roles and harvesting rules that the rest of the build depends on, and changing them later usually costs more than settling them first.

What national and regional portal requirements mean for the build

This table lists the national and regional requirements that most shape a CKAN government portal, the source of each and what it means for the build. Read each row as a decision to settle with the agency before configuration starts. The main takeaway is that the metadata profile, publisher model and accessibility deadlines cause the most rework when settled late, and the DCAT-US profile version must be confirmed with the agency.

RequirementSourceWhat it means for the CKAN build
Publisher organizations per departmentAgency publishing model (confirm with the agency)Create one CKAN organization per publishing department, with member roles for publishers and editors. Plan who approves new organizations.
DCAT-AP or DCAT-US metadatackanext-dcat, which supports DCAT-AP v1 to v3 on CKAN 2.10 and 2.11Confirm the DCAT-US profile version with the agency first, and check extension support for your CKAN version before schema design.
Harvesting from local portalsckanext-dcat RDF harvesterHarvest regional and municipal catalogs as DCAT RDF. Agree the source list, update schedule and metadata mapping with each local publisher.
Data API access for re-usersCKAN DataStore documentationDataStore exposes a Data API for filtering, search, pagination and SQL. Keep the read-only database user separate from the write user.
SSO for publishersckanext-saml2auth, for CKAN 2.10 and laterMap SAML2 attributes to organizations and roles. Confirm the agency identity provider can send them.
Accessibility deadlinesADA Title II rule, 28 CFR 35.200 (state and local entities)Theme, templates and custom extensions are in scope. Deadlines: 26 April 2027 for 50,000 or more people, 26 April 2028 for smaller entities.
Security baselinesNIST SP 800-53B control baselinesLow, moderate and high baselines select 149, 287 and 370 controls and enhancements. Agree the baseline with the agency before hardening.
Cloud hosting authorizationFedRAMP scope, OMB M-24-15Cloud hosting offered as a shared service may fall in FedRAMP scope. Confirm the hosting authorization requirement with the agency.

Settings that matter in CKAN for government open data portals

Six settings decide how a government CKAN portal behaves once departments, harvesters, publishers and re-users start using it. Each card names what the setting controls and what the portal owner should confirm, including whether the extension supports the CKAN version chosen.

Organizations and roles for departments

Each publishing department should be a CKAN organization, with members assigned a role per organization. Decide who may create and edit datasets, who may only view drafts, and who holds the sysadmin role, since sysadmins can see and change content across the whole portal. Confirm how departmental staff are added and removed, and who approves a new organization before it can publish. Private datasets are visible only to organization members, so test that drafts from one department cannot appear in another department's listings. Run this permission test on the CKAN version you choose before onboarding departments.

ckanext-dcat schemas and endpoints

ckanext-dcat provides DCAT-AP v1, v2 and v3 schemas and exposes DCAT RDF endpoints, so the catalog can publish metadata in the profile your national or regional rules expect. Choose the profile before loading datasets, because changing it later changes which fields are mapped and exported. The project lists support for CKAN 2.10 and 2.11, so confirm with the maintainers that your extension version supports the CKAN release you plan to run, including 2.12 if you choose it. Validate the RDF output with a tool your reviewers accept.

ckanext-dcat repository

DataStore with XLoader for tabular resources

The DataStore keeps structured resource data in its own PostgreSQL database, with a write user and a read-only user, and serves it through the Data API for filtering, search and SQL queries. XLoader is the officially supported loader for uploaded or linked files, while DataPusher is legacy, so plan new loads around XLoader. Confirm which file sizes and formats your setup will accept, decide which resources load automatically, and check that the DataStore database is backed up alongside the main CKAN database. Confirm XLoader works with your chosen CKAN release before go-live.

DataStore docs

RDF harvester for local portals

The RDF harvester in ckanext-dcat imports datasets from other catalogs, which is how a national portal can collect records from regional or city portals. Decide which sources you trust, how often each harvest job runs, and who reviews harvest errors. Each source may publish a different profile or vocabulary, so test a sample harvest from every source before scheduling it. Agree a rule for duplicate records and for records removed at the source before the first run. Confirm the harvester's support for your CKAN release, as with the other extension settings in this section.

ckanext-saml2auth for publisher sign-in

ckanext-saml2auth adds SAML2 single sign-on to CKAN 2.10 and later, so publishers sign in with their departmental identity provider. It can assign users to organizations and roles from SAML2 attributes, and it can manage sysadmins from an email list. Confirm which attributes your identity provider sends and map them to organizations before go-live, because a wrong mapping gives a user access to the wrong department. Keep a local break-glass admin path, review the sysadmin list on a schedule, and test sign-out and account deactivation as well as sign-in.

ckanext-saml2auth repository

API tokens with read-only DataStore access

Re-users need API access to datasets and DataStore rows without write rights. Issue API tokens to named accounts rather than shared logins, and give re-user accounts only the read permissions they need. The read-only database user is what keeps DataStore queries from writing data, so confirm that the public read path uses it. Decide how tokens expire and how they are revoked, and test that a revoked token stops working on both the Action API and the Data API. Publish usage expectations for re-users before opening the endpoint.

One portal connects publishers, harvesters, DataStore and re-users

The flow starts with a department publisher signing in through the agency identity provider over SAML2. The CKAN core keeps its catalog in PostgreSQL, with Solr for search and Redis as a supporting service. Uploaded or linked files pass to XLoader, which writes rows into the DataStore database using a write user. Re-users query those rows through the Data API using a separate read-only user. The RDF harvester pulls datasets from local portals into the core, and DCAT RDF endpoints publish the catalog to national aggregators. Check the SAML2 attribute mapping for organization roles, and confirm the two DataStore database users hold separate privileges.

Government-controlled components sit inside the boundary; harvested sources, aggregators and re-users sit outside.

How department publishers should be set up as organizations

Set up one CKAN organization for each publishing unit that owns datasets and answers for their quality, usually a department or statistical office, so that ownership is clear when a dataset is questioned. Give each department a small number of named people in the admin role, who can manage members and organization settings. Use the editor role for staff who create, edit and publish datasets and resources. Use the member role for colleagues who need to see the organization's private datasets during review but should not change metadata. Confirm the exact permissions for each role in your CKAN version before you write them into a publishing policy.

Create new datasets as private by default, so that drafts, unpublished statistics and datasets awaiting legal review stay out of public search and the public API until someone with publishing rights makes them public. Only members of the owning organization and sysadmins can see private records, so one department's pre-release material is hidden from other departments and from anonymous visitors. Decide who may change the visibility setting, because that single edit is the moment a dataset becomes public. Test the setup with an account that belongs to no organization, and confirm that the dataset is absent from search results, the package list API and any feed or harvester your portal exposes.

Keep sysadmin rights with a small, named group of platform operators, because a sysadmin can view and change every organization. If you use ckanext-saml2auth, it can assign users to organizations and roles from SAML2 attributes and manage sysadmins from an email list, so identity-provider groups can drive publishing access. Those mappings must come from the agency's own identity records, such as directory group membership and HR-maintained role data, so that access follows the agency's joiner, mover and leaver process. Ask the agency's identity team which attribute carries department and role, how departures are removed, and who approves changes to the sysadmin list. Review both the mappings and the sysadmin list on a fixed schedule.

Rollout from a pilot department to the national catalog

The sequence moves a national CKAN catalog from an agreed scope to a live portal in stages, so each department's datasets, metadata and access rules are proven before the next group joins. Each phase closes with a written output the agency can review. Most of the early effort goes into the metadata profile and the pilot, because they set the pattern every later department follows.

  1. Agree scope and metadata profile first

    DeployOpen and the agency agree the scope in writing before any build starts. The agency provides the list of publishing departments, the metadata fields it must collect, the DCAT profile it must publish against, the harvest sources it expects, and the hosting, accessibility and security rules that apply. DeployOpen provides a draft metadata profile, the target architecture and a test plan. The step closes when the agency signs off the scope document and the metadata profile, which every later phase uses as the reference for what the portal must do.

  2. Install CKAN on the chosen version

    The team installs CKAN on the release the agency has chosen, inside its own cloud account, data center or air-gapped network. Choose the latest patch of the current minor version or the previous minor version, because older patches lose support once a newer patch ships. Source installs need Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, and Redis, with uWSGI and Nginx recommended for production. The agency provides hosting, network paths, DNS, certificates and storage. The step is done when the portal serves its pages and a test dataset can be created and found through search.

  3. Run the pilot with one or two departments

    The pilot covers one or two departments, each publishing into its own CKAN organization, plus one harvest from a local portal. The agency provides named publishers, sample datasets, the local portal's endpoint and access details, and decisions on how harvested fields map to the profile. Before configuring the harvester, confirm that the DCAT extension supports the CKAN version you chose. DeployOpen provides the organization setup, publisher roles, harvester configuration and mapping review. The pilot is complete when harvested records validate against the profile and the publishers confirm their datasets display correctly.

  4. Load DataStore resources and test accessibility

    Tabular resources are loaded into the DataStore using XLoader, the loader the CKAN project supports, since DataPusher is legacy. The team then checks the Data API for filtering, full-text search, pagination and read-only access through the separate read-only database user. Accessibility testing covers public pages and publisher forms against the standard the agency must meet. For state and local government web content under the ADA Title II rule, confirm the applicable level, which includes WCAG 2.1 Level A and AA. The agency provides sample files, data dictionaries and its accessibility requirements. The step closes with a test report listing load results, accessibility defects and their fixes.

  5. Cut over single sign-on and access

    If the agency uses SAML2, the team connects the portal to its identity provider with the ckanext-saml2auth extension, which supports CKAN 2.10 and later and can assign users to organizations and roles from SAML2 attributes. The agency provides identity provider metadata, the attribute mapping, the list of sysadmins and the group-to-role mapping. DeployOpen provides the configuration, a role-by-role sign-in test and a rollback plan. The cutover is done when pilot users sign in through the agency identity provider and private datasets are visible only to the right organization members.

  6. Onboard remaining departments and hand over support

    The remaining departments are onboarded in batches using the organization, profile and role templates proven in the pilot. Each department provides its publishers, harvest sources and initial datasets. DeployOpen provides onboarding material, publisher training and a handover pack covering the runbook, backups, monitoring and upgrade path. Ongoing support, upgrades and continuous testing are available as retainers, agreed in writing. The step closes when every department has published, the agency's operators have completed a backup and restore walk-through, and support responsibilities are signed off.

How US federal, US state and EU setups change the build

A federal portal is governed by the agency's security program, so the first questions concern scope and control baseline before any software is chosen. Whether FedRAMP applies depends on whether the cloud service creates, collects, processes, stores or maintains federal information on behalf of the agency. The answer also depends on whether the service is offered as a shared service or runs only for the agency's own operations.

  • FedRAMP scope: Under the scope set by OMB memo M-24-15, cloud services that handle federal information for an agency are in scope, while a system used only for one agency's own operations on cloud infrastructure is out of scope unless it is offered as a shared service. Have the authorizing official record the determination in writing. FedRAMP scope of M-24-15
  • Control baseline: NIST SP 800-53 Rev. 5 supplies the control catalog, and SP 800-53B selects low, moderate or high baselines of 149, 287 and 370 controls and enhancements. The system's impact categorization decides the baseline, so the CIO and information system security officer confirm it before hosting design starts.
  • DCAT-US profile: The ckanext-dcat extension documents DCAT-AP v1 to v3 support. Confirm with the agency data office which DCAT-US version and required fields apply, and whether custom schema work is needed.
  • Controlled unclassified information: If any dataset category carries CUI markings and the portal runs on a non-federal system, 32 CFR 2002.14(h)(2) points agencies to NIST SP 800-171 unless the CUI category sets other safeguards. Confirm whether any category carries such markings.

Confirm with the CIO and general counsel which FedRAMP determination and control baseline apply before choosing a hosting model, because those decisions set the evidence the agency must collect.

Compliance rules that reach government open data portals on CKAN

Six rules reach a government CKAN portal through its hosting, its data and its public interface. Each one sets controls that the portal team must build and show, from federal control baselines to accessibility. DeployOpen plans and prepares the controls, configuration and evidence for each rule. Independent auditors, assessors and certification bodies issue the findings and decide whether a portal meets a rule.

NIST SP 800-53 Rev. 5 baselines

The impact level decides how much of the catalog applies. NIST SP 800-53 Rev. 5 is the federal control catalog, and SP 800-53B selects low, moderate and high baselines from it: 149, 287 and 370 controls and enhancements respectively. Release 5.2.0 of 27 August 2025 is the current release. For a CKAN portal, map hosting, access control, logging and backup settings to the selected baseline, and confirm that baseline with the agency's authorizing official before work starts.

SP 800-53B baselines

FISMA and Inspector General reviews

FISMA makes Inspectors General the independent check. NIST lists FISMA and OMB Circular A-130 among the laws behind SP 800-53. Under FISMA, Inspectors General independently assess agency system security and report to OMB. Expect the assessor to ask for the system boundary, the control mapping, hardened configurations for the CKAN, Solr, PostgreSQL and Redis hosts, and proof that access reviews and patching ran on schedule. Keep those records current across every CKAN release, not just at go-live.

NIST RMF FAQs

FedRAMP scope for cloud-hosted portals

Cloud hosting can bring the portal into FedRAMP scope. FedRAMP covers cloud products and services that create, collect, process, store or maintain federal information on behalf of an agency. OMB memo M-24-15 of 25 July 2024 sets that scope and rescinds the 2011 memo that created the program. A portal used only for one agency's own operations on cloud infrastructure, and not offered as a shared service, falls outside that scope. Confirm the service model in writing before you select a cloud provider.

FedRAMP scope rules

CJIS Security Policy for criminal justice data

Applies only if criminal justice information enters the portal. The FBI CJIS Security Policy sets minimum requirements for criminal justice information, and version 6.1 took effect on 26 June 2026. For data at rest or in transit outside physically secure locations, v6.1 requires FIPS 140-3 certified modules or AES keys of at least 256 bits. Vulnerability scanning must run at least monthly. On CKAN, the main risk is accidental publication of case details through DataStore uploads, resource files or harvested metadata.

CJIS v6.1 bulletin

CUI on non-federal portal systems

Federal agencies point to NIST SP 800-171 for CUI on non-federal systems. Under 32 CFR 2002.14(h)(2), an agency setting requirements for controlled unclassified information on a non-federal system uses NIST SP 800-171, unless the CUI category's own authority prescribes other safeguards. A CKAN portal hosted by a contractor or a state partner can fall in that position. Check whether any dataset, resource or harvested record carries CUI markings before publication, and confirm that the hosting party's SP 800-171 evidence covers the portal's servers, databases and backups.

32 CFR Part 2002

WCAG 2.1 Level A and AA

Portal pages and feeds must meet WCAG 2.1 Level A and AA under 28 CFR 35.200. The ADA Title II rule covers state and local government web content and mobile apps, including those provided through contracts or licenses. Entities serving 50,000 or more people must comply from 26 April 2027, and smaller entities and special districts from 26 April 2028. For CKAN, test the theme templates, custom extensions, search forms and data previews the portal adds on top of the default interface, not only the front page.

28 CFR Part 35 Subpart H

Keeping the portal supported: CKAN upgrades and patch discipline

Plan CKAN upgrades around the project's release cadence. CKAN targets about two minor releases a year, and the project supports the latest patch of the current minor version and the previous minor version. An outdated patch loses support as soon as a newer one is out, so a portal that stays on an old patch will not receive the security and bug fixes in the newer one. Patch releases do not break backwards compatibility and exclude schema changes, which makes them the low-risk route for keeping a portal current. Minor releases can include backwards-incompatible changes, so each one needs its own planned upgrade with a rehearsal on a staging copy of the portal. Record the CKAN version and patch level of every environment, and assign one owner to read the CKAN release policy and the release notes whenever a new patch appears.

CKAN 2.12.0 was released on August 26, 2026, on the same day as maintenance releases 2.11.6 and 2.10.11. A portal on 2.10 or 2.11 can apply the patch on its current line now, but moving to 2.12 is a minor upgrade and needs a separate plan. The ckanext-dcat extension, which provides DCAT-AP schemas, DCAT RDF endpoints and an RDF harvester for importing from other catalogs, is listed as supported on CKAN 2.10 and 2.11. Before the move to 2.12, confirm in writing with the extension maintainer which release supports 2.12, then test the DCAT output and harvesting against your publishing profile. Run the same check on every other custom extension and theme. Keep the portal on its current minor line until those checks pass.

What agencies ask before they hire a CKAN partner

What does a CKAN portal engagement cost, and what is one-time versus recurring?

Cost comes from a written quote, because DeployOpen does not publish a price list and each quote follows from the agreed scope. The one-time parts are installation and configuration, the metadata profile, harvester setup, SSO integration and testing. The recurring part is a retainer for support, upgrades and continuous testing, if the agency chooses one. DeployOpen is paid for planning, build, testing and documentation. Hosting in your own cloud accounts, data centers or air-gapped network, and your staff time, sit outside DeployOpen's fee. Costs rise with the number of publisher organizations, custom schema fields, harvest sources and identity integrations. Ask the quote to show each component on its own line, marking which items are fixed and which are optional, so you can see what recurs and what your team could take over.

How do scope and approvals affect the timeline for a CKAN portal?

The timeline depends on the agreed scope and on how many approval gates the agency runs, and both are written down before work starts. The main drivers are how many publisher organizations go live at once, how many custom metadata fields the profile needs, how many harvest sources connect, and whether SSO must integrate with your identity provider. Each approval gate adds waiting time: sign-off on the metadata profile, review of the hosting and security configuration, and acceptance testing by publishers. Changes after signature usually move dates, so agree a change process at the start that states who approves a change and how its effect on the schedule is recorded. Ask for a schedule that lists each approval gate, its owner and the date it must close.

What must our agency provide before a CKAN implementation starts?

The agency provides people, access and decisions, and the work slows down without them. Plan for the following inputs:

  • A product owner with authority to decide scope and priorities.
  • Data stewards for each publisher organization who can review and correct their datasets.
  • An identity contact who can supply directory or SAML attribute records for mapping users to organizations and roles, as described in the ckanext-saml2auth repository.
  • Hosting access in your own infrastructure, plus test accounts for each role.
  • A decision on the metadata profile, including mandatory fields and controlled vocabularies.

Each stage also needs a named approver, such as the profile, the security configuration and go-live. Ask the quote to list each input with an owner and the date it is needed.

Can our internal team install and run CKAN without a partner?

Yes, an internal team can deploy CKAN, but it needs skills across several components. Installing from source requires Python 3.10 or newer, PostgreSQL 12 or newer, Solr 9 (recommended) or Solr 8, and Redis, with uWSGI and Nginx recommended for production. Day-to-day work includes search index maintenance, background jobs, backups, and checking extension compatibility before each upgrade. Decide before you start who will own the custom schemas, theme, harvesting and SSO configuration after handover. A split is also possible, where a partner builds and documents the portal and your staff runs daily operations. Whichever route you take, ask for runbooks, configuration records and source code that your team can maintain without the partner on call.

Does DeployOpen issue audit reports for our CKAN portal?

DeployOpen does not issue audit reports, attestations or certifications. It prepares systems, controls and evidence for a compliance assessment, and an independent auditor or certification body reaches the conclusion. For a CKAN portal, that evidence may include access control settings, logging configuration, backup and restore test results, and documentation of the SSO setup. Which framework applies depends on who operates the system, what data it holds and how it is offered. A NIST SP 800-53 baseline or a FedRAMP requirement may apply in some cases, but that is a question for your assessor and your compliance lead. Confirm the applicable framework before scoping the evidence, so the engagement collects what the assessor will actually request.

How are CKAN version upgrades handled after launch?

Upgrades are available as a retainer or as a fixed-scope piece of work, and each one starts from a written plan. CKAN targets about two minor releases a year. The tech team supports the latest patch of the current minor version and the previous minor version, and an outdated patch loses support once a newer one ships. Patch releases avoid backwards-incompatible changes and schema changes, while minor releases may include them. The current releases are 2.12.0, with maintenance releases 2.11.6 and 2.10.11, all published on August 26, 2026. Before a minor upgrade, check every extension against the target version, including ckanext-dcat, and rehearse the upgrade on a copy of production. Read the CKAN release policy to plan the cadence.

Should a government CKAN portal use DCAT-AP or DCAT-US metadata?

The choice depends on the mandate that governs your portal and on the partners you exchange metadata with, so confirm it before the schema is built. The ckanext-dcat extension provides DCAT-AP v1, v2 and v3 schemas, DCAT RDF endpoints and an RDF harvester for importing from other catalogs. It is supported on CKAN 2.10 and 2.11, so check whether that support covers your target version before you commit to a release. If your agency requires a US profile, confirm with the agency and the extension documentation whether it is covered, and plan any gap as custom schema work. Ask the quote to name the profile and its version, and to state who signs off the mapping of mandatory fields.

How DeployOpen scopes and delivers a government CKAN portal

DeployOpen plans, implements, customizes, integrates, hardens, backs up, upgrades, documents and supports CKAN inside your own cloud accounts, data centers or air-gapped networks. The work covers publisher organizations, metadata schemas, harvesting, DataStore loading and API access for re-users, and each area is documented for your team. Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.

How we scope

  • Written scope that names the CKAN version, extensions, publisher organizations and the sites or networks the portal runs on.
  • Metadata decisions recorded up front: custom schemas, DCAT-AP or DCAT-US profile, multilingual fields and which datasets stay private.
  • Identity, access and hosting questions settled before build, including SSO options such as SAML2 and the sysadmin list.

How we build

  • Install CKAN from source or packages with PostgreSQL, Solr, Redis, uWSGI and Nginx, sized to the planned publisher load.
  • Load tabular resources through XLoader into the DataStore, with a read-only user for the Data API that re-users query.
  • Configure DCAT harvesting with ckanext-dcat and test imports from partner catalogs before publishing.

How we hand over

  • Written runbooks for install, upgrades, backups, search index maintenance and background jobs, handed to your operators.
  • Configuration records and test results for access controls, SSO settings and metadata validation, organized for your security and compliance reviewers.
  • Documented handover with a walkthrough of how publisher organizations add, update and retire datasets.

How we support

  • Ongoing support as a retainer for CKAN upgrades, patch releases and extension compatibility checks.
  • Upgrade planning that follows CKAN's release policy, which supports the latest patch of the current minor and the previous minor.
  • Security testing of the portal and its APIs on request, with findings and fixes documented for your team.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.