chainctl
chainctl Chainguard Control chainctl [flags] Options --api string The url of the Chainguard platform API. (default …
Product Docs
Open Source
Compliance
Education
Chainguard’s chainctl events
commands provide programmatic access to security event streams using the CloudEvents specification. These commands enable you to monitor container activities, security alerts, and supply chain events across your organization for enhanced observability and compliance.
Chainguard Academy has several deeper guides on Chainguard CloudEvents. You may find our guide on Subscribing to Chainguard CloudEvents to be particularly useful for understanding how to work with events from Chainguard while Chainguard Events provides a deeper dive into the content and make up of events.
There are three chainctl events
commands available: create
, list
, and delete
.
To create a new event and subscribe to events in that organization or folder, use:
chainctl events subscriptions create $SINK_URL
A sink is an addressable or callable resource that can receive incoming events delivered over HTTPS and will translate the delivered event into a returned response that includes promised information. The style and type of response is set by the sink.
Depending on the sink, you may be prompted to respond to some questions before this action is complete. You can add a -y
to the command to automatically assume yes
and run without interaction.
To retrieve a list of all your Chainguard account’s subscriptions, use:
chainctl events subscriptions list
This will return a list of IDs and sinks for all of your subscriptions.
To delete an existing event, use:
chainctl events subscriptions delete $SUBSCRIPTION_ID
Depending on the sink, you may be prompted to respond to some questions before this action is complete. You can add a -y
to the command to automatically assume yes
and run without interaction.
chainctl Chainguard Control chainctl [flags] Options --api string The url of the Chainguard platform API. (default …
chainctl auth Auth related commands for the Chainguard platform. Options -h, --help help for auth Options inherited from …
chainctl auth configure-docker Configure a Docker credential helper chainctl auth configure-docker [flags] Options …
chainctl auth login Login to the Chainguard platform. chainctl auth login [--invite-code=INVITE_CODE] …
chainctl auth logout Logout from the Chainguard platform. chainctl auth logout [--audience=AUDIENCE] Options -h, --help …
Last updated: 2025-07-23 15:09