We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Found a bug? You're welcome to
Using gitlab integrartion, false positive is raised that tags are missing required fields for this kind of the openapi schema
swagger: '2.0' paths: /v1/getX: get: tags: - data_sources - v1
From docs operationSchema tags are list of strings. Note that this is a different object than root level tags. https://swagger.io/specification/v2/
tags
no error
(from gitlab sast report artifact)
{ "id": "91e8e47733a87adce77d6ff58f67a8755e9471fc8ea7ac008f24bd82e0a2b7f4", "category": "sast", "name": "OpenAPI Object should contain all of its required fields", "description": "tags is missing required fields", "cve": "kics_id:5e5ecb9d-04b5-4e4f-b5a5-6ee04279b275:1086:0", "severity": "Info", "scanner": { "id": "kics", "name": "kics" }, "location": { "file": "terraform/environments/xes/openapi_config.yaml", "start_line": 1086 }, "identifiers": [ { "type": "kics_id", "name": "Object Without Required Property (v2)", "value": "5e5ecb9d-04b5-4e4f-b5a5-6ee04279b275", "url": "https://swagger.io/specification/v2/" } ] },
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Found a bug? You're welcome to
Using gitlab integrartion, false positive is raised that tags are missing required fields for this kind of the openapi schema
From docs operationSchema
tags
are list of strings. Note that this is a different object than root leveltags
. https://swagger.io/specification/v2/Expected Behavior
no error
Actual Behavior
(from gitlab sast report artifact)
Specifications
The text was updated successfully, but these errors were encountered: