Skip to content

Commit

Permalink
Update api-key-in-query-parameter.yaml (#3384)
Browse files Browse the repository at this point in the history
  • Loading branch information
0xDC0DE committed May 17, 2024
1 parent 4c5bd64 commit e1eabc6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions yaml/openapi/security/api-key-in-query-parameter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ rules:
API keys should not be passed as query parameters in security schemes.
Pass the API key in the header or body.
If using a query parameter is necessary, ensure that the API key is tightly scoped and short lived.
severity: ERROR
severity: WARNING
patterns:
- pattern-inside: |
openapi: $VERSION
Expand All @@ -33,7 +33,7 @@ rules:
- openapi
likelihood: MEDIUM
impact: HIGH
confidence: HIGH
confidence: LOW
cwe: 'CWE-598: Use of GET Request Method With Sensitive Query Strings'
owasp:
- 'A04:2021 Insecure Design'
Expand Down

0 comments on commit e1eabc6

Please sign in to comment.