Sha256: 84cc4e78463002a8125e3190c67274eada3f1e5dcbfffe74752f655dbe80ca5c

Contents?: true

Size: 305 Bytes

Versions: 112

Compression:

Stored size: 305 Bytes

Contents

module Actions
  module Middleware
    class HideSecrets < ::Dynflow::Middleware
      def present
        action.input[:secrets]  = 'Secrets hidden' if action.input.key?(:secrets)
        action.output[:secrets] = 'Secrets hidden' if action.output.key?(:secrets)
        pass
      end
    end
  end
end

Version data entries

112 entries across 112 versions & 1 rubygems

Version Path
foreman-tasks-10.0.2 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-10.0.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-10.0.0 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.2.3 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.2.2 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.2.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.2.0 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.1.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.0.4 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.1.0 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.0.2 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.0.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.3.3 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-9.0.0 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.2.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.1.4 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.3.2 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.3.1 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.1.3 app/lib/actions/middleware/hide_secrets.rb
foreman-tasks-8.3.0 app/lib/actions/middleware/hide_secrets.rb