lib/fastly/models/results.rb in fastly-8.10.0 vs lib/fastly/models/results.rb in fastly-9.0.0
- old
+ new
@@ -699,31 +699,10 @@
attr_accessor :ddos_action_downgrade
# The number of connections the downgrade action was applied to. The downgrade action restricts the connection to http1.
attr_accessor :ddos_action_downgraded_connections
- # Number of cache hits for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_hit_requests
-
- # Number of cache misses for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_miss_requests
-
- # Number of requests that passed through the CDN without being cached for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_pass_requests
-
- # Number of cache errors for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_error_requests
-
- # Number of requests that returned a synthetic response (i.e., response objects created with the `synthetic` VCL statement) for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_synth_requests
-
- # Number of requests sent by end users to Fastly that resulted in a hit at the edge for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_edge_hit_requests
-
- # Number of requests sent by end users to Fastly that resulted in a miss at the edge for a VCL service running on Compute.
- attr_accessor :vcl_on_compute_edge_miss_requests
-
# Number of cache hits for a VCL service.
attr_accessor :all_hit_requests
# Number of cache misses for a VCL service.
attr_accessor :all_miss_requests
@@ -762,10 +741,19 @@
attr_accessor :origin_offload
# Number of requests where Fastly responded with 400 due to the request being a GET or HEAD request containing a body.
attr_accessor :request_denied_get_head_body
+ # Number of requests classified as a DDoS attack against a customer origin or service.
+ attr_accessor :service_ddos_requests_detected
+
+ # Number of requests classified as a DDoS attack against a customer origin or service that were mitigated by the Fastly platform.
+ attr_accessor :service_ddos_requests_mitigated
+
+ # Number of requests analyzed for DDoS attacks against a customer origin or service, but with no DDoS detected.
+ attr_accessor :service_ddos_requests_allowed
+
attr_accessor :service_id
# Timestamp for the start of the time period being reported
attr_accessor :start_time
@@ -999,17 +987,10 @@
:'bot_challenges_issued' => :'bot_challenges_issued',
:'bot_challenges_succeeded' => :'bot_challenges_succeeded',
:'bot_challenges_failed' => :'bot_challenges_failed',
:'ddos_action_downgrade' => :'ddos_action_downgrade',
:'ddos_action_downgraded_connections' => :'ddos_action_downgraded_connections',
- :'vcl_on_compute_hit_requests' => :'vcl_on_compute_hit_requests',
- :'vcl_on_compute_miss_requests' => :'vcl_on_compute_miss_requests',
- :'vcl_on_compute_pass_requests' => :'vcl_on_compute_pass_requests',
- :'vcl_on_compute_error_requests' => :'vcl_on_compute_error_requests',
- :'vcl_on_compute_synth_requests' => :'vcl_on_compute_synth_requests',
- :'vcl_on_compute_edge_hit_requests' => :'vcl_on_compute_edge_hit_requests',
- :'vcl_on_compute_edge_miss_requests' => :'vcl_on_compute_edge_miss_requests',
:'all_hit_requests' => :'all_hit_requests',
:'all_miss_requests' => :'all_miss_requests',
:'all_pass_requests' => :'all_pass_requests',
:'all_error_requests' => :'all_error_requests',
:'all_synth_requests' => :'all_synth_requests',
@@ -1020,10 +1001,13 @@
:'all_status_3xx' => :'all_status_3xx',
:'all_status_4xx' => :'all_status_4xx',
:'all_status_5xx' => :'all_status_5xx',
:'origin_offload' => :'origin_offload',
:'request_denied_get_head_body' => :'request_denied_get_head_body',
+ :'service_ddos_requests_detected' => :'service_ddos_requests_detected',
+ :'service_ddos_requests_mitigated' => :'service_ddos_requests_mitigated',
+ :'service_ddos_requests_allowed' => :'service_ddos_requests_allowed',
:'service_id' => :'service_id',
:'start_time' => :'start_time'
}
end
@@ -1262,17 +1246,10 @@
:'bot_challenges_issued' => :'Integer',
:'bot_challenges_succeeded' => :'Integer',
:'bot_challenges_failed' => :'Integer',
:'ddos_action_downgrade' => :'Integer',
:'ddos_action_downgraded_connections' => :'Integer',
- :'vcl_on_compute_hit_requests' => :'Integer',
- :'vcl_on_compute_miss_requests' => :'Integer',
- :'vcl_on_compute_pass_requests' => :'Integer',
- :'vcl_on_compute_error_requests' => :'Integer',
- :'vcl_on_compute_synth_requests' => :'Integer',
- :'vcl_on_compute_edge_hit_requests' => :'Integer',
- :'vcl_on_compute_edge_miss_requests' => :'Integer',
:'all_hit_requests' => :'Integer',
:'all_miss_requests' => :'Integer',
:'all_pass_requests' => :'Integer',
:'all_error_requests' => :'Integer',
:'all_synth_requests' => :'Integer',
@@ -1283,10 +1260,13 @@
:'all_status_3xx' => :'Integer',
:'all_status_4xx' => :'Integer',
:'all_status_5xx' => :'Integer',
:'origin_offload' => :'Float',
:'request_denied_get_head_body' => :'Integer',
+ :'service_ddos_requests_detected' => :'Integer',
+ :'service_ddos_requests_mitigated' => :'Integer',
+ :'service_ddos_requests_allowed' => :'Integer',
:'service_id' => :'String',
:'start_time' => :'Integer'
}
end
@@ -2226,38 +2206,10 @@
if attributes.key?(:'ddos_action_downgraded_connections')
self.ddos_action_downgraded_connections = attributes[:'ddos_action_downgraded_connections']
end
- if attributes.key?(:'vcl_on_compute_hit_requests')
- self.vcl_on_compute_hit_requests = attributes[:'vcl_on_compute_hit_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_miss_requests')
- self.vcl_on_compute_miss_requests = attributes[:'vcl_on_compute_miss_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_pass_requests')
- self.vcl_on_compute_pass_requests = attributes[:'vcl_on_compute_pass_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_error_requests')
- self.vcl_on_compute_error_requests = attributes[:'vcl_on_compute_error_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_synth_requests')
- self.vcl_on_compute_synth_requests = attributes[:'vcl_on_compute_synth_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_edge_hit_requests')
- self.vcl_on_compute_edge_hit_requests = attributes[:'vcl_on_compute_edge_hit_requests']
- end
-
- if attributes.key?(:'vcl_on_compute_edge_miss_requests')
- self.vcl_on_compute_edge_miss_requests = attributes[:'vcl_on_compute_edge_miss_requests']
- end
-
if attributes.key?(:'all_hit_requests')
self.all_hit_requests = attributes[:'all_hit_requests']
end
if attributes.key?(:'all_miss_requests')
@@ -2310,10 +2262,22 @@
if attributes.key?(:'request_denied_get_head_body')
self.request_denied_get_head_body = attributes[:'request_denied_get_head_body']
end
+ if attributes.key?(:'service_ddos_requests_detected')
+ self.service_ddos_requests_detected = attributes[:'service_ddos_requests_detected']
+ end
+
+ if attributes.key?(:'service_ddos_requests_mitigated')
+ self.service_ddos_requests_mitigated = attributes[:'service_ddos_requests_mitigated']
+ end
+
+ if attributes.key?(:'service_ddos_requests_allowed')
+ self.service_ddos_requests_allowed = attributes[:'service_ddos_requests_allowed']
+ end
+
if attributes.key?(:'service_id')
self.service_id = attributes[:'service_id']
end
if attributes.key?(:'start_time')
@@ -2566,17 +2530,10 @@
bot_challenges_issued == o.bot_challenges_issued &&
bot_challenges_succeeded == o.bot_challenges_succeeded &&
bot_challenges_failed == o.bot_challenges_failed &&
ddos_action_downgrade == o.ddos_action_downgrade &&
ddos_action_downgraded_connections == o.ddos_action_downgraded_connections &&
- vcl_on_compute_hit_requests == o.vcl_on_compute_hit_requests &&
- vcl_on_compute_miss_requests == o.vcl_on_compute_miss_requests &&
- vcl_on_compute_pass_requests == o.vcl_on_compute_pass_requests &&
- vcl_on_compute_error_requests == o.vcl_on_compute_error_requests &&
- vcl_on_compute_synth_requests == o.vcl_on_compute_synth_requests &&
- vcl_on_compute_edge_hit_requests == o.vcl_on_compute_edge_hit_requests &&
- vcl_on_compute_edge_miss_requests == o.vcl_on_compute_edge_miss_requests &&
all_hit_requests == o.all_hit_requests &&
all_miss_requests == o.all_miss_requests &&
all_pass_requests == o.all_pass_requests &&
all_error_requests == o.all_error_requests &&
all_synth_requests == o.all_synth_requests &&
@@ -2587,10 +2544,13 @@
all_status_3xx == o.all_status_3xx &&
all_status_4xx == o.all_status_4xx &&
all_status_5xx == o.all_status_5xx &&
origin_offload == o.origin_offload &&
request_denied_get_head_body == o.request_denied_get_head_body &&
+ service_ddos_requests_detected == o.service_ddos_requests_detected &&
+ service_ddos_requests_mitigated == o.service_ddos_requests_mitigated &&
+ service_ddos_requests_allowed == o.service_ddos_requests_allowed &&
service_id == o.service_id &&
start_time == o.start_time
end
# @see the `==` method
@@ -2600,10 +2560,10 @@
end
# Calculates hash code according to all attributes.
# @return [Integer] Hash code
def hash
- [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, ddos_action_downgrade, ddos_action_downgraded_connections, vcl_on_compute_hit_requests, vcl_on_compute_miss_requests, vcl_on_compute_pass_requests, vcl_on_compute_error_requests, vcl_on_compute_synth_requests, vcl_on_compute_edge_hit_requests, vcl_on_compute_edge_miss_requests, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, request_denied_get_head_body, service_id, start_time].hash
+ [requests, hits, hits_time, miss, miss_time, pass, pass_time, errors, restarts, hit_ratio, bandwidth, body_size, header_size, req_body_bytes, req_header_bytes, resp_body_bytes, resp_header_bytes, bereq_body_bytes, bereq_header_bytes, uncacheable, pipe, synth, tls, tls_v10, tls_v11, tls_v12, tls_v13, edge_requests, edge_resp_header_bytes, edge_resp_body_bytes, edge_hit_requests, edge_miss_requests, origin_fetches, origin_fetch_header_bytes, origin_fetch_body_bytes, origin_fetch_resp_header_bytes, origin_fetch_resp_body_bytes, origin_revalidations, origin_cache_fetches, shield, shield_resp_body_bytes, shield_resp_header_bytes, shield_fetches, shield_fetch_header_bytes, shield_fetch_body_bytes, shield_fetch_resp_header_bytes, shield_fetch_resp_body_bytes, shield_revalidations, shield_cache_fetches, ipv6, otfp, otfp_resp_body_bytes, otfp_resp_header_bytes, otfp_shield_resp_body_bytes, otfp_shield_resp_header_bytes, otfp_manifests, otfp_deliver_time, otfp_shield_time, video, pci, log, log_bytes, http2, http3, waf_logged, waf_blocked, waf_passed, attack_req_body_bytes, attack_req_header_bytes, attack_logged_req_body_bytes, attack_logged_req_header_bytes, attack_blocked_req_body_bytes, attack_blocked_req_header_bytes, attack_passed_req_body_bytes, attack_passed_req_header_bytes, attack_resp_synth_bytes, imgopto, imgopto_resp_body_bytes, imgopto_resp_header_bytes, imgopto_shield, imgopto_shield_resp_body_bytes, imgopto_shield_resp_header_bytes, imgopto_transforms, imgvideo, imgvideo_frames, imgvideo_resp_header_bytes, imgvideo_resp_body_bytes, imgvideo_shield_resp_header_bytes, imgvideo_shield_resp_body_bytes, imgvideo_shield, imgvideo_shield_frames, status_200, status_204, status_206, status_301, status_302, status_304, status_400, status_401, status_403, status_404, status_406, status_416, status_429, status_500, status_501, status_502, status_503, status_504, status_505, status_1xx, status_2xx, status_3xx, status_4xx, status_5xx, object_size_1k, object_size_10k, object_size_100k, object_size_1m, object_size_10m, object_size_100m, object_size_1g, recv_sub_time, recv_sub_count, hash_sub_time, hash_sub_count, miss_sub_time, miss_sub_count, fetch_sub_time, fetch_sub_count, pass_sub_time, pass_sub_count, pipe_sub_time, pipe_sub_count, deliver_sub_time, deliver_sub_count, error_sub_time, error_sub_count, hit_sub_time, hit_sub_count, prehash_sub_time, prehash_sub_count, predeliver_sub_time, predeliver_sub_count, tls_handshake_sent_bytes, hit_resp_body_bytes, miss_resp_body_bytes, pass_resp_body_bytes, segblock_origin_fetches, segblock_shield_fetches, compute_requests, compute_request_time_ms, compute_request_time_billed_ms, compute_ram_used, compute_execution_time_ms, compute_req_header_bytes, compute_req_body_bytes, compute_resp_header_bytes, compute_resp_body_bytes, compute_resp_status_1xx, compute_resp_status_2xx, compute_resp_status_3xx, compute_resp_status_4xx, compute_resp_status_5xx, compute_bereq_header_bytes, compute_bereq_body_bytes, compute_beresp_header_bytes, compute_beresp_body_bytes, compute_bereqs, compute_bereq_errors, compute_resource_limit_exceeded, compute_heap_limit_exceeded, compute_stack_limit_exceeded, compute_globals_limit_exceeded, compute_guest_errors, compute_runtime_errors, edge_hit_resp_body_bytes, edge_hit_resp_header_bytes, edge_miss_resp_body_bytes, edge_miss_resp_header_bytes, origin_cache_fetch_resp_body_bytes, origin_cache_fetch_resp_header_bytes, shield_hit_requests, shield_miss_requests, shield_hit_resp_header_bytes, shield_hit_resp_body_bytes, shield_miss_resp_header_bytes, shield_miss_resp_body_bytes, websocket_req_header_bytes, websocket_req_body_bytes, websocket_resp_header_bytes, websocket_resp_body_bytes, websocket_bereq_header_bytes, websocket_bereq_body_bytes, websocket_beresp_header_bytes, websocket_beresp_body_bytes, websocket_conn_time_ms, fanout_recv_publishes, fanout_send_publishes, kv_store_class_a_operations, kv_store_class_b_operations, object_store_class_a_operations, object_store_class_b_operations, fanout_req_header_bytes, fanout_req_body_bytes, fanout_resp_header_bytes, fanout_resp_body_bytes, fanout_bereq_header_bytes, fanout_bereq_body_bytes, fanout_beresp_header_bytes, fanout_beresp_body_bytes, fanout_conn_time_ms, ddos_action_limit_streams_connections, ddos_action_limit_streams_requests, ddos_action_tarpit_accept, ddos_action_tarpit, ddos_action_close, ddos_action_blackhole, bot_challenge_starts, bot_challenge_complete_tokens_passed, bot_challenge_complete_tokens_failed, bot_challenge_complete_tokens_checked, bot_challenge_complete_tokens_disabled, bot_challenge_complete_tokens_issued, bot_challenges_issued, bot_challenges_succeeded, bot_challenges_failed, ddos_action_downgrade, ddos_action_downgraded_connections, all_hit_requests, all_miss_requests, all_pass_requests, all_error_requests, all_synth_requests, all_edge_hit_requests, all_edge_miss_requests, all_status_1xx, all_status_2xx, all_status_3xx, all_status_4xx, all_status_5xx, origin_offload, request_denied_get_head_body, service_ddos_requests_detected, service_ddos_requests_mitigated, service_ddos_requests_allowed, service_id, start_time].hash
end
# Builds the object from hash
# @param [Hash] attributes Model attributes in the form of hash
# @return [Object] Returns the model itself