Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • .PrjSettings: An instance of class ProjectSettings, which includes the following fields:
    • .ProjectName: Full path on CxSAST server to project (string, beginning with "CxServer\"). You can find this path in the CxSAST web interface. When being submitted as an argument in the Scan method, if the project doesn't already exist, CxSAST will create a new one.
    • .PresetID: ID# of query preset to be used. You can find query preset IDs in the CxSAST database, in the dbo.Presets table.
    • .ScanConfigurationID: ID# of character encoding used in code project files. You can find encoding IDsin the CxSAST database, in the dbo.configurations table; or, the API client can get available encoding options.
  • .SrcCodeSettings: An instance of class SourceCodeSettings, which includes the following fields:
    • .SourceOrigin: One of the following (Source Pulling is not supported for API clients):
      • SourceLocationType.Local
      • SourceLocationType.Shared
      • SourceLocationType.SourceControl
    • .PackagedCode: An instance of class LocalCodeContainer, for local scans. Includes the following fields:
      • .FileName: Path to ZIP archive of code project (string, for a Local scan).
      • .ZippedFile: Byte array containing the contents of the code project. See example.
  • .ScheduleSettings.Schedule: When to scan. Ignored when being submitted as an argument in the Scan method.
  • .IsPrivateScan: Whether the scan results should be private, that is, only for the current user (boolean).
  • .IsIncremental: Whether the scan should be only of new and modified files since the last previous scan (boolean).


...


Section


Column

See more:

Child pages (Children Display)
pageWorking with CxSAST Projects


Column