Versions Compared

Key

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

...

Swagger open api macro
{"swagger":"2.0","info":{"version":"v1","title":"Checkmarx REST API","description":"Login is required for exploring the CxREST API through Swagger. Click the login indicator ![login logo](loginLogo) and you will be redirected to the relevant Login page.<br/>CxREST API uses the OpenID Connect standard. In order to authenticate the CxREST API from a custom application, use OAuth2 according to the  <a href=http://OriB-Laptop.dm.cx2020qapt/CxRestAPI/auth/identity/.well-known/openid-configuration >discovery document</a> and <a href ='https://checkmarx.atlassian.net/wiki/spaces/KC/overview' >Checkmarx documentation</a>. "},"host":"orib-laptop.dm.cxlocalhost","basePath":"/cxrestapiCxrestapi/help","schemes":["http"],"paths":{"/osa/scans":{"get":{"tags":["OSA"],"summary":"Returns basic scan details for all scans associated with a specified project id","operationId":"OsaScanRequests_GetByprojectIdpageitemsPerPage","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectId","in":"query","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"type":"integer","format":"int32"},{"name":"itemsPerPage","in":"query","description":"Number of items per page (default 100)","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.BasicScanDTO"}}}}},"post":{"tags":["OSA"],"summary":"Creates a new scan request","operationId":"OsaScanRequests_PostByscanRequestInfo.projectIdscanRequestInfo.originscanRequestInfo.hashedFilesList","consumes":["multipart/form-data"],"produces":["application/json"],"parameters":[{"name":"projectId","in":"formData","description":"The Project Id associated with requested scan","required":false,"type":"integer"},{"name":"origin","in":"formData","description":"The location from which scan was requested (if not specified (Portal) will be selected)","required":false,"type":"string"},{"name":"zippedSource","in":"formData","description":"Zipped source code to scan","required":false,"type":"file"}],"responses":{"202":{"description":"Accepted","schema":{"$ref":"#/definitions/Cx.Osa.Presentation.DTOs.NewDTOs.NewScanResponseDTO"}},"400":{"description":"Bad Request"}}}},"/customTasks":{"get":{"tags":["GENERAL"],"summary":"Gets a collection of Custom Tasks (Scan Actions)","operationId":"CustomTasks_Get","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"Ok","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.CustomTasks.Presentation.Dtos.GetCustomTaskDto"}}}}}},"/customFields":{"get":{"tags":["GENERAL"],"summary":"Get all CustomFields","operationId":"CustomFields_Get","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.CustomFields.Api.ViewModels.CustomFieldViewModel"}}}}}},"/projects/{id}":{"get":{"tags":["GENERAL"],"summary":"Gets details of a specific project","operationId":"ProjectsManagement_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.ProjectBaseDto"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"put":{"tags":["GENERAL"],"summary":"Updates an existing project","operationId":"ProjectsManagement_PutByidproject","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a project to update","required":true,"type":"integer","format":"int64"},{"name":"project","in":"body","description":"Project details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UpdateFullProjectDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}},"delete":{"tags":["GENERAL"],"summary":"Deletes an existing project with all related scans","operationId":"ProjectsManagement_DeleteByiddeleteProjectDto","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a project to delete","required":true,"type":"integer","format":"int64"},{"name":"deleteProjectDto","in":"body","description":"A set of rules that specifies how the project should be deleted","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.DeleteProjectDto"}}],"responses":{"202":{"description":"Accepted","schema":{"type":"object"}},"400":{"description":"Bad Request"}}},"patch":{"tags":["GENERAL"],"summary":"Updates an existing project's name or team Id","operationId":"ProjectsManagement_PatchByidproject","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a project to update","required":true,"type":"integer","format":"int64"},{"name":"project","in":"body","description":"Project details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UpdateProjectDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/customTasks/{id}":{"get":{"tags":["GENERAL"],"summary":"Gets a Custom Task (Scan Action) by id","operationId":"CustomTasks_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific Custom task","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"$ref":"#/definitions/Cx.CustomTasks.Presentation.Dtos.GetCustomTaskDto"}},"404":{"description":"Not Found"}}}},"/issueTrackingSystems":{"get":{"tags":["GENERAL"],"summary":"Gets details of all issue tracking systems","operationId":"IssueTrackingSystems_GetAll","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Presentation.Dtos.GetIssueTrackingSystemDto"}},"examples":[{"id":1,"name":"Test Server","type":"Jira","url":"http://10.61.1.72:8080/"},{"id":2,"name":"Other Test Server","type":"Jira","url":"http://18.91.5.72"}]}}}},"/reports/sastScan/{id}":{"get":{"tags":["GENERAL"],"summary":"Gets the report when ready","operationId":"Reports_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific report","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"type":"object"}},"404":{"description":"Not Found"},"204":{"description":"No Content","schema":{"type":"object"}}}}},"/customTasks/name/{name}":{"get":{"tags":["GENERAL"],"summary":"Gets a Custom Task (Scan Action) by name","operationId":"CustomTasks_GetByname","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"name","in":"path","description":"Name of a specific Custom task","required":true,"type":"string"}],"responses":{"200":{"description":"Ok","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.CustomTasks.Presentation.Dtos.GetCustomTaskDto"}}}}}},"/reports/sastScan/{id}/status":{"get":{"tags":["GENERAL"],"summary":"Gets the status of a specific report in the queue","operationId":"Reports_GetStatusByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific report","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"type":"object"},"examples":{"link":{"rel":"content","uri":"/reports/sastScan/1"},"contentType":"application/pdf","status":{"id":2,"value":"Created"}}},"404":{"description":"Not found"}}}},"/configurationsExtended/{group}":{"get":{"tags":["GENERAL"],"summary":"Retrieves CxComponentConfiguration settings","operationId":"Configurations_GetExtendedBygroup","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"group","in":"path","description":"Configuration group name associated with the settings to be retrieved","required":true,"type":"string","enum":["None","AppSecCoach","AuthorizationService","Portal","Scanning","SystemSettings","QueueSettings","Audit","Logging","DataRetention","Reports"]}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.CrossCutting.Configuration.DTOs.ComponentConfiguration"}}}}},"put":{"tags":["GENERAL"],"summary":"Updates CxComponentConfiguration settings","operationId":"Configurations_PutExtendedBygroupconfigurationsList","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"group","in":"path","description":"Configuration group name associated with the settings to be updated","required":true,"type":"string","enum":["None","AppSecCoach","AuthorizationService","Portal","Scanning","SystemSettings","QueueSettings","Audit","Logging","DataRetention","Reports"]},{"name":"configurationsList","in":"body","description":"Array of configuration settings in JSON format to be updated","required":true,"schema":{"type":"array","items":{"$ref":"#/definitions/Cx.CrossCutting.Configuration.Swagger.ComponentConfigurationUpdate"}}}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/issueTrackingSystems/{id}/metadata":{"get":{"tags":["GENERAL"],"summary":"Gets the metadata of specific issue tracking system","operationId":"IssueTrackingSystems_GetMetadataByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"The Id of issue tracking system the metadata to retrieve for","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingSystemMetadata"},"examples":{"projects":[{"id":"10000","name":"Example project","issueTypes":[{"subtask":false,"id":"1","name":"Example issue","fields":[{"id":"1","name":"Example field 1","multiple":false,"required":false,"supported":true,"allowedValues":[{"id":"1","name":"v1"},{"id":"2","name":"v2"},{"id":"3","name":"v3"}]},{"id":"1","name":"Example Field 1","multiple":false,"required":false,"supported":true,"allowedValues":[]},{"id":"1","name":"Example Field 2","multiple":true,"required":false,"supported":true,"allowedValues":[{"id":"100","name":"option 1"},{"id":"298","name":"option 2"}]}]}]}]}}}}},"/projects/{id}/sourceCode/excludeSettings":{"get":{"tags":["GENERAL"],"summary":"Set project's exclude folders/files patterns","operationId":"ExcludeSettings_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetExcludeSettingsDto"}},"404":{"description":"Not Found"}}},"put":{"tags":["GENERAL"],"summary":"Set project's exclude folders/files patterns","operationId":"ExcludeSettings_PutByidexcludeSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific project","required":true,"type":"integer","format":"int64"},{"name":"excludeSettings","in":"body","description":"Exclude folders/files pattern settings","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.ExcludeSettingsDto"}}],"responses":{"200":{"description":"Ok","schema":{"type":"object"}},"404":{"description":"Not Found"}}}},"/projects/{id}/sourceCode/remoteSettings/git":{"get":{"tags":["GENERAL"],"summary":"Gets details of GIT source settings","operationId":"GitSourceSettings_GetGitSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetGitSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as GIT","operationId":"GitSourceSettings_UpdateGitSettingsByidgitSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"gitSettings","in":"body","description":"GIT settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GitSourceSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/svn":{"get":{"tags":["GENERAL"],"summary":"Gets details of SVN source settings","operationId":"SvnSourceSettings_GetSvnSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetSvnSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as SVN","operationId":"SvnSourceSettings_UpdateSvnSettingsByidsvnSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"svnSettings","in":"body","description":"Svn settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.SvnSourceSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/tfs":{"get":{"tags":["GENERAL"],"summary":"Gets details of TFS source settings","operationId":"TfsSourceSettings_GetTfsSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetTfsSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as TFS","operationId":"TfsSourceSettings_UpdateTfsSettingsByidtfsSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"tfsSettings","in":"body","description":"TFS settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.TfsSourceSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/custom":{"get":{"tags":["GENERAL"],"summary":"Gets details of Source Pulling parameters","operationId":"CustomSourceSettings_GetCustomSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"Ok","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetCustomSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as Source Pulling","operationId":"CustomSourceSettings_UpdateCustomSettingsByidcustomSourceSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"customSourceSettings","in":"body","description":"Custom settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.CustomSourceSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/shared":{"get":{"tags":["GENERAL"],"summary":"Gets details of Shared source settings","operationId":"SharedSourceSettings_GetSharedSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetSharedSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as shared","operationId":"SharedSourceSettings_UpdateSharedSettingsByidsharedSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"sharedSettings","in":"body","description":"Shared settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.SharedSourceSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/perforce":{"get":{"tags":["GENERAL"],"summary":"Gets details of Perforce source settings","operationId":"PerforceSourceSettings_GetPerforceSettingsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.GetPerforceSourceSettingsDto"}}}},"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as perforce","operationId":"PerforceSourceSettings_UpdatePerforceSettingsByidperforceSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"perforceSettings","in":"body","description":"Perforce settings details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.PerforceSourceSettingDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects":{"get":{"tags":["GENERAL"],"summary":"Gets details of all visible projects","operationId":"ProjectsManagement_GetByprojectNameteamId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectName","in":"query","description":"Name of a specific project","required":false,"type":"string"},{"name":"teamId","in":"query","description":"Unique ID of a specific team","required":false,"type":"string"}],"responses":{"200":{"description":"Ok","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.ProjectBaseDto"}}},"404":{"description":"Not Found"}}},"post":{"tags":["GENERAL"],"summary":"Creates a new project with default preset and configuration settings","operationId":"ProjectsManagement_PostByproject","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"project","in":"body","description":"Project details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.SaveProjectDto"}}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"}}}},"/reports/sastScan":{"post":{"tags":["GENERAL"],"summary":"Register a new scan report","operationId":"Reports_PostByreportRequest","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"reportRequest","in":"body","description":"Report type options: PDF, RTF, CSV, XML","required":true,"schema":{"$ref":"#/definitions/Cx.Reports.SastScan.Presentation.Dtos.SastReportRequestDTO"}}],"responses":{"202":{"description":"Accepted","schema":{"$ref":"#/definitions/Cx.Reports.SastScan.Presentation.Dtos.CreateReportResponseDto"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/branch":{"post":{"tags":["GENERAL"],"summary":"Branch an existing project","operationId":"BranchProjects_BranchByidproject","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific project","required":true,"type":"integer","format":"int64"},{"name":"project","in":"body","description":"Branched Project details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.BranchProjectDto"}}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/dataRetentionSettings":{"post":{"tags":["GENERAL"],"summary":"Set project's data retention settings","operationId":"DataRetentionSettings_UpdateDataRetentionSettingsByiddataRetentionSettingsDto","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"dataRetentionSettingsDto","in":"body","description":"Data retention settings","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.DataRetentionSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/attachments":{"post":{"tags":["GENERAL"],"summary":"Upload a zipped source code","operationId":"LocalSourceSettings_UploadSourceCodeByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer"},{"name":"zippedSource","in":"formData","description":"Zipped source code to scan","required":false,"type":"file"}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/issueTrackingSettings/jira":{"post":{"tags":["GENERAL"],"summary":"Set project's issue tracking system as JIRA","operationId":"JiraIssueTrackingSettings_UpdateJiraSettingsByidjiraSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"},{"name":"jiraSettings","in":"body","description":"JIRA issue tracking details","required":true,"schema":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.JiraIssueTrackingSettingsDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/git/ssh":{"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as GIT which uses SSH protocol","operationId":"GitSourceSettings_UpdateGitSettingsByidgitSshSettings.urlgitSshSettings.branch","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer"},{"name":"url","in":"formData","description":"The URL which is used to connect to GIT repository","required":true,"type":"string"},{"name":"branch","in":"formData","description":"The branch of a GIT repository","required":true,"type":"string"},{"name":"privateKey","in":"formData","description":"Private key which is used to connect to GIT repository using SSH protocol","required":false,"type":"file"}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/projects/{id}/sourceCode/remoteSettings/svn/ssh":{"post":{"tags":["GENERAL"],"summary":"Set project's remote source settings as SVN which uses SSH protocol","operationId":"SvnSourceSettings_UpdateSvnSettingsByidsvnSshSettings.absoluteUrlsvnSshSettings.portsvnSshSettings.paths","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific project","required":true,"type":"integer"},{"name":"absoluteUrl","in":"formData","description":"The URL which is used to connect to SVN repository","required":true,"type":"string"},{"name":"port","in":"formData","description":"The port number of SVN repository Url","required":true,"type":"integer"},{"name":"paths","in":"formData","description":"The paths of a SVN repository, seperated by \";\"","required":true,"type":"string"},{"name":"privateKey","in":"formData","description":"Private key which is used to connect to SVN repository using SSH protocol","required":false,"type":"file"}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/osa/fileextensions":{"get":{"tags":["OSA"],"summary":"Get all supported Open Source file extensions","operationId":"OsaFileExtensions_Get","consumes":["application/json;v=1.0"],"produces":["text/plain;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"string"}}}}},"/osa/scans/{scanId}":{"get":{"tags":["OSA"],"summary":"Returns basic scan details for a specified scan","operationId":"OsaScanRequests_GetByscanId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"path","description":"Unique ID of the specific scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.BasicScanDTO"}}}}},"/osa/reports":{"get":{"tags":["OSA"],"summary":"Returns a Json summary report for the specified scan Id","operationId":"OsaScanReports_GetByscanId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"query","description":"Unique Id of the specific scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/System.Net.Http.ByteArrayContent"}}}}},"/osa/licenses":{"get":{"tags":["OSA"],"summary":"Returns the licenses associated with the given scan request","operationId":"OsaLicenses_GetLicensesByscanId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"query","description":"Unique ID of the specific scan","required":true,"type":"string","format":"uuid"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.OsaLicenseDto"}}}}}},"/osa/vulnerabilities/{vulnerabilityId}/comments":{"get":{"tags":["OSA"],"summary":"Returns a list of comments associated with the instances of the given vulnerability","operationId":"OsaVulnerabilities_GetVulnerabilityCommentsByvulnerabilityIdprojectId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"vulnerabilityId","in":"path","description":"Unique Id of the specific scanned vulnerability","required":true,"type":"string"},{"name":"projectId","in":"query","description":"Unique Id of the specific project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"","schema":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.Responses.VulnerabilityCommentDto"}}}}},"/osa/libraries":{"get":{"tags":["OSA"],"summary":"Returns all the used libraries for the specified scan Id","operationId":"OsaLibraries_GetByscanIdpageitemsPerPage","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"query","description":"Unique Id of the specific scan","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Page number (default 1)","required":false,"type":"integer","format":"int32"},{"name":"itemsPerPage","in":"query","description":"Number of items per page (default 100)","required":false,"type":"integer","format":"int32"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.Responses.V1.ScannedLibraryDTO"}}}}}},"/osa/vulnerabilities":{"get":{"tags":["OSA"],"summary":"Returns all the vulnerabilities for the specified scan Id. Each vulnerability returned is unique to its library or file.","operationId":"OsaVulnerabilities_GetByscanIdpageitemsPerPagelibraryIdstateIdcommentsinceuntil","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"query","description":"Unique Id of the specific scan","required":true,"type":"string","format":"uuid"},{"name":"page","in":"query","description":"Page number","required":false,"type":"integer","format":"int32"},{"name":"itemsPerPage","in":"query","description":"Amount of items returned by the request","required":false,"type":"integer","format":"int32"},{"name":"libraryId","in":"query","description":"Filter by library Ids","required":false,"type":"array","items":{"type":"string"},"collectionFormat":"multi"},{"name":"stateId","in":"query","description":"Filter by state Ids","required":false,"type":"array","items":{"type":"integer","format":"int32"},"collectionFormat":"multi"},{"name":"comment","in":"query","description":"Filter by a comment containing the text","required":false,"type":"string"},{"name":"since","in":"query","description":"Filter not erlier that the given unix-timestamp value","required":false,"type":"integer","format":"int64"},{"name":"until","in":"query","description":"Filter not after the given unix-timestamp value","required":false,"type":"integer","format":"int64"}],"responses":{"200":{"description":"","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.Responses.V1.VulnerabilityDTO"}}}}}},"/sast/presets":{"get":{"tags":["SAST"],"summary":"Get details of all presets","operationId":"Presets_GetAllPresets","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/sast/scans/{id}":{"get":{"tags":["SAST"],"summary":"Gets details of a specific Scan","operationId":"SastScans_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific scan","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.SastScansDto"}}}},"delete":{"tags":["SAST"],"summary":"Delete a specific Scan","operationId":"SastScans_DeleteByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific scan","required":true,"type":"integer","format":"int64"}],"responses":{"202":{"description":"Accepted","schema":{"type":"object"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"patch":{"tags":["SAST"],"summary":"Creates or overrides comment of existing scan","operationId":"SastScans_PatchByidupdatedScanDto","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a scan the comment to add for","required":true,"type":"integer","format":"int64"},{"name":"updatedScanDto","in":"body","description":"Comment's content","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.SaveScanCommentDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}}}}},"/sast/presets/{id}":{"get":{"tags":["SAST"],"summary":"Get details of specific preset","operationId":"Presets_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific preset","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"type":"object"}}}}},"/sast/engineServers":{"get":{"tags":["SAST"],"summary":"Gets details of all Engine Servers","operationId":"EngineServersV1EngineServers_Get","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.EngineServers.ApplicationContracts.DTOs.EngineServerResponsDtoEngineServerResponse10Dto"}},"examples":[{"id":1,"name":"string","uri":"string","minLoc":0,"maxLoc":1,"maxScans":1,"cxVersion":"string","status":{"id":0,"value":"string"}}]}}},"post":{"tags":["SAST"],"summary":"Registers an Engine Server","operationId":"EngineServersV1EngineServers_PostByengineServer","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"engineServer","in":"body","description":"Engine Server details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.EngineServers.ApplicationContracts.DTOs.EngineServerDTO"}}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/Cx.Sast.EngineServers.Presentation.Dtos.CreateEngineServerDto"}},"400":{"description":"Bad Request"}}}},"/sast/scansQueue/{id}":{"get":{"tags":["SAST"],"summary":"Gets details of a scan in queue","operationId":"ScansQueueV1_GetScanQueueByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Filters the Scans Queue by an unique ID of a specific scan","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"","schema":{"type":"object"},"examples":{"id":1,"stage":{"id":7,"value":"Finished"},"stageDetails":"Stage # 23 of 33","stepDetails":"Stage # 23 of 33","project":{"id":1,"name":"LocalProject","link":{"rel":"project","uri":"/projects/2"}},"engine":{"id":1,"link":{"rel":"engine-server","uri":"/sast/engineServers/1"}},"languages":[{"id":2,"name":"Java"},{"id":8,"name":"JavaScript"}],"teamId":"00000000-3333-1111-b111-989c9070eb11","dateCreated":"2018-01-08T12:16:38.293","queuedOn":"2018-01-08T12:16:55.587","engineStartedOn":"2018-01-08T12:17:13.73","completedOn":"2018-01-08T12:19:13.73","loc":2700,"isIncremental":false,"isPublic":true,"origin":"Web Portal","queuePosition":1,"totalPercent":2,"stagePercent":31,"initiator":"userName"}}}},"patch":{"tags":["SAST"],"summary":"Update status of a scan in queue","operationId":"ScansQueueV1_PatchScansQueueByidscanRequest","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique ID of a specific scan in the queue","required":true,"type":"integer","format":"int64"},{"name":"scanRequest","in":"body","description":"ScanRequest data that is needed to be updated, Status options: Canceled","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.PatchScansQueue"}}],"responses":{"200":{"description":"","schema":{"type":"object"}}}}},"/sast/engineServers/{id}":{"get":{"tags":["SAST"],"summary":"Gets details of a specific Engine Server","operationId":"EngineServersV1EngineServers_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific Engine Server","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.EngineServers.ApplicationContracts.DTOs.EngineServerResponsDtoEngineServerResponse10Dto"},"examples":{"id":1,"name":"string","uri":"string","minLoc":0,"maxLoc":1,"maxScans":1,"cxVersion":"string","status":{"id":0,"value":"string"}}},"404":{"description":"Not Found"}}},"put":{"tags":["SAST"],"summary":"Updates an Engine Server","operationId":"EngineServersV1EngineServers_PutByidengineServer","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific Engine Server","required":true,"type":"integer","format":"int64"},{"name":"engineServer","in":"body","description":"Engine Server details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.EngineServers.ApplicationContracts.DTOs.EngineServerDTO"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"delete":{"tags":["SAST"],"summary":"Unregisters an Engine Server","operationId":"EngineServersV1EngineServers_DeleteByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific Engine Server","required":true,"type":"integer","format":"int64"}],"responses":{"204":{"description":"Deleted","schema":{"type":"object"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}},"patch":{"tags":["SAST"],"summary":"Updates an Engine Server by edit single field","operationId":"EngineServersV1EngineServers_PatchByidengineServer","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific Engine Server","required":true,"type":"integer","format":"int64"},{"name":"engineServer","in":"body","description":"Engine Server details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.EngineServers.ApplicationContracts.Models.EngineServerPatchModel"}}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"},"404":{"description":"Not Found"}}}},"/sast/engineConfigurations":{"get":{"tags":["SAST"],"summary":"Gets engine configurations list","operationId":"EngineConfigurations_Get","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.ScanSettings.Application.Dtos.EngineConfigurationDto"}}}}}},"/sast/scanSettings/{projectId}":{"get":{"tags":["SAST"],"summary":"Gets the scan settings","operationId":"ScanSettings_GetByprojectId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectId","in":"path","description":"Unique Id of the specific Project","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.ScanSettingsResponseDto"}},"400":{"description":"Bad Request"}}}},"/sast/engineConfigurations/{id}":{"get":{"tags":["SAST"],"summary":"Gets a specific engine configuration by id","operationId":"EngineConfigurations_GetByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"Unique Id of the specific Engine Configuration","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.ScanSettings.Application.Dtos.EngineConfigurationDto"}},"400":{"description":"Not Found"}}}},"/sast/scans/{id}/resultsStatistics":{"get":{"tags":["SAST"],"summary":"Get the results statistics of a specific scan","operationId":"SastScans_GetResultsStatisticsByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"id","in":"path","description":"","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ResultsStatisticsDto"}}}}},"/sast/scansQueue":{"get":{"tags":["SAST"],"summary":"Gets scans in queue list","operationId":"ScansQueueV1_GetScansQueueByprojectId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectId","in":"query","description":"Filters the Scans Queue by an unique ID of a specific project","required":false,"type":"integer","format":"int64"}],"responses":{"200":{"description":"","schema":{"type":"object"},"examples":[{"id":1,"stage":{"id":7,"value":"Finished"},"stageDetails":"Stage # 23 of 33","stepDetails":"Stage # 23 of 33","project":{"id":1,"name":"LocalProject","link":{"rel":"project","uri":"/projects/2"}},"engine":{"id":1,"link":{"rel":"engine-server","uri":"/sast/engineServers/1"}},"languages":[{"id":2,"name":"Java"},{"id":8,"name":"JavaScript"}],"teamId":"00000000-3333-1111-b111-989c9070eb11","dateCreated":"2018-01-08T12:16:38.293","queuedOn":"2018-01-08T12:16:55.587","engineStartedOn":"2018-01-08T12:17:13.73","completedOn":"2018-01-08T12:19:13.73","loc":2700,"isIncremental":false,"isPublic":true,"origin":"Web Portal","queuePosition":1,"totalPercent":2,"stagePercent":31,"initiator":"userName"}]}}}},"/sast/scans/{idscanId}/results/{pathIdresultId}/shortDescriptionlabels":{"get":{"tags":["SAST"],"summary":"GetsGet a scan result’sresult shortlabels vulnerability descriptionfields","operationId":"SastResultDescriptionSastResultLabels_GetShortDescriptionByidpathIdGetByscanIdresultId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"idscanId","in":"path","description":"Unique Id of thea scan","required":true,"type":"integer","format":"int64"},{"name":"pathIdresultId","in":"path","description":"Unique Id of the result path","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"No Content","schema":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Models.GetResultShortDescriptionModelResultLabelGetModel"}}}},"400patch":{"descriptiontags":["Bad RequestSAST"}],"403summary":{"description"Update scan result labels fields","operationId":"ForbiddenSastResultLabels_PatchLabelByscanIdresultIdresultData"},"404consumes":{"description["application/json;v=1.0"],"produces":"Not Found"}}}},"/sast/projects/{id}/publisher/policyFindings/status":{"get":{"tags":["SAST"],"summary":"Get the project status of the scan results publishing process","operationId":"ResultsPublisher_GetStatusByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[["application/json;v=1.0"],"parameters":[{"name":"scanId","in":"path","description":"Unique Id of a scan","required":true,"type":"integer","format":"int64"},{"name":"idresultId","in":"path","description":"Unique Id of the specificresult projectpath","required":true,"type":"integer","format":"int64"},{"name":"resultData","in":"body","description":"Result label details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Models.ResultLabelPatchModel"}}],"responses":{"200":{"description":"OKNo Content","schema":{"$ref":"#/definitions/Cx.Sast.ResultsPublisherResults.Presentation.DTOsModels.StatusDtoResultLabelPatchModel"}}}}},"/sast/scans/{id}/results/{pathId}/shortDescription":{"get":{"tags":["SAST"],"summary":"Gets a collectionscan ofresult’s scansshort Byvulnerability Projectdescription","operationId":"SastScansSastResultDescription_GetScansBylastscanStatusprojectIdGetShortDescriptionByidpathId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"lastid","in":"querypath","description":"AmountUnique Id of the latest scansscan","required":falsetrue,"type":"integer","format":"int32int64"},{"name":"scanStatuspathId","in":"querypath","description":"SpecifiesUnique Id of the scanresult stagepath","required":falsetrue,"type":"stringinteger","enumformat":["Scanning","Finished","Canceled","Failed"]},{"name":"projectId","in":"query","int64"}],"responses":{"200":{"description":"Unique ID of a specific projectNo Content","requiredschema":false,{"type$ref":"integer","format":"int64"}],"responses":{"200#/definitions/Cx.Sast.Results.Presentation.Models.GetResultShortDescriptionModel"}},"400":{"description":"OKBad Request"},"schema403":{"typedescription":"arrayForbidden"},"items404":{"$refdescription":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.SastScansDtoNot Found"}}}}},"post,"/sast/projects/{id}/publisher/policyFindings/status":{"get":{"tags":["SAST"],"summary":"CreatesGet athe new scanproject status of the scan results publishing process","operationId":"SastScansResultsPublisher_PostByscanGetStatusByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanid","in":"bodypath","description":"Scan detailsUnique Id of the specific project","required":true,"schematype":{"$ref"integer","format":"#/definitions/Cx.Sast.ScanExecution.ApplicationContracts.DTOs.SastScanRequestWriteDTO"}int64"}],"responses":{"201200":{"description":"CreatedOK","schema":{"$ref":"#/definitions/Cx.SuperTypesResultsPublisher.APIPresentation.DtosDTOs.LinkedResourceStatusDto"}},"400":{"description":"Bad Request"}}}},"/sast/results/attack-vectorsscans":{"get":{"tags":["SAST"],"summary":"Get the scan results for Gets a specificcollection queryof inscans Attack Vector format. This format includes all nodes.By Project","operationId":"SastResultsSastScans_GetAttackVectorsByscanIdqueryVersionGetScansBylastscanStatusprojectId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanIdlast","in":"query","description":"UniqueAmount IDof ofthe alatest scanscans","required":truefalse,"type":"integer","format":"int64int32"},{"name":"queryVersionscanStatus","in":"query","description":"QuerySpecifies the versionscan codestage","required":truefalse,"type":"integerstring","formatenum":"int64"}]["Scanning","Finished","responsesCanceled":{,"200Failed":]},{"descriptionname":"OKprojectId","schemain":{""query","description":"Unique ID of a specific project","required":false,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.ResultsScanExecution.Presentation.ModelsDtos.GetAttackVectorsModelSastScansDto"}}}}},"/sast/results/attack-vectors-by-bfl":{"getpost":{"tags":["SAST"],"summary":"Get the scan results forCreates a specific query in Attack Vector format grouped by BFL (Best Fix Location node).new scan","operationId":"SastResultsSastScans_GetAttackVectorsBFLByscanIdqueryVersionPostByscan","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanIdscan","in":"querybody","description":"Unique ID of a scanScan details","required":true,"typeschema":{"integer","format$ref":"int64#/definitions/Cx.Sast.ScanExecution.ApplicationContracts.DTOs.SastScanRequestWriteDTO"},{"name":"queryVersion","in":"query","description":"Query version code","required":true,"type":"integer","format":"int64"}],"}],"responses":{"200201":{"description":"OKCreated","schema":{"$ref":"#/definitions/Cx.SastSuperTypes.ResultsAPI.PresentationDtos.Models.GetAttackVectorsByBFLModelLinkedResource"}},"400":{"description":"Bad Request"}}}},"/sast/scanSettingsresults/attack-vectors":{"putget":{"tags":["SAST"],"summary":"UpdateGet the scan settingsresults for a specific query in Attack Vector format. This format includes all nodes.","operationId":"ScanSettingsSastResults_PutByscanSettingsGetAttackVectorsByscanIdqueryVersion","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanSettingsscanId","in":"bodyquery","description":"Scan settings detailsUnique ID of a scan","required":true,"schematype":{"$ref"integer","format":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.ScanSettingsRequestDtoint64"}}],{"responsesname":{"200queryVersion":{,"descriptionin":"OKquery","schemadescription":{"$ref":""Query version code","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.SuperTypesResults.APIPresentation.DtosModels.LinkedResourceGetAttackVectorsModel"}}}}},"400/sast/results/attack-vectors-by-bfl":{"descriptionget":"Bad Request"}}},"post":{"tags":["SAST"],"summary":"DefineGet the scan settings results for a specific query in Attack Vector format grouped by BFL (Best Fix Location node).","operationId":"ScanSettingsSastResults_PostByscanSettingsGetAttackVectorsBFLByscanIdqueryVersion","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanSettingsscanId","in":"bodyquery","description":"Scan settings detailsUnique ID of a scan","required":true,"schematype":{"$ref"integer","format":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.ScanSettingsRequestDto"}}],"responses":{"200":{"description":"OK","int64"},{"name":"queryVersion","in":"query","description":"Query version code","required":true,"type":"integer","format":"int64"}],"responses":{"200":{"description":"OK","schema":{"$ref":"#/definitions/Cx.Sast.SuperTypesResults.APIPresentation.DtosModels.LinkedResourceGetAttackVectorsByBFLModel"}},"400":{"description":"Bad Request"}}}},"/sast/project/{projectId}/schedulingscanSettings":{"put":{"tags":["SAST"],"summary":"DefineUpdate the project's scans schedulingscan settings","operationId":"ProjectSchedulerScanSettings_PutByprojectIdscansSchedulingPutByscanSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectId","in":"path","description":"Project ID","required":true,"type":"integer","format":"int32"},{"name":"scansSchedulingscanSettings","in":"body","description":"Scan schedulingsettings details","required":true,"schema":{"$ref":"#/definitions/Scheduler.Api.ViewModels.ProjectScansSchedulingViewModelCx.Sast.ScanSettings.Presentation.Dtos.ScanSettingsRequestDto"}}],"responses":{"204200":{"description":"NoContentOK","schema":{"type$ref":"object#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"}}}},"/sast/results/tickets":{"post":{"tags":["SAST"],"summary":"Attach ticket id toDefine the scan resultssettings","operationId":"SastResultTicketsScanSettings_SaveByresultsTicketPostByscanSettings","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"resultsTicketscanSettings","in":"body","description":"ResultScan ticketsettings details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.ResultsScanSettings.Presentation.Dtos.SaveResultsTicketDtoScanSettingsRequestDto"}}],"responses":{"204200":{"description":"No ContentOK","schema":{"type$ref":"object#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{"description":"Bad Request"}}}},"/sast/scanWithSettings/project/{projectId}/scheduling":{"postput":{"tags":["SAST"],"summary":"Creates a new scanDefine the project's scans scheduling","operationId":"ScanWithSettings_StartScanByscanSettingsExtRequestDto.projectIdscanSettingsExtRequestDto.overrideProjectSettingscanSettingsExtRequestDto.isIncrementalscanSettingsExtRequestDto.isPublicscanSettingsExtRequestDto.forceScanscanSettingsExtRequestDto.commentscanSettingsExtRequestDto.presetIdscanSettingsExtRequestDto.engineConfigurationIdProjectScheduler_PutByprojectIdscansScheduling","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"projectId","in":"formDatapath","description":"Specifies the Unique Id of the specific project to be scannedProject ID","required":true,"type":"integer","format":"int32"},{"name":"overrideProjectSettingscansScheduling","in":"formDatabody","description":"SpecifiesScan whether to overwrite project settings. If set to false or empty, overwrite is determined by configuration value \"OverrideProjectSetting\" in dbo.CxComponentConfiguration"scheduling details","required":falsetrue,"typeschema":{"boolean","default$ref":"false#/definitions/Scheduler.Api.ViewModels.ProjectScansSchedulingViewModel"}}],{"nameresponses":{"isIncremental","in204":"formData",{"description":"Specifies whether the scan is incremental of fullNoContent","requiredschema":false,{"type":"booleanobject"}},"400":{"defaultdescription":"falseBad Request"}}}},{"name"/sast/results/tickets":{"isPublicpost",:{"intags":["formDataSAST"],"descriptionsummary":"SpecifiesAttach whetherticket theid requestedto scan is public or privateresults","requiredoperationId":false"SastResultTickets_SaveByresultsTicket","typeconsumes":"boolean"["application/json;v=1.0"],"defaultproduces":"true"},["application/json;v=1.0"],"parameters":[{"name":"forceScanresultsTicket","in":"formDatabody","description":"SpecifiesResult whether the code should be scanned regardless of unchanged codeticket details","required":falsetrue,"typeschema":{"boolean","default":"true"},{"name":"comment","in":"formData","description":"Specifies the scan comment","required":false,"type":"string"},$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.SaveResultsTicketDto"}}],"responses":{"204":{"description":"No Content","schema":{"type":"object"}},"400":{"description":"Bad Request"}}}},"/sast/scanWithSettings":{"post":{"tags":["SAST"],"summary":"Creates a new scan","operationId":"ScanWithSettings_StartScanByscanSettingsExtRequestDto.projectIdscanSettingsExtRequestDto.overrideProjectSettingscanSettingsExtRequestDto.isIncrementalscanSettingsExtRequestDto.isPublicscanSettingsExtRequestDto.forceScanscanSettingsExtRequestDto.commentscanSettingsExtRequestDto.presetIdscanSettingsExtRequestDto.engineConfigurationId","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"presetIdprojectId","in":"formData","description":"SpecifySpecifies the presetUnique idId toof use during the scan,specific 0project =to use project's defaultbe scanned","required":falsetrue,"type":"integer"},{"name":"engineConfigurationIdoverrideProjectSetting","in":"formData","description":"Specify the engine-configuration to use during the scan, 0 = use project's defaultSpecifies whether to overwrite project settings. If set to false or empty, overwrite is determined by configuration value \"OverrideProjectSetting\" in dbo.CxComponentConfiguration","required":false,"type":"boolean","default":"integerfalse"},{"name":"zippedSourceisIncremental","in":"formData","description":"source ZipSpecifies whether the scan is incremental of full","required":false,"type":"fileboolean"}],"responsesdefault":{"201false":},{"descriptionname":"CreatedisPublic","schemain":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}},"400":{""formData","description":"Bad Request"},"404":{"description":"Not Found"}}}},"/sast/dataRetention/stop":{"post":{"tags":["SAST"],"summary":"Stops data retention execution","operationId":"DataRetention_Post","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"202":{"description":"Accepted","schema":{"type":"object"}}}}},"/sast/dataRetention/byDateRange":{"post":{"tags":["SAST"],"summary":"Starts data retention execution, by given date range","operationId":"DataRetention_PostBydataRetentionByDates","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"dataRetentionByDatesSpecifies whether the requested scan is public or private","required":false,"type":"boolean","default":"true"},{"name":"forceScan","in":"formData","description":"Specifies whether the code should be scanned regardless of unchanged code","required":false,"type":"boolean","default":"true"},{"name":"comment","in":"formData","description":"Specifies the scan comment","required":false,"type":"string"},{"name":"presetId","in":"formData","description":"Specify the preset id to use during the scan, 0 = use project's default","required":false,"type":"integer"},{"name":"engineConfigurationId","in":"formData","description":"Specify the engine-configuration to use during the scan, 0 = use project's default","required":false,"type":"integer"},{"name":"zippedSource","in":"bodyformData","description":"Specify the data retention by dates range settingssource Zip","required":truefalse,"type":"file"}],"responses":{"201":{"description":"Created","schema":{"$ref":"#/definitions/DataRetentionCx.SuperTypes.PresentationAPI.DtoDtos.DataRetentionByDatesDtoLinkedResource"}}],"responses":{"202400":{"description":"AcceptedBad Request"},"schema404":{"typedescription":"objectNot Found"}}}}},"/sast/dataRetention/byNumberOfScansstop":{"post":{"tags":["SAST"],"summary":"StartsStops data retention execution, by given number of last successful scans","operationId":"DataRetention_PostBydataRetentionByNumberOfScansPost","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"responses":{"parameters202":[{"namedescription":"dataRetentionByNumberOfScansAccepted","inschema":{"type":"bodyobject"}}}}},"description/sast/dataRetention/byDateRange":"Specify the{"post":{"tags":["SAST"],"summary":"Starts data retention execution, by number of last successful scans given date range","operationId":"DataRetention_PostBydataRetentionByDates","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"dataRetentionByDates","in":"body","description":"Specify the data retention by dates range settings","required":true,"schema":{"$ref":"#/definitions/DataRetention.Presentation.Dto.DataRetentionByAmountDtoDataRetentionByDatesDto"}}],"responses":{"202":{"description":"Accepted","schema":{"type":"object"}}}}},"/sast/projects/{id}/publisher/policyFindingsdataRetention/byNumberOfScans":{"post":{"tags":["SAST"],"summary":"Publish project’sStarts data retention execution, by given number of last scansuccessful resultsscans","operationId":"ResultsPublisherDataRetention_PublishByidPostBydataRetentionByNumberOfScans","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"iddataRetentionByNumberOfScans","in":"pathbody","description":"Unique IdSpecify the data retention by number of last thesuccessful specificscans projectsettings","required":true,"typeschema":{"integer$ref","format":"int64#/definitions/DataRetention.Presentation.Dto.DataRetentionByAmountDto"}}],"responses":{"201202":{"description":"CreatedAccepted","schema":{"$reftype":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResourceobject"}}}}},"/sast/results/projects/{id}/publisher/policyFindings":{"patchpost":{"tags":["SAST"],"summary":"UpdatePublish the Iast Correlation score between IAST and SASTproject’s last scan results.","operationId":"SastResultsResultsPublisher_UpdateResultsCorrelationByiastResultsCorrelationUpdateModelsPublishByid","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"iastResultsCorrelationUpdateModelsid","in":"bodypath","description":"Unique Id of the specific project","required":true,"schema":{"type":"arrayinteger","itemsformat":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Models.IastResultsCorrelationUpdateModel"}}int64"}],"responses":{"200201":{"description":"OKCreated","schema":{"type$ref":"object"}},"500":{"description":"Internal Server Error"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"}}}}},"/sast/scans/{scanId}/results/{resultId}":{"patch":{"tags":["SAST"],"summary":"Update scan result labels fields the Iast Correlation score between IAST and SAST scan results.","operationId":"SastResultLabelsSastResults_PatchByscanIdresultIdresultDataUpdateResultsCorrelationByiastResultsCorrelationUpdateModels","consumes":["application/json;v=1.0"],"produces":["application/json;v=1.0"],"parameters":[{"name":"scanIdiastResultsCorrelationUpdateModels","in":"pathbody","description":"Unique Id of a scan","required":true,"type":"integer","formatschema":"int64"},{"name":"resultId","in":"path","description":"Unique Id of the result path","required":true,"type":"integerarray","formatitems":"int64"},{"name":"resultData","in":"body","description":"Result label details","required":true,"schema":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Models.ResultLabelPatchModelIastResultsCorrelationUpdateModel"}}}],"responses":{"200":{"description":"No ContentOK","schema":{"$reftype":"#/definitions/Cx.Sast.Results.Presentation.Models.ResultLabelPatchModel"}object"}},"500":{"description":"Internal Server Error"}}}}},"definitions":{"Cx.CustomTasks.Presentation.Dtos.GetCustomTaskDto":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"type":{"type":"string"},"data":{"type":"string"},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.SuperTypes.API.Dtos.LinkDtoBase":{"type":"object","properties":{"rel":{"type":"string","readOnly":true},"uri":{"type":"string","readOnly":true}}},"Cx.CustomFields.Api.ViewModels.CustomFieldViewModel":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.ProjectBaseDto":{"type":"object","properties":{"id":{"format":"int64","type":"integer","readOnly":true},"teamId":{"format":"int32","type":"integer","readOnly":true},"name":{"type":"string","readOnly":true},"isPublic":{"type":"boolean"},"sourceSettingsLink":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDto"},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.SuperTypes.API.Dtos.LinkDto":{"type":"object","properties":{"type":{"type":"string"},"rel":{"type":"string","readOnly":true},"uri":{"type":"string","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.UpdateFullProjectDto":{"required":["name","owningTeam","customFields"],"type":"object","properties":{"name":{"description":"Specifies the name of the project","type":"string"},"owningTeam":{"format":"int32","description":"Specifies the team id which owns the project","type":"integer"},"customFields":{"description":"Specifies the custom fields in a project","type":"array","items":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UpdateCustomFieldDto"}}}},"Cx.ProjectManagement.Presentation.Dtos.UpdateCustomFieldDto":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"value":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.UpdateProjectDto":{"type":"object","properties":{"name":{"description":"Specifies the name of the project","type":"string"},"owningTeam":{"format":"int32","description":"Specifies the team id which owns the project","type":"integer"}},"example":{"name":"SomeProject","owningTeam":12345678}},"Cx.ProjectManagement.Presentation.Dtos.DeleteProjectDto":{"type":"object","properties":{"deleteRunningScans":{"description":"Specifies whether the running scans must be deleted","type":"boolean"}},"example":{"deleteRunningScans":true}},"Cx.IssueTrackingSystems.Presentation.Dtos.GetIssueTrackingSystemDto":{"type":"object","properties":{"id":{"format":"int64","description":"The specific Id of issue tracking system","type":"integer","readOnly":true},"name":{"description":"The name of issue tracking system","type":"string","readOnly":true},"type":{"description":"The type of issue tracking system (Jira)","type":"string","readOnly":true},"url":{"description":"The URL of issue tracking system","type":"string","readOnly":true}}},"Cx.CrossCutting.Configuration.DTOs.ComponentConfiguration":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"},"description":{"type":"string"}}},"Cx.CrossCutting.Configuration.Swagger.ComponentConfigurationUpdate":{"type":"object","properties":{"key":{"type":"string"},"value":{"type":"string"}},"example":{"key":"MAXIMUM_CONCURRENT_SCAN_EXECUTERS","value":"5"}},"Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingSystemMetadata":{"type":"object","properties":{"projects":{"type":"array","items":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingProjectMetadata"},"readOnly":true}}},"Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingProjectMetadata":{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"issueTypes":{"type":"array","items":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingIssueTypeMetadata"},"readOnly":true}}},"Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingIssueTypeMetadata":{"type":"object","properties":{"subtask":{"type":"boolean"},"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"fields":{"type":"array","items":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingFieldMetadata"},"readOnly":true}}},"Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingFieldMetadata":{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true},"multiple":{"type":"boolean"},"required":{"type":"boolean"},"supported":{"type":"boolean"},"allowedValues":{"type":"array","items":{"$ref":"#/definitions/Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingFieldValue"}}}},"Cx.IssueTrackingSystems.Application.Dtos.IssueTrackingFieldValue":{"type":"object","properties":{"id":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.GetExcludeSettingsDto":{"type":"object","properties":{"projectId":{"format":"int64","type":"integer"},"excludeFoldersPattern":{"type":"string"},"excludeFilesPattern":{"type":"string"},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.ProjectManagement.Presentation.Dtos.ExcludeSettingsDto":{"type":"object","properties":{"excludeFoldersPattern":{"type":"string"},"excludeFilesPattern":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.GetGitSourceSettingsDto":{"type":"object","properties":{"url":{"description":"The URL which is used to connect to GIT repository","type":"string","readOnly":true},"branch":{"description":"The branch of a GIT repository","type":"string","readOnly":true},"useSsh":{"description":"Specified whether a connection to GIT repository uses SSH protocol","type":"boolean","readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.GitSourceSettingsDto":{"required":["url","branch"],"type":"object","properties":{"url":{"description":"The URL which is used to connect to GIT repository","type":"string"},"branch":{"description":"The branch of a GIT repository","type":"string"},"privateKey":{"description":"The private key which is used to connect to GIT repository using SSH protocol","type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.GetSvnSourceSettingsDto":{"type":"object","properties":{"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.PartialUriDto","description":"Specifies the Uri of SVN repository","readOnly":true},"paths":{"description":"Specifies the list of paths to scan at SVN repository","type":"array","items":{"type":"string"},"readOnly":true},"useSsh":{"description":"Specified whether a connection to SVN repository uses SSH protocol","type":"boolean","readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.PartialUriDto":{"type":"object","properties":{"absoluteUrl":{"description":"Specifies the absolute url","type":"string"},"port":{"format":"int32","description":"Specifies the port number of this Uri","type":"integer"}}},"Cx.ProjectManagement.Presentation.Dtos.SvnSourceSettingsDto":{"required":["uri","paths"],"type":"object","properties":{"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UriDto","description":"Specifies the Uri of SVN repository"},"paths":{"description":"Specifies the list of paths to scan at SVN repository","type":"array","items":{"type":"string"}},"credentials":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.OptionalCredentialsDto","description":"Specifies credentials for password-based authentication against SVN repository"},"privateKey":{"description":"The private key which is used to connect to SVN repository using SSH protocol","type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.UriDto":{"required":["absoluteUrl","port"],"type":"object","properties":{"absoluteUrl":{"description":"Specifies the absolute url","type":"string"},"port":{"format":"int32","description":"Specifies the port number of this Uri","maximum":65535,"minimum":1,"type":"integer"}}},"Cx.ProjectManagement.Presentation.Dtos.OptionalCredentialsDto":{"type":"object","properties":{"userName":{"type":"string"},"password":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.GetTfsSourceSettingsDto":{"type":"object","properties":{"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UriDto","description":"Specifies the Uri of TFS repository","readOnly":true},"paths":{"description":"Specifies the list of paths to scan at TFS repository","type":"array","items":{"type":"string"},"readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.TfsSourceSettingsDto":{"required":["uri","paths"],"type":"object","properties":{"credentials":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.CredentialsDto","description":"Specifies credentials for password-based authentication against TFS repository"},"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UriDto","description":"Specifies the Uri of TFS repository"},"paths":{"description":"Specifies the list of paths to scan at TFS repository","type":"array","items":{"type":"string"}}}},"Cx.ProjectManagement.Presentation.Dtos.CredentialsDto":{"required":["userName","password"],"type":"object","properties":{"userName":{"type":"string"},"password":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.GetCustomSourceSettingsDto":{"type":"object","properties":{"path":{"type":"string","readOnly":true},"pullingCommandId":{"format":"int64","type":"integer","readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.CustomSourceSettingsDto":{"required":["credentials"],"type":"object","properties":{"path":{"type":"string","readOnly":true},"preScanCommandId":{"format":"int64","type":"integer","readOnly":true},"credentials":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.CredentialsDto"}}},"Cx.ProjectManagement.Presentation.Dtos.GetSharedSourceSettingsDto":{"type":"object","properties":{"paths":{"type":"array","items":{"type":"string"},"readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.SharedSourceSettingsDto":{"required":["paths","credentials"],"type":"object","properties":{"paths":{"type":"array","items":{"type":"string"}},"credentials":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.CredentialsDto"}}},"Cx.ProjectManagement.Presentation.Dtos.GetPerforceSourceSettingsDto":{"type":"object","properties":{"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UriDto","description":"Specifies the Uri of SVN repository","readOnly":true},"paths":{"description":"Specifies the list of paths to scan at SVN repository","type":"array","items":{"type":"string"},"readOnly":true},"browseMode":{"description":"Specifies the browse mode of Perforce repository","type":"string","readOnly":true},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","description":"Link to the resource","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.PerforceSourceSettingDto":{"required":["paths","browseMode"],"type":"object","properties":{"credentials":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.CredentialsDto","description":"Specifies credentials for password-based authentication against Perforce repository"},"uri":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.UriDto","description":"Specifies the Uri of Perforce repository"},"paths":{"description":"Specifies the list of paths to scan at Perforce repository","type":"array","items":{"type":"string"}},"browseMode":{"description":"Specifies the browse mode of Perforce repository","type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.SaveProjectDto":{"required":["owningTeam","isPublic"],"type":"object","properties":{"name":{"description":"Specifies the name of the project","type":"string"},"owningTeam":{"description":"Specifies the team id which owns the project","type":"string"},"isPublic":{"description":"Specifies whether the project public or not","type":"boolean"}},"example":{"name":"SomeProject","owningTeam":"1","isPublic":true}},"Cx.SuperTypes.API.Dtos.LinkedResource":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Reports.SastScan.Presentation.Dtos.SastReportRequestDTO":{"required":["reportType","scanId"],"type":"object","properties":{"reportType":{"type":"string"},"scanId":{"format":"int64","type":"integer"}}},"Cx.Reports.SastScan.Presentation.Dtos.CreateReportResponseDto":{"type":"object","properties":{"reportId":{"format":"int64","type":"integer","readOnly":true},"links":{"$ref":"#/definitions/Cx.Reports.SastScan.Presentation.Dtos.ReportLinksDto","readOnly":true}}},"Cx.Reports.SastScan.Presentation.Dtos.ReportLinksDto":{"type":"object","properties":{"report":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","readOnly":true},"status":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase","readOnly":true}}},"Cx.ProjectManagement.Presentation.Dtos.BranchProjectDto":{"required":["name"],"type":"object","properties":{"name":{"description":"Specifies the name of the project","type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.DataRetentionSettingsDto":{"type":"object","properties":{"scansToKeep":{"format":"int32","description":"The amount of scans to keep before they are deleted (set null back to default)","type":"integer"}},"example":{"scansToKeep":10}},"Cx.ProjectManagement.Presentation.Dtos.JiraIssueTrackingSettingsDto":{"required":["jiraProjectId","issueType"],"type":"object","properties":{"issueTrackingSystemId":{"format":"int64","description":"The issue tracking system Id","minimum":1,"type":"integer"},"jiraProjectId":{"description":"The specific Id of JIRA project","type":"string"},"issueType":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.JiraIssueType","description":"The JIRA project's issue type"}},"example":{"issueTrackingSystemId":1,"jiraProjectId":"12901","issueType":{"id":"123","fields":[{"id":"priority","values":["1"]},{"id":"customfield_1","values":["c1","c2"]}]}}},"Cx.ProjectManagement.Presentation.Dtos.JiraIssueType":{"required":["id"],"type":"object","properties":{"id":{"description":"Specifies the Id of issue type","type":"string"},"fields":{"description":"Specifies the list of fields associated with issue type","type":"array","items":{"$ref":"#/definitions/Cx.ProjectManagement.Presentation.Dtos.JiraField"}}}},"Cx.ProjectManagement.Presentation.Dtos.JiraField":{"required":["id"],"type":"object","properties":{"id":{"description":"Specifies the Id of field","type":"string"},"values":{"description":"Specifies the list of values or single value","type":"array","items":{"type":"string"}}}},"Cx.ProjectManagement.Presentation.Dtos.GitSourceSettingsBaseDto":{"required":["url","branch"],"type":"object","properties":{"url":{"description":"The URL which is used to connect to GIT repository","type":"string"},"branch":{"description":"The branch of a GIT repository","type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.SvnSshSourceSettingsDto":{"required":["absoluteUrl","port","paths"],"type":"object","properties":{"absoluteUrl":{"description":"The URL which is used to connect to SVN repository","type":"string"},"port":{"format":"int32","description":"The port number of SVN repository Url","type":"integer"},"paths":{"description":"The paths of a SVN repository, seperated by \";\"","type":"string"}}},"Cx.Osa.Application.DTOs.BasicScanDTO":{"type":"object","properties":{"id":{"format":"uuid","type":"string","example":"00000000-0000-0000-0000-000000000000"},"startAnalyzeTime":{"format":"date-time","type":"string"},"endAnalyzeTime":{"format":"date-time","type":"string"},"origin":{"type":"string"},"sourceCodeOrigin":{"type":"string"},"state":{"$ref":"#/definitions/Cx.Osa.Application.DTOs.StateDTO"},"sharedSourceLocationPaths":{"type":"array","items":{"type":"string"}}}},"Cx.Osa.Application.DTOs.StateDTO":{"type":"object","properties":{"id":{"format":"int32","type":"integer"},"name":{"type":"string"},"failureReason":{"type":"string"}}},"System.Net.Http.ByteArrayContent":{"type":"object","properties":{"headers":{"type":"array","items":{"$ref":"#/definitions/System.Collections.Generic.KeyValuePair[System.String,System.Collections.Generic.IEnumerable[System.String]]"},"readOnly":true}}},"System.Collections.Generic.KeyValuePair[System.String,System.Collections.Generic.IEnumerable[System.String]]":{"type":"object","properties":{"key":{"type":"string","readOnly":true},"value":{"type":"array","items":{"type":"string"},"readOnly":true}}},"Cx.Osa.Application.DTOs.OsaLicenseDto":{"type":"object","properties":{"id":{"description":"The Id of the open source license","type":"string","readOnly":true},"name":{"description":"License name","type":"string","readOnly":true},"riskLevel":{"description":"License risk level (Low, Medium, High, Unknown)","type":"string","readOnly":true},"copyrightRiskScore":{"format":"int32","description":"The risk of infringing the license copyrights","type":"integer","readOnly":true},"patentRiskScore":{"format":"int32","description":"The risk of infringing patents","type":"integer","readOnly":true},"copyLeft":{"description":"Status of copy-left licensing","type":"string","readOnly":true},"linking":{"description":"The influent of the license on linked code","type":"string","readOnly":true},"royalityFree":{"description":"Whether or not this license is royality-free","type":"string","readOnly":true},"referenceType":{"description":"License description url","type":"string","readOnly":true},"reference":{"type":"string","readOnly":true},"url":{"type":"string","readOnly":true}}},"Cx.Osa.Application.DTOs.Responses.VulnerabilityCommentDto":{"type":"object","properties":{"userName":{"type":"string","readOnly":true},"timeStamp":{"format":"int64","type":"integer","readOnly":true},"content":{"type":"string","readOnly":true}}},"Cx.Osa.Application.DTOs.Responses.V1.ScannedLibraryDTO":{"description":"Library DTO.ScannedLibraryDTO":{"description":"Library DTO","type":"object","properties":{"id":{"description":"Library ID","type":"string"},"name":{"description":"Library Name","type":"string"},"version":{"description":"Library Version","type":"string"},"releaseDate":{"format":"date-time","description":"Library Release date of the current version","type":"string"},"highUniqueVulnerabilityCount":{"format":"int32","description":"Number of high vulnerabilities","type":"integer"},"mediumUniqueVulnerabilityCount":{"format":"int32","description":"Number of medium vulnerabilities","type":"integer"},"lowUniqueVulnerabilityCount":{"format":"int32","description":"Number of low vulnerabilities","type":"integer"},"newestVersion":{"description":"Newest version (if no newest version exists, then this field will remain empty)","type":"string"},"newestVersionReleaseDate":{"format":"date-time","description":"Release date of newest version (if no newest version exists, then this field will contain 1970/1/1)","type":"string"},"numberOfVersionsSinceLastUpdate":{"format":"int32","description":"Number of newer versions (if no newest version exists, then this field will be 0)","type":"objectinteger"},"propertiesconfidenceLevel":{"idformat":{"int32","description":"Library IDThe confidence level about the provided result","type":"stringinteger"},"namematchType":{"description$ref":"Library Name#/definitions/Cx.Osa.Application.DTOs.MatchTypeDto","typedescription":"stringThe method which was used to match the library: Exact Match / Filename Match"},"versionlicenses":{"description":"Library VersionCollection of legal licenses id","type":"stringarray"},"releaseDateitems":{"formattype":"date-timestring"}},"outdated":{"description":"LibraryIndicate Releasewhether datethis of the current versionlibrary outdated","type":"stringboolean"}}},"highUniqueVulnerabilityCountCx.Osa.Application.DTOs.MatchTypeDto":{"formattype":"int32object","descriptionproperties":"Number of high vulnerabilities","type":"integer"},"mediumUniqueVulnerabilityCount{"id":{"format":"int32","descriptiontype":"Number of medium vulnerabilitiesinteger","typereadOnly":"integer"true},"lowUniqueVulnerabilityCountname":{"formattype":"int32string","descriptionreadOnly":"Number of low vulnerabilities",true},"description":{"type":"string","integerreadOnly":true}}},"newestVersionCx.Osa.Presentation.DTOs.NewDTOs.ScanRequestInfo":{"description":"NewestScan version (if no newest version exists, then this field will remain empty)request details","type":"stringobject"},"newestVersionReleaseDateproperties":{"projectId":{"format":"date-timeint64","description":"ReleaseThe dateProject ofId newestassociated versionwith (if no newest version exists, then this field will contain 1970/1/1)"requested scan","minimum":1,"type":"stringinteger"},"numberOfVersionsSinceLastUpdateorigin":{"format":"int32","description":"NumberThe oflocation newerfrom versionswhich (ifscan nowas newestrequested version(if exists,not thenspecified this(Portal) field will be 0selected)","type":"integerstring"},"confidenceLevelhashedFilesList":{"format":"int32","description":"The confidence level about the provided result","type":"integerarray"},"matchTypeitems":{"$ref":"#/definitions/Cx.Osa.ApplicationPresentation.DTOs.NewDTOs.MatchTypeDtoHashedFileDTO"}}}},"descriptionCx.Osa.Presentation.DTOs.NewDTOs.HashedFileDTO":"The method which was used to match the library: Exact Match / Filename Match"},"licenses{"type":"object","properties":{"sha1":{"descriptiontype":"Collection of legal licenses id",string"},"filename":{"type":"arraystring"}}},"itemsCx.Osa.Presentation.DTOs.NewDTOs.NewScanResponseDTO":{"required":["scanId"],"type":"stringobject"}},"properties":{"outdatedscanId":{"descriptionformat":"Indicate whether this library outdateduuid","type":"string","example":"boolean00000000-0000-0000-0000-000000000000"}}},"Cx.Osa.Application.DTOs.Responses.DTOsV1.MatchTypeDtoVulnerabilityDTO":{"type":"object","properties":{"id":{"formattype":"int32string"},"typecveName":{"integertype",:"readOnlystring":true},"namescore":{"typeformat":"stringfloat","readOnlytype":true"number"},"descriptionseverity":{"type$ref":"string","readOnly":true}}},"#/definitions/Cx.Osa.PresentationApplication.DTOs.NewDTOs.ScanRequestInfoSeverityDTO"},"publishDate":{"descriptionformat":"Scan request detailsdate-time","type":"objectstring"},"propertiesurl":{"projectIdtype":{"formatstring":},"int64description",:{"descriptiontype":"The Project Id associated with requested scan","minimum":1,string"},"recommendations":{"type":"integerstring"},"originsourceFileName":{"description":"The location from which scan was requested (if not specified (Portal) will be selected)","type":"string"},"hashedFilesListlibraryId":{"type":"arraystring"},"itemsstate":{"$ref":"#/definitions/Cx.Osa.PresentationApplication.DTOs.NewDTOs.HashedFileDTO"}Responses.VulnerabilityStateDto"},"commentsAmount":{"format":"int32","type":"integer"},"similarityId":{"type":"string"}}},"Cx.Osa.PresentationApplication.DTOs.NewDTOs.HashedFileDTOSeverityDTO":{"type":"object","properties":{"sha1id":{"format":"int32","type":"stringinteger"},"filenamename":{"type":"string"}}},"Cx.Osa.PresentationApplication.DTOs.NewDTOsResponses.NewScanResponseDTOVulnerabilityStateDto":{"required":["scanId"],"type":"object","properties":{"scanIdid":{"format":"uuidint32","type":"stringinteger","examplereadOnly":"00000000-0000-0000-0000-000000000000"}}},"Cx.Osa.Application.DTOs.Responses.V1.VulnerabilityDTOtrue},"actionType":{"type":"objectstring","propertiesreadOnly":{true},"idname":{"type":"string","readOnly":true}}},"cveNameCx.Sast.ScanExecution.Presentation.Dtos.SastScansDto":{"type":"stringobject"},"properties":{"scoreid":{"format":"floatint64","type":"numberinteger"},"severityproject":{"$ref":"#/definitions/Cx.Sast.OsaScanExecution.ApplicationPresentation.DTOsDtos.SeverityDTOProjectDto"},"publishDatestatus":{"format$ref":"date-time","type":"string"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ScanStatusDto"},"urlscanType":{"typeenum":["stringUnknown"},"description":{"type":"string"}"AllScans","recommendationsRegular":{,"typeSubset":,"stringPartial"},"sourceFileNameRunning":{],"type":"string"},"libraryIdcomment":{"type":"string"},"statedateAndTime":{"$ref":"#/definitions/Cx.OsaSast.ApplicationScanExecution.DTOsPresentation.ResponsesDtos.VulnerabilityStateDtoDateAndTimeDto"},"commentsAmountresultsStatistics":{"format$ref":"int32","type":"integer#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ResultsStatisticsLink"},"similarityIdscanState":{"type$ref":"string"}}},"Cx.Osa.Application.DTOs.SeverityDTO":{"type":"object","properties":{"id":{"format":"int32",#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ScanStateDto"},"owner":{"type":"integerstring"},"nameorigin":{"type":"string"}}},"Cx.Osa.Application.DTOs.Responses.VulnerabilityStateDtoinitiatorName":{"type":"objectstring"},"properties":{"idowningTeamId":{"format":"int32","type":"integer","readOnly":true},"actionTypeisPublic":{"type":"string","readOnly":true},"name":{"type":"string","readOnly":true}}},"Cx.Sast.ScanExecution.Presentation.Dtos.SastScansDtoboolean"},"isLocked":{"type":"objectboolean"},"propertiesisIncremental":{"id"type":"boolean"},"scanRisk":{"format":"int64","type":"integer"},"projectscanRiskSeverity":{"$ref"format":"int64","type":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ProjectDtointeger"},"statusengineServer":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ScanStatusDtoEngineServerDto"},"scanTypefinishedScanStatus":{"enum":["UnknownNone","AllScans","Regular","SubsetCompleted","Partial","Running"],"type":"string"},"commentpartialScanReasons":{"type":"stringarray"},"dateAndTimeitems":{"$ref":"#/definitions/Cx.Sast.ScanExecution.PresentationDomain.DtosEntities.DateAndTimeDtoPartialScanDTO"}}}},"resultsStatistics":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ResultsStatisticsLink"},"scanStateProjectDto":{"$reftype":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.ScanStateDto"}object","ownerproperties":{"typeid":{"stringformat"},:"originint64":{,"type":"stringinteger"},"initiatorNamereadOnly":{"type":"string"true},"owningTeamIdname":{"formattype":"int32string","typereadOnly":"integer"true},"isPubliclink":{"type$ref":"boolean"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"isLockedCx.Sast.ScanExecution.Presentation.Dtos.ScanStatusDto":{"type":"booleanobject"},"isIncrementalproperties":{"type":"boolean"},"scanRiskid":{"format":"int64","type":"integer","readOnly":true},"scanRiskSeverityname":{"formattype":"int64string","typereadOnly":"integer"true},"engineServerdetails":{"$ref":"#/definitions/Cx.Sast.ScanExecution.Presentation.Dtos.EngineServerDto"ScanStatusDetailsDto","readOnly":true}}},"finishedScanStatusCx.Sast.ScanExecution.Presentation.Dtos.DateAndTimeDto":{"enumtype":["Noneobject","Completed","Partial"]"properties":{"startedOn":{"format":"date-time","type":"string","readOnly":true},"partialScanReasonsfinishedOn":{"typeformat":"arraydate-time","itemstype":{"$refstring":"#/definitions/Cx.Sast.ScanExecution.Domain.Entities.PartialScanDTO"}}}},"Cx.Sast.ScanExecution.Presentation.Dtos.ProjectDto":{,"readOnly":true},"engineStartedOn":{"format":"date-time","type":"objectstring","propertiesreadOnly":{true},"idengineFinishedOn":{"format":"int64date-time","type":"integerstring","readOnly":true}}},"nameCx.Sast.ScanExecution.Presentation.Dtos.ResultsStatisticsLink":{"type":"stringobject","readOnlyproperties":true},{"link":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Sast.ScanExecution.Presentation.Dtos.ScanStatusDtoScanStateDto":{"type":"object","properties":{"path":{"type":"string"},"sourceId":{"type":"string"},"filesCount":{"id"format":"int64","type":"integer"},"linesOfCode":{"format":"int64","type":"integer"},"readOnly":true"failedLinesOfCode":{"format":"int64","type":"integer"},"namecxVersion":{"type":"string"},"readOnlylanguageStateCollection":{"type":true}"array","detailsitems":{"$ref":"#/definitions/Cx.Sast.ScanExecution.PresentationDomain.DtosEntities.ScanStatusDetailsDto","readOnly":trueQueryLanguageState"}}}},"Cx.Sast.ScanExecution.Presentation.Dtos.DateAndTimeDtoEngineServerDto":{"type":"object","properties":{"startedOnid":{"format":"date-timeint64","type":"stringinteger"},"name":{"readOnlytype":true"string"},"finishedOnlink":{"format$ref":"date-time","type":"string","readOnly":true},"engineStartedOn#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Sast.ScanExecution.Domain.Entities.PartialScanDTO":{"type":"object","properties":{"formatabortedMessage":"date-time",{"type":"string"},"readOnlyabortedStatus":true},{"engineFinishedOnenum":{["formatNone":,"date-timeQueries","typeStages":,"stringQueriesExceededResultThreshold"],"readOnlytype":true"string"}}},"Cx.Sast.ScanExecution.Presentation.Dtos.ResultsStatisticsLinkScanStatusDetailsDto":{"type":"object","properties":{"stage":{"link"type":"string","readOnly":true},"step":{"$reftype":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase""string","readOnly":true}}},"Cx.Sast.ScanExecution.PresentationDomain.DtosEntities.ScanStateDtoQueryLanguageState":{"type":"object","properties":{"pathlanguageID":{"format":"int32","type":"stringinteger"},"sourceIdlanguageName":{"type":"string"},"filesCountlanguageHash":{"format":"int64","type":"integerstring"},"linesOfCodestateCreationDate":{"format":"int64date-time","type":"integerstring"}}},"failedLinesOfCodeCx.Sast.ScanExecution.Presentation.Dtos.SaveScanCommentDto":{"formatrequired":["int64comment"],"type":"integerobject"},"cxVersionproperties":{"typecomment":{"stringdescription"},"languageStateCollection":{:"Specifies the scan comment","type":"arraystring"}},"itemsexample":{"$refcomment":"#/definitions/Cx.Sast.ScanExecution.Domain.Entities.QueryLanguageState"}}Some comment"}},"Cx.Sast.ScanExecutionEngineServers.PresentationApplicationContracts.DtosDTOs.EngineServerDtoEngineServerResponse10Dto":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"name":{"type":"string"},"linkuri":{"$reftype":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Sast.ScanExecution.Domain.Entities.PartialScanDTO":{"string"},"minLoc":{"format":"int32","type":"objectinteger"},"propertiesmaxLoc":{"abortedMessageformat":{"int32","type":"stringinteger"},"abortedStatusmaxScans":{"enumformat":["Noneint32","Queriestype",:"Stagesinteger"},"QueriesExceededResultThresholdcxVersion"],:{"type":"string"}}},"Cx.Sast.ScanExecution.Presentation.Dtos.ScanStatusDetailsDtostatus":{"typeenum":["objectOffline","propertiesBlocked":{,"stageScanningAndBlocked":{,"typeScanning":,"stringIdle"],"readOnlytype":true"string"},"steplink":{"type$ref":"string","readOnly":true#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Sast.ScanExecutionEngineServers.DomainApplicationContracts.Entities.QueryLanguageState":{DTOs.EngineServerDTO":{"description":"","required":["name","uri","minLoc","maxLoc","isBlocked"],"type":"object","properties":{"languageIDname":{"formatdescription":"int32","type":"integerstring"},"languageNameuri":{"typedescription":"string"},"languageHash":{"type":"string"},"stateCreationDateminLoc":{"format":"date-timeint32","typedescription":"string"}}},"Cx.Sast.ScanExecution.Presentation.Dtos.SaveScanCommentDtotype":{"required":["comment"]integer"},"typemaxLoc":{"object","propertiesformat":{"commentint32":{,"description":"Specifies the scan comment","type":"stringinteger"}},"exampleisBlocked":{"commentdescription":"Some comment"}},"Cx.Sast.EngineServers.ApplicationContracts.DTOs.EngineServerResponsDto":{"type":"objectboolean"},"propertiesmaxScans":{"idformat":{"format"int32","description":"int64","type":"integer"}}},"nameCx.Sast.EngineServers.Presentation.Dtos.CreateEngineServerDto":{"type":"stringobject"},"uriproperties":{"type":"string"},"minLocid":{"format":"int32int64","type":"integer"},"maxLoclink":{"format$ref":"int32","type":"integer"},"maxScans#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}}},"Cx.Sast.ScanExecution.Presentation.Dtos.PatchScansQueue":{"formatrequired":["int32status"],"type":"integerobject"},"cxVersionproperties":{"type":"string"},"status":{"enum":["OfflineEmpty","BlockedCanceled","ScanningAndBlocked","Scanning","IdlePostponed"],"type":"string"}},"linkexample":{"$refstatus":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"}Canceled"}},"Cx.Sast.EngineServers.ApplicationContracts.DTOsModels.EngineServerDTOEngineServerPatchModel":{"description":"","required":["name","uri","minLoc","maxLoc","isBlocked"],"type":"object","properties":{"name":{"description":"Engine Server name","type":"string"},"uri":{"description":"Engine Server Uri","type":"string"},"minLoc":{"format":"int32","description":"Minimum LinesOfCode for the server","type":"integer"},"maxLoc":{"format":"int32","description":"Maximum LinesOfCode for the server","type":"integer"},"isBlocked":{"description":"Flag to determine if EngineServer is blocked","type":"boolean"},"maxScans":{"format":"int32","description":"","type":"integer"}}},"Cx.Sast.EngineServers.Presentation.Dtos.CreateEngineServerDto":{"type":"object","properties":{"id"},"maxScans":{"format":"int64int32","typedescription":"integerMax concurrent scans"},"linktype":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkDtoBase"integer"}}},"Cx.Sast.ScanExecutionScanSettings.PresentationApplication.Dtos.PatchScansQueueEngineConfigurationDto":{"required":["status"],"type":"object","properties":{"statusid":{"enumformat":["Emptyint64","Canceledtype",:"Postponedinteger"],"typereadOnly":"string"}true},"examplename":{"statustype":"string"Canceled,"readOnly":true}}},"Cx.Sast.EngineServersScanSettings.ApplicationContractsPresentation.ModelsDtos.EngineServerPatchModelScanSettingsResponseDto":{"description":"","type":"object","properties":{"nameproject":{"description$ref":"Engine Server name#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource","typereadOnly":"string"true},"uripreset":{"description":"Engine Server Uri","type":"string"},"minLoc":{"format":"int32","description":"Minimum LinesOfCode for the server","type":"integer"},"maxLoc":{"format":"int32","description":"Maximum LinesOfCode for the server","type":"integer"},"isBlocked":{"description":"Flag to determine if EngineServer is blocked","type":"boolean"},"maxScans":{"format":"int32","description":"Max concurrent scans","type":"integer"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource","readOnly":true},"engineConfiguration":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource","readOnly":true},"postScanAction":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource","readOnly":true},"emailNotifications":{"$ref":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.EmailNotificationsDto","readOnly":true}}},"Cx.Sast.ScanSettings.ApplicationPresentation.Dtos.EngineConfigurationDtoEmailNotificationsDto":{"type":"object","properties":{"id"failedScan":{"type":"array","items":{"formattype":"int64string"}},"beforeScan":{"type":"integerarray","items":{"readOnlytype":true"string"}},"nameafterScan":{"type":"stringarray","items":{"readOnlytype":true"string"}}}},"Cx.Sast.ScanSettingsScanExecution.Presentation.Dtos.ScanSettingsResponseDtoResultsStatisticsDto":{"type":"object","properties":{"projecthighSeverity":{"$refformat":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResourceint64","readOnlytype":true"integer"},"presetmediumSeverity":{"$refformat":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResourceint64","readOnlytype":true"integer"},"engineConfigurationlowSeverity":{"$refformat":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResourceint64","readOnlytype":true"integer"},"postScanActioninfoSeverity":{"$refformat":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResourceint64","readOnlytype":true"integer"},"emailNotificationsstatisticsCalculationDate":{"$refformat":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.EmailNotificationsDtodate-time","readOnlytype":true"string"}}},"Cx.Sast.ScanSettingsResults.Presentation.DtosModels.EmailNotificationsDtoResultLabelGetModel":{"type":"object","properties":{"failedScanstate":{"typeformat":"arrayint32","items":{"type":"stringinteger"}},"beforeScanseverity":{"typeformat":"arrayint32","items":{"type":"stringinteger"}},"afterScanuserAssignment":{"type":"arraystring"},"itemscomment":{"type":"string"}}}},"Cx.Sast.ScanExecutionResults.Presentation.DtosModels.ResultsStatisticsDtoResultLabelPatchModel":{"type":"object","properties":{"highSeverity":{"format"type":"int64object","typeproperties":"integer"},"mediumSeverity{"state":{"format":"int64int32","type":"integer"},"lowSeverityseverity":{"format":"int64int32","type":"integer"},"infoSeverityuserAssignment":{"format":"int64","type":"integerstring"},"statisticsCalculationDatecomment":{"format":"date-time","type":"string"}}},"Cx.Sast.Results.Presentation.Models.GetResultShortDescriptionModel":{"type":"object","properties":{"shortDescription":{"type":"string"}}},"Cx.ResultsPublisher.Presentation.DTOs.StatusDto":{"type":"object","properties":{"project":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"},"scan":{"$ref":"#/definitions/Cx.SuperTypes.API.Dtos.LinkedResource"},"status":{"type":"string"},"lastSync":{"format":"date-time","type":"string"}}},"Cx.Sast.ScanExecution.ApplicationContracts.DTOs.SastScanRequestWriteDTO":{"required":["projectId"],"type":"object","properties":{"projectId":{"format":"int64","description":"Specifies the Unique Id of the specific project to be scanned","minimum":1,"type":"integer"},"isIncremental":{"description":"Specifies whether the scan is incremental of full","type":"boolean"},"isPublic":{"description":"Specifies whether the requested scan is public or private","type":"boolean"},"forceScan":{"description":"Specifies whether the code should be scanned regardless of unchanged code","type":"boolean"},"comment":{"description":"Specifies the scan comment","type":"string"},"customFields":{"type":"object","additionalProperties":{"type":"string"}}},"example":{"projectId":1,"isIncremental":false,"isPublic":true,"forceScan":true,"comment":""}},"Cx.Sast.Results.Presentation.Models.GetAttackVectorsModel":{"type":"object","properties":{"attackVectors":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.AttackVectorDto"},"readOnly":true}}},"Cx.Sast.Results.Presentation.Dtos.AttackVectorDto":{"type":"object","properties":{"resultId":{"type":"string"},"bestFixLocationNode":{"format":"int64","type":"integer"},"nodes":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.NodeDto"}}}},"Cx.Sast.Results.Presentation.Dtos.NodeDto":{"type":"object","properties":{"id":{"format":"int64","type":"integer"},"order":{"format":"int64","type":"integer"},"shortName":{"type":"string"},"fullName":{"type":"string"},"fileName":{"type":"string"},"folder":{"type":"string"},"line":{"format":"int32","type":"integer"},"column":{"format":"int32","type":"integer"},"length":{"format":"int32","type":"integer"},"methodLine":{"format":"int32","type":"integer"},"sourceUrl":{"type":"string"}}},"Cx.Sast.Results.Presentation.Models.GetAttackVectorsByBFLModel":{"type":"object","properties":{"attackVectorsByBFL":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.AttackVectorBFLDto"},"readOnly":true}}},"Cx.Sast.Results.Presentation.Dtos.AttackVectorBFLDto":{"type":"object","properties":{"scanId":{"format":"int64","type":"integer"},"queryVersion":{"format":"int64","type":"integer"},"bestFixLocationNode":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.NodeDto"},"attackVectors":{"type":"array","items":{"$ref":"#/definitions/Cx.Sast.Results.Presentation.Dtos.AttackVectorDto"}}}},"Cx.Sast.ScanSettings.Presentation.Dtos.ScanSettingsRequestDto":{"required":["projectId","presetId","engineConfigurationId"],"type":"object","properties":{"projectId":{"format":"int64","minimum":1,"type":"integer"},"presetId":{"format":"int64","minimum":1,"type":"integer"},"engineConfigurationId":{"format":"int64","minimum":1,"type":"integer"},"postScanActionId":{"format":"int64","minimum":1,"type":"integer"},"emailNotifications":{"$ref":"#/definitions/Cx.Sast.ScanSettings.Presentation.Dtos.EmailNotificationsDto"}}},"Scheduler.Api.ViewModels.ProjectScansSchedulingViewModel":{"type":"object","properties":{"scheduleType":{"description":"The Schedule type.\r\nAllowed values are: \"None\", \"Weekly\".","type":"string"},"scheduledDays":{"description":"The Schedule days, relevant just in case ScheduleType is \"Weekly\".type, allowed values are: \"None\", \"Weekly\".\r\nAllowed Values: \"Sunday\",\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\".","type":"array","items":{"type":"string"}},"scheduleTime":{"description":"The Schedule time in each scheduled days format {HH:MM}.","type":"string"}}},"Cx.Sast.Results.Presentation.Dtos.SaveResultsTicketDto":{"required":["resultsId","ticketId"],"type":"object","properties":{"resultsId":{"type":"array","items":{"type":"string"}},"ticketId":{"type":"string"}}},"Cx.ProjectManagement.Presentation.Dtos.ScanSettingsExtRequestDto":{"required":["projectId"],"type":"object","properties":{"projectId":{"format":"int64","description":"Specifies the Unique Id of the specific project to be scanned","minimum":1,"type":"integer"},"overrideProjectSetting":{"description":"Specifies whether to overwrite project settings. If set to false or empty, overwrite is determined by configuration value \"OverrideProjectSetting\" in dbo.CxComponentConfiguration","type":"boolean"},"isIncremental":{"description":"Specifies whether the scan is incremental of full","type":"boolean"},"isPublic":{"description":"Specifies whether the requested scan is public or private","type":"boolean"},"forceScan":{"description":"Specifies whether the code should be scanned regardless of unchanged code","type":"boolean"},"comment":{"description":"Specifies the scan comment","type":"string"},"presetId":{"format":"int64","description":"Specify the preset id to use during the scan, 0 = use project's default","minimum":0,"type":"integer"},"engineConfigurationId":{"format":"int64","description":"Specify the engine-configuration to use during the scan, 0 = use project's default","minimum":0,"type":"integer"}}},"Cx.CrossCutting.FileSystem.Files.CxFile[System.Byte[]]":{"type":"object","properties":{"name":{"type":"string"},"content":{"format":"byte","type":"string"}}},"DataRetention.Presentation.Dto.DataRetentionByDatesDto":{"required":["startDate","endDate"],"type":"object","properties":{"startDate":{"format":"date","type":"string"},"endDate":{"format":"date","type":"string"},"durationLimitInHours":{"format":"int64","type":"integer"}}},"DataRetention.Presentation.Dto.DataRetentionByAmountDto":{"required":["numOfSuccessfulScansToPreserve"],"type":"object","properties":{"numOfSuccessfulScansToPreserve":{"format":"int32","type":"integer"},"durationLimitInHours":{"format":"int64","type":"integer"}}},"Cx.Sast.Results.Presentation.Models.IastResultsCorrelationUpdateModel":{"type":"object","properties":{"scanId":{"format":"int64","type":"integer"},"pathId":{"format":"int64","type":"integer"},"iastCorrelationScore":{"format":"double","type":"number"}}},"Cx.Sast.Results.Presentation.Models.ResultLabelPatchModel":{"type":"object","properties":{"state":{"format":"int32","type":"integer"},"severity":{"format":"int32","type":"integer"},"userAssignment":{"type":"string"},"comment":{"type":"string"}}}},"securityDefinitions":{"Bearer":{"type":"oauth2","description":"OAuth2 implicit Grant","flow":"implicit","authorizationUrl":"http://OriB-Laptop.dm.cx2020qapt/CxRestAPI/auth/identity/connect/authorize","tokenUrl":"http://OriB-Laptop.dm.cx2020qapt/CxRestAPI/auth/identity/connect/token","scopes":{"sast_api":"Sast API"}}},"security":[{"Bearer":["sast_api"]}]}

...