doyensec / electronegativity

Electronegativity is a tool to identify misconfigurations and security anti-patterns in Electron applications.
Apache License 2.0
972 stars 66 forks source link

closes #33: Ability to run a single scan check #34

Closed phosphore closed 5 years ago

phosphore commented 5 years ago

Now it is possible to specify single or multiple checks names using the -c or --checks flags and passing a csv list of these (e.g. -c PreloadJSCheck,AuxclickJSCheck).

Note that for the sake of convenience they are also accepted when case-insensitive and spaces between them are also allowed (i.e. -c preloadjscheck,auxclickjscheck and -c "preloadjscheck, auxclickjscheck" are both valid syntaxes).

This pull request also adds a startup message notifying the user about the number of checks loaded.

ikkisoft commented 5 years ago

I assume this was carefully tested. Please update the README and I will merge to master.