CodeThreat - Knowledge Center
CodeThreatGithub
  • Latest
    • v2409 Cloud Upgrades, Repo Monitoring, Path Exclusion, and New JS/TS Rulesets
  • Product Updates
    • v2402 GenAI, Sarif and New Language Supports
    • v2401 SCA Release
    • v2311.30
    • v2310.29
    • v2309.30
    • v2308.30
    • v2307.25
    • v2306.26
    • v2305.26
    • v2304.23
  • Privacy Policy
  • Terms of Service
  • Company Handbook
  • Usage Guide
    • API Documentation
    • CT Server Installation
      • Deploy with Docker
      • Self-Hosted Server Setup
      • Installation
    • Introducing CodeThreat
    • Create a CodeThreat Account
    • Quick Start & Scan
    • HomePage
    • Projects
      • Overview
      • Scans
      • SCA(Software Composition Analysis)
      • Licences
      • Dependency Tree
      • Project Structure
      • Report
    • Issues
      • Issue List
      • Issue List Filter
      • Issue Detail
    • Integrations
      • Azure
      • Github
      • Gitlab
      • Jira
    • CI-CD Integrations
      • GitHub Actions
      • Jenkins
      • Gitlab
      • Bamboo
      • Azure
    • Notifications
    • Settings
      • General
      • SMTP
      • License
      • OAUTH Apps
        • Azure
        • Github
        • GitLab
      • Organizations
      • Scan Policy
      • Users & Groups
      • Notifications
      • Access Token
Powered by GitBook
On this page
  • Overview
  • Supported Operating Systems
  • Prerequisites
  • Installation Steps
  • Security Considerations
  • Next Steps

Was this helpful?

  1. Usage Guide
  2. CT Server Installation

Self-Hosted Server Setup

PreviousDeploy with DockerNextInstallation

Last updated 6 months ago

Was this helpful?

Overview

CodeThreat SAST Center is an app that serves as a built-in platform offering source code scanning and integration features once installed on your operating system. This guide will walk you through the installation process.

Supported Operating Systems

CodeThreat is compiled for major operating systems including:

  • Windows

  • Linux

  • MacOS

Although specifically tailored for these operating systems, CodeThreat may also function correctly on similar or derivative systems. Please note that performance and compatibility on non-standard systems cannot be guaranteed, and support may be limited.

Prerequisites

Before getting started, please ensure you meet the following requirements:

  • One of the compatible operating systems mentioned above

  • MongoDB

Installation Steps

  1. Download the Product: Use the provided download link to obtain the CodeThreat software compatible with your operating system.

  2. Extract the Files: Once downloaded, extract the CodeThreat files to your designated machine.

  3. Install MongoDB: CodeThreat requires MongoDB version 6+ or higher. Follow the installation guide for your system below:

  4. Configure the System: Navigate to the config-example.json file, copy it as config.jsonand enter the appropriate details in the following fields:

config.json

{
  "host": "localhost",
  "port": 8080,
  "certificate": "",
  "key": "",
  "update_url": "https://cloud.codethreat.com",
  "token": "",
  "mongo_url":  ""
}
- `token`: If you wish to use automatic updates,
enter the token sent to you in this field. This will activate online updates.
- `mongo_url`: Enter the connection string of the intended MongoDB here.

Security Considerations

Before proceeding, it is essential to review the following security measures:

  • Ensure that your system is up to date with the latest security patches.

  • Ensure that the MongoDB instance is securely configured and access is appropriately restricted.

Next Steps

Once you have completed the above steps, you are ready to proceed to the next phase of the CodeThreat setup. Please refer to the next section of this guide for further instructions.

MongoDB Installation for Windows
MongoDB Installation for Linux
MongoDB Installation for Mac