Bug 2119053

Summary: [RFE] X509 Certification Authorities" and "Optional HTTP headers as JSON (ERB allowed)" fields need to be included via Hammer CLI for "hammer webhook create" and "hammer webhook update" sub-options
Product: Red Hat Satellite Reporter: Sonam <sshewale>
Component: Hooks and WebhooksAssignee: Oleh Fedorenko <ofedoren>
Status: CLOSED ERRATA QA Contact: Peter Ondrejka <pondrejk>
Severity: medium Docs Contact:
Priority: medium    
Version: 6.11.0CC: apatel, kgaikwad, lvrtelov, mhulan, ofedoren, pcreech, rabajaj, saydas
Target Milestone: 6.13.0Keywords: FutureFeature
Target Release: Unused   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: rubygem-hammer_cli_foreman_webhooks-0.0.4 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-05-03 13:21:36 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Sonam 2022-08-17 12:03:01 UTC
[1]. Proposed title of this feature request.
 
X509 Certification Authorities" and "Optional HTTP headers as JSON (ERB allowed)" fields need to be included via Hammer CLI for "hammer webhook create" and "hammer webhook update" sub-options
 
[2]. Who is the customer behind the request?
 
Shared later
 
[3]. What are the nature and description of the request?
 
Need to include two options below using Hammer CLI for "hammer webhook create" and "hammer webhook update" sub-options
 
i. X509 Certification Authorities" --> Where we can paste the Cert details 
ii. Optional HTTP headers as JSON (ERB allowed)" --> Where we can paste the headers for shell hook args
 
 
[4]. Is there already an existing RFE upstream or in Red Hat Bugzilla?
 
Unknown
 
[5]. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. satellite 7.0)?
   As soon as possible
 
[6]. Is the sales team involved in this request and do they have any additional input?
   No

Comment 3 Oleh Fedorenko 2022-08-17 13:59:26 UTC
Connecting redmine issue https://projects.theforeman.org/issues/35373 from this bug

Comment 4 Bryan Kearney 2022-08-22 20:05:22 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35373 has been resolved.

Comment 6 Peter Ondrejka 2023-01-27 13:36:16 UTC
Verified on Satellite 6.13 snap 8: the --http-headers and --ssl-ca-certs options have been added to hammer webhook and work as expected

Comment 9 errata-xmlrpc 2023-05-03 13:21:36 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Important: Satellite 6.13 Release), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:2097