Bug 1928237 - [DOCS] Document ingress controller http header and cookie logging.
Summary: [DOCS] Document ingress controller http header and cookie logging.
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Documentation
Version: 4.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Latha S
QA Contact: Xiaoli Tian
Latha S
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-12 17:16 UTC by Ryan Howe
Modified: 2022-09-27 12:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-27 12:53:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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
~~~


Note You need to log in before you can comment on or make changes to this bug.