Skip to content

Commit bbc9edd

Browse files
authorization capitalization (#29498)
1 parent 68e3aea commit bbc9edd

1 file changed

Lines changed: 26 additions & 26 deletions

File tree

src/content/docs/api-shield/security/vulnerability-scanner.mdx

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ curl "https://api.cloudflare.com/client/v4/accounts/${ACCOUNT_ID}/vuln_scanner/c
119119
--data '{
120120
"name": "Owner Bearer Token",
121121
"location": "header",
122-
"location_name": "Authorization",
122+
"location_name": "authorization",
123123
"value": "Bearer eyJhbGciOiJSUzI1NiIs...owner-token"
124124
}'
125125
```
@@ -208,30 +208,30 @@ Adding the `jq` command will summarize the output. In the following example, the
208208

209209
```json
210210
{
211-
"test_verdict": "warning",
212-
"steps": [
213-
{
214-
"step": 1,
215-
"method": "POST",
216-
"url": "https://api.example.com/v1/orders",
217-
"role": "owner",
218-
"status": "ok"
219-
},
220-
{
221-
"step": 2,
222-
"method": "GET",
223-
"url": "https://api.example.com/v1/orders",
224-
"role": "attacker",
225-
"status": "ok"
226-
},
227-
{
228-
"step": 3,
229-
"method": "DELETE",
230-
"url": "https://api.example.com/v1/orders/bdc64e8a-deec-4374-92c0-4fe91d1650bb",
231-
"role": "attacker",
232-
"status": "error"
233-
}
234-
]
211+
"test_verdict": "warning",
212+
"steps": [
213+
{
214+
"step": 1,
215+
"method": "POST",
216+
"url": "https://api.example.com/v1/orders",
217+
"role": "owner",
218+
"status": "ok"
219+
},
220+
{
221+
"step": 2,
222+
"method": "GET",
223+
"url": "https://api.example.com/v1/orders",
224+
"role": "attacker",
225+
"status": "ok"
226+
},
227+
{
228+
"step": 3,
229+
"method": "DELETE",
230+
"url": "https://api.example.com/v1/orders/bdc64e8a-deec-4374-92c0-4fe91d1650bb",
231+
"role": "attacker",
232+
"status": "error"
233+
}
234+
]
235235
}
236236
```
237237

@@ -288,4 +288,4 @@ When creating credentials, the `location` field determines where the scanner att
288288
| header | An HTTP header name | `Authorization` header with a `Bearer` token. |
289289
| cookie | A cookie name | `session_id` cookie with a session token. |
290290

291-
A credential set can contain multiple credentials. For example, an API that requires both a `Bearer` token in the `Authorization` header and a `CSRF` token in the `X-CSRF-Token` header would have two separate credentials configured in its set.
291+
A credential set can contain multiple credentials. For example, an API that requires both a `Bearer` token in the `Authorization` header and a `CSRF` token in the `X-CSRF-Token` header would have two separate credentials configured in its set.

0 commit comments

Comments
 (0)