Configuring Identities

The ActiveState Platform configuration file (activestate.config) determines how scan data is grouped in Security & Compliance through the use of Identities. An Identity is a grouping of Security & Compliance scan results. An Identity can group together all of the ActivePython applications run by an individual user, all of instances of an application that run regardless of the computer they run on, or some other grouping. It is also used to manage settings, such as whether debugging is turned on.

  1. Use one of the following methods to create the required activestate.config file:
  • Navigate to the Security & Compliance > Identities page and create a new identity and click Download File to save the activestate.config file locally.
  • Click on the name of an existing identity you want to configure, click the Usage Instructions tab, and click Download File to save the activestate.config file locally.
  • Manually enter, or copy and paste the required information displayed on the Identity details page in the following format:

    Identity = <unique identity identifier>    #Identity Name: <name>
    URL = https://platform.activestate.com
    Debug = True | False
    ConnectTimeout = value
    ResponseTimeout = value
    

    For example:

    Identity = 60e7fca3-2f81-46d2-ad53-a986fd265b3d    #Identity Name: Prod
    URL = https://platform.activestate.com
    Debug = True
    
  1. Save the configuration file to the appropriate location on you system. For details, see Where to place your activestate.config file?.

Tip: If you want to view debugging information while you are using the interpreter, you can change the final line of the activestate.config file to Debug = True. This is a good way to ensure that the plugin is working correctly when you first run it with a Python interpreter on a new system.

Configuration file settings

Value Description Example
Identity The tracking identifier used to group the results of a set of Security & Compliance scans. Identity = 60e7fca3-2f81-46d2-ad53-a986fd265b3d # Test identity
URL The location of the ActiveState Platform server. https://platform.activestate.com
Debug Specifies whether the Security & Compliance plugin displays debugging information. The default is False. Debug=True
ConnectTimeout Specifies the number of seconds to wait for a connection to the ActiveState Platform. The default is 0.1 seconds. ConnectTimeout = 0.2
ResponseTimeout Specifies the number of seconds to wait for a response from the ActiveState Platform. The default is 0.7 seconds. ResponseTimeout = 0.05