Skip to content

Commit 25a9147

Browse files
authored
Add period to the logging https endpoint configuration. (#749)
1 parent 7190c20 commit 25a9147

File tree

14 files changed

+157
-133
lines changed

14 files changed

+157
-133
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
- breaking(ngwaf): rename package `common` to `scope` and `ScopeType` to just `Type` ([#754](https://github.com/fastly/go-fastly/pull/754))
1111

1212
### Enhancements:
13+
- feat(logging): Add support for 'Period' attribute to the HTTPS endpoint.[#749](https://github.com/fastly/go-fastly/pull/749)
1314

1415
- feat(ngwaf/rules): add support for the multival condition type ([#755](https://github.com/fastly/go-fastly/pull/755))
1516

fastly/fixtures/https/cleanup.yaml

Lines changed: 30 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ interactions:
66
form: {}
77
headers:
88
User-Agent:
9-
- FastlyGo/11.3.0 (+github.com/fastly/go-fastly; go1.24.5)
10-
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/203/logging/https/test-https
9+
- FastlyGo/11.3.1 (+github.com/fastly/go-fastly; go1.25.1)
10+
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/12/logging/https/test-https
1111
method: DELETE
1212
response:
1313
body: '{"msg":"Record not found","detail":"Couldn''t find syslog ''{ deleted =\u003e
1414
0000-00-00 00:00:00, name =\u003e test-https, service =\u003e kKJb5bOFI47uHeBVluGfX1,
15-
version =\u003e 203 }''"}'
15+
version =\u003e 12 }''"}'
1616
headers:
1717
Accept-Ranges:
1818
- bytes
@@ -21,11 +21,11 @@ interactions:
2121
Content-Type:
2222
- application/json
2323
Date:
24-
- Tue, 02 Sep 2025 22:08:26 GMT
24+
- Wed, 10 Sep 2025 17:05:24 GMT
2525
Fastly-Ratelimit-Remaining:
26-
- "931"
26+
- "990"
2727
Fastly-Ratelimit-Reset:
28-
- "1756854000"
28+
- "1757527200"
2929
Pragma:
3030
- no-cache
3131
Server:
@@ -43,9 +43,9 @@ interactions:
4343
X-Cache-Hits:
4444
- 0, 0
4545
X-Served-By:
46-
- cache-chi-kigq8000141-CHI, cache-bos4657-BOS
46+
- cache-chi-kigq8000128-CHI, cache-iad-kiad7000061-IAD
4747
X-Timer:
48-
- S1756850907.596970,VS0,VE148
48+
- S1757523924.159920,VS0,VE106
4949
status: 404 Not Found
5050
code: 404
5151
duration: ""
@@ -54,13 +54,13 @@ interactions:
5454
form: {}
5555
headers:
5656
User-Agent:
57-
- FastlyGo/11.3.0 (+github.com/fastly/go-fastly; go1.24.5)
58-
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/203/logging/https/new-test-https
57+
- FastlyGo/11.3.1 (+github.com/fastly/go-fastly; go1.25.1)
58+
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/12/logging/https/new-test-https
5959
method: DELETE
6060
response:
6161
body: '{"msg":"Record not found","detail":"Couldn''t find syslog ''{ deleted =\u003e
6262
0000-00-00 00:00:00, name =\u003e new-test-https, service =\u003e kKJb5bOFI47uHeBVluGfX1,
63-
version =\u003e 203 }''"}'
63+
version =\u003e 12 }''"}'
6464
headers:
6565
Accept-Ranges:
6666
- bytes
@@ -69,11 +69,11 @@ interactions:
6969
Content-Type:
7070
- application/json
7171
Date:
72-
- Tue, 02 Sep 2025 22:08:26 GMT
72+
- Wed, 10 Sep 2025 17:05:24 GMT
7373
Fastly-Ratelimit-Remaining:
74-
- "930"
74+
- "989"
7575
Fastly-Ratelimit-Reset:
76-
- "1756854000"
76+
- "1757527200"
7777
Pragma:
7878
- no-cache
7979
Server:
@@ -91,9 +91,9 @@ interactions:
9191
X-Cache-Hits:
9292
- 0, 0
9393
X-Served-By:
94-
- cache-chi-kigq8000148-CHI, cache-bos4657-BOS
94+
- cache-chi-kigq8000109-CHI, cache-iad-kiad7000061-IAD
9595
X-Timer:
96-
- S1756850907.764179,VS0,VE132
96+
- S1757523924.311998,VS0,VE300
9797
status: 404 Not Found
9898
code: 404
9999
duration: ""
@@ -102,8 +102,8 @@ interactions:
102102
form: {}
103103
headers:
104104
User-Agent:
105-
- FastlyGo/11.3.0 (+github.com/fastly/go-fastly; go1.24.5)
106-
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/203/logging/https/test-https-2
105+
- FastlyGo/11.3.1 (+github.com/fastly/go-fastly; go1.25.1)
106+
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/12/logging/https/test-https-2
107107
method: DELETE
108108
response:
109109
body: '{"status":"ok"}'
@@ -115,11 +115,11 @@ interactions:
115115
Content-Type:
116116
- application/json
117117
Date:
118-
- Tue, 02 Sep 2025 22:08:27 GMT
118+
- Wed, 10 Sep 2025 17:05:24 GMT
119119
Fastly-Ratelimit-Remaining:
120-
- "929"
120+
- "988"
121121
Fastly-Ratelimit-Reset:
122-
- "1756854000"
122+
- "1757527200"
123123
Pragma:
124124
- no-cache
125125
Server:
@@ -137,9 +137,9 @@ interactions:
137137
X-Cache-Hits:
138138
- 0, 0
139139
X-Served-By:
140-
- cache-chi-klot8100110-CHI, cache-bos4657-BOS
140+
- cache-chi-klot8100156-CHI, cache-iad-kiad7000061-IAD
141141
X-Timer:
142-
- S1756850907.915878,VS0,VE275
142+
- S1757523925.639978,VS0,VE340
143143
status: 200 OK
144144
code: 200
145145
duration: ""
@@ -148,8 +148,8 @@ interactions:
148148
form: {}
149149
headers:
150150
User-Agent:
151-
- FastlyGo/11.3.0 (+github.com/fastly/go-fastly; go1.24.5)
152-
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/203/logging/https/test-https-3
151+
- FastlyGo/11.3.1 (+github.com/fastly/go-fastly; go1.25.1)
152+
url: https://api.fastly.com/service/kKJb5bOFI47uHeBVluGfX1/version/12/logging/https/test-https-3
153153
method: DELETE
154154
response:
155155
body: '{"status":"ok"}'
@@ -161,11 +161,11 @@ interactions:
161161
Content-Type:
162162
- application/json
163163
Date:
164-
- Tue, 02 Sep 2025 22:08:27 GMT
164+
- Wed, 10 Sep 2025 17:05:25 GMT
165165
Fastly-Ratelimit-Remaining:
166-
- "928"
166+
- "987"
167167
Fastly-Ratelimit-Reset:
168-
- "1756854000"
168+
- "1757527200"
169169
Pragma:
170170
- no-cache
171171
Server:
@@ -183,9 +183,9 @@ interactions:
183183
X-Cache-Hits:
184184
- 0, 0
185185
X-Served-By:
186-
- cache-chi-klot8100144-CHI, cache-bos4657-BOS
186+
- cache-chi-klot8100138-CHI, cache-iad-kiad7000061-IAD
187187
X-Timer:
188-
- S1756850907.224779,VS0,VE272
188+
- S1757523925.999729,VS0,VE250
189189
status: 200 OK
190190
code: 200
191191
duration: ""

0 commit comments

Comments
 (0)