3.85. webhook
Webhook を管理します。
使用方法
hammer webhook [OPTIONS] SUBCOMMAND [ARG] ...
# hammer webhook [OPTIONS] SUBCOMMAND [ARG] ...
オプション
-
-h
、--help
– ヘルプを表示します。
3.85.1. webhook create リンクのコピーリンクがクリップボードにコピーされました!
Webhook を作成します。
使用方法
hammer webhook create [OPTIONS]
# hammer webhook create [OPTIONS]
オプション
-
--enabled BOOLEAN
-
--event ENUM
– 使用できる値は、actions.katello.capsule_content.sync_failed
、actions.katello.capsule_content.sync_succeeded
、actions.katello.content_view.promote_failed
、actions.katello.content_view.promote_succeeded
、actions.katello.content_view.publish_failed
、actions.katello.content_view.publish_succeeded
、actions.katello.repository.sync_failed
、actions.katello.repository.sync_succeeded
、actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded
、actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded
、actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded
、actions.remote_execution.run_host_job_ansible_run_host_succeeded
、actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded
、actions.remote_execution.run_host_job_ansible_run_playbook_succeeded
、actions.remote_execution.run_host_job_failed
、actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded
、actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded
、actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded
、actions.remote_execution.run_host_job_katello_errata_install_succeeded
、actions.remote_execution.run_host_job_katello_group_install_succeeded
、actions.remote_execution.run_host_job_katello_group_remove_succeeded
、actions.remote_execution.run_host_job_katello_group_update_succeeded
、actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded
、actions.remote_execution.run_host_job_katello_module_stream_action_succeeded
、actions.remote_execution.run_host_job_katello_package_install_by_search_succeeded
、actions.remote_execution.run_host_job_katello_package_install_succeeded
、actions.remote_execution.run_host_job_katello_package_remove_succeeded
、actions.remote_execution.run_host_job_katello_package_update_succeeded
、actions.remote_execution.run_host_job_katello_packages_remove_by_search_succeeded
、actions.remote_execution.run_host_job_katello_packages_update_by_search_succeeded
、actions.remote_execution.run_host_job_katello_service_restart_succeeded
、actions.remote_execution.run_host_job_leapp_preupgrade_succeeded
、actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded
、actions.remote_execution.run_host_job_leapp_upgrade_succeeded
、actions.remote_execution.run_host_job_puppet_run_host_succeeded
、actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded
、actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded
、actions.remote_execution.run_host_job_run_script_succeeded
、actions.remote_execution.run_host_job_succeeded
、actions.remote_execution.run_hosts_job_failed
、actions.remote_execution.run_hosts_job_running
、actions.remote_execution.run_hosts_job_succeeded
、build_entered
、build_exited
、content_view_created
、content_view_destroyed
、content_view_updated
、domain_created
、domain_destroyed
、domain_updated
、host_created
、host_destroyed
、host_facts_updated
、host_updated
、hostgroup_created
、hostgroup_destroyed
、hostgroup_updated
、model_created
、model_destroyed
、model_updated
、status_changed
、subnet_created
、subnet_destroyed
、subnet_updated
、user_created
、user_destroyed
、user_updated
です。 -
--http-content-type VALUE
-
--http-headers KEY_VALUE_LIST
-
--http-method ENUM
– 使用できる値は、POST
、GET
、PUT
、DELETE
、PATCH
です。 -
--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]
# hammer webhook <delete|destroy> [OPTIONS]
オプション
-
--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]
# hammer webhook <info|show> [OPTIONS]
オプション
-
--fields LIST
– 指定されたフィールドまたは定義済みフィールドセットのみを表示します。以下を参照してください。 -
--id VALUE
-
--location VALUE
– リクエストの現在のロケーションコンテキストを設定します。 -
--location-id NUMBER
– リクエストの現在のロケーションコンテキストを設定します。 -
--location-title VALUE
– リクエストの現在のロケーションコンテキストを設定します。 -
--name VALUE
– 検索する名前 -
--organization VALUE
– リクエストの現在の組織コンテキストを設定します。 -
--organization-id NUMBER
– リクエストの現在の組織コンテキストを設定します。 -
--organization-title VALUE
– リクエストの現在の組織コンテキストを設定します。 -
-h
、--help
– ヘルプを表示します。
フィールド | 追加 | すべて | デフォルト | シン |
---|---|---|---|---|
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]
# hammer webhook <list|index> [OPTIONS]
オプション
-
--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
– ヘルプを表示します。
フィールド | すべて | デフォルト | シン |
---|---|---|---|
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]
# hammer webhook update [OPTIONS]
オプション
-
--enabled BOOLEAN
-
--event ENUM
– 使用できる値は、actions.katello.capsule_content.sync_failed
、actions.katello.capsule_content.sync_succeeded
、actions.katello.content_view.promote_failed
、actions.katello.content_view.promote_succeeded
、actions.katello.content_view.publish_failed
、actions.katello.content_view.publish_succeeded
、actions.katello.repository.sync_failed
、actions.katello.repository.sync_succeeded
、actions.remote_execution.run_host_job_ansible_configure_cloud_connector_succeeded
、actions.remote_execution.run_host_job_ansible_enable_web_console_succeeded
、actions.remote_execution.run_host_job_ansible_run_capsule_upgrade_succeeded
、actions.remote_execution.run_host_job_ansible_run_host_succeeded
、actions.remote_execution.run_host_job_ansible_run_insights_plan_succeeded
、actions.remote_execution.run_host_job_ansible_run_playbook_succeeded
、actions.remote_execution.run_host_job_failed
、actions.remote_execution.run_host_job_foreman_openscap_run_oval_scans_succeeded
、actions.remote_execution.run_host_job_foreman_openscap_run_scans_succeeded
、actions.remote_execution.run_host_job_katello_errata_install_by_search_succeeded
、actions.remote_execution.run_host_job_katello_errata_install_succeeded
、actions.remote_execution.run_host_job_katello_group_install_succeeded
、actions.remote_execution.run_host_job_katello_group_remove_succeeded
、actions.remote_execution.run_host_job_katello_group_update_succeeded
、actions.remote_execution.run_host_job_katello_host_tracer_resolve_succeeded
、actions.remote_execution.run_host_job_katello_module_stream_action_succeeded
、actions.remote_execution.run_host_job_katello_package_install_by_search_succeeded
、actions.remote_execution.run_host_job_katello_package_install_succeeded
、actions.remote_execution.run_host_job_katello_package_remove_succeeded
、actions.remote_execution.run_host_job_katello_package_update_succeeded
、actions.remote_execution.run_host_job_katello_packages_remove_by_search_succeeded
、actions.remote_execution.run_host_job_katello_packages_update_by_search_succeeded
、actions.remote_execution.run_host_job_katello_service_restart_succeeded
、actions.remote_execution.run_host_job_leapp_preupgrade_succeeded
、actions.remote_execution.run_host_job_leapp_remediation_plan_succeeded
、actions.remote_execution.run_host_job_leapp_upgrade_succeeded
、actions.remote_execution.run_host_job_puppet_run_host_succeeded
、actions.remote_execution.run_host_job_rh_cloud_connector_run_playbook_succeeded
、actions.remote_execution.run_host_job_rh_cloud_remediate_hosts_succeeded
、actions.remote_execution.run_host_job_run_script_succeeded
、actions.remote_execution.run_host_job_succeeded
、actions.remote_execution.run_hosts_job_failed
、actions.remote_execution.run_hosts_job_running
、actions.remote_execution.run_hosts_job_succeeded
、build_entered
、build_exited
、content_view_created
、content_view_destroyed
、content_view_updated
、domain_created
、domain_destroyed
、domain_updated
、host_created
、host_destroyed
、host_facts_updated
、host_updated
、hostgroup_created
、hostgroup_destroyed
、hostgroup_updated
、model_created
、model_destroyed
、model_updated
、status_changed
、subnet_created
、subnet_destroyed
、subnet_updated
、user_created
、user_destroyed
、user_updated
です。 -
--http-content-type VALUE
-
--http-headers KEY_VALUE_LIST
-
--http-method ENUM
– 使用できる値は、POST
、GET
、PUT
、DELETE
、PATCH
です。 -
--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
– ヘルプを表示します。