Skip to content

Commit 7f5b0a1

Browse files
author
github-actions
committed
Generated v14.0.0
1 parent d2bb419 commit 7f5b0a1

File tree

77 files changed

+2984
-596
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

77 files changed

+2984
-596
lines changed

CHANGELOG.md

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,30 @@
11
# Changelog
22

3+
## [v14.0.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v14.0.0) (2025-08-28)
4+
5+
**Breaking Changes:**
6+
7+
- removed(ddos_protection): Remove enum configs `ddos_protection_action` and ``ddos_protection_traffic_attribute`.
8+
- changed(backend): Added default values to `tcp_keepalive_interval`, `tcp_keepalive_probes`, and `tcp_keepalive_time` properties.
9+
- removed(tls_subscriptions): Remove `force` parameter from TLS subscriptions.
10+
11+
12+
**Enhancements:**
13+
14+
- feat(ngwaf_reports): Add Get attacks report endpoint.
15+
- feat(kv_store): Add `name` parameter to the List KV stores endpoint.
16+
- feat(historical): Add `services` parameter to the Historical Stats API endpoint.
17+
- feat(ddos_protection): Add PATCH endpoint in the Fastly DDoS Protection Events API allowing customers to update the DDoS rules action to `log`, `block`, `default`, or `off`.
18+
- feat(observability_timeseries): Add Observability Timeseries API for data visualized in the Sustainability dashboard.
19+
20+
21+
**Documentation:**
22+
23+
- doc(backend, pool): Describe difference in behavior of `between_bytes_timeout` between
24+
Deliver and Compute services.
25+
- doc(ddos_protection): Update GET API docs describing that they can be accessed by any user role as long as the service belongs to the customer.
26+
27+
328
## [v13.1.0](https://github.com/fastly/fastly-ruby/releases/tag/release/v13.1.0) (2025-07-07)
429

530
**Bug fixes:**

README.md

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ A Ruby client library for interacting with most facets of the [Fastly API](https
88
To install via RubyGems, add the following to your project's `Gemfile`:
99

1010
```ruby
11-
gem 'fastly', '~> 13.1.0'
11+
gem 'fastly', '~> 14.0.0'
1212
```
1313

1414
Then run `bundle install`.
@@ -150,6 +150,7 @@ Class | Method | Description
150150
[*Fastly::DdosProtectionApi*](docs/DdosProtectionApi.md) | [**ddos_protection_event_list**](docs/DdosProtectionApi.md#ddos_protection_event_list) | Get events
151151
[*Fastly::DdosProtectionApi*](docs/DdosProtectionApi.md) | [**ddos_protection_event_rule_list**](docs/DdosProtectionApi.md#ddos_protection_event_rule_list) | Get all rules for an event
152152
[*Fastly::DdosProtectionApi*](docs/DdosProtectionApi.md) | [**ddos_protection_rule_get**](docs/DdosProtectionApi.md#ddos_protection_rule_get) | Get a rule by ID
153+
[*Fastly::DdosProtectionApi*](docs/DdosProtectionApi.md) | [**ddos_protection_rule_patch**](docs/DdosProtectionApi.md#ddos_protection_rule_patch) | Update rule
153154
[*Fastly::DdosProtectionApi*](docs/DdosProtectionApi.md) | [**ddos_protection_traffic_stats_rule_get**](docs/DdosProtectionApi.md#ddos_protection_traffic_stats_rule_get) | Get traffic stats for a rule
154155
[*Fastly::DictionaryApi*](docs/DictionaryApi.md) | [**create_dictionary**](docs/DictionaryApi.md#create_dictionary) | Create a dictionary
155156
[*Fastly::DictionaryApi*](docs/DictionaryApi.md) | [**delete_dictionary**](docs/DictionaryApi.md#delete_dictionary) | Delete a dictionary
@@ -405,6 +406,8 @@ Class | Method | Description
405406
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**get_mutual_authentication**](docs/MutualAuthenticationApi.md#get_mutual_authentication) | Get a Mutual Authentication
406407
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**list_mutual_authentications**](docs/MutualAuthenticationApi.md#list_mutual_authentications) | List Mutual Authentications
407408
[*Fastly::MutualAuthenticationApi*](docs/MutualAuthenticationApi.md) | [**patch_mutual_authentication**](docs/MutualAuthenticationApi.md#patch_mutual_authentication) | Update a Mutual Authentication
409+
[*Fastly::NgwafReportsApi*](docs/NgwafReportsApi.md) | [**get_attacks_report**](docs/NgwafReportsApi.md#get_attacks_report) | Get attacks report
410+
[*Fastly::NgwafReportsApi*](docs/NgwafReportsApi.md) | [**get_signals_report**](docs/NgwafReportsApi.md#get_signals_report) | Get signals report
408411
[*Fastly::ObjectStorageAccessKeysApi*](docs/ObjectStorageAccessKeysApi.md) | [**create_access_key**](docs/ObjectStorageAccessKeysApi.md#create_access_key) | Create an access key
409412
[*Fastly::ObjectStorageAccessKeysApi*](docs/ObjectStorageAccessKeysApi.md) | [**delete_access_key**](docs/ObjectStorageAccessKeysApi.md#delete_access_key) | Delete an access key
410413
[*Fastly::ObjectStorageAccessKeysApi*](docs/ObjectStorageAccessKeysApi.md) | [**get_access_key**](docs/ObjectStorageAccessKeysApi.md#get_access_key) | Get an access key
@@ -415,7 +418,7 @@ Class | Method | Description
415418
[*Fastly::ObservabilityCustomDashboardsApi*](docs/ObservabilityCustomDashboardsApi.md) | [**get_dashboard**](docs/ObservabilityCustomDashboardsApi.md#get_dashboard) | Retrieve a dashboard by ID
416419
[*Fastly::ObservabilityCustomDashboardsApi*](docs/ObservabilityCustomDashboardsApi.md) | [**list_dashboards**](docs/ObservabilityCustomDashboardsApi.md#list_dashboards) | List all custom dashboards
417420
[*Fastly::ObservabilityCustomDashboardsApi*](docs/ObservabilityCustomDashboardsApi.md) | [**update_dashboard**](docs/ObservabilityCustomDashboardsApi.md#update_dashboard) | Update an existing dashboard
418-
[*Fastly::ObservabilityTimeseriesForLogsApi*](docs/ObservabilityTimeseriesForLogsApi.md) | [**log_timeseries_get**](docs/ObservabilityTimeseriesForLogsApi.md#log_timeseries_get) | Retrieve log data as time series
421+
[*Fastly::ObservabilityTimeseriesApi*](docs/ObservabilityTimeseriesApi.md) | [**timeseries_get**](docs/ObservabilityTimeseriesApi.md#timeseries_get) | Retrieve observability data as a time series
419422
[*Fastly::OriginInspectorHistoricalApi*](docs/OriginInspectorHistoricalApi.md) | [**get_origin_inspector_historical**](docs/OriginInspectorHistoricalApi.md#get_origin_inspector_historical) | Get historical origin data for a service
420423
[*Fastly::OriginInspectorRealtimeApi*](docs/OriginInspectorRealtimeApi.md) | [**get_origin_inspector_last120_seconds**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last120_seconds) | Get real-time origin data for the last 120 seconds
421424
[*Fastly::OriginInspectorRealtimeApi*](docs/OriginInspectorRealtimeApi.md) | [**get_origin_inspector_last_max_entries**](docs/OriginInspectorRealtimeApi.md#get_origin_inspector_last_max_entries) | Get a limited number of real-time origin data entries
@@ -640,10 +643,17 @@ The fastly-ruby API client currently does not support the following endpoints:
640643
- [`/alerts/history`](https://www.fastly.com/documentation/reference/api/observability/alerts/history) (GET)
641644
- [`/dns/configurations/{dns_configuration_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
642645
- [`/dns/configurations`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
646+
- [`/domain-management/v1/domains/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
647+
- [`/domain-management/v1/domains`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
643648
- [`/domains/v1/tools/status`](https://www.fastly.com/documentation/reference/api/) (GET)
644649
- [`/domains/v1/tools/suggest`](https://www.fastly.com/documentation/reference/api/) (GET)
645-
- [`/domains/v1/{domain_id}`](https://www.fastly.com/documentation/reference/api/) (DELETE, GET, PATCH)
646-
- [`/domains/v1`](https://www.fastly.com/documentation/reference/api/) (GET, POST)
650+
- [`/ngwaf/v1/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
651+
- [`/ngwaf/v1/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
652+
- [`/ngwaf/v1/signals/{signal_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (DELETE, GET, PATCH)
653+
- [`/ngwaf/v1/signals`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/signals) (GET, POST)
654+
- [`/ngwaf/v1/timeseries`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/timeseries) (GET)
655+
- [`/ngwaf/v1/workspaces/{workspaceId}/lists/{listId}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (DELETE, GET, PATCH)
656+
- [`/ngwaf/v1/workspaces/{workspaceId}/lists`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/lists) (GET, POST)
647657
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}/signing-key`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
648658
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts/{alert_id}`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (DELETE, GET, PATCH)
649659
- [`/ngwaf/v1/workspaces/{workspace_id}/alerts`](https://www.fastly.com/documentation/reference/api/ngwaf/v1/workspace_alerts) (GET, POST)
@@ -666,6 +676,8 @@ The fastly-ruby API client currently does not support the following endpoints:
666676
- [`/notifications/integrations/{integration_id}`](https://developer.fastly.com/reference/api/observability/notification) (DELETE, GET, PATCH)
667677
- [`/notifications/integrations`](https://developer.fastly.com/reference/api/observability/notification) (GET, POST)
668678
- [`/notifications/mailinglist-confirmations`](https://developer.fastly.com/reference/api/observability/notification) (POST)
679+
- [`/observability/timeseries`](https://www.fastly.com/documentation/reference/api/observability/timeseries/logs/) (GET)
680+
- [`/observability/timeseries`](https://www.fastly.com/documentation/reference/api/observability/timeseries/sustainability/) (GET)
669681
- [`/resources/stores/kv/{store_id}/batch`](https://www.fastly.com/documentation/reference/api/services/resources/kv-store-item) (PUT)
670682
- [`/security/workspaces/{workspace_id}/events/{event_id}`](https://www.fastly.com/documentation/reference/api/security/events) (GET, PATCH)
671683
- [`/security/workspaces/{workspace_id}/events`](https://www.fastly.com/documentation/reference/api/security/events) (GET)

docs/AttackReport.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Fastly::AttackReport
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **id** | **String** | ID of the workspace. | |
8+
| **name** | **String** | Name of the workspace. | |
9+
| **total_count** | **Integer** | Total request count | |
10+
| **blocked_count** | **Integer** | Blocked request count | |
11+
| **flagged_count** | **Integer** | Flagged request count | |
12+
| **attack_count** | **Integer** | Attack request count | |
13+
| **all_flagged_ip_count** | **Integer** | Count of IPs that have been flagged | |
14+
| **flagged_ip_count** | **Integer** | Count of currently flagged IPs | |
15+
| **top_attack_signals** | [**Array<AttackSignal>**](AttackSignal.md) | | |
16+
| **top_attack_sources** | [**Array<AttackSource>**](AttackSource.md) | | |
17+
18+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
19+

docs/AttackSignal.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# Fastly::AttackSignal
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **tag_name** | **String** | Name of the attack signal tag | |
8+
| **tag_count** | **Integer** | Count of requests with this attack signal | |
9+
| **total_count** | **Integer** | Total number of attacks considered | |
10+
11+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
12+

docs/AttackSource.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# Fastly::AttackSource
2+
3+
## Properties
4+
5+
| Name | Type | Description | Notes |
6+
| ---- | ---- | ----------- | ----- |
7+
| **country_code** | **String** | Country code of the attack source | |
8+
| **country_name** | **String** | Name of the country | |
9+
| **request_count** | **Integer** | Number of requests from this country | |
10+
| **total_count** | **Integer** | Total number of attacks considered | |
11+
12+
[[Back to API list]](../../README.md#endpoints) [[Back to README]](../../README.md)
13+

docs/Backend.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
| ---- | ---- | ----------- | ----- |
77
| **address** | **String** | A hostname, IPv4, or IPv6 address for the backend. This is the preferred way to specify the location of your backend. | [optional] |
88
| **auto_loadbalance** | **Boolean** | Whether or not this backend should be automatically load balanced. If true, all backends with this setting that don't have a `request_condition` will be selected based on their `weight`. | [optional] |
9-
| **between_bytes_timeout** | **Integer** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, the response received so far will be considered complete and the fetch will end. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
9+
| **between_bytes_timeout** | **Integer** | Maximum duration in milliseconds that Fastly will wait while receiving no data on a download from a backend. If exceeded, for Delivery services, the response received so far will be considered complete and the fetch will end. For Compute services, timeout expiration is treated as a failure of the backend connection, and an error is generated. May be set at runtime using `bereq.between_bytes_timeout`. | [optional] |
1010
| **client_cert** | **String** | Unused. | [optional] |
1111
| **comment** | **String** | A freeform descriptive note. | [optional] |
1212
| **connect_timeout** | **Integer** | Maximum duration in milliseconds to wait for a connection to this backend to be established. If exceeded, the connection is aborted and a synthetic `503` response will be presented instead. May be set at runtime using `bereq.connect_timeout`. | [optional] |
@@ -35,9 +35,9 @@
3535
| **ssl_hostname** | **String** | Use `ssl_cert_hostname` and `ssl_sni_hostname` to configure certificate validation. | [optional] |
3636
| **ssl_sni_hostname** | **String** | Overrides `ssl_hostname`, but only for SNI in the handshake. Does not affect cert validation at all. | [optional] |
3737
| **tcp_keepalive_enable** | **Boolean** | Whether to enable TCP keepalives for backend connections. Varnish defaults to using keepalives if this is unspecified. | [optional] |
38-
| **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional] |
39-
| **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional] |
40-
| **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional] |
38+
| **tcp_keepalive_interval** | **Integer** | Interval in seconds between subsequent keepalive probes. | [optional][default to 10] |
39+
| **tcp_keepalive_probes** | **Integer** | Number of unacknowledged probes to send before considering the connection dead. | [optional][default to 3] |
40+
| **tcp_keepalive_time** | **Integer** | Interval in seconds between the last data packet sent and the first keepalive probe. | [optional][default to 300] |
4141
| **use_ssl** | **Boolean** | Whether or not to require TLS for connections to this backend. | [optional] |
4242
| **weight** | **Integer** | Weight used to load balance this backend against others. May be any positive integer. If `auto_loadbalance` is true, the chance of this backend being selected is equal to its own weight over the sum of all weights for backends that have `auto_loadbalance` set to true. | [optional] |
4343

0 commit comments

Comments
 (0)