# Pipesure (Gatemark Systems Limited) Pipesure checks the set-up of CI/CD pipelines (GitHub Actions) against published OWASP CI/CD guidance and reports what it finds. Check runs in your own pipeline and its results are self-run. A report is a snapshot, not a certificate, guarantee or audit opinion. ## Buying Credits are prepaid. 1 credit = £1 at the base rate; volume bands lower the rate. Gatemark Systems Limited is not VAT registered: no VAT is charged, and the price shown is the total. Credits expire 365 days after purchase, unless your order form says otherwise. - Price a purchase: GET https://shop.gatemark.net/v1/quote?credits=N (N a multiple of 100, at least 100) - Pay: a person buys on the website or via POST https://shop.gatemark.net/v1/checkout and receives a key (psk_live_...), shown once. - A person must accept the terms: https://shop.gatemark.net/terms (a business buyer only). ## Using a key Send it as Authorization: Bearer . Keep it in a CI secret (PIPESURE_KEY). Never print it, log it or commit it. - POST https://shop.gatemark.net/v1/redeem {"product": "check-spot", "repos": ["owner/name"], "idempotency_key": ""} Returns a signed licence for those repos. Reuse the same idempotency_key when retrying so you are never charged twice. - GET https://shop.gatemark.net/v1/balance - Download the Pipesure Check binary (pay before download): GET https://shop.gatemark.net/v1/dl/pipesure-check// with Authorization: Bearer (the ps1 licence from /v1/redeem; a credit key also works). Targets: x86_64-unknown-linux-musl, aarch64-unknown-linux-musl, x86_64-pc-windows-msvc, aarch64-apple-darwin. Without a valid licence: 402 payment_required with where to buy. Each served copy is stamped with a download id (the binary prints it as "fingerprint dl_...") and comes with a signed manifest in the headers X-Pipesure-Manifest and X-Pipesure-Manifest-Sig (Ed25519 over "psm1.", the key at /.well-known/pipesure-licence-key.json); verify it before you run the file. GET https://shop.gatemark.net/v1/dl/pipesure-check//SHA256SUMS is public (unstamped digests). Limits: 60 downloads a day per licence, 200 per address. The GitHub Action and the ADO template do all this for you. - POST https://shop.gatemark.net/v1/vouchers/redeem {"code": "GMV-XXXX-XXXX-XXXX"} (Bearer key). Adds the voucher's credits to that key. Returns {"voucher_id", "credits_added", "balance"}. Codes ignore case, spaces and dashes. Errors: 404 invalid_voucher, 410 voucher_expired, 409 voucher_exhausted, 409 already_redeemed (a key can redeem a voucher once), 429 rate_limited after repeated wrong codes. A trial voucher adds the credits for one complimentary Check (product check-spot) and returns "trial": true; it works once for anyone (409 trial_voucher_used) and once per organisation (409 trial_already_used). Its credits buy that one Check only and are never exchanged, transferred or refunded. - Top up an existing key: POST https://shop.gatemark.net/v1/checkout with Authorization: Bearer and {"credits": N}; once paid the credits are added to that key and no new key is issued. - Plans: POST https://shop.gatemark.net/v1/checkout {"plan": "check-month-3|check-month-10|check-month-25", "interval": "month|year", "method": "card|bacs_debit"}. Credits are added each time a payment clears. GET https://shop.gatemark.net/v1/subscriptions; POST https://shop.gatemark.net/v1/subscriptions//cancel or /change {"plan": ...}. - Who is buying: add "buyer": {"type": "business|charity|open_source|individual", ...}. Every buyer pays the published prices. An individual is a consumer: an agent must not tick the consumer's express request or acknowledgement on their behalf. - Whole price book: GET https://shop.gatemark.net/v1/pricebook. Bank transfer: POST https://shop.gatemark.net/v1/proforma (yearly plans, above £10,000). - Sandbox account keys: POST https://shop.gatemark.net/v1/accounts/keys (header X-Service-Token, a Gatemark service credential, not for general use) creates a key bound to an account (acct:) that may cover repos of several owners, GitHub and Azure DevOps mixed. Products: see https://shop.gatemark.net/.well-known/pipesure.json Licence verification key: https://shop.gatemark.net/.well-known/pipesure-licence-key.json ## Limits A key is bound to the first owner it is used for (a GitHub owner, or for Azure DevOps repos written ado:organisation/project/name, the organisation as ado:organisation), has a daily spend cap, and is rate limited. Review orders wait for a written conflict check.