If you are responsible for the servers and cloud systems your business runs on, the work never really stops: spin up an environment for a new project, give a new hire access, run the same maintenance job across a fleet of machines, and find out which systems still need a security patch. Red Hat lets you do much of that through APIs, which are a way for other software, or an AI assistant, to carry out those tasks for you instead of someone clicking through consoles. Everything I have catalogued is on their APIs.io profile.
What Red Hat does
Red Hat provides enterprise open source software, including Linux, cloud, container, and Kubernetes technologies. Kubernetes is the system many companies use to run their applications in containers across groups of servers called clusters. Red Hat describes itself as a leading provider in that space. Around those products it publishes APIs for subscriptions, cluster management, security, cost tracking, image building, and patching. More at redhat.com.
What you can get done
IT Infrastructure Management
Creating and looking after the clusters your applications run on, so a new environment is a request to software rather than a ticket that waits in a queue.
GET /api/clusters_mgmt/v1/clusterslists your clusters.POST /api/clusters_mgmt/v1/clusterscreates a new cluster.GET /api/clusters_mgmt/v1/clusters/{cluster_id}gets the details of one cluster.PATCH /api/clusters_mgmt/v1/clusters/{cluster_id}changes a cluster.DELETE /api/clusters_mgmt/v1/clusters/{cluster_id}removes a cluster you no longer need.
Identity & Access Management
Deciding who can sign in and how. This covers adding users and connecting the login systems your company already uses.
GET /admin/realms/{realm}/userslists users.POST /admin/realms/{realm}/userscreates a user.GET /admin/realms/{realm}/identity-provider/instanceslists the outside login providers connected.POST /api/clusters_mgmt/v1/clusters/{cluster_id}/identity_providersconnects a login provider to a cluster.
IT Operations Management
Repeatable maintenance. A job template is a saved, reusable automation job, such as updating software across many machines.
GET /api/v2/job_templates/lists job templates.POST /api/v2/job_templates/creates one.PATCH /api/v2/job_templates/{id}/changes one.DELETE /api/v2/job_templates/{id}/removes one.
Vulnerability Management
Knowing where you are exposed. Errata are Red Hat’s published fixes and advisories for its software.
GET /katello/api/v2/erratalists available errata.GET /api/v2/hosts/{id}/erratalists the errata that apply to one machine.GET /repository/{repository}/manifest/{manifestref}/securitygets security information for a container image.
Workflows that put it together
A workflow is a recipe of several API calls in a set order that finishes one job.
- Build Inventory and Template resolves an organization, creates an inventory, builds a job template on it, and launches a first run.
- Provision and Run Job creates a job template, launches it, and follows the job to completion.
- Launch, Monitor, and Cancel Job runs an existing job and cancels it if it stalls.
- Inspect a System pulls fleet statistics, finds a system by name, and retrieves its detail.
- Triage a Rule’s Affected Systems finds a high-risk advisor rule and lists the systems it affects.
- Provision Realm Role and User confirms a realm, creates a role, and creates a user in it.
Getting started
Red Hat is listed as enterprise with self-serve signup. Start with the Red Hat management API documentation and read about API authentication. For specific products there is documentation for Advanced Cluster Management and Advanced Cluster Security. On APIs.io, look at the Subscription Management API, the Patch API, the Vulnerability Management API, and the Cost Management API, all from the Red Hat profile.
Start with the patching question, which systems need what, because it is the one that tends to keep people up at night.
