Skip to content

Commit 1ae47b3

Browse files
committed
feat: Add recommendation regarding supported incoming content types
Addresses a concern raised on issue #104.
1 parent a80ff27 commit 1ae47b3

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

2023/en/src/0xa7-security-misconfiguration.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ Furthermore:
8080
(TLS), regardless of whether it is an internal or public-facing API.
8181
* Be specific about which HTTP verbs each API can be accessed by: all other
8282
HTTP verbs should be disabled (e.g. HEAD).
83+
* Restrict incoming content types/data formats to those that meet the business/
84+
functional requirements.
8385
* Implement a proper Cross-Origin Resource Sharing (CORS) policy on APIs
8486
expected to be accessed from browser-based clients (e.g. web app front-ends).
8587
* Ensure all servers in the HTTP server chain (e.g. load balancers, reverse

0 commit comments

Comments
 (0)