Skip to main content

Configuring an Executable Action

To configure CxSAST to run an executable before or after a scan, do the following:

  1. Upload an executable: To ensure the integrity of the system and to restrict access, executable files must be uploaded manually by approved personnel.

    Notice

    The location used by CxSAST for executable files appears in Settings > Application Settings > General > Executables Folder.

  2. Define an Action for the executable: Go to Settings > Scan Settings > Pre & Post Scan Actions > Create New Action, and configure the following:

    6436172009.jpg
    • Action Type: Pre-scan or Post-scan.

    • Name: This will appear in a drop-down list when assigning actions to a project.

    • Command: Use the syntax as required by the executable or select from the list.

    Notice

    The command must use the same name that is used for the file located in the Executables folder as defined in Settings > Application Settings > General > Executables Folder. Files in the Executables folder appear in the drop-down list.

  3. Enter the arguments required by the command.

  4. For post-scan actions, you can also select whether the scan results will be XML or CSV.

  5. Assign the action to a project: In a project's Advanced Actions tab, select an action from the list:

    6436172006.jpg
  6. Click <Finish>.