We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3998bc5 commit fe3b1cbCopy full SHA for fe3b1cb
Examples/quoteapi/Sources/QuoteAPI/openapi.yaml
@@ -1,8 +1,20 @@
1
+# This is an example API definition not suited for production
2
+#
3
+# In real life scenario, you must
4
+# 1. Ensure that the global security field has rules defined
5
+# 2. Ensure that security operations is not empty.
6
+# https://learn.openapis.org/specification/security.html
7
8
+# As per Checkov CKV_OPENAPI_4 and CKV_OPENAPI_5
9
+
10
openapi: 3.1.0
11
info:
12
title: StockQuoteService
13
version: 1.0.0
-
14
15
+# security:
16
+# - defaultApiKey: []
17
18
components:
19
schemas:
20
quote:
@@ -54,3 +66,5 @@ paths:
54
66
description: Authentication required
55
67
404:
56
68
description: Not Found
69
+ # security:
70
+ # - defaultApiKey: []
0 commit comments