Installing the Security & Compliance plugin

The Security & Compliance plugin is a read-only Python package that identifies the components (modules and packages) being loaded when your applications are run by an ActivePython interpreter. Using this information, Security & Compliance automatically identifies vulnerabilities, outdated package versions, and improper licensing.

For information on installing ActivePython and the Security & Compliance plugin in a Docker container or in Jupyter Notebook, see Configuration for Docker and Configuration for Jupyter Notebook.

Prerequisite: You must have an ActivePython distribution installed. You can use an existing installation or download a supported version at https://www.activestate.com/activepython/downloads. The latest releases of each major version of ActivePython are supported:

  • ActivePython 3.6.0.3600
  • ActivePython 3.5.4.3504
  • ActivePython 2.7.14.2717
  1. Open your web browser and navigate to http://platform.activestate.com and sign in. If it is your first time signing in, you will be prompted to accept the ActiveState Platform Terms of Use and Service Agreement.
  2. Select an Organization in the Your Organizations list.
  3. Click the Security & Compliance tab.
  4. Click the Getting Started link in the navigation bar.
  5. Click the blue button to download and save the latest version of the Security & Compliance plugin (ActiveState-SecurityScanner-0.5.5.tar.gz). NOTE: You do not need to extract the tarball (.tar.gz) file.
  6. You need to use pip to install the Security & Compliance plugin:
    1. Open a command prompt, and navigate to the directory where you saved the Security & Compliance plugin.
    2. Run pip3 install ActiveState-SecurityScanner-0.5.5.tar.gz (ActivePython 3.5.x or 3.6.x) or pip install ActiveState-SecurityScanner-0.5.5.tar.gz (ActivePython 2.7.x).

Tip: If you run into issues installing the plugin with pip, ensure that pip/pip3 is in a directory on your path or enter the full path to the pip/pip3 executable. You can also try the alternative syntax: python3 -m pip install ActiveState-SecurityScanner-0.5.5.tar.gz