Skip to content

Commit fbb4a31

Browse files
authored
Merge pull request #112 from Rowayda-Khayri/fix-typos
Fix typos
2 parents a6f421b + 710023d commit fbb4a31

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

README.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Checklist of the most important security countermeasures when designing, testing
77
---
88

99
## Authentication
10-
- [ ] Don't use `Basic Auth` Use standard authentication (e.g. [JWT](https://jwt.io/), [OAuth](https://oauth.net/)).
10+
- [ ] Don't use `Basic Auth`. Use standard authentication (e.g. [JWT](https://jwt.io/), [OAuth](https://oauth.net/)).
1111
- [ ] Don't reinvent the wheel in `Authentication`, `token generation`, `password storage`. Use the standards.
1212
- [ ] Use `Max Retry` and jail features in Login.
1313
- [ ] Use encryption on all sensitive data.
@@ -26,16 +26,16 @@ Checklist of the most important security countermeasures when designing, testing
2626

2727
## Access
2828
- [ ] Limit requests (Throttling) to avoid DDoS / brute-force attacks.
29-
- [ ] Use HTTPS on server side to avoid MITM (Man In The Middle Attack).
29+
- [ ] Use HTTPS on server side to avoid MITM (Man in the Middle Attack).
3030
- [ ] Use `HSTS` header with SSL to avoid SSL Strip attack.
3131

3232
## Input
3333
- [ ] Use the proper HTTP method according to the operation: `GET (read)`, `POST (create)`, `PUT/PATCH (replace/update)`, and `DELETE (to delete a record)`, and respond with `405 Method Not Allowed` if the requested method isn't appropriate for the requested resource.
34-
- [ ] Validate `content-type` on request Accept header (Content Negotiation) to allow only your supported format (e.g. `application/xml`, `application/json`, etc) and respond with `406 Not Acceptable` response if not matched.
35-
- [ ] Validate `content-type` of posted data as you accept (e.g. `application/x-www-form-urlencoded`, `multipart/form-data`, `application/json`, etc).
36-
- [ ] Validate User input to avoid common vulnerabilities (e.g. `XSS`, `SQL-Injection`, `Remote Code Execution`, etc).
34+
- [ ] Validate `content-type` on request Accept header (Content Negotiation) to allow only your supported format (e.g. `application/xml`, `application/json`, etc.) and respond with `406 Not Acceptable` response if not matched.
35+
- [ ] Validate `content-type` of posted data as you accept (e.g. `application/x-www-form-urlencoded`, `multipart/form-data`, `application/json`, etc.).
36+
- [ ] Validate user input to avoid common vulnerabilities (e.g. `XSS`, `SQL-Injection`, `Remote Code Execution`, etc.).
3737
- [ ] Don't use any sensitive data (`credentials`, `Passwords`, `security tokens`, or `API keys`) in the URL, but use standard Authorization header.
38-
- [ ] Use an API Gateway service to enable caching, Rate Limit policies (e.g. `Quota`, `Spike Arrest`, `Concurrent Rate Limit`) and deploy APIs resources dynamically.
38+
- [ ] Use an API Gateway service to enable caching, Rate Limit policies (e.g. `Quota`, `Spike Arrest`, or `Concurrent Rate Limit`) and deploy APIs resources dynamically.
3939

4040
## Processing
4141
- [ ] Check if all the endpoints are protected behind authentication to avoid broken authentication process.
@@ -51,15 +51,15 @@ Checklist of the most important security countermeasures when designing, testing
5151
- [ ] Send `X-Content-Type-Options: nosniff` header.
5252
- [ ] Send `X-Frame-Options: deny` header.
5353
- [ ] Send `Content-Security-Policy: default-src 'none'` header.
54-
- [ ] Remove fingerprinting headers - `X-Powered-By`, `Server`, `X-AspNet-Version` etc.
54+
- [ ] Remove fingerprinting headers - `X-Powered-By`, `Server`, `X-AspNet-Version`, etc.
5555
- [ ] Force `content-type` for your response, if you return `application/json` then your response `content-type` is `application/json`.
56-
- [ ] Don't return sensitive data like `credentials`, `Passwords`, `security tokens`.
57-
- [ ] Return the proper status code according to the operation completed. (e.g. `200 OK`, `400 Bad Request`, `401 Unauthorized`, `405 Method Not Allowed`, etc).
56+
- [ ] Don't return sensitive data like `credentials`, `Passwords`, or `security tokens`.
57+
- [ ] Return the proper status code according to the operation completed. (e.g. `200 OK`, `400 Bad Request`, `401 Unauthorized`, `405 Method Not Allowed`, etc.).
5858

5959
## CI & CD
6060
- [ ] Audit your design and implementation with unit/integration tests coverage.
6161
- [ ] Use a code review process and disregard self-approval.
62-
- [ ] Ensure that all components of your services are statically scanned by AV software before push to production, including vendor libraries and other dependencies.
62+
- [ ] Ensure that all components of your services are statically scanned by AV software before pushing to production, including vendor libraries and other dependencies.
6363
- [ ] Design a rollback solution for deployments.
6464

6565

0 commit comments

Comments
 (0)