Checkmarx One
App · 22 actions
Manage Checkmarx One projects and applications, start and track scans, and read and triage their results.
Actions
| Action | What it does |
|---|---|
| Cancel scan | Cancel a queued or running scan. |
| Create application | Create an application to group projects in. |
| Create project | Create a project to scan code in. |
| Delete application | Delete an application. |
| Delete project | Delete a project with its scans and results. |
| Delete scan | Delete a scan and its results. |
| Get application | Read an application and the projects in it. |
| Get last scans | Read the most recent scan of each chosen project. |
| Get project | Read a project. |
| Get scan | Read a scan's status, scanners and settings. |
| Get scan summary | Read the counts of results by scanner, severity and status for scans. |
| Get scan workflow | Read the log of a scan's steps. |
| List applications | List applications, the groups of related projects. |
| List project branches | List the branches a project's scans have covered. |
| List projects | List projects, optionally by part of their name, repository or tag. |
| List scan results | List the vulnerabilities a scan found, from every scanner. |
| List scans | List scans, newest first, optionally of one project, branch, status or time range. |
| Start scan | Scan a branch of a Git repository in a project. |
| Triage SAST result | Change the severity or state of a SAST result in a project, with a comment. |
| Update application | Change an application's name, description, criticality or tags. |
| Update project | Change a project's name, repository, main branch, criticality, tags or groups. |
| Update scan tags | Replace a scan's tags. |
Cancel scan
Cancel a queued or running scan.
Inputs
- Scan
scan_idtextRequired - The scan.
Outputs
dataobject- The response from Checkmarx One.
Example output
{
"data": {}
}Create application
Create an application to group projects in.
Inputs
- Name
nametextRequired - The application's name.
- Description
descriptiontext - What the application is.
- Criticality
criticalitynumber - How critical the application is, from 1 (lowest) to 5 (highest).From 1 to 5.
- Tags
tagsobject - 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
- Name
nametextRequired - The project's name.
- Repository URL
repo_urltext - The Git repository URL of the project's code.
- Main branch
main_branchtext - The branch treated as the project's primary one.
- Criticality
criticalitynumber - How critical the project is, from 1 (lowest) to 5 (highest).From 1 to 5.
- Tags
tagsobject - Tags as names and values, such as {"env": "prod", "pci": ""}.
- Groups
groupslist - IDs of the user groups that can see the project.
- Applications
application_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
- Application
application_idtextRequired - The application.
Outputs
dataobject- The response from Checkmarx One.
Example output
{
"data": {}
}Delete project
Delete a project with its scans and results.
Inputs
- Project
project_idtextRequired - The project.
Outputs
dataobject- The response from Checkmarx One.
Example output
{
"data": {}
}Delete scan
Delete a scan and its results.
Inputs
- Scan
scan_idtextRequired - The scan.
Outputs
dataobject- The response from Checkmarx One.
Example output
{
"data": {}
}Get application
Read an application and the projects in it.
Inputs
- Application
application_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
- Projects
project_idslistRequired - The projects.
- Scan status
scan_statustext - Only a scan with this status.One of:
Queued,Running,Completed,Failed,Partial,Canceled. - Branch
branchtext - Only scans of this branch.
- Use main branch
use_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
- Project
project_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
- Scan
scan_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
- Scans
scan_idslistRequired - The scans.
- Include status counters
include_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
- Scan
scan_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
- Name
nametext - Part of the application name.
- Offset
offsetnumber - Records to skip before the first one returned.At least 0.
- Limit
limitnumber - 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
- Project
project_idtextRequired - The project.
- Branch name
branch_nametext - Part of the branch name.
- Offset
offsetnumber - Records to skip before the first one returned.At least 0.
- Limit
limitnumber - 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
- Name
nametext - Part of the project name.
- Repo URL
repo_urltext - Only projects of this repository URL.
- Tag names
tags_keyslist - Only projects with any of these tag names.
- Sort
sorttext - 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. - Offset
offsetnumber - Records to skip before the first one returned.At least 0.
- Limit
limitnumber - 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
- Scan
scan_idtextRequired - The scan.
- Severity
severitylist - Only these severities.One or more of:
CRITICAL,HIGH,MEDIUM,LOW,INFO. - State
statelist - 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. - Status
statuslist - Only new, recurring or fixed results.One or more of:
NEW,RECURRENT,FIXED. - Sort
sorttext - Order of the results.One of:
-severity,+severity,-foundat,+foundat. - Offset
offsetnumber - Records to skip before the first one returned.At least 0.
- Limit
limitnumber - 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
- Project
project_idtext - The project.
- Statuses
statuseslist - Only scans with these statuses.One or more of:
Queued,Running,Completed,Failed,Partial,Canceled. - Branch
branchtext - Only scans of this branch.
- From date
from_datedate and time - Only scans created at or after this time.
- To date
to_datedate and time - Only scans created at or before this time.
- Offset
offsetnumber - Records to skip before the first one returned.At least 0.
- Limit
limitnumber - 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
- Project
project_idtextRequired - The project.
- Repository URL
repo_urltextRequired - The Git repository URL to scan.
- Branch
branchtextRequired - The branch to scan.
- Commit
committext - A commit to scan instead of the branch's latest.
- Scanners
scannerslist - The scanners to run. Leave empty for SAST, SCA and IaC (kics).One or more of:
sast,sca,kics,apisec,containers. - Tags
tagsobject - 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
- Project
project_idtextRequired - The project.
- Similarity ID
similarity_idtextRequired - The result's similarity ID (similarityId in its scan results).
- Scan
scan_idtext - The scan the change is made from.
- Severity
severitytext - The new severity.One of:
CRITICAL,HIGH,MEDIUM,LOW,INFO. - State
statetext - The new triage state.One of:
TO_VERIFY(To verify),NOT_EXPLOITABLE(Not exploitable),PROPOSED_NOT_EXPLOITABLE(Proposed not exploitable),CONFIRMED,URGENT. - Comment
commenttext - 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
- Application
application_idtextRequired - The application.
- Name
nametext - The new name.
- Description
descriptiontext - What the application is.
- Criticality
criticalitynumber - How critical the application is, from 1 (lowest) to 5 (highest).From 1 to 5.
- Tags
tagsobject - 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
- Project
project_idtextRequired - The project.
- Name
nametext - The new name.
- Repository URL
repo_urltext - The Git repository URL of the project's code.
- Main branch
main_branchtext - The branch treated as the project's primary one.
- Criticality
criticalitynumber - How critical the project is, from 1 (lowest) to 5 (highest).From 1 to 5.
- Tags
tagsobject - Tags as names and values, such as {"env": "prod", "pci": ""}.
- Groups
groupslist - 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
- Scan
scan_idtextRequired - The scan.
- Tags
tagsobjectRequired - The scan's tags as names and values.
Outputs
dataobject- The response from Checkmarx One.
Example output
{
"data": {}
}