Add listener to CLI command execution

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      Introduce a new ExtensionPoint that allows plugins or external components to subscribe to CLI execution events on the server. This would enable plugins to react to CLI commands in real-time.

      Ā 

      Benefits:

      • Provides a way to monitor CLI command executions for auditing or debugging
      • Allows external plugins to react to CLI operations
      • Improves extensibility and observability

      Proposed Implementation:

      • Introduce a new CliListener ExtensionPoint
      • Fire events before and after CLI command execution
      • Provide relevant metadata, such as user, command name, and execution status

      Possible Use Cases:

      • Enforcing custom access policies
      • Implementing custom logging or metricsĀ  for CLI usage

            Assignee:
            Albert
            Reporter:
            Albert
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: