搜索

17.5. 可用的 Webhook 事件

download PDF

下表包含卫星 Web UI 中可用的 webhook 事件列表。操作 事件仅在 成功 上触发 Webhook,因此当操作失败时,不会触发 webhook。

有关有效负载的更多信息,请访问 Administer > About & gt; Support > Templates DSL。下表提供了可用类型的列表。在这种情况下,一些事件被标记为 自定义,有效负载是一个对象,但 Ruby hash(键-值数据结构),因此语法不同。

事件名称描述payload

actions Katello Content View promote Succeeded

已成功提升内容视图。

Actions::Katello::ContentView::Promote

actions Katello Content View Publish Succeeded

存储库已成功同步。

Actions::Katello::ContentView::Publish

操作远程执行运行主机作业 Succeeded

为主机成功执行通用远程执行作业。所有远程执行作业(完成后)发布此事件。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Errata Install Succeeded

使用 Katello 接口安装勘误表。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Group Install Succeeded

使用 Katello 接口安装 软件包组。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Install Succeeded

使用 Katello 接口安装软件包。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Katello Group Remove

使用 Katello 接口删除软件包组。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Remove Succeeded

使用 Katello 接口删除软件包。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Service Restart Succeeded

使用 Katello 接口重启 Services。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Group Update Succeeded

使用 Katello 接口更新软件包组。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello Package Update Succeeded

使用 Katello 接口更新软件包。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Foreman OpenSCAP Run Scans Succeeded

运行 OpenSCAP 扫描。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Ansible Run Host Succeeded

运行一个 Ansible playbook,其中包含为主机定义的所有角色。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Ansible Run Capsule Upgrade Succeeded

在给定的胶囊服务器主机上升级胶囊。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Configure Cloud Connector Succeeded

在给定主机上配置 Cloud Connector。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Run Insights Plan Succeeded

根据一个 ID 从 Red Hat Access Insights 运行指定维护计划。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Ansible Run Playbook Succeeded

针对给定主机运行 Ansible playbook。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Ansible Enable Web Console Succeeded

运行 Ansible playbook,在给定的主机上启用 Web 控制台。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Puppet Run Host Succeeded

执行单个 Puppet 运行。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Katello module Stream Action Succeeded

使用 Katello 接口执行模块流操作。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Leapp Pre-upgrade Succeeded

RHEL 7 主机的可升级检查。

Actions::RemoteExecution::RunHostJob

Actions Remote Execution Run Host Job Leapp Remediation Plan Succeeded

使用 Leapp 运行修复计划。

Actions::RemoteExecution::RunHostJob

操作远程执行运行主机作业 Leapp Upgrade Succeeded

为 RHEL 7 主机运行 Leapp 升级作业。

Actions::RemoteExecution::RunHostJob

build Entered

输入构建模式的主机。

自定义事件:@ payload[:id] (host id), @payload[:hostname] (host name)。

build Exited

主机构建模式已取消,无论它已被成功置备,或者用户手动取消了构建。

自定义事件:@ payload[:id] (host id), @payload[:hostname] (host name)。

Content View Created/Updated/Destroyed

在内容视图上的常见数据库操作.

Katello::ContentView

域 Created/Updated/Destroyed

域上的常见数据库操作。

主机已创建/更新/介绍

主机上的通用数据库操作。

主机

主机组 Created/Updated/Destroyed

主机组上的常见数据库操作.

hostgroup

Created/Updated/Destroyed 建模

模式上的常见数据库操作。

model

status Changed

已更改主机的全局主机状态。

Custom event: @payload[:id] (host id), @payload[:hostname], @payload[:global_status] (hash)

子网 Created/Updated/Destroyed

子网上的常见数据库操作。

子网

模板渲染程序执行

报告模板已呈现。

模板

用户 Created/Updated/Destroyed

用户的通用数据库操作。

User

Red Hat logoGithubRedditYoutubeTwitter

学习

尝试、购买和销售

社区

关于红帽文档

通过我们的产品和服务,以及可以信赖的内容,帮助红帽用户创新并实现他们的目标。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

© 2024 Red Hat, Inc.