PATCH
/
project
/
{projectId}
Update a project
curl --request PATCH \
  --url https://app-preprod.cybedefend.com/project/{projectId} \
  --header 'Content-Type: application/json' \
  --data '{
  "name": "<string>",
  "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "applicationType": "web_application",
  "analysisFrequency": "weekly",
  "emailAlertEnabled": true,
  "monthlyReportEnabled": true,
  "weeklyReportEnabled": true,
  "sastEnabled": true,
  "dastEnabled": true,
  "scaEnabled": true,
  "containerEnabled": true,
  "apiEnabled": true,
  "iacEnabled": true,
  "sastFastScanEnabled": true,
  "aiDataflowEnabled": true,
  "sastSeverities": [
    "critical"
  ],
  "iacSeverities": [
    "critical"
  ],
  "scaSeverities": [
    "critical"
  ],
  "incidentCreationOption": "<string>",
  "aiMergeRequestEnabled": true,
  "improvingResultsEnabled": true,
  "sortsVulnerabilitiesEnabled": true
}'
{
  "success": true,
  "message": "<string>",
  "projectInformations": {
    "projectId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamId": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "teamName": "<string>",
    "name": "<string>",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "applicationType": "web_application",
    "analysisFrequency": "weekly",
    "emailAlertEnabled": true,
    "monthlyReportEnabled": true,
    "weeklyReportEnabled": true,
    "sastEnabled": true,
    "dastEnabled": true,
    "scaEnabled": true,
    "containerEnabled": true,
    "apiEnabled": true,
    "iacEnabled": true,
    "sastFastScanEnabled": true,
    "aiDataflowEnabled": true,
    "sastSeverities": [
      "critical"
    ],
    "scaSeverities": [
      "critical"
    ],
    "iacSeverities": [
      "critical"
    ],
    "incidentCreationOption": "<string>",
    "aiMergeRequestEnabled": true,
    "improvingResultsEnabled": true,
    "sortsVulnerabilitiesEnabled": true
  }
}

Path Parameters

projectId
string<uuid>
required

Project ID

Body

application/json
name
string

Project name

teamId
string<uuid>

Team unique identifier

applicationType
enum<string>

Type of the application

Available options:
web_application,
software,
mobile_application,
iot,
other
analysisFrequency
enum<string>

Analysis frequency

Available options:
weekly,
daily,
never
emailAlertEnabled
boolean

Enable email alert

monthlyReportEnabled
boolean

Enable monthly report

weeklyReportEnabled
boolean

Enable weekly report

sastEnabled
boolean

Enable SAST scan

dastEnabled
boolean

Enable DAST scan

scaEnabled
boolean

Enable SCA scan

containerEnabled
boolean

Enable Container scan

apiEnabled
boolean

Enable API scan

iacEnabled
boolean

Enable IaC scan

sastFastScanEnabled
boolean

Enable SAST fast scan

aiDataflowEnabled
boolean

Enable AI dataflow

sastSeverities
enum<string>[]

Allowed SAST severities

iacSeverities
enum<string>[]

Allowed IaC severities

scaSeverities
enum<string>[]

Allowed SCA severities

incidentCreationOption
string

Incident creation option

aiMergeRequestEnabled
boolean

Enable AI merge request

improvingResultsEnabled
boolean

Enable improving results

sortsVulnerabilitiesEnabled
boolean

Enable sorting vulnerabilities

Response

Project updated successfully

success
boolean
required

Indicates if the update was successful

message
string
required

Message describing the result of the update

projectInformations
object
required

Updated project informations