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 11a2255 commit f95b4fcCopy full SHA for f95b4fc
internal/commands/scan.go
@@ -1297,7 +1297,7 @@ func addAPISecScan(cmd *cobra.Command) map[string]interface{} {
1297
apiSecMapConfig[resultsMapType] = commonParams.APISecType
1298
apiDocumentation, _ := cmd.Flags().GetString(commonParams.APIDocumentationFlag)
1299
if apiDocumentation != "" {
1300
- apiSecConfig.SwaggerFilter = strings.ToLower(apiDocumentation)
+ apiSecConfig.SwaggerFilter = apiDocumentation
1301
}
1302
apiSecMapConfig[resultsMapValue] = &apiSecConfig
1303
return apiSecMapConfig
0 commit comments