Skip to content

Publish security documents

Clients download Rose's SOC 2 report, security policies and legal documents from Settings → Compliance → Security documents in the backoffice. The files live in a private Cloudflare R2 bucket; the admin API lists it and hands out download links that expire after 5 minutes (backend/apps/api/admin/ixadmin_api/routes/security_documents.py).

Only staff, sales-led accounts (clients.client_type client or onboarding) and self-serve accounts with a Stripe subscription Rose still serves see the documents (read from config.get_client_billing, like Plan & usage). Free, demo, former and test accounts, and self-serve accounts whose subscription stopped, get "Security documents are available to Rose customers on a paid plan." A self-serve client on a staff-assigned plan without Stripe gets the documents once staff set its client type to client.

Set up the bucket (once)

  1. In Cloudflare → R2, create the bucket rose-security-documents with the EU jurisdiction. Leave public access and custom domains off.
  2. Create an R2 API token with Object Read only, scoped to that bucket.
  3. In Secret Manager, for each environment's project, create:

    Secret Value
    R2_SECURITY_DOCS_ENDPOINT_URL the bucket's S3 endpoint (https://<account>.eu.r2.cloudflarestorage.com)
    R2_SECURITY_DOCS_ACCESS_KEY_ID the token's access key id
    R2_SECURITY_DOCS_SECRET_ACCESS_KEY the token's secret

    Until they exist, the tab shows "Security documents are not set up on this environment."

What is published

The bucket holds what Probo's trust center shared with customers, nothing more:

Bucket key Drive source (Rose-GDrive › COMPLIANCE › SOC 2)
Reports/Rose - SOC 2 Type 2 report.pdf Rose SOC 2 Type 2 Report.pdf
Policies/Rose - Access control policy.pdf docs/1_Access_Control_Policy.pdf
Policies/Rose - Asset management policy.pdf docs/2_Asset_Management_Policy.pdf
Policies/Rose - Business continuity, backup and recovery policy.pdf docs/4_Business_continuity,_backup_and_recovery_policy.pdf
Policies/Rose - Code of conduct.pdf docs/5_Code_of_conduct.pdf
Policies/Rose - Data management policy.pdf docs/7_Data_management_policy.pdf
Policies/Rose - Human resource security policy.pdf docs/8_Human_Resource_Security_Policy.pdf
Policies/Rose - Information security policy.pdf docs/9_Information_security_policy.pdf
Policies/Rose - Operations security policy.pdf docs/10_Operations_security_policy.pdf
Policies/Rose - Risk management policy.pdf docs/12_Risk_management_policy.pdf
Policies/Rose - Secure development policy.pdf docs/14_Secure_development_policy.pdf
Policies/Rose - Third-party policy.pdf docs/16_Third-party_policy.pdf

The other files in that folder stay internal: the asset list (3_Assets), data list (6_Data), quarterly security meeting notes (11_…), system architecture (13_…), third parties register (15_Third_Parties), the auditor's issuance letters and the MJD report confirmation. Publish a new document only once someone decides customers get it. Legal/ stays empty until the DPA is signed off. Files in COMPLIANCE › RGPD are internal Word drafts, not customer documents.

Add or replace a document

  1. Download the PDF from Drive. An agent cannot read ~/Downloads on the operator's Mac, and Drive blocks scripted downloads from the browser. The operator downloads the file or folder zip, then moves it to a folder the agent can read, such as /tmp.
  2. Open the PDF and check it is the version to publish. A policy's first page shows its Approver, Version and Published date. The SOC 2 report has none of these: check it is the auditor's final issued copy and that its cover shows the expected reporting period.
  3. Name it Rose - followed by the title on its first page, in sentence case: 9_Information_security_policy.pdf becomes Rose - Information security policy.pdf, shown as Rose - Information security policy. The client's download keeps that name.
  4. Upload it to the folder of its section: Reports/, Policies/ or Legal/. A file at the top level shows under Other documents; any other folder becomes its own section. The Cloudflare dashboard works, or wrangler signed in to the Rose account:

    wrangler r2 object put "rose-security-documents/Policies/Rose - Information security policy.pdf" \
      --file 9_Information_security_policy.pdf --content-type application/pdf \
      --jurisdiction eu --remote
    

    Without --remote, wrangler writes to a local emulator; without --jurisdiction eu, it does not find the bucket.

  5. To replace a version, upload under the same name. If the name changed, delete the old file with wrangler r2 object delete "rose-security-documents/<key>" --jurisdiction eu --remote. Reload the backoffice page to see the change: an open tab keeps its list.

Check

Read the bucket back with the credentials production uses, so a wrong bucket or token shows here first:

(
  unset AWS_SESSION_TOKEN AWS_PROFILE
  export AWS_ACCESS_KEY_ID="$(gcloud secrets versions access latest --secret=R2_SECURITY_DOCS_ACCESS_KEY_ID --project=inboundx)"
  export AWS_SECRET_ACCESS_KEY="$(gcloud secrets versions access latest --secret=R2_SECURITY_DOCS_SECRET_ACCESS_KEY --project=inboundx)"
  endpoint="$(gcloud secrets versions access latest --secret=R2_SECURITY_DOCS_ENDPOINT_URL --project=inboundx)"
  aws s3 ls s3://rose-security-documents/ --recursive --endpoint-url "$endpoint" --region auto
  aws s3 cp "s3://rose-security-documents/Policies/Rose - Information security policy.pdf" \
    /tmp/check.pdf --endpoint-url "$endpoint" --region auto --only-show-errors
)
cmp /tmp/check.pdf 9_Information_security_policy.pdf && echo "same file"

The subshell keeps these credentials out of your shell. The list must match What is published. A replacement keeps its key, so the listing alone does not prove the upload: download each changed key, as above, and compare it with the source PDF.

Staff skip the plan check, so check with client accounts, not your staff login:

  • A member of a sales-led workspace opens Settings → Compliance → Security documents and downloads one file.
  • A member of a Free workspace sees the paid-plan message instead of the list.