Skip to content
New issue

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

fix(query): openapi pattern undefined fp enum and format sanitizers #7323

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

EduardoSemanas
Copy link
Contributor

Reason for Proposed Changes

  • Enum and Format should be recognized as sanitizers

Proposed Changes

  • OpenAPI general query pattern_undefined updated to also consider format and enum as sanitizers
  • Query expected results updated
  • Query negative UTs added

I submit this contribution under the Apache-2.0 license.

@EduardoSemanas EduardoSemanas requested a review from a team as a code owner January 31, 2025 14:38
@github-actions github-actions bot added query New query feature openapi OpenAPI query labels Jan 31, 2025
Copy link
Contributor

kics-logo

KICS version: v2.1.3

Category Results
CRITICAL CRITICAL 0
HIGH HIGH 0
MEDIUM MEDIUM 0
LOW LOW 0
INFO INFO 0
TRACE TRACE 0
TOTAL TOTAL 0
Metric Values
Files scanned placeholder 1
Files parsed placeholder 1
Files failed to scan placeholder 0
Total executed queries placeholder 48
Queries failed to execute placeholder 0
Execution time placeholder 0

@EduardoSemanas EduardoSemanas changed the title fix(query) openapi pattern undefined fp enum and format sanitizers fix(query): openapi pattern undefined fp enum and format sanitizers Jan 31, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
openapi OpenAPI query query New query feature
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant