Uploaded image for project: 'Apache Airflow'
  1. Apache Airflow
  2. AIRFLOW-6735

Include path-based-args in action audit logs

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 1.10.8
    • Fix Version/s: None
    • Component/s: webserver
    • Labels:
      None

      Description

      It is possible to define arguments to Flask views as part of the UR:

              @expose("<path:version>/check", methods=["POST"])
              @action_logging
              def check(self, version):
                  ...
      

      Flask automatically pulls the component out of the URL for this. Right now the action_logging decorator only shows query/post parameters, but it would be nice to include these path arguments too.

        Attachments

          Activity

            People

            • Assignee:
              ash Ash Berlin-Taylor
              Reporter:
              ash Ash Berlin-Taylor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated: