3.85. webhook


Webhook を管理します。

使用方法

# hammer webhook [OPTIONS] SUBCOMMAND [ARG] ...
Copy to Clipboard Toggle word wrap

オプション

  • -h--help – ヘルプを表示します。

3.85.1. webhook create

Webhook を作成します。

使用方法

# hammer webhook create [OPTIONS]
Copy to Clipboard Toggle word wrap

オプション

  • --enabled BOOLEAN
  • --event ENUM – 使用できる値は、actions.katello.capsule_content.sync_failedactions.katello.capsule_content.sync_succeededactions.katello.content_view.promote_failedactions.katello.content_view.promote_succeededactions.katello.content_view.publish_failedactions.katello.content_view.publish_succeededactions.katello.repository.sync_failedactions.katello.repository.sync_succeededactions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeededactions.remote_execution.run_host_job_ansible_enable_web_console_succeededactions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeededactions.remote_execution.run_host_job_ansible_run_host_succeededactions.remote_execution.run_host_job_ansible_run_insights_plan_succeededactions.remote_execution.run_host_job_ansible_run_playbook_succeededactions.remote_execution.run_host_job_failedactions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeededactions.remote_execution.run_host_job_foreman_openscap_run_scans_succeededactions.remote_execution.run_host_job_katello_errata_install_by_search_succeededactions.remote_execution.run_host_job_katello_errata_install_succeededactions.remote_execution.run_host_job_katello_group_install_succeededactions.remote_execution.run_host_job_katello_group_remove_succeededactions.remote_execution.run_host_job_katello_group_update_succeededactions.remote_execution.run_host_job_katello_host_tracer_resolve_succeededactions.remote_execution.run_host_job_katello_module_stream_action_succeededactions.remote_execution.run_host_job_katello_package_install_by_search_succeededactions.remote_execution.run_host_job_katello_package_install_succeededactions.remote_execution.run_host_job_katello_package_remove_succeededactions.remote_execution.run_host_job_katello_package_update_succeededactions.remote_execution.run_host_job_katello_packages_remove_by_search_succeededactions.remote_execution.run_host_job_katello_packages_update_by_search_succeededactions.remote_execution.run_host_job_katello_service_restart_succeededactions.remote_execution.run_host_job_leapp_preupgrade_succeededactions.remote_execution.run_host_job_leapp_remediation_plan_succeededactions.remote_execution.run_host_job_leapp_upgrade_succeededactions.remote_execution.run_host_job_puppet_run_host_succeededactions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeededactions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeededactions.remote_execution.run_host_job_run_script_succeededactions.remote_execution.run_host_job_succeededactions.remote_execution.run_hosts_job_failedactions.remote_execution.run_hosts_job_runningactions.remote_execution.run_hosts_job_succeededbuild_enteredbuild_exitedcontent_view_createdcontent_view_destroyedcontent_view_updateddomain_createddomain_destroyeddomain_updatedhost_createdhost_destroyedhost_facts_updatedhost_updatedhostgroup_createdhostgroup_destroyedhostgroup_updatedmodel_createdmodel_destroyedmodel_updatedstatus_changedsubnet_createdsubnet_destroyedsubnet_updateduser_createduser_destroyeduser_updated です。
  • --http-content-type VALUE
  • --http-headers KEY_VALUE_LIST
  • --http-method ENUM – 使用できる値は、POSTGETPUTDELETEPATCH です。
  • --location VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --location-id NUMBER – リクエストの現在のロケーションコンテキストを設定します。
  • --location-title VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --name VALUE
  • --organization VALUE – リクエストの現在の組織コンテキストを設定します。
  • --organization-id NUMBER – リクエストの現在の組織コンテキストを設定します。
  • --organization-title VALUE – リクエストの現在の組織コンテキストを設定します。
  • --password VALUE
  • --proxy-authorization BOOLEAN Satellite クライアント証明書で認証し、設定から Capsule CA を検証します。
  • --ssl-ca-certs FILE – PEM 形式で連結された X509 認証局を含むファイル
  • --target-url VALUE
  • --user VALUE
  • --verify-ssl BOOLEAN
  • --webhook-template VALUE – 検索する名前
  • --webhook-template-id VALUE
  • -h--help – ヘルプを表示します。

3.85.2. webhook delete

Webhook を削除します。

使用方法

# hammer webhook <delete|destroy> [OPTIONS]
Copy to Clipboard Toggle word wrap

オプション

  • --id VALUE
  • --location VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --location-id NUMBER – リクエストの現在のロケーションコンテキストを設定します。
  • --location-title VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --name VALUE – 検索する名前
  • --organization VALUE – リクエストの現在の組織コンテキストを設定します。
  • --organization-id NUMBER – リクエストの現在の組織コンテキストを設定します。
  • --organization-title VALUE – リクエストの現在の組織コンテキストを設定します。
  • -h--help – ヘルプを表示します。

3.85.3. webhook info

Webhook の詳細を表示します。

使用方法

# hammer webhook <info|show> [OPTIONS]
Copy to Clipboard Toggle word wrap

オプション

  • --fields LIST – 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。
  • --id VALUE
  • --location VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --location-id NUMBER – リクエストの現在のロケーションコンテキストを設定します。
  • --location-title VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --name VALUE – 検索する名前
  • --organization VALUE – リクエストの現在の組織コンテキストを設定します。
  • --organization-id NUMBER – リクエストの現在の組織コンテキストを設定します。
  • --organization-title VALUE – リクエストの現在の組織コンテキストを設定します。
  • -h--help – ヘルプを表示します。
Expand
表3.222 定義済みフィールドセット
フィールド追加すべてデフォルトシン

Id

 

x

x

x

Name

 

x

x

x

Target url

 

x

x

 

Enabled

 

x

x

 

Event

 

x

x

 

Http method

 

x

x

 

Http content type

 

x

x

 

Webhook template

 

x

x

 

User

 

x

x

 

Verify ssl

 

x

x

 

Proxy authorization

 

x

x

 

X509 certification authorities

x

x

  

Http headers/

 

x

x

 

Created at

 

x

x

 

Updated at

 

x

x

 

3.85.4. webhook list

Webhook をリスト表示します。

使用方法

# hammer webhook <list|index> [OPTIONS]
Copy to Clipboard Toggle word wrap

オプション

  • --fields LIST – 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。
  • --location VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --location-id NUMBER – リクエストの現在のロケーションコンテキストを設定します。
  • --location-title VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --order VALUE – 検索可能なフィールドで並べ替え、順序付けします。たとえば <field> DESC です。
  • --organization VALUE – リクエストの現在の組織コンテキストを設定します。
  • --organization-id NUMBER – リクエストの現在の組織コンテキストを設定します。
  • --organization-title VALUE – リクエストの現在の組織コンテキストを設定します。
  • --page NUMBER – (1 から始まる) ページ番号
  • --per-page VALUE – 1 ページあたりの、返される結果の数。all を指定すると、すべての結果が返されます。
  • --search VALUE – 結果をフィルタリングします。
  • -h--help – ヘルプを表示します。
Expand
表3.223 定義済みフィールドセット
フィールドすべてデフォルトシン

Id

x

x

x

Name

x

x

x

Target url

x

x

 

Enabled

x

x

 

検索/順序フィールド

  • enabled – 値は true、false です。
  • name – 文字列
  • target_url – 文字列

3.85.5. webhook update

Webhook を更新します。

使用方法

# hammer webhook update [OPTIONS]
Copy to Clipboard Toggle word wrap

オプション

  • --enabled BOOLEAN
  • --event ENUM – 使用できる値は、actions.katello.capsule_content.sync_failedactions.katello.capsule_content.sync_succeededactions.katello.content_view.promote_failedactions.katello.content_view.promote_succeededactions.katello.content_view.publish_failedactions.katello.content_view.publish_succeededactions.katello.repository.sync_failedactions.katello.repository.sync_succeededactions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeededactions.remote_execution.run_host_job_ansible_enable_web_console_succeededactions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeededactions.remote_execution.run_host_job_ansible_run_host_succeededactions.remote_execution.run_host_job_ansible_run_insights_plan_succeededactions.remote_execution.run_host_job_ansible_run_playbook_succeededactions.remote_execution.run_host_job_failedactions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeededactions.remote_execution.run_host_job_foreman_openscap_run_scans_succeededactions.remote_execution.run_host_job_katello_errata_install_by_search_succeededactions.remote_execution.run_host_job_katello_errata_install_succeededactions.remote_execution.run_host_job_katello_group_install_succeededactions.remote_execution.run_host_job_katello_group_remove_succeededactions.remote_execution.run_host_job_katello_group_update_succeededactions.remote_execution.run_host_job_katello_host_tracer_resolve_succeededactions.remote_execution.run_host_job_katello_module_stream_action_succeededactions.remote_execution.run_host_job_katello_package_install_by_search_succeededactions.remote_execution.run_host_job_katello_package_install_succeededactions.remote_execution.run_host_job_katello_package_remove_succeededactions.remote_execution.run_host_job_katello_package_update_succeededactions.remote_execution.run_host_job_katello_packages_remove_by_search_succeededactions.remote_execution.run_host_job_katello_packages_update_by_search_succeededactions.remote_execution.run_host_job_katello_service_restart_succeededactions.remote_execution.run_host_job_leapp_preupgrade_succeededactions.remote_execution.run_host_job_leapp_remediation_plan_succeededactions.remote_execution.run_host_job_leapp_upgrade_succeededactions.remote_execution.run_host_job_puppet_run_host_succeededactions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeededactions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeededactions.remote_execution.run_host_job_run_script_succeededactions.remote_execution.run_host_job_succeededactions.remote_execution.run_hosts_job_failedactions.remote_execution.run_hosts_job_runningactions.remote_execution.run_hosts_job_succeededbuild_enteredbuild_exitedcontent_view_createdcontent_view_destroyedcontent_view_updateddomain_createddomain_destroyeddomain_updatedhost_createdhost_destroyedhost_facts_updatedhost_updatedhostgroup_createdhostgroup_destroyedhostgroup_updatedmodel_createdmodel_destroyedmodel_updatedstatus_changedsubnet_createdsubnet_destroyedsubnet_updateduser_createduser_destroyeduser_updated です。
  • --http-content-type VALUE
  • --http-headers KEY_VALUE_LIST
  • --http-method ENUM – 使用できる値は、POSTGETPUTDELETEPATCH です。
  • --id VALUE
  • --location VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --location-id NUMBER – リクエストの現在のロケーションコンテキストを設定します。
  • --location-title VALUE – リクエストの現在のロケーションコンテキストを設定します。
  • --name VALUE
  • --new-name VALUE
  • --organization VALUE – リクエストの現在の組織コンテキストを設定します。
  • --organization-id NUMBER – リクエストの現在の組織コンテキストを設定します。
  • --organization-title VALUE – リクエストの現在の組織コンテキストを設定します。
  • --password VALUE
  • --proxy-authorization BOOLEAN Satellite クライアント証明書で認証し、設定から Capsule CA を検証します。
  • --ssl-ca-certs FILE – PEM 形式で連結された X509 認証局を含むファイル
  • --target-url VALUE
  • --user VALUE
  • --verify-ssl BOOLEAN
  • --webhook-template VALUE – 検索する名前
  • --webhook-template-id VALUE
  • -h--help – ヘルプを表示します。
トップに戻る
Red Hat logoGithubredditYoutubeTwitter

詳細情報

試用、購入および販売

コミュニティー

Red Hat ドキュメントについて

Red Hat をお使いのお客様が、信頼できるコンテンツが含まれている製品やサービスを活用することで、イノベーションを行い、目標を達成できるようにします。 最新の更新を見る.

多様性を受け入れるオープンソースの強化

Red Hat では、コード、ドキュメント、Web プロパティーにおける配慮に欠ける用語の置き換えに取り組んでいます。このような変更は、段階的に実施される予定です。詳細情報: Red Hat ブログ.

会社概要

Red Hat は、企業がコアとなるデータセンターからネットワークエッジに至るまで、各種プラットフォームや環境全体で作業を簡素化できるように、強化されたソリューションを提供しています。

Theme

© 2025 Red Hat