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 Infer as a new securityTest #511

Open
rafaveira3 opened this issue Sep 30, 2020 · 2 comments · May be fixed by #542
Open

Add Infer as a new securityTest #511

rafaveira3 opened this issue Sep 30, 2020 · 2 comments · May be fixed by #542
Labels
feature-request New feature request hacktoberfest2022 https://opensource.globo.com/hacktoberfest

Comments

@rafaveira3
Copy link
Contributor

rafaveira3 commented Sep 30, 2020

Motivation

Facebook has developed this cool Open Source tool to detect bugs in Java and C/C++/Objective-C code and it will be a great addition to huskyCI analysis.

It would be great if

We have all the necessary code to scan these new languages!

What we expect

  • A working container of Infer that outputs a JSON after running the analysis in a particular folder. Similar to this to be uploaded to Docker Hub as huskyci/infer:latest.
  • Add into config.yaml commands needed to run inside the securityTest container.
  • Adjust context.go to have the new Infer securityTest configs.
  • Add new error messages related to Infer in messagecodes.go.
  • Add a new file into securitytest package and adjust its logic to now handle Infer output.
  • Add new code into client analysis package to print to STDOUT Infer results.

Tips

  • Search how a particular securityTest work and apply the same logic (Ctrl + F + "bandit" will do 🙃).
@rafaveira3 rafaveira3 added the hacktoberfest2022 https://opensource.globo.com/hacktoberfest label Sep 30, 2020
@Krlier Krlier added feature-request New feature request and removed hacktoberfest2022 https://opensource.globo.com/hacktoberfest labels Nov 9, 2020
@thepabloaguilar thepabloaguilar linked a pull request Oct 7, 2021 that will close this issue
@fguisso fguisso added the hacktoberfest2022 https://opensource.globo.com/hacktoberfest label Oct 3, 2022
@fguisso
Copy link
Member

fguisso commented Oct 5, 2022

Hey, @thepabloaguilar do you will keep working on this issue?

@thepabloaguilar
Copy link

Yeah @fguisso, I'll get it done by this week

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request New feature request hacktoberfest2022 https://opensource.globo.com/hacktoberfest
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants