Where to place your activestate.config file?

The activestate.config file is used to specify that Security & Compliance should scan projects on a computer and where the results will be saved in Security & Compliance. You need to specify an Identity ID to at least one activestate.config file to use the identity to track Security & Compliance scan information. The Identity ID maps a Python project, or group of projects, running on your computer to an Identity in Security & Compliance.

Linux and macOS

Option File Location Result
Global Setting /etc/activestate.config The configuration applies to all projects run on the computer and all scan results are directed to a single identity. This option requires root permissions.
User Setting $HOME/activestate.config
~/activestate.config
The configuration applies to all projects run by the logged in user. All scan results for a particular user account, running on one or more computers, can be directed to a single identity.
Project Setting Your project location. The configuration applies specifically to the project. All scan results for a project, running on one or more computers, can be directed to a single identity.

Windows

Option File Location Result
Global Setting %ACTIVESTATE_CONFIG% The configuration applies to all projects run on the computer and all scan results are directed to a single identity. You need to create an environment variable that points to the location of your ActiveState configuration file. For example, you can save the file as C:\activestate.config and point the environment variable to this location.
User Setting C:\Users\<username>\activestate.config The configuration applies to all projects run by the logged in user. All scan results for a particular user account, running on one or more computers, can be directed to a single identity.
Project Setting Your project location. The configuration applies specifically to the project. All scan results for a project, running on one or more computers, can be directed to a single identity.