Policies & Rego
Written security policies alongside policy-as-code samples the agent proposes for human review.
Access Control Policy
POL-ACCESSOwner Identity Lead · Reviewed 2028-01-15
# Access Control Policy **Owner:** Identity Lead **Reviewed:** 2028-01-15 ## Purpose Establish requirements for authenticating and authorizing workforce users, service accounts, and the praeparo agent when accessing Praeparo systems and customer engagement evidence sources. ## Requirements 1. Workforce users authenticate through Okta SSO with phishing-resistant MFA where supported. 2. Production AWS access uses IAM Identity Center permission sets; standing admin is prohibited. 3. Agent connectors receive per-engagement, time-bounded, least-privilege credentials via the MCP gateway. 4. Agent identities cannot merge pull requests; human approval is required. 5. Access reviews covering users and service accounts run at least quarterly.
Change Management Policy
POL-CHANGEOwner Platform Engineering · Reviewed 2028-02-01
# Change Management Policy **Owner:** Platform Engineering **Reviewed:** 2028-02-01 ## Purpose Ensure infrastructure, acquired software/model updates, and internally developed software (including Rego policies and agent code) are authorized, reviewed, tested, and approved before production use. ## Requirements 1. Terraform changes require a pull request, plan artifact, and approval before apply. 2. GitHub Actions assumes AWS roles through OIDC; static access keys are forbidden in workflows. 3. Agent and Rego repositories enforce branch protection, required reviews, and automated tests. 4. Model provider and material dependency upgrades are reviewed by AppSec before production rollout.
Incident Response Policy
POL-IROwner Head of Security · Reviewed 2028-01-20
# Incident Response Policy **Owner:** Head of Security **Reviewed:** 2028-01-20 ## Purpose Define how Praeparo detects, triages, contains, and learns from security incidents, including agent-specific events such as prompt injection or unauthorized tool use. ## Requirements 1. Security logging account retains CloudTrail, GuardDuty, and agent telemetry. 2. Sev definitions include agent misuse and evidence integrity failures. 3. On-call acknowledges Sev-1 within 15 minutes; customer-impacting events follow the disclosure runbook. 4. Tabletop exercises run at least annually and include an agent prompt-injection scenario.
Require S3 bucket CMK encryption
REGO-S3-CMKControls PRE-15, PRE-19, PRE-08 · Last PR praeparo/customer-acme-policies#128
package policies.s3_cmk
import future.keywords.if
import future.keywords.in
# Deny buckets that are not encrypted with a customer managed KMS key.
deny[msg] if {
input.resource_type == "aws_s3_bucket"
not cmk_encrypted(input)
msg := sprintf("bucket %s must use SSE-KMS with a CMK", [input.resource_id])
}
cmk_encrypted(bucket) if {
bucket.encryption.sse_algorithm == "aws:kms"
startswith(bucket.encryption.kms_key_id, "arn:aws:kms:")
}