Module: Contrast::Agent::Protect::Rule::SqliInputClassification
- Extended by:
- InputClassification::Base, Components::Logger::InstanceMethods
- Defined in:
- lib/contrast/agent/protect/rule/sqli/sqli_input_classification.rb
Overview
This module will do the Input Classification stage of SQLI rule as a result input would be marked as WORTHWATCHING or IGNORE, to be analyzed at the sink level.
Constant Summary collapse
- WORTHWATCHING_MATCH =
'sqli-worth-watching-v2'.cs__freeze
Constants included from InputClassification::Base
InputClassification::Base::BASE64_INPUT_TYPES, InputClassification::Base::KEYS_NEEDED, InputClassification::Base::UNKNOWN_KEY
Constants included from Reporting::InputType
Reporting::InputType::BODY, Reporting::InputType::COOKIE_NAME, Reporting::InputType::COOKIE_VALUE, Reporting::InputType::DWR_VALUE, Reporting::InputType::HEADER, Reporting::InputType::JSON_ARRAYED_VALUE, Reporting::InputType::JSON_VALUE, Reporting::InputType::METHOD, Reporting::InputType::MULTIPART_CONTENT_TYPE, Reporting::InputType::MULTIPART_FIELD_NAME, Reporting::InputType::MULTIPART_NAME, Reporting::InputType::MULTIPART_VALUE, Reporting::InputType::PARAMETER_NAME, Reporting::InputType::PARAMETER_VALUE, Reporting::InputType::QUERYSTRING, Reporting::InputType::REQUEST, Reporting::InputType::SOCKET, Reporting::InputType::UNDEFINED_TYPE, Reporting::InputType::UNKNOWN, Reporting::InputType::URI, Reporting::InputType::URL_PARAMETER, Reporting::InputType::XML_VALUE
Constants included from InputClassification::Encoding
InputClassification::Encoding::KNOWN_DECODING_EXCEPTIONS
Constants included from InputClassification::Extendable
InputClassification::Extendable::THRESHOLD, InputClassification::Extendable::WORTHWATCHING_THRESHOLD
Constants included from Reporting::ScoreLevel
Reporting::ScoreLevel::DEFINITEATTACK, Reporting::ScoreLevel::IGNORE, Reporting::ScoreLevel::WORTHWATCHING
Method Summary
Methods included from Components::Logger::InstanceMethods
Methods included from InputClassification::Base
add_needed_key, classify, convert_input_type, find_key
Methods included from Reporting::InputType
Methods included from InputClassification::Encoding
Methods included from InputClassification::Extendable
#build_ia_result, #build_input_eval, #new_ia_result