Skip to content

Commit eaf7932

Browse files
committed
Merge pull request moby#18769 from runcom/docs-auth-1
docs: extend: authorization.md: add a note about confidential stuff in Err
2 parents 7ff61dd + 1e28f04 commit eaf7932

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

docs/extend/authorization.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ Name | Type | Description
219219
--------|--------|----------------------------------------------------------------------------------
220220
Allow | bool | Boolean value indicating whether the request is allowed or denied
221221
Msg | string | Authorization message (will be returned to the client in case the access is denied)
222-
Err | string | Error message (will be returned to the client in case the plugin encounter an error)
222+
Err | string | Error message (will be returned to the client in case the plugin encounter an error. The string value supplied may appear in logs, so should not include confidential information)
223223

224224
### Response authorization
225225

@@ -247,4 +247,4 @@ Name | Type | Description
247247
--------|--------|----------------------------------------------------------------------------------
248248
Allow | bool | Boolean value indicating whether the response is allowed or denied
249249
Msg | string | Authorization message (will be returned to the client in case the access is denied)
250-
Err | string | Error message (will be returned to the client in case the plugin encounter an error)
250+
Err | string | Error message (will be returned to the client in case the plugin encounter an error. The string value supplied may appear in logs, so should not include confidential information)

0 commit comments

Comments
 (0)