Comments (2)
Hi @gbiagomba ,
I'm not sure if a automatically selecting all rules applicable to the language when defining the rule pack's language is the best approach.
Let's suppose you want to create a rule pack to detect only injection vulnerabilities for Java:
- Case 1: You create the new rule pack, then select Java, all Java rules are ticked. You have to manually untick all rules not related to injection vulnerabilities.
- Case 2: You create the new rule pack, tick the rules you need. Then you select the language: all Java rules are now ticked, and you have to do all the selection again.
But there is definitely an improvement needed here. I was thinking about two possibilities, maybe both:
- Have default / uneditable rule packs for each supported language, containing all rules for the corresponding language and that updates automatically when new rules are added.
- Improve the table filtering to make language filtering more convenient. This is close to your second suggestion.
What do you think about it?
As a workaround, here is how you can (not so) easily create rule packs containing all rules for a specific language:
- Create a new rule pack
- Define the supported language
- Filter the rule table to display only rules for the language. In the search box, enter:
"java." for Java (notice the dot at the end)
"javascript." for JavaScript
".c." for C
... so in fact you filter on the rule's category - Click on the "select all" button at the top left of the rule table
- Click on the Save button to register the rule pack
I know it looks painful, but it usually takes me less than 5 minutes to do this for all languages.
from grepmarx.
Related Issues (7)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grepmarx.