Skip to content

bug(query): some openapi queries cannot be excluded from the report #7574

@kisaiev

Description

@kisaiev

When running KICS for the swagger.json it produces report with OpenAPI queries which cannot be excluded.

After a closer look it seems that some of the OpenAPI queries are not accessible:

All of them can still be reported, but not excluded. When the listed queries are passed to the KICS CLI via --exclude-queries, only e3f026e8-fdb4-4d5a-bcfd-bd94452073fe is removed.

Expected Behavior

All queries passed to the CLI via --exclude-queries option must be excluded.

Actual Behavior

Some of the queries are not excluded.

Steps to Reproduce the Problem

Please refer to the kics-openapi-exclude-bug repository for the demo.

Specifications

  • Version: latest Docker image
  • Platform: OpenAPI
  • Subsystem: N/A

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingcommunityCommunity contributiondockerDocker queryopenapiOpenAPI queryqueryNew query feature

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions