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

Add file export feature #13

Open
Gby56 opened this issue Aug 11, 2023 · 0 comments
Open

Add file export feature #13

Gby56 opened this issue Aug 11, 2023 · 0 comments

Comments

@Gby56
Copy link

Gby56 commented Aug 11, 2023

(sorry for the many issues/ideas, love the tool!)
It would be nice if we could export some filtered/boiled-down list of extracted APIs.
The idea is to put the file in git to detect changes in APIs detected over time, flag new attack surfaces.
The Semgrep JSON file is not quite great for that, since it will have variance from simple stuff (line numbers, col, offset of findings, even the lines)

Something like that:

filepath,function,returntype,method,path,authN,authZ
src/somecontroller.java,getUsers,Users,GET,/users,true,true
src/somecontroller.java,getUserById,getUserById,GET,/users/{id},true,false

That way, the file would only change for added/removed paths, or slight changes

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant