Skip to main content
You can use the endorctl api command to configure the toolchains for your project.
  1. Run the endorctl scan to create a project in Endor Labs.
  2. Fetch the UUID of the project. For example, to fetch the UUID of app-java-demo project, you can use:
  3. Create a ScanProfile object using the following command. Set the environment variable using set EDITOR=vim before executing the following command.
    You can configure automated scan parameters in your scan profile. See automated scan parameters to learn more.
    Segment-based analysisTo scan using segment-based analysis for C/C++ and C# projects, set segment_match_languages under spec.automated_scan_parameters. See Scan C/C++ projects with segment-based analysis or Scan C# projects with segment-based analysis for examples.
    Here is an example that you can use to create a ScanProfile object for installing Java 8 and Maven 3.9.4 in Linux and macOS. After executing this command, you can fetch the UUID of the ScanProfile object. See toolchain support matrix for a complete description of supported toolchains.
  4. Associate the scan_profile_uuid to your project UUID project-uuid using the following command.