Using cert-operator with redhat.local

Go integration

✓ Official SDK
Install
go get github.com/redhat-cop/cert-operator
Quick start
import "cert-operator"

// Initialize client
client := cert-operator.NewClient("YOUR_API_KEY")
Show me all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/systems
Show me all installed packages across my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/packages/
Show me all applicable advisories for all my systems
curl \
  -H "x-rh-identity: $API_KEY" \
  http://redhat.local/api/patch/v1/advisories
SDK on GitHub 📄 API Docs
SDK
cert-operator
Go
API
redhat.local
redhat.local:patchman-engine
At a glance
Language Go
Endpoints21
Base URLhttp://redhat.local
✓ Official