Skip to main content
POST
/
team
/
{teamId}
/
project
Create a project
curl --request POST \
  --url https://us.cybedefend.com/team/{teamId}/project \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "My Project",
  "aiMergeRequestEnabled": true,
  "improvingResultsEnabled": true,
  "sortsVulnerabilitiesEnabled": true,
  "securityChampionEnabled": true,
  "githubIssueEnabled": false,
  "gitlabIssueEnabled": false,
  "issueCreationMode": "per_vulnerability_type",
  "issueCreationBranches": [
    "main",
    "develop"
  ]
}
'
{
  "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>"
  ],
  "githubIssueEnabled": true,
  "gitlabIssueEnabled": true,
  "issueCreationMode": "per_vulnerability",
  "issueCreationBranches": [
    "main",
    "develop"
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

teamId
string<uuid>
required

Team ID

Body

application/json
name
string
required

Name of the project

Example:

"My Project"

aiMergeRequestEnabled
boolean

Enable AI merge request feature

Example:

true

improvingResultsEnabled
boolean

Enable improving results feature

Example:

true

sortsVulnerabilitiesEnabled
boolean

Enable sorts vulnerabilities feature

Example:

true

securityChampionEnabled
boolean

Enable security champion feature

Example:

true

githubIssueEnabled
boolean

Enable GitHub issue creation for vulnerabilities

Example:

false

gitlabIssueEnabled
boolean

Enable GitLab issue creation for vulnerabilities

Example:

false

issueCreationMode
enum<string>

Issue creation mode: per_vulnerability (SCA only), per_vulnerability_type, per_file

Available options:
per_vulnerability,
per_vulnerability_type,
per_file
Example:

"per_vulnerability_type"

issueCreationBranches
string[]

List of branches for which issues should be created. Empty array or undefined means all branches.

Example:
["main", "develop"]

Response

Project created successfully

projectId
string<uuid>
required

Project unique identifier

teamId
string<uuid>
required

Team unique identifier

teamName
string
required

Team name

name
string
required

Project name

createdAt
string<date-time>
required

Project creation date

updatedAt
string<date-time>
required

Project last update date

applicationType
enum<string>

Application type

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

dastEnabled
boolean

Enable DAST

scaEnabled
boolean

Enable SCA

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
scaSeverities
enum<string>[]

Allowed SCA severities

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

Allowed IaC severities

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

Incident creation option

aiMergeRequestEnabled
boolean

Enable AI merge request

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 (internal names)

agentCategoriesIac
string[]

Active IAC agent vulnerability categories (internal names)

githubIssueEnabled
boolean

Enable GitHub issue creation

gitlabIssueEnabled
boolean

Enable GitLab issue creation

issueCreationMode
enum<string>

Issue creation mode

Available options:
per_vulnerability,
per_vulnerability_type,
per_file
issueCreationBranches
string[]

List of branches for which issues should be created. Empty means all branches.

Example:
["main", "develop"]