kosa8 docs Dashboard
esc
↑ ↓ move↵ openRuns in your browser; nothing you type is sent anywhere.

CLI / cloud / pipelines / hook / create

kosa8 cloud pipelines hook create

Make a webhook URL for a repository (and optionally a cron schedule)

Usage#

kosa8 cloud pipelines hook create REPO_URL

Prints the webhook URL and its signing secret, once: add both to the repository's webhooks (GitHub: Settings > Webhooks, content type JSON, push and pull request events; GitLab: X-Gitlab-Token). kosa8 makes the secret unless --secret-stdin reads yours. --cron also runs it on that schedule (UTC).

A GitHub repo of your connection needs none of this: kosa8 cloud pipelines connect OWNER/NAME (the kosa8 GitHub App delivers its pushes and pull requests).

Options#

FlagTypeWhat it doesDefault
--cronstringalso run on this cron schedule (UTC)—
--cron-refstringthe ref a scheduled run builds (default: the default branch)—
--namestringa name for the hook—
--providerstringgithub or gitlab (default: from the URL)—
--secretstringArrayhand this secret (marked --pipelines) to the jobs (repeatable)[]
--secret-stdinboolread the webhook signing secret from stdin instead of making one—
--sizestringsandbox size for each job, e.g. 4x8—
--status-secretstringthe secret that posts commit statuses—
--timeoutdurationstop each run after this long0s
--token-secretstringthe secret that clones a private repository—
--workflowstringonly this file in .github/workflows—

Example#

  kosa8 cloud pipelines hook create https://github.com/acme/app --secret npm-token
  kosa8 cloud pipelines hook create https://gitlab.com/acme/app --cron '0 3 * * *' --cron-ref main

The kosa8 weekly

Agent security news, one industry deep-dive and a hands-on challenge, every Monday. Unsubscribe in one click.

© 2026 kosa8 · kosa8.com · Zero Trust cybersecurity infrastructure for AI agents · Local models served by llamay · Agent gateway: MAQPNA