Skip to content

Commit

Permalink
Merge pull request #3386 from semgrep/merge-develop-to-release
Browse files Browse the repository at this point in the history
Merge Develop into Release
  • Loading branch information
p4p3r committed May 20, 2024
2 parents dd88a4b + e1eabc6 commit dab80bc
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 dab80bc

Please sign in to comment.