Skip to content

Latest commit

 

History

History
48 lines (39 loc) · 1.18 KB

electronegativity.md

File metadata and controls

48 lines (39 loc) · 1.18 KB
description
Check for misconfigurations and security anti-patterns with the Electronegativity tool.

Electronegativity Plugin

The Electronegativity plugin integrates Doyensec's Electronegativity tool into the Electron Forge workflow. After packaging your Electron app, it identifies any known misconfigurations and security anti-patterns.

Installation

{% tabs %} {% tab title="Yarn" %}

yarn add --dev @electron-forge/plugin-electronegativity

{% endtab %}

{% tab title="npm" %}

npm install --save-dev @electron-forge/plugin-electronegativity

{% endtab %} {% endtabs %}

Usage

Add this plugin to the plugins array in your Forge configuration. All programmatic options for Electronegativity, except for input and electronVersion.

Example

{% code title="forge.config.js" %}

module.exports = {
  // ...
  plugins: [
    {
      name: '@electron-forge/plugin-electronegativity',
      config: {
        isSarif: true
      }
    }
  ]
  // ...
};

{% endcode %}