Bug 1928237

Summary: [DOCS] Document ingress controller http header and cookie logging.
Product: OpenShift Container Platform Reporter: Ryan Howe <rhowe>
Component: DocumentationAssignee: Latha S <lmurthy>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: unspecified Docs Contact: Latha S <lmurthy>
Priority: unspecified    
Version: 4.6CC: aos-bugs, cbremble, lmurthy
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-09-27 12:53:53 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 Ryan Howe 2021-02-12 17:16:24 UTC
Document URL: 
https://docs.openshift.com/container-platform/4.6/networking/ingress-operator.html#nw-configure-ingress-access-logging_configuring-ingress

Section Number and Name: 
  nw-configure-ingress-access-logging_configuring-ingress

Describe the issue: 
  Document  ingresscontroller.spec.logging.access.httpCaptureCookies and ingresscontroller.spec.logging.access.httpCaptureHeaders. 

Additional information: 

https://github.com/openshift/router/pull/139
https://github.com/openshift/cluster-ingress-operator/pull/409/files

 I am not sure of the exact format needed to set values at this time.

Comment 1 Ryan Howe 2021-02-12 17:23:12 UTC
Format: 

ingresscontroller.spec
~~~
  logging:
    access:
      destination:
        type: Container
      httpCaptureHeaders:
        request:
        - name: Host
          maxLength: 15
        - name: Referer
          maxLength: 15
        response:
        - name: Content-length
          maxLength: 9
        - name: Location
          maxLength: 15
      httpCaptureCookies:
      - matchType: Exact
        name: foo
        maxLength: 256
~~~