You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: sites/hurl.dev/_posts/2025-03-14-announcing-hurl-6.1.0.md
+4-8Lines changed: 4 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -66,7 +66,7 @@ To run this file, traditionally we set the variable value with an environment va
66
66
$ hurl --variable password=$PASSWORD foo.hurl
67
67
```
68
68
69
-
But, if we run this file with [`--verbose`] option, we can accidentally leak the value of the secret header:
69
+
But, if we run this file with [`--verbose`]({% link _docs/manual.md %}#verbose) option, we can accidentally leak the value of the secret header:
70
70
71
71
```shell
72
72
$ hurl --verbose foo.hurl
@@ -123,7 +123,7 @@ error: Assert status code
123
123
|
124
124
```
125
125
126
-
Started with Hurl 6.1.0, you can inject a variable whose value will be redacted from any logs using [`--secret` option]:
126
+
Started with Hurl 6.1.0, you can inject a variable whose value will be redacted from any logs using [`--secret` option]({%link _docs/templates.md %}#secrets):
127
127
128
128
```
129
129
$ hurl --secret password=$PASSWORD foo.hurl
@@ -147,7 +147,7 @@ But secrets in Hurl are also redacted from the reports ([HTML], [JSON], [JUnit]
147
147
as artifacts of your CI/CD pipelines.
148
148
149
149
Finally, sometimes you don't know a secret value beforehand, or the secret value is not static. In that case, the keyword
150
-
[`redact` combined with captures] allows you to extract data from HTTP responses and redact it through the run:
150
+
[`redact` combined with captures]({% link _docs/capturing-response.md %}#redacting-secrets) allows you to extract data from HTTP responses and redact it through the run:
151
151
152
152
```hurl
153
153
GET http://bar.com/api/get-token
@@ -280,7 +280,7 @@ location: true
280
280
HTTP 200
281
281
```
282
282
283
-
With this new version, we have added [`--header`] option, that will add a specific HTTP header to all requests of a run:
283
+
With this new version, we have added [`--header`]({% link _docs/manual.md %}#header) option, that will add a specific HTTP header to all requests of a run:
<p>But, if we run this file with [<code>--verbose</code>] option, we can accidentally leak the value of the secret header:</p>
58
+
<p>But, if we run this file with <a href="https://hurl.dev/docs/manual.html#verbose"><code>--verbose</code></a> option, we can accidentally leak the value of the secret header:</p>
<p>Started with Hurl 6.1.0, you can inject a variable whose value will be redacted from any logs using [<code>--secret</code> option]:</p>
109
+
<p>Started with Hurl 6.1.0, you can inject a variable whose value will be redacted from any logs using <a href="{%link _docs/templates.md %}#secrets"><code>--secret</code> option</a>:</p>
But secrets in Hurl are also redacted from the reports (<a href="https://hurl.dev/docs/running-tests.html#html-report">HTML</a>, <a href="https://hurl.dev/docs/running-tests.html#json-report">JSON</a>, <a href="https://hurl.dev/docs/running-tests.html#junit-report">JUnit</a> etc...) so you can safely store these reports
124
124
as artifacts of your CI/CD pipelines.</p>
125
125
<p>Finally, sometimes you don’t know a secret value beforehand, or the secret value is not static. In that case, the keyword
126
-
[<code>redact</code> combined with captures] allows you to extract data from HTTP responses and redact it through the run:</p>
126
+
<a href="https://hurl.dev/docs/capturing-response.html#redacting-secrets"><code>redact</code> combined with captures</a> allows you to extract data from HTTP responses and redact it through the run:</p>
@@ -223,7 +223,7 @@ status toString matches /(200|204)/
223
223
location: true
224
224
HTTP 200
225
225
</code></pre>
226
-
<p>With this new version, we have added [<code>--header</code>] option, that will add a specific HTTP header to all requests of a run: </p>
226
+
<p>With this new version, we have added <a href="https://hurl.dev/docs/manual.html#header"><code>--header</code></a> option, that will add a specific HTTP header to all requests of a run: </p>
0 commit comments