JavaScript is not currently enabled, but is required for full CodeSonar manual search and browse functionality.
If you are viewing this file in your hub's Web GUI, enable JavaScript in your browser: you will also need it for GUI functionality.
If you opened this file directly from disk, your browser may be directly suppressing JavaScript functionality: certain browsers perform this suppression on local files (but not files delivered by web servers) for security reasons.
| CodeSonar® 9.2p0 | CONFIDENTIAL | CodeSecure Inc |
The primary hub directory contains a results database and settings for both the database and the primary hub itself.
A satellite hub directory contains settings for a satellite hub. It does not contain any database information, because the satellite hub uses the same database as its associated primary hub.
For security reasons, the hub directory should only be accessible to the hub administrator or administrators.
In particular, this means that the hub directory should not be located under the CodeSonar installation directory, since the latter is mounted by the hub for all users to access.
The directory location depends on the command used to start the primary hub: it is the dir argument in
Deleting a primary hub directory deletes the hub database. Do not delete the directory while the associated hub process is running. (Also, do not delete a hub database unless you are no longer interested in any of the results stored there.)
The hub database is PostgreSQL-based.
The CodeSonar GUI accesses the hub database through the hub: individual GUI pages such as warning reports and file search results are generated by querying the hub database. To execute your own queries on the hub database, use the SQL Console.
The hub database runs as PostgreSQL user cshubuser. If you need to directly run PostgreSQL commands that require PostgreSQL user authorization (for example, to back up/restore the hub database or move the hub to a new machine), specify -U cshubuser in the command, then provide the cshubuser password when prompted. For convenience, the password for the cshubuser PostgreSQL user is coupled to that for the Administrator hub account.
Setting any of the PostgreSQL environment variables, especially any that deal with connecting via TLS, can prevent new hubs from being created and may prevent you from starting existing hubs.
In particular:
The directory location depends on the command used to start the satellite hub: it is the dir argument in
To report problems with this documentation, please visit https://support.codesecure.com/.