Skip to Content
Who can use this
Available to
DeveloperAdministrator
Not available to
Governance EngineerCompliance OfficerBusiness OwnerAuditor

SDK Quick Start — Government & Public Sector

Getting started: Government & Public Sector

Add policy checks to your application’s business actions. The core SDK checks each action before it runs and checks its result before release. An input check can stop the action or pause it for human review.

Catalog context. Connect each agency workflow to its purpose, affected service, decision owner, and review outcome. OMB M-25-21 replaced M-24-10. Its high-impact AI category depends on the use case, with scope and exceptions defined in the memorandum.

Use industry fields with the core SDK

Industry vocabularies supply typed values that the SDK sends as policy fields and evidence attributes with one governed call. Choose values that describe the actual workflow. Adding a vocabulary does not activate rules or assign regulatory requirements.

ComponentWhat you configureHow it is used
Core SDKAPI key, endpoint, one client, and the governed action around each protected stepThe same policy checks, typed results, and evidence used across every implementation
Government & Public SectorIndustry values and application facts from this catalogRules read them under input.snapshot.industry and input.snapshot.facts; reviewers see them in evidence
Review workflowsRules, evidence packages, and internal reviewer workflowsReviewers can inspect captured values and identify missing context

For client setup and your first governed action, start with TypeScript core, Python core, or .NET core before continuing here.

Step 1 — Install the approved packages

In the customer portal, open Tools and SDKs. Select your language and adapters, then follow the installation instructions shown there.

The package registry instructions use VeriProof's public GitLab feeds. Installs require no GitLab account or package credential. See SDK access for workstation and CI guidance.

VeriProof packages used here: @veriproof/sdk-core (TypeScript), veriproof-sdk (Python), Veriproof.Sdk.Core (.NET).

Step 2 — Configure

Store the API key as VERIPROOF_API_KEY and create one client when the application starts. Publish the policy you want to enforce, then confirm its field contract against the facts and industry values your application supplies.

Copy the application ID and key from Set up SDK. The application ID is not its display name. Try a live demo  to see a governed workflow, or request an evaluation  if you need a workspace.

Step 3 — Govern the action

Put the protected business action inside govern. The SDK checks policy before it calls the action and before it releases the result. An input Deny stops the action; an input Escalate pauses it for review.

import { Veriproof } from '@veriproof/sdk-core';
import type { GovernedResult, IndustryFact, JsonValue } from '@veriproof/sdk-core';

const veriproof = Veriproof.fromEnv();

export async function runProtectedAction<TInput extends JsonValue, TValue>(
  request: TInput,
  action: (input: TInput, signal: AbortSignal) => Promise<TValue>,
): Promise<GovernedResult<TValue, TInput>> {
  // Catalog values for this vertical. Replace them with facts from the current workflow.
  const industry: IndustryFact[] = [
    { attribute: "government.fedramp.authorization_status", policyInput: "government_fedramp_authorization_status", value: "in_process" },
    { attribute: "government.fisma.impact_level", policyInput: "government_fisma_impact_level", value: "low" },
    { attribute: "government.rmf.lifecycle_phase", policyInput: "government_rmf_lifecycle_phase", value: "prepare" },
  ];

  // Policy runs before action() and again before the result is released.
  // A deny or review decision means action() never runs.
  return veriproof.govern(
    "government.public.sector.evaluate",
    request,
    ({ input, signal }) => action(input, signal),
    { industry },
  );
}

Only completed, completed_with_warning, and transformed results carry a released value. Handle every other status with its safe message, reason code, and evidence reference. For review decisions, save the checkpoint and continue through the human review workflow.

Add typed industry values

Each core SDK ships this vertical's vocabulary as generated types. A typed value becomes one policy field and one evidence attribute when you pass it to the governed call. Use application facts for values that are specific to your workflow.

Find this workflow's vocabulary in the Government & Public Sector reference. Use the attribute names below and verify their policy-field mapping before using them in a rule. Sample values show the format; they are not recommended outcomes for your application.

OTel attributeSample valueCategory
government.fedramp.authorization_statusin_processFedRAMPAuthorizationStatus
government.fips.security_levellevel_1FIPSSecurityLevel
government.fisma.impact_levellowFISMAImpactLevel
government.rmf.lifecycle_phaseprepareRMFLifecyclePhase
government.nist_sp800_53.control_familyAC_access_controlNISTSPControlFamily
government.nist_sp800_53.control_assessment_statussatisfiedControlAssessmentStatus

TypeScript

import { Industry } from '@veriproof/sdk-core';
import { FedRAMPAuthorizationStatus, FedRAMPAuthorizationStatusMeta, FISMAImpactLevel, FISMAImpactLevelMeta, RMFLifecyclePhase, RMFLifecyclePhaseMeta } from '@veriproof/sdk-core/industries/government-public-sector';

// Replace sample values with facts from the current workflow.
// Each value becomes one policy field and one evidence attribute.
const industry = [
  Industry.fact(FedRAMPAuthorizationStatusMeta, FedRAMPAuthorizationStatus.InProcess),
  Industry.fact(FISMAImpactLevelMeta, FISMAImpactLevel.Low),
  Industry.fact(RMFLifecyclePhaseMeta, RMFLifecyclePhase.Prepare),
];

const result = await veriproof.govern(actionName, request, runWorkflow, { industry });

Python

from veriproof_sdk.verticals.government_public_sector import FedRAMPAuthorizationStatus, FISMAImpactLevel, RMFLifecyclePhase

# Replace sample values with facts from the current workflow.
# Each value becomes one policy field and one evidence attribute.
industry = (
    FedRAMPAuthorizationStatus.in_process.fact(),
    FISMAImpactLevel.low.fact(),
    RMFLifecyclePhase.prepare.fact(),
)

result = await vp.govern(action_name, request, run_workflow, industry=industry)

.NET

using Veriproof.Sdk.Core.Industries.GovernmentPublicSector;

// Replace sample values with facts from the current workflow.
// Each value becomes one policy field and one evidence attribute.
var options = new GovernOptions
{
    Industry =
    [
        FedRAMPAuthorizationStatus.InProcess.Fact(),
        FISMAImpactLevel.Low.Fact(),
        RMFLifecyclePhase.Prepare.Fact(),
    ],
};

var result = await veriproof.GovernAsync(actionName, request, RunWorkflowAsync, options);

Workflow examples from the catalog

  • FedRAMP & Cloud Security Authorisation: Fed RAMPAuthorization Status. An agency rule stops a connected data transfer when the destination lacks the required authorization record. Reviewers inspect the service boundary and recorded conditions.
  • FedRAMP & Cloud Security Authorisation: FIPSSecurity Level. A configured rule stops an action when the reported module level falls below the system's requirement. Reviewers check the certificate and configuration before changing the record.
  • NIST SP 800-53 Control Compliance Monitoring: NISTSPControl Family. AI continuous monitoring agent generates automated evidence for each NIST SP 800-53 control it can assess. Evidence records are tagged with control family and specific control ID (e.g. AC-2, AU-6) for ingestion into eMASS or equivalent agency GRC platform.
  • NIST SP 800-53 Control Compliance Monitoring: Continuous Monitoring Frequency. FedRAMP ConMon requires monthly vulnerability scanning, annual penetration testing, and continuous log monitoring. AI compliance agents schedule and execute control assessments at the required frequency and generate evidence with timestamp and frequency classification for the FedRAMP PMO.

Next steps

Start your Developer evaluation

Verify your work email to create a Developer account, free for 60 days. Open your account, create a Development application and its API key, then follow Tools and SDKs to connect it.

Live demo → Start free for 60 days → 

Last updated on