Skip to content

Commit

Permalink
Added more framework rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ankit-privado committed Nov 1, 2023
1 parent f8a0990 commit 839e84c
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 0 deletions.
17 changes: 17 additions & 0 deletions rules/sinks/storages/gorp/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sinks:

- id: Storages.GorpFramework.Read
name: Gorp (Read)
domains:
- pkg.go.dev/github.com/go-gorp/gorp
patterns:
- "(?i).*(github.com|gopkg.in)(/)(gorp|go-gorp/gorp).*(Select).*"
tags:

- id: Storages.GormFramework.Write
name: Gorm (Write)
domains:
- pkg.go.dev/github.com/go-gorp/gorp
patterns:
- "(?i).*(github.com|gopkg.in)(/)(gorp|go-gorp/gorp).*(Insert|Update|Delete).*"
tags:
17 changes: 17 additions & 0 deletions rules/sinks/storages/qbs/go.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
sinks:

- id: Storages.QBSFramework.Read
name: Qbs (Read)
domains:
- doc.qt.io/qbs
patterns:
- "(?i).*(github.com|gopkg.in)(/)(coocood)(/)(qbs).*(Find).*"
tags:

- id: Storages.QBSFramework.Write
name: Qbs (Write)
domains:
- doc.qt.io/qbs
patterns:
- "(?i).*(github.com|gopkg.in)(/)(coocood)(/)(qbs).*(Save|Update|Delete).*"
tags:

0 comments on commit 839e84c

Please sign in to comment.