-
-
Notifications
You must be signed in to change notification settings - Fork 200
Open
Labels
enhancementgssoc25GirlScript Summer of Code 2025GirlScript Summer of Code 2025level 310 points10 points
Description
Description:
We need to implement a query parser that will be used by both the OWASP API and OWASP UI search interfaces. The parser should support a GitHub-like syntax for filtering entities based on their attributes.
Requirements:
-
Basic string equality checks
- Example:
author:name
- Example:
-
Comparison operators for numeric fields
- Example:
stars:>100
,stars:<50
,issues:>=10
- Example:
-
Ability to combine multiple conditions (logical AND; potential future support for OR).
-
Output should be structured in a way that can be easily consumed by backend search logic (e.g., dict or list of conditions).
Possible Features for Later Iterations:
- Quoted strings for multi-word values:
project:"OWASP ZAP"
- OR conditions:
(author:alice OR author:bob)
- Negations:
-archived:true
Suggested Python Packages to Explore:
Benefits:
- Unifies search syntax across OWASP projects.
- Enables advanced filtering and more precise search results.
- Provides a foundation for future improvements in search capabilities.
Are you going to work on implementing this?
- Yes
- No
Additional context
- GitHub search syntax: https://docs.github.com/en/search-github/searching-on-github
Metadata
Metadata
Assignees
Labels
enhancementgssoc25GirlScript Summer of Code 2025GirlScript Summer of Code 2025level 310 points10 points
Type
Projects
Status
In progress