Kayak CybeAssist
Home / Resources
Resources

Knowledge centre

Documentation, evidence-capture guides, integration recipes and plain-language security explainers.

Assessment guides

Capturing evidence for each tool

Capture evidence yourself, from a machine you control, for systems you are authorised to review. Note the date you captured each file; CybeAssist judges it against that date.

Surface evidence for app.example.com
# Certificate chain (role certificate_chain)
openssl s_client -connect app.example.com:443 -servername app.example.com \
  -showcerts </dev/null > chain.pem

# Response headers (role http_headers)
curl -sI https://app.example.com/ > headers.txt

# DNS records (role dns_export): your provider's zone export,
# as zone-file text or JSON

# Mail policy (role mail_records), JSON:
{"spf": "v=spf1 include:_spf.example.net -all",
 "dmarc": "v=DMARC1; p=quarantine; rua=mailto:dmarc@example.com",
 "dkim": {"selector1": "v=DKIM1; k=rsa; p=…"}}

Tips

  • Capture all four exports on the same day.
  • An optional TLS protocol export, {"protocols": ["TLSv1.2", "TLSv1.3"]}, adds the legacy-protocol check.
  • Leave out what you cannot capture: the report will list it as a gap instead of passing it.
Integration guides

Recipes for common integrations

CI: review every release (GitHub Actions, illustrative)
name: cybeassist-build-review
on: { push: { tags: ["v*"] } }
permissions: { contents: read }
jobs:
  review:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@<pinned-sha>
      - name: Upload snapshot and start a Build review
        env:
          KEY: ${{ secrets.CYBEASSIST_API_KEY }}
          WS: ${{ vars.CYBEASSIST_WORKSPACE }}
          ASSET: ${{ vars.CYBEASSIST_ASSET }}
          AUTHZ: ${{ vars.CYBEASSIST_AUTHORIZATION }}
        run: |
          git archive --format=zip -o snapshot.zip HEAD
          UP=$(curl -sf -X PUT -H "Authorization: Bearer $KEY" \
            -H "X-Authorised-By: Release pipeline" --data-binary @snapshot.zip \
            "https://cybeassist.com/v1/uploads?workspace_id=$WS&role=snapshot&filename=snapshot.zip&asset_id=$ASSET" | jq -r .id)
          curl -sf -X POST https://cybeassist.com/v1/scans \
            -H "Authorization: Bearer $KEY" -H "Content-Type: application/json" \
            -H "Idempotency-Key: $GITHUB_RUN_ID-$GITHUB_RUN_ATTEMPT" \
            -d "{\"tool\":\"build\",\"asset_id\":\"$ASSET\",\"authorization_id\":\"$AUTHZ\",\"upload_ids\":[\"$UP\"]}"

Webhook receiver

Verify the signature on the raw body before parsing it, reject timestamps older than five minutes, deduplicate on X-CybeAssist-Event-Id, and answer 2xx quickly. Webhook reference.

SARIF into code scanning

Download the SARIF report (/v1/reports/{id}/download/sarif) and load it into any tool that reads SARIF 2.1.0.

Your tracker or warehouse

Page through /v1/scans/{id}/findings or download JSON or CSV. CSV cells are protected against spreadsheet formula injection.

Review form on your website

Issue an embed token from your backend for your page's origin, and let the page call the API with it. Embed tokens.

Security education

The basics behind the checks

Why certificate chains break

Browsers need the whole chain from your certificate to a trusted root. A server that sends only its own certificate works in some clients and fails in others; an expired intermediate breaks everything at once. Automate renewal and deploy the full chain.

Headers that protect users

Strict-Transport-Security keeps browsers on HTTPS. A Content-Security-Policy limits where scripts can come from, which blunts cross-site scripting. nosniff, framing controls and a referrer policy close smaller gaps.

SPF, DKIM and DMARC

SPF lists who may send mail for your domain, DKIM signs messages, and DMARC tells receivers what to do when both fail and where to send reports. A DMARC policy of p=none only monitors; it does not stop spoofing.

What an SBOM is for

A software bill of materials lists every component in a release. When a new vulnerability is published, an SBOM lets you answer "are we affected?" in minutes instead of days.

Secrets in repositories

A key committed once stays in history even after it is deleted. Rotate any exposed credential first, then remove it from the code and keep secrets in a secret manager.

Declared is not enforced

An OpenAPI document that declares authentication on every operation is a good start, but only testing the running API proves it is enforced. Contract review finds the gaps on paper; a specialist tests the runtime.

FAQ

More questions

Can I upload evidence for a system I do not own?

Only with the owner's authority. Every run records who authorised it and in what role. Do not upload evidence for systems you are not authorised to review.

How long are my files kept?

For the plan's history period (30 days on the evaluation plan), then purged automatically unless you place a legal hold. GET /v1/retention returns the periods for your plan.

What happens if a check cannot run?

It is listed with its reason (for example "missing evidence: dns_export not supplied") and the run is marked partially completed. It is never counted as a pass.

Can I bring in my own penetration tester?

Yes. Create a specialist handoff for the run. The tester receives a signed package with the scope, authority and gaps, and their findings come back through the API labelled as theirs.

Which formats do reports come in?

PDF, HTML, JSON, CSV and SARIF, depending on your plan. The evaluation plan includes PDF and JSON.

Is there a status page or uptime commitment?

Not yet. cybeassist.com is a demonstration environment without a service-level agreement.