# Copyright (c) 2023 Contrast Security, Inc. See https://www.contrastsecurity.com/enduser-terms-0317a for more details. # frozen_string_literal: true module Contrast module Agent module Reporting # input types for InputAnalysis results module InputType UNDEFINED_TYPE = :UNDEFINED_TYPE.cs__freeze BODY = :BODY.cs__freeze COOKIE_NAME = :COOKIE_NAME.cs__freeze COOKIE_VALUE = :COOKIE_VALUE.cs__freeze HEADER = :HEADER.cs__freeze PARAMETER_NAME = :PARAMETER_NAME.cs__freeze PARAMETER_VALUE = :PARAMETER_VALUE.cs__freeze QUERYSTRING = :QUERYSTRING.cs__freeze URI = :URI.cs__freeze SOCKET = :SOCKET.cs__freeze JSON_VALUE = :JSON_VALUE.cs__freeze JSON_ARRAYED_VALUE = :JSON_ARRAYED_VALUE.cs__freeze MULTIPART_CONTENT_TYPE = :MULTIPART_CONTENT_TYPE.cs__freeze MULTIPART_VALUE = :MULTIPART_VALUE.cs__freeze MULTIPART_FIELD_NAME = :MULTIPART_FIELD_NAME.cs__freeze MULTIPART_NAME = :MULTIPART_NAME.cs__freeze XML_VALUE = :XML_VALUE.cs__freeze DWR_VALUE = :DWR_VALUE.cs__freeze METHOD = :METHOD.cs__freeze REQUEST = :REQUEST.cs__freeze URL_PARAMETER = :URL_PARAMETER.cs__freeze UNKNOWN = :UNKNOWN.cs__freeze class << self # @return def to_a @_to_a ||= [ UNDEFINED_TYPE, BODY, COOKIE_NAME, COOKIE_VALUE, HEADER, PARAMETER_NAME, PARAMETER_VALUE, QUERYSTRING, URI, SOCKET, JSON_VALUE, JSON_ARRAYED_VALUE, MULTIPART_CONTENT_TYPE, MULTIPART_VALUE, MULTIPART_FIELD_NAME, MULTIPART_NAME, XML_VALUE, DWR_VALUE, METHOD, REQUEST, URL_PARAMETER, UNKNOWN ] end end end end end end