Skip to content

IntelliJ Tutorial

Saikat Sengupta edited this page Sep 17, 2021 · 11 revisions

Installation

The first requirement is to install the plugin SpotBugs.

Installation

IntelliJ needs to be restarted after the installation.

The last step is to activate the security rules by checking the Find Security Bugs entry (which comes built-in).

Security rules

Recommended settings

  • For most users, the recommended minimum confidence is Medium. For security enthusiasts looking for interesting details and informational findings, you can set the minimum confidence to Low.
  • When doing a security code review, you can hide categories that are not related to security.
  • The effort should be set to Maximal

IntelliJ settings

Scanning your code

Right-click on the project you are targeting : SpotBugs > Analyze Project Files

Context menu Find Security Bugs

That was easy! 😃