contrast-agent 5.3.0 → 6.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (161) hide show
  1. checksums.yaml +4 -4
  2. data/ext/cs__assess_array/cs__assess_array.c +7 -0
  3. data/ext/cs__assess_basic_object/cs__assess_basic_object.c +19 -5
  4. data/ext/cs__assess_fiber_track/cs__assess_fiber_track.c +1 -1
  5. data/ext/cs__assess_hash/cs__assess_hash.c +3 -4
  6. data/ext/cs__assess_kernel/cs__assess_kernel.c +1 -2
  7. data/ext/cs__assess_marshal_module/cs__assess_marshal_module.c +26 -12
  8. data/ext/cs__assess_module/cs__assess_module.c +1 -1
  9. data/ext/cs__assess_string/cs__assess_string.c +13 -1
  10. data/ext/cs__common/cs__common.c +12 -11
  11. data/ext/cs__contrast_patch/cs__contrast_patch.c +54 -43
  12. data/ext/cs__os_information/cs__os_information.c +13 -10
  13. data/ext/cs__scope/cs__scope.c +146 -97
  14. data/lib/contrast/agent/assess/finalizers/hash.rb +2 -0
  15. data/lib/contrast/agent/assess/policy/policy_node.rb +50 -27
  16. data/lib/contrast/agent/assess/policy/policy_node_utils.rb +51 -0
  17. data/lib/contrast/agent/assess/policy/preshift.rb +8 -2
  18. data/lib/contrast/agent/assess/policy/propagation_method.rb +47 -13
  19. data/lib/contrast/agent/assess/policy/propagator/buffer.rb +118 -0
  20. data/lib/contrast/agent/assess/policy/propagator/keep.rb +19 -4
  21. data/lib/contrast/agent/assess/policy/propagator/remove.rb +18 -2
  22. data/lib/contrast/agent/assess/policy/propagator/splat.rb +17 -3
  23. data/lib/contrast/agent/assess/policy/propagator/substitution.rb +1 -1
  24. data/lib/contrast/agent/assess/policy/propagator/substitution_utils.rb +1 -1
  25. data/lib/contrast/agent/assess/policy/propagator/trim.rb +1 -1
  26. data/lib/contrast/agent/assess/policy/propagator.rb +1 -0
  27. data/lib/contrast/agent/assess/policy/source_method.rb +7 -7
  28. data/lib/contrast/agent/assess/policy/trigger_method.rb +3 -1
  29. data/lib/contrast/agent/assess/property/tagged.rb +1 -1
  30. data/lib/contrast/agent/assess/rule/response/auto_complete_rule.rb +1 -1
  31. data/lib/contrast/agent/assess/rule/response/body_rule.rb +3 -3
  32. data/lib/contrast/agent/assess/rule/response/cache_control_header_rule.rb +1 -1
  33. data/lib/contrast/agent/assess/rule/response/parameters_pollution_rule.rb +1 -1
  34. data/lib/contrast/agent/deadzone/policy/deadzone_node.rb +0 -7
  35. data/lib/contrast/agent/deadzone/policy/policy.rb +0 -6
  36. data/lib/contrast/agent/exclusion_matcher.rb +3 -3
  37. data/lib/contrast/agent/middleware.rb +3 -1
  38. data/lib/contrast/agent/patching/policy/patcher.rb +3 -3
  39. data/lib/contrast/agent/patching/policy/policy_node.rb +15 -2
  40. data/lib/contrast/agent/protect/exploitable_collection.rb +38 -0
  41. data/lib/contrast/agent/protect/input_analyzer/input_analyzer.rb +61 -8
  42. data/lib/contrast/agent/protect/policy/applies_no_sqli_rule.rb +2 -1
  43. data/lib/contrast/agent/protect/policy/applies_path_traversal_rule.rb +2 -2
  44. data/lib/contrast/agent/protect/rule/base.rb +37 -5
  45. data/lib/contrast/agent/protect/rule/base_service.rb +3 -1
  46. data/lib/contrast/agent/protect/rule/cmd_injection.rb +13 -0
  47. data/lib/contrast/agent/protect/rule/cmdi/cmdi_input_classification.rb +83 -0
  48. data/lib/contrast/agent/protect/rule/cmdi/cmdi_worth_watching.rb +64 -0
  49. data/lib/contrast/agent/protect/rule/http_method_tampering/http_method_tampering_input_classification.rb +96 -0
  50. data/lib/contrast/agent/protect/rule/http_method_tampering.rb +8 -0
  51. data/lib/contrast/agent/protect/rule/no_sqli/no_sqli_input_classification.rb +231 -0
  52. data/lib/contrast/agent/protect/rule/no_sqli.rb +27 -0
  53. data/lib/contrast/agent/protect/rule/sqli/sqli_input_classification.rb +18 -54
  54. data/lib/contrast/agent/protect/rule/sqli/sqli_worth_watching.rb +1 -4
  55. data/lib/contrast/agent/protect/rule/unsafe_file_upload/unsafe_file_upload_input_classification.rb +82 -0
  56. data/lib/contrast/agent/protect/rule/unsafe_file_upload/unsafe_file_upload_matcher.rb +45 -0
  57. data/lib/contrast/agent/protect/rule/unsafe_file_upload.rb +42 -0
  58. data/lib/contrast/agent/reporting/attack_result/attack_result.rb +63 -0
  59. data/lib/contrast/agent/reporting/attack_result/rasp_rule_sample.rb +52 -0
  60. data/lib/contrast/agent/reporting/attack_result/response_type.rb +29 -0
  61. data/lib/contrast/agent/reporting/attack_result/user_input.rb +87 -0
  62. data/lib/contrast/agent/reporting/masker/masker.rb +246 -0
  63. data/lib/contrast/agent/reporting/masker/masker_utils.rb +58 -0
  64. data/lib/contrast/agent/reporting/report.rb +2 -0
  65. data/lib/contrast/agent/reporting/reporter.rb +23 -11
  66. data/lib/contrast/agent/reporting/reporting_events/agent_startup.rb +30 -0
  67. data/lib/contrast/agent/reporting/reporting_events/application_inventory.rb +7 -3
  68. data/lib/contrast/agent/reporting/reporting_events/application_startup.rb +40 -0
  69. data/lib/contrast/agent/reporting/reporting_events/application_startup_instrumentation.rb +27 -0
  70. data/lib/contrast/agent/reporting/reporting_events/finding.rb +1 -1
  71. data/lib/contrast/agent/reporting/reporting_events/library_usage_observation.rb +5 -5
  72. data/lib/contrast/agent/reporting/reporting_events/observed_route.rb +9 -9
  73. data/lib/contrast/agent/reporting/reporting_events/preflight_message.rb +2 -1
  74. data/lib/contrast/agent/reporting/reporting_events/reporting_event.rb +2 -1
  75. data/lib/contrast/agent/reporting/reporting_events/route_coverage.rb +8 -6
  76. data/lib/contrast/agent/reporting/reporting_utilities/reporter_client.rb +16 -5
  77. data/lib/contrast/agent/reporting/reporting_utilities/reporter_client_utils.rb +27 -26
  78. data/lib/contrast/agent/reporting/reporting_utilities/reporting_storage.rb +1 -1
  79. data/lib/contrast/agent/reporting/reporting_utilities/response_extractor.rb +97 -0
  80. data/lib/contrast/agent/reporting/reporting_utilities/response_handler.rb +68 -6
  81. data/lib/contrast/agent/reporting/reporting_utilities/response_handler_mode.rb +63 -0
  82. data/lib/contrast/agent/reporting/reporting_utilities/response_handler_utils.rb +122 -96
  83. data/lib/contrast/agent/reporting/settings/application_settings.rb +9 -0
  84. data/lib/contrast/agent/reporting/settings/assess_server_feature.rb +5 -33
  85. data/lib/contrast/agent/reporting/settings/protect_server_feature.rb +1 -1
  86. data/lib/contrast/agent/reporting/settings/sampling.rb +36 -0
  87. data/lib/contrast/agent/reporting/settings/sensitive_data_masking.rb +110 -0
  88. data/lib/contrast/agent/reporting/settings/sensitive_data_masking_rule.rb +58 -0
  89. data/lib/contrast/agent/request_context.rb +1 -1
  90. data/lib/contrast/agent/request_context_extend.rb +1 -1
  91. data/lib/contrast/agent/request_handler.rb +4 -0
  92. data/lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_base.rb +51 -0
  93. data/lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_event.rb +36 -0
  94. data/lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_message.rb +97 -0
  95. data/lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_message_exception.rb +65 -0
  96. data/lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_stack_frame.rb +47 -0
  97. data/lib/contrast/agent/{metric_telemetry_event.rb → telemetry/events/metric_telemetry_event.rb} +1 -1
  98. data/lib/contrast/agent/{startup_metrics_telemetry_event.rb → telemetry/events/startup_metrics_telemetry_event.rb} +3 -3
  99. data/lib/contrast/agent/{telemetry_event.rb → telemetry/events/telemetry_event.rb} +1 -1
  100. data/lib/contrast/agent/{telemetry.rb → telemetry/telemetry.rb} +32 -19
  101. data/lib/contrast/agent/thread_watcher.rb +1 -1
  102. data/lib/contrast/agent/version.rb +1 -1
  103. data/lib/contrast/agent.rb +3 -0
  104. data/lib/contrast/api/communication/speedracer.rb +1 -1
  105. data/lib/contrast/api/decorators/address.rb +1 -1
  106. data/lib/contrast/api/decorators/response_type.rb +30 -0
  107. data/lib/contrast/api/decorators.rb +1 -0
  108. data/lib/contrast/components/app_context.rb +0 -4
  109. data/lib/contrast/components/assess.rb +14 -0
  110. data/lib/contrast/components/protect.rb +2 -2
  111. data/lib/contrast/components/sampling.rb +7 -11
  112. data/lib/contrast/components/settings.rb +106 -8
  113. data/lib/contrast/config/agent_configuration.rb +13 -30
  114. data/lib/contrast/config/api_configuration.rb +4 -67
  115. data/lib/contrast/config/api_proxy_configuration.rb +2 -45
  116. data/lib/contrast/config/application_configuration.rb +9 -84
  117. data/lib/contrast/config/assess_configuration.rb +10 -69
  118. data/lib/contrast/config/assess_rules_configuration.rb +9 -38
  119. data/lib/contrast/config/base_configuration.rb +17 -50
  120. data/lib/contrast/config/certification_configuration.rb +6 -63
  121. data/lib/contrast/config/exception_configuration.rb +5 -52
  122. data/lib/contrast/config/heap_dump_configuration.rb +6 -64
  123. data/lib/contrast/config/inventory_configuration.rb +2 -49
  124. data/lib/contrast/config/logger_configuration.rb +0 -36
  125. data/lib/contrast/config/protect_configuration.rb +17 -7
  126. data/lib/contrast/config/protect_rule_configuration.rb +12 -30
  127. data/lib/contrast/config/protect_rules_configuration.rb +21 -26
  128. data/lib/contrast/config/request_audit_configuration.rb +6 -48
  129. data/lib/contrast/config/root_configuration.rb +52 -12
  130. data/lib/contrast/config/ruby_configuration.rb +0 -36
  131. data/lib/contrast/config/sampling_configuration.rb +1 -57
  132. data/lib/contrast/config/server_configuration.rb +0 -36
  133. data/lib/contrast/config/service_configuration.rb +5 -44
  134. data/lib/contrast/configuration.rb +2 -3
  135. data/lib/contrast/extension/assess/string.rb +20 -1
  136. data/lib/contrast/extension/module.rb +0 -1
  137. data/lib/contrast/framework/manager.rb +2 -2
  138. data/lib/contrast/logger/application.rb +1 -1
  139. data/lib/contrast/logger/cef_log.rb +1 -1
  140. data/lib/contrast/tasks/config.rb +90 -3
  141. data/lib/contrast/utils/assess/object_store.rb +36 -0
  142. data/lib/contrast/utils/assess/propagation_method_utils.rb +6 -0
  143. data/lib/contrast/utils/class_util.rb +3 -12
  144. data/lib/contrast/utils/input_classification.rb +73 -0
  145. data/lib/contrast/utils/log_utils.rb +1 -1
  146. data/lib/contrast/utils/middleware_utils.rb +9 -8
  147. data/lib/contrast/utils/net_http_base.rb +1 -1
  148. data/lib/contrast/utils/object_share.rb +2 -1
  149. data/lib/contrast/utils/os.rb +0 -5
  150. data/lib/contrast/utils/patching/policy/patch_utils.rb +4 -5
  151. data/lib/contrast/utils/response_utils.rb +18 -33
  152. data/lib/contrast/utils/telemetry.rb +1 -1
  153. data/lib/contrast/utils/telemetry_client.rb +1 -1
  154. data/lib/contrast/utils/telemetry_identifier.rb +1 -1
  155. data/resources/assess/policy.json +98 -0
  156. data/resources/deadzone/policy.json +0 -86
  157. data/ruby-agent.gemspec +9 -8
  158. data/service_executables/VERSION +1 -1
  159. data/service_executables/linux/contrast-service +0 -0
  160. data/service_executables/mac/contrast-service +0 -0
  161. metadata +73 -28
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: contrast-agent
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.3.0
4
+ version: 6.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - galen.palmer@contrastsecurity.com
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: exe
15
15
  cert_chain: []
16
- date: 2022-03-03 00:00:00.000000000 Z
16
+ date: 2022-04-04 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: bundler
@@ -161,42 +161,42 @@ dependencies:
161
161
  requirements:
162
162
  - - '='
163
163
  - !ruby/object:Gem::Version
164
- version: 1.22.3
164
+ version: 1.26.1
165
165
  type: :development
166
166
  prerelease: false
167
167
  version_requirements: !ruby/object:Gem::Requirement
168
168
  requirements:
169
169
  - - '='
170
170
  - !ruby/object:Gem::Version
171
- version: 1.22.3
171
+ version: 1.26.1
172
172
  - !ruby/object:Gem::Dependency
173
173
  name: rubocop-performance
174
174
  requirement: !ruby/object:Gem::Requirement
175
175
  requirements:
176
176
  - - '='
177
177
  - !ruby/object:Gem::Version
178
- version: 1.12.0
178
+ version: 1.13.3
179
179
  type: :development
180
180
  prerelease: false
181
181
  version_requirements: !ruby/object:Gem::Requirement
182
182
  requirements:
183
183
  - - '='
184
184
  - !ruby/object:Gem::Version
185
- version: 1.12.0
185
+ version: 1.13.3
186
186
  - !ruby/object:Gem::Dependency
187
187
  name: rubocop-rails
188
188
  requirement: !ruby/object:Gem::Requirement
189
189
  requirements:
190
190
  - - '='
191
191
  - !ruby/object:Gem::Version
192
- version: 2.12.4
192
+ version: 2.14.2
193
193
  type: :development
194
194
  prerelease: false
195
195
  version_requirements: !ruby/object:Gem::Requirement
196
196
  requirements:
197
197
  - - '='
198
198
  - !ruby/object:Gem::Version
199
- version: 2.12.4
199
+ version: 2.14.2
200
200
  - !ruby/object:Gem::Dependency
201
201
  name: rubocop-rake
202
202
  requirement: !ruby/object:Gem::Requirement
@@ -217,14 +217,14 @@ dependencies:
217
217
  requirements:
218
218
  - - '='
219
219
  - !ruby/object:Gem::Version
220
- version: 2.6.0
220
+ version: 2.9.0
221
221
  type: :development
222
222
  prerelease: false
223
223
  version_requirements: !ruby/object:Gem::Requirement
224
224
  requirements:
225
225
  - - '='
226
226
  - !ruby/object:Gem::Version
227
- version: 2.6.0
227
+ version: 2.9.0
228
228
  - !ruby/object:Gem::Dependency
229
229
  name: simplecov
230
230
  requirement: !ruby/object:Gem::Requirement
@@ -277,16 +277,16 @@ dependencies:
277
277
  name: rails
278
278
  requirement: !ruby/object:Gem::Requirement
279
279
  requirements:
280
- - - '='
280
+ - - "~>"
281
281
  - !ruby/object:Gem::Version
282
- version: 6.0.3.5
282
+ version: '7'
283
283
  type: :development
284
284
  prerelease: false
285
285
  version_requirements: !ruby/object:Gem::Requirement
286
286
  requirements:
287
- - - '='
287
+ - - "~>"
288
288
  - !ruby/object:Gem::Version
289
- version: 6.0.3.5
289
+ version: '7'
290
290
  - !ruby/object:Gem::Dependency
291
291
  name: sinatra
292
292
  requirement: !ruby/object:Gem::Requirement
@@ -399,6 +399,20 @@ dependencies:
399
399
  - - ">="
400
400
  - !ruby/object:Gem::Version
401
401
  version: '0'
402
+ - !ruby/object:Gem::Dependency
403
+ name: benchmark-memory
404
+ requirement: !ruby/object:Gem::Requirement
405
+ requirements:
406
+ - - "~>"
407
+ - !ruby/object:Gem::Version
408
+ version: '0.1'
409
+ type: :development
410
+ prerelease: false
411
+ version_requirements: !ruby/object:Gem::Requirement
412
+ requirements:
413
+ - - "~>"
414
+ - !ruby/object:Gem::Version
415
+ version: '0.1'
402
416
  - !ruby/object:Gem::Dependency
403
417
  name: climate_control
404
418
  requirement: !ruby/object:Gem::Requirement
@@ -617,20 +631,20 @@ executables:
617
631
  - contrast_service
618
632
  extensions:
619
633
  - ext/cs__common/extconf.rb
620
- - ext/cs__os_information/extconf.rb
621
634
  - ext/cs__assess_basic_object/extconf.rb
622
- - ext/cs__assess_kernel/extconf.rb
623
- - ext/cs__assess_hash/extconf.rb
624
- - ext/cs__assess_yield_track/extconf.rb
625
- - ext/cs__assess_fiber_track/extconf.rb
626
- - ext/cs__assess_regexp/extconf.rb
627
- - ext/cs__assess_string/extconf.rb
628
635
  - ext/cs__assess_array/extconf.rb
636
+ - ext/cs__assess_string_interpolation26/extconf.rb
629
637
  - ext/cs__contrast_patch/extconf.rb
638
+ - ext/cs__assess_fiber_track/extconf.rb
639
+ - ext/cs__assess_marshal_module/extconf.rb
640
+ - ext/cs__os_information/extconf.rb
641
+ - ext/cs__assess_yield_track/extconf.rb
642
+ - ext/cs__assess_string/extconf.rb
643
+ - ext/cs__assess_hash/extconf.rb
630
644
  - ext/cs__scope/extconf.rb
631
- - ext/cs__assess_string_interpolation26/extconf.rb
645
+ - ext/cs__assess_kernel/extconf.rb
632
646
  - ext/cs__assess_module/extconf.rb
633
- - ext/cs__assess_marshal_module/extconf.rb
647
+ - ext/cs__assess_regexp/extconf.rb
634
648
  extra_rdoc_files: []
635
649
  files:
636
650
  - ".clang-format"
@@ -838,6 +852,7 @@ files:
838
852
  - lib/contrast/agent/assess/policy/patcher.rb
839
853
  - lib/contrast/agent/assess/policy/policy.rb
840
854
  - lib/contrast/agent/assess/policy/policy_node.rb
855
+ - lib/contrast/agent/assess/policy/policy_node_utils.rb
841
856
  - lib/contrast/agent/assess/policy/policy_scanner.rb
842
857
  - lib/contrast/agent/assess/policy/preshift.rb
843
858
  - lib/contrast/agent/assess/policy/propagation_method.rb
@@ -845,6 +860,7 @@ files:
845
860
  - lib/contrast/agent/assess/policy/propagator.rb
846
861
  - lib/contrast/agent/assess/policy/propagator/append.rb
847
862
  - lib/contrast/agent/assess/policy/propagator/base.rb
863
+ - lib/contrast/agent/assess/policy/propagator/buffer.rb
848
864
  - lib/contrast/agent/assess/policy/propagator/center.rb
849
865
  - lib/contrast/agent/assess/policy/propagator/custom.rb
850
866
  - lib/contrast/agent/assess/policy/propagator/database_write.rb
@@ -911,7 +927,6 @@ files:
911
927
  - lib/contrast/agent/inventory/policy/datastores.rb
912
928
  - lib/contrast/agent/inventory/policy/policy.rb
913
929
  - lib/contrast/agent/inventory/policy/trigger_node.rb
914
- - lib/contrast/agent/metric_telemetry_event.rb
915
930
  - lib/contrast/agent/middleware.rb
916
931
  - lib/contrast/agent/module_data.rb
917
932
  - lib/contrast/agent/patching/policy/after_load_patch.rb
@@ -925,6 +940,7 @@ files:
925
940
  - lib/contrast/agent/patching/policy/policy.rb
926
941
  - lib/contrast/agent/patching/policy/policy_node.rb
927
942
  - lib/contrast/agent/patching/policy/trigger_node.rb
943
+ - lib/contrast/agent/protect/exploitable_collection.rb
928
944
  - lib/contrast/agent/protect/input_analyzer/input_analyzer.rb
929
945
  - lib/contrast/agent/protect/policy/applies_command_injection_rule.rb
930
946
  - lib/contrast/agent/protect/policy/applies_deserialization_rule.rb
@@ -939,11 +955,15 @@ files:
939
955
  - lib/contrast/agent/protect/rule/base.rb
940
956
  - lib/contrast/agent/protect/rule/base_service.rb
941
957
  - lib/contrast/agent/protect/rule/cmd_injection.rb
958
+ - lib/contrast/agent/protect/rule/cmdi/cmdi_input_classification.rb
959
+ - lib/contrast/agent/protect/rule/cmdi/cmdi_worth_watching.rb
942
960
  - lib/contrast/agent/protect/rule/default_scanner.rb
943
961
  - lib/contrast/agent/protect/rule/deserialization.rb
944
962
  - lib/contrast/agent/protect/rule/http_method_tampering.rb
963
+ - lib/contrast/agent/protect/rule/http_method_tampering/http_method_tampering_input_classification.rb
945
964
  - lib/contrast/agent/protect/rule/no_sqli.rb
946
965
  - lib/contrast/agent/protect/rule/no_sqli/mongo_no_sql_scanner.rb
966
+ - lib/contrast/agent/protect/rule/no_sqli/no_sqli_input_classification.rb
947
967
  - lib/contrast/agent/protect/rule/path_traversal.rb
948
968
  - lib/contrast/agent/protect/rule/sql_sample_builder.rb
949
969
  - lib/contrast/agent/protect/rule/sqli.rb
@@ -954,17 +974,28 @@ files:
954
974
  - lib/contrast/agent/protect/rule/sqli/sqli_worth_watching.rb
955
975
  - lib/contrast/agent/protect/rule/sqli/sqlite_sql_scanner.rb
956
976
  - lib/contrast/agent/protect/rule/unsafe_file_upload.rb
977
+ - lib/contrast/agent/protect/rule/unsafe_file_upload/unsafe_file_upload_input_classification.rb
978
+ - lib/contrast/agent/protect/rule/unsafe_file_upload/unsafe_file_upload_matcher.rb
957
979
  - lib/contrast/agent/protect/rule/xss.rb
958
980
  - lib/contrast/agent/protect/rule/xxe.rb
959
981
  - lib/contrast/agent/protect/rule/xxe/entity_wrapper.rb
960
982
  - lib/contrast/agent/reaction_processor.rb
983
+ - lib/contrast/agent/reporting/attack_result/attack_result.rb
984
+ - lib/contrast/agent/reporting/attack_result/rasp_rule_sample.rb
985
+ - lib/contrast/agent/reporting/attack_result/response_type.rb
986
+ - lib/contrast/agent/reporting/attack_result/user_input.rb
961
987
  - lib/contrast/agent/reporting/input_analysis/input_analysis.rb
962
988
  - lib/contrast/agent/reporting/input_analysis/input_analysis_result.rb
963
989
  - lib/contrast/agent/reporting/input_analysis/input_type.rb
964
990
  - lib/contrast/agent/reporting/input_analysis/score_level.rb
991
+ - lib/contrast/agent/reporting/masker/masker.rb
992
+ - lib/contrast/agent/reporting/masker/masker_utils.rb
965
993
  - lib/contrast/agent/reporting/report.rb
966
994
  - lib/contrast/agent/reporting/reporter.rb
995
+ - lib/contrast/agent/reporting/reporting_events/agent_startup.rb
967
996
  - lib/contrast/agent/reporting/reporting_events/application_inventory.rb
997
+ - lib/contrast/agent/reporting/reporting_events/application_startup.rb
998
+ - lib/contrast/agent/reporting/reporting_events/application_startup_instrumentation.rb
968
999
  - lib/contrast/agent/reporting/reporting_events/application_update.rb
969
1000
  - lib/contrast/agent/reporting/reporting_events/architecture_component.rb
970
1001
  - lib/contrast/agent/reporting/reporting_events/discovered_route.rb
@@ -999,7 +1030,9 @@ files:
999
1030
  - lib/contrast/agent/reporting/reporting_utilities/reporter_client_utils.rb
1000
1031
  - lib/contrast/agent/reporting/reporting_utilities/reporting_storage.rb
1001
1032
  - lib/contrast/agent/reporting/reporting_utilities/response.rb
1033
+ - lib/contrast/agent/reporting/reporting_utilities/response_extractor.rb
1002
1034
  - lib/contrast/agent/reporting/reporting_utilities/response_handler.rb
1035
+ - lib/contrast/agent/reporting/reporting_utilities/response_handler_mode.rb
1003
1036
  - lib/contrast/agent/reporting/reporting_utilities/response_handler_utils.rb
1004
1037
  - lib/contrast/agent/reporting/settings/application_settings.rb
1005
1038
  - lib/contrast/agent/reporting/settings/assess.rb
@@ -1008,6 +1041,9 @@ files:
1008
1041
  - lib/contrast/agent/reporting/settings/protect.rb
1009
1042
  - lib/contrast/agent/reporting/settings/protect_server_feature.rb
1010
1043
  - lib/contrast/agent/reporting/settings/reaction.rb
1044
+ - lib/contrast/agent/reporting/settings/sampling.rb
1045
+ - lib/contrast/agent/reporting/settings/sensitive_data_masking.rb
1046
+ - lib/contrast/agent/reporting/settings/sensitive_data_masking_rule.rb
1011
1047
  - lib/contrast/agent/reporting/settings/server_features.rb
1012
1048
  - lib/contrast/agent/request.rb
1013
1049
  - lib/contrast/agent/request_context.rb
@@ -1017,10 +1053,16 @@ files:
1017
1053
  - lib/contrast/agent/rule_set.rb
1018
1054
  - lib/contrast/agent/scope.rb
1019
1055
  - lib/contrast/agent/service_heartbeat.rb
1020
- - lib/contrast/agent/startup_metrics_telemetry_event.rb
1021
1056
  - lib/contrast/agent/static_analysis.rb
1022
- - lib/contrast/agent/telemetry.rb
1023
- - lib/contrast/agent/telemetry_event.rb
1057
+ - lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_base.rb
1058
+ - lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_event.rb
1059
+ - lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_message.rb
1060
+ - lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_message_exception.rb
1061
+ - lib/contrast/agent/telemetry/events/exceptions/telemetry_exception_stack_frame.rb
1062
+ - lib/contrast/agent/telemetry/events/metric_telemetry_event.rb
1063
+ - lib/contrast/agent/telemetry/events/startup_metrics_telemetry_event.rb
1064
+ - lib/contrast/agent/telemetry/events/telemetry_event.rb
1065
+ - lib/contrast/agent/telemetry/telemetry.rb
1024
1066
  - lib/contrast/agent/thread.rb
1025
1067
  - lib/contrast/agent/thread_watcher.rb
1026
1068
  - lib/contrast/agent/tracepoint_hook.rb
@@ -1055,6 +1097,7 @@ files:
1055
1097
  - lib/contrast/api/decorators/library_usage_update.rb
1056
1098
  - lib/contrast/api/decorators/message.rb
1057
1099
  - lib/contrast/api/decorators/rasp_rule_sample.rb
1100
+ - lib/contrast/api/decorators/response_type.rb
1058
1101
  - lib/contrast/api/decorators/route_coverage.rb
1059
1102
  - lib/contrast/api/decorators/server_features.rb
1060
1103
  - lib/contrast/api/decorators/trace_event.rb
@@ -1148,6 +1191,7 @@ files:
1148
1191
  - lib/contrast/security_exception.rb
1149
1192
  - lib/contrast/tasks/config.rb
1150
1193
  - lib/contrast/tasks/service.rb
1194
+ - lib/contrast/utils/assess/object_store.rb
1151
1195
  - lib/contrast/utils/assess/propagation_method_utils.rb
1152
1196
  - lib/contrast/utils/assess/property/tagged_utils.rb
1153
1197
  - lib/contrast/utils/assess/sampling_util.rb
@@ -1164,6 +1208,7 @@ files:
1164
1208
  - lib/contrast/utils/hash_digest_extend.rb
1165
1209
  - lib/contrast/utils/head_dump_utils_extend.rb
1166
1210
  - lib/contrast/utils/heap_dump_util.rb
1211
+ - lib/contrast/utils/input_classification.rb
1167
1212
  - lib/contrast/utils/invalid_configuration_util.rb
1168
1213
  - lib/contrast/utils/io_util.rb
1169
1214
  - lib/contrast/utils/job_servers_running.rb
@@ -1218,7 +1263,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
1218
1263
  requirements:
1219
1264
  - - ">="
1220
1265
  - !ruby/object:Gem::Version
1221
- version: 2.6.0
1266
+ version: 2.7.0
1222
1267
  - - "<"
1223
1268
  - !ruby/object:Gem::Version
1224
1269
  version: 3.2.0