-
Notifications
You must be signed in to change notification settings - Fork 354
Labels
bugSomething isn't workingSomething isn't workingcommunityCommunity contributionCommunity contributiondockerDocker queryDocker queryopenapiOpenAPI queryOpenAPI queryqueryNew query featureNew query feature
Description
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:
6e96ed39-bf45-4089-99ba-f1fe7cf6966f-404❌e3f026e8-fdb4-4d5a-bcfd-bd94452073fe-200✅586abcee-9653-462d-ad7b-2638a32bd6e6-404❌74703c89-0ea2-49ab-a7db-bf04f19f5a57-404❌
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:
latestDocker image - Platform: OpenAPI
- Subsystem: N/A
cx-artur-ribeiro
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcommunityCommunity contributionCommunity contributiondockerDocker queryDocker queryopenapiOpenAPI queryOpenAPI queryqueryNew query featureNew query feature