Skip to main content
PATCH
/
project
/
{projectId}
Update a project
curl --request PATCH \
  --url https://us.cybedefend.com/project/{projectId} \
  --header 'Authorization: Bearer <token>' \
  --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,
  "sastSeverities": [
    "critical"
  ],
  "iacSeverities": [
    "critical"
  ],
  "scaSeverities": [
    "critical"
  ],
  "containerSeverities": [
    "critical"
  ],
  "incidentCreationOption": "<string>",
  "aiMergeRequestEnabled": true,
  "securityChampionEnabled": true,
  "improvingResultsEnabled": true,
  "sortsVulnerabilitiesEnabled": true,
  "scaTransitiveDependenciesEnabled": true,
  "scaDevelopmentDependenciesEnabled": true,
  "agentCategoriesSast": [
    "<string>"
  ],
  "agentCategoriesIac": [
    "<string>"
  ]
}
'
{
  "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,
    "sastSeverities": [
      "critical"
    ],
    "scaSeverities": [
      "critical"
    ],
    "iacSeverities": [
      "critical"
    ],
    "incidentCreationOption": "<string>",
    "aiMergeRequestEnabled": true,
    "improvingResultsEnabled": true,
    "sortsVulnerabilitiesEnabled": true,
    "scaTransitiveDependenciesEnabled": true,
    "scaDevelopmentDependenciesEnabled": true,
    "agentCategoriesSast": [
      "<string>"
    ],
    "agentCategoriesIac": [
      "<string>"
    ]
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

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

sastSeverities
enum<string>[]

Allowed SAST severities

Available options:
critical,
high,
medium,
low
iacSeverities
enum<string>[]

Allowed IaC severities

Available options:
critical,
high,
medium,
low
scaSeverities
enum<string>[]

Allowed SCA severities

Available options:
critical,
high,
medium,
low
containerSeverities
enum<string>[]

Allowed Container severities

Available options:
critical,
high,
medium,
low
incidentCreationOption
string

Incident creation option

aiMergeRequestEnabled
boolean

Enable AI merge request

securityChampionEnabled
boolean

Enable DAST fast scan

improvingResultsEnabled
boolean

Enable improving results

sortsVulnerabilitiesEnabled
boolean

Enable sorting vulnerabilities

scaTransitiveDependenciesEnabled
boolean

Enable SCA transitive dependencies scan

scaDevelopmentDependenciesEnabled
boolean

Enable SCA development dependencies scan

agentCategoriesSast
string[]

Active SAST agent vulnerability categories (full replacement list of internal names)

agentCategoriesIac
string[]

Active IAC agent vulnerability categories (full replacement list of internal names)

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