Checkmarx One

App · 22 actions

Manage Checkmarx One projects and applications, start and track scans, and read and triage their results.

Actions

ActionWhat it does
Cancel scanCancel a queued or running scan.
Create applicationCreate an application to group projects in.
Create projectCreate a project to scan code in.
Delete applicationDelete an application.
Delete projectDelete a project with its scans and results.
Delete scanDelete a scan and its results.
Get applicationRead an application and the projects in it.
Get last scansRead the most recent scan of each chosen project.
Get projectRead a project.
Get scanRead a scan's status, scanners and settings.
Get scan summaryRead the counts of results by scanner, severity and status for scans.
Get scan workflowRead the log of a scan's steps.
List applicationsList applications, the groups of related projects.
List project branchesList the branches a project's scans have covered.
List projectsList projects, optionally by part of their name, repository or tag.
List scan resultsList the vulnerabilities a scan found, from every scanner.
List scansList scans, newest first, optionally of one project, branch, status or time range.
Start scanScan a branch of a Git repository in a project.
Triage SAST resultChange the severity or state of a SAST result in a project, with a comment.
Update applicationChange an application's name, description, criticality or tags.
Update projectChange a project's name, repository, main branch, criticality, tags or groups.
Update scan tagsReplace a scan's tags.

Cancel scan

Cancel a queued or running scan.

Inputs

Scanscan_idtextRequired
The scan.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Create application

Create an application to group projects in.

Inputs

NamenametextRequired
The application's name.
Descriptiondescriptiontext
What the application is.
Criticalitycriticalitynumber
How critical the application is, from 1 (lowest) to 5 (highest).From 1 to 5.
Tagstagsobject
Tags as names and values, such as {"team": "payments"}.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "createdAt": "example",
    "criticality": 1,
    "description": "example",
    "id": "example",
    "name": "example",
    "projectIds": [
      "example"
    ],
    "rules": [
      {}
    ],
    "tags": {},
    "type": "example",
    "updatedAt": "example"
  }
}

Create project

Create a project to scan code in.

Inputs

NamenametextRequired
The project's name.
Repository URLrepo_urltext
The Git repository URL of the project's code.
Main branchmain_branchtext
The branch treated as the project's primary one.
Criticalitycriticalitynumber
How critical the project is, from 1 (lowest) to 5 (highest).From 1 to 5.
Tagstagsobject
Tags as names and values, such as {"env": "prod", "pci": ""}.
Groupsgroupslist
IDs of the user groups that can see the project.
Applicationsapplication_idslist
Applications to put the project in.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "applicationIds": [
      "example"
    ],
    "createdAt": "example",
    "criticality": 1,
    "groups": [
      "example"
    ],
    "id": "example",
    "mainBranch": "example",
    "name": "example",
    "origin": "example",
    "repoUrl": "example",
    "tags": {},
    "tenantId": "example",
    "updatedAt": "example"
  }
}

Delete application

Delete an application. Its projects stay.

Inputs

Applicationapplication_idtextRequired
The application.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Delete project

Delete a project with its scans and results.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Delete scan

Delete a scan and its results.

Inputs

Scanscan_idtextRequired
The scan.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Get application

Read an application and the projects in it.

Inputs

Applicationapplication_idtextRequired
The application.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "createdAt": "example",
    "criticality": 1,
    "description": "example",
    "id": "example",
    "name": "example",
    "projectIds": [
      "example"
    ],
    "rules": [
      {}
    ],
    "tags": {},
    "type": "example",
    "updatedAt": "example"
  }
}

Get last scans

Read the most recent scan of each chosen project.

Inputs

Projectsproject_idslistRequired
The projects.
Scan statusscan_statustext
Only a scan with this status.One of: Queued, Running, Completed, Failed, Partial, Canceled.
Branchbranchtext
Only scans of this branch.
Use main branchuse_main_branchtrue/false
Only scans of each project's main branch.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Get project

Read a project.

Inputs

Projectproject_idtextRequired
The project.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "applicationIds": [
      "example"
    ],
    "createdAt": "example",
    "criticality": 1,
    "groups": [
      "example"
    ],
    "id": "example",
    "mainBranch": "example",
    "name": "example",
    "origin": "example",
    "repoUrl": "example",
    "tags": {},
    "tenantId": "example",
    "updatedAt": "example"
  }
}

Get scan

Read a scan's status, scanners and settings.

Inputs

Scanscan_idtextRequired
The scan.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "branch": "example",
    "createdAt": "example",
    "engines": [
      "example"
    ],
    "failureSource": "example",
    "id": "example",
    "initiator": "example",
    "metadata": {},
    "positionInQueue": 1,
    "projectId": "example",
    "projectName": "example",
    "sourceOrigin": "example",
    "sourceType": "example",
    "status": "example",
    "statusDetails": [
      {}
    ],
    "tags": {},
    "updatedAt": "example",
    "userAgent": "example"
  }
}

Get scan summary

Read the counts of results by scanner, severity and status for scans.

Inputs

Scansscan_idslistRequired
The scans.
Include status countersinclude_status_counterstrue/false
Include the counts of fixed results too.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "scansSummaries": [
      {
        "apiSecCounters": {},
        "containersCounters": {},
        "kicsCounters": {},
        "sastCounters": {},
        "scaCounters": {},
        "scaPackagesCounters": {},
        "scanId": "example"
      }
    ],
    "totalCount": 1
  }
}

Get scan workflow

Read the log of a scan's steps.

Inputs

Scanscan_idtextRequired
The scan.

Outputs

datalist
The response from Checkmarx One.
Example output
{
  "data": [
    {
      "Info": "example",
      "Source": "example",
      "Timestamp": "example"
    }
  ]
}

List applications

List applications, the groups of related projects.

Inputs

Namenametext
Part of the application name.
Offsetoffsetnumber
Records to skip before the first one returned.At least 0.
Limitlimitnumber
Most records to return.From 1 to 1000.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "applications": [
      {
        "createdAt": "example",
        "criticality": 1,
        "description": "example",
        "id": "example",
        "name": "example",
        "projectIds": [
          "example"
        ],
        "rules": [
          {}
        ],
        "tags": {},
        "type": "example",
        "updatedAt": "example"
      }
    ],
    "filteredTotalCount": 1,
    "totalCount": 1
  }
}

List project branches

List the branches a project's scans have covered.

Inputs

Projectproject_idtextRequired
The project.
Branch namebranch_nametext
Part of the branch name.
Offsetoffsetnumber
Records to skip before the first one returned.At least 0.
Limitlimitnumber
Most records to return.From 1 to 1000.

Outputs

datalist
The response from Checkmarx One.
Example output
{
  "data": [
    "example"
  ]
}

List projects

List projects, optionally by part of their name, repository or tag.

Inputs

Namenametext
Part of the project name.
Repo URLrepo_urltext
Only projects of this repository URL.
Tag namestags_keyslist
Only projects with any of these tag names.
Sortsorttext
Order of the projects.One of: -created_at (-created at), +created_at (+created at), -updated_at (-updated at), +updated_at (+updated at), +name, -name, -criticality, +criticality.
Offsetoffsetnumber
Records to skip before the first one returned.At least 0.
Limitlimitnumber
Most records to return.From 1 to 1000.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "filteredTotalCount": 1,
    "projects": [
      {
        "applicationIds": [
          "example"
        ],
        "createdAt": "example",
        "criticality": 1,
        "groups": [
          "example"
        ],
        "id": "example",
        "mainBranch": "example",
        "name": "example",
        "origin": "example",
        "repoUrl": "example",
        "tags": {},
        "tenantId": "example",
        "updatedAt": "example"
      }
    ],
    "totalCount": 1
  }
}

List scan results

List the vulnerabilities a scan found, from every scanner.

Inputs

Scanscan_idtextRequired
The scan.
Severityseveritylist
Only these severities.One or more of: CRITICAL, HIGH, MEDIUM, LOW, INFO.
Statestatelist
Only results in these triage states.One or more of: TO_VERIFY (To verify), NOT_EXPLOITABLE (Not exploitable), PROPOSED_NOT_EXPLOITABLE (Proposed not exploitable), CONFIRMED, URGENT.
Statusstatuslist
Only new, recurring or fixed results.One or more of: NEW, RECURRENT, FIXED.
Sortsorttext
Order of the results.One of: -severity, +severity, -foundat, +foundat.
Offsetoffsetnumber
Records to skip before the first one returned.At least 0.
Limitlimitnumber
Most records to return.From 1 to 1000.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "results": [
      {
        "alternateId": "example",
        "comments": {},
        "confidenceLevel": 1,
        "created": "example",
        "data": {},
        "description": "example",
        "firstFoundAt": "example",
        "firstScanId": "example",
        "foundAt": "example",
        "id": "example",
        "severity": "example",
        "similarityId": "example",
        "state": "example",
        "status": "example",
        "type": "example",
        "vulnerabilityDetails": {}
      }
    ],
    "totalCount": 1
  }
}

List scans

List scans, newest first, optionally of one project, branch, status or time range.

Inputs

Projectproject_idtext
The project.
Statusesstatuseslist
Only scans with these statuses.One or more of: Queued, Running, Completed, Failed, Partial, Canceled.
Branchbranchtext
Only scans of this branch.
From datefrom_datedate and time
Only scans created at or after this time.
To dateto_datedate and time
Only scans created at or before this time.
Offsetoffsetnumber
Records to skip before the first one returned.At least 0.
Limitlimitnumber
Most records to return.From 1 to 1000.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "filteredTotalCount": 1,
    "scans": [
      {
        "branch": "example",
        "createdAt": "example",
        "engines": [
          "example"
        ],
        "failureSource": "example",
        "id": "example",
        "initiator": "example",
        "metadata": {},
        "positionInQueue": 1,
        "projectId": "example",
        "projectName": "example",
        "sourceOrigin": "example",
        "sourceType": "example",
        "status": "example",
        "statusDetails": [
          {}
        ],
        "tags": {},
        "updatedAt": "example",
        "userAgent": "example"
      }
    ],
    "totalCount": 1
  }
}

Start scan

Scan a branch of a Git repository in a project.

Inputs

Projectproject_idtextRequired
The project.
Repository URLrepo_urltextRequired
The Git repository URL to scan.
BranchbranchtextRequired
The branch to scan.
Commitcommittext
A commit to scan instead of the branch's latest.
Scannersscannerslist
The scanners to run. Leave empty for SAST, SCA and IaC (kics).One or more of: sast, sca, kics, apisec, containers.
Tagstagsobject
Tags for the scan as names and values.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {
    "branch": "example",
    "createdAt": "example",
    "engines": [
      "example"
    ],
    "failureSource": "example",
    "id": "example",
    "initiator": "example",
    "metadata": {},
    "positionInQueue": 1,
    "projectId": "example",
    "projectName": "example",
    "sourceOrigin": "example",
    "sourceType": "example",
    "status": "example",
    "statusDetails": [
      {}
    ],
    "tags": {},
    "updatedAt": "example",
    "userAgent": "example"
  }
}

Triage SAST result

Change the severity or state of a SAST result in a project, with a comment.

Inputs

Projectproject_idtextRequired
The project.
Similarity IDsimilarity_idtextRequired
The result's similarity ID (similarityId in its scan results).
Scanscan_idtext
The scan the change is made from.
Severityseveritytext
The new severity.One of: CRITICAL, HIGH, MEDIUM, LOW, INFO.
Statestatetext
The new triage state.One of: TO_VERIFY (To verify), NOT_EXPLOITABLE (Not exploitable), PROPOSED_NOT_EXPLOITABLE (Proposed not exploitable), CONFIRMED, URGENT.
Commentcommenttext
Why it was changed.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Update application

Change an application's name, description, criticality or tags. Fields left empty keep their value.

Inputs

Applicationapplication_idtextRequired
The application.
Namenametext
The new name.
Descriptiondescriptiontext
What the application is.
Criticalitycriticalitynumber
How critical the application is, from 1 (lowest) to 5 (highest).From 1 to 5.
Tagstagsobject
Tags as names and values, such as {"team": "payments"}.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Update project

Change a project's name, repository, main branch, criticality, tags or groups. Fields left empty keep their value.

Inputs

Projectproject_idtextRequired
The project.
Namenametext
The new name.
Repository URLrepo_urltext
The Git repository URL of the project's code.
Main branchmain_branchtext
The branch treated as the project's primary one.
Criticalitycriticalitynumber
How critical the project is, from 1 (lowest) to 5 (highest).From 1 to 5.
Tagstagsobject
Tags as names and values, such as {"env": "prod", "pci": ""}.
Groupsgroupslist
IDs of the user groups that can see the project.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

Update scan tags

Replace a scan's tags.

Inputs

Scanscan_idtextRequired
The scan.
TagstagsobjectRequired
The scan's tags as names and values.

Outputs

dataobject
The response from Checkmarx One.
Example output
{
  "data": {}
}

On this page