def sensitive_inputs
      inputs = {}

      if @attributes
        @attributes.values.select { |attr| attr.respond_to?(:has_key?) && attr.has_key?("parameters") }.each do |has_params|
          has_params.each_pair do |_, params|
            sensitive = params.select { |name, _| @sensitive_inputs.include?(name) }
            inputs.merge!(sensitive) { |key, old, new| [old].flatten.push(new) }
          end
        end
      end

      inputs
    end
def sensitive_inputs
      inputs = {}

      if @attributes
        @attributes.values.select { |attr| attr.respond_to?(:has_key?) && attr.has_key?("parameters") }.each do |has_params|
          has_params.each_pair do |_, params|
            sensitive = params.select { |name, _| @sensitive_inputs.include?(name) }
            inputs.merge!(sensitive) { |key, old, new| [old].flatten.push(new) }
          end
        end
      end

      inputs
    end
Determine inputs that need special security treatment.
 @return [Hash] map of sensitive input names to various values; good for filtering.